Class ConnectorData

java.lang.Object
ai.shipeasy.admin.model.ConnectorData

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.23.0") public class ConnectorData extends Object
Connector linkage for one queue item, keyed by provider. Each provider's driver deep-merges its own trace into this blob, so any subset of providers may be present. Unknown/future providers may appear as additional keys.
  • Field Details

  • Constructor Details

    • ConnectorData

      public ConnectorData()
  • Method Details

    • github

      public ConnectorData github(@Nullable GithubConnectorData github)
    • getGithub

      @Nullable public GithubConnectorData getGithub()
      Get github
      Returns:
      github
    • setGithub

      public void setGithub(@Nullable GithubConnectorData github)
    • slack

      public ConnectorData slack(@Nullable SlackConnectorData slack)
    • getSlack

      @Nullable public SlackConnectorData getSlack()
      Get slack
      Returns:
      slack
    • setSlack

      public void setSlack(@Nullable SlackConnectorData slack)
    • putAdditionalProperty

      public ConnectorData putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the ConnectorData instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to ConnectorData
    • fromJson

      public static ConnectorData fromJson(String jsonString) throws IOException
      Create an instance of ConnectorData given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of ConnectorData
      Throws:
      IOException - if the JSON string is invalid with respect to ConnectorData
    • toJson

      public String toJson()
      Convert an instance of ConnectorData to an JSON string
      Returns:
      JSON string