Package ai.shipeasy.admin.model
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.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ConnectorDataCreate an instance of ConnectorData given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get githubgetSlack()Get slackgithub(GithubConnectorData github) inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetGithub(GithubConnectorData github) voidsetSlack(SlackConnectorData slack) slack(SlackConnectorData slack) toJson()Convert an instance of ConnectorData to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_GITHUB
- See Also:
-
SERIALIZED_NAME_SLACK
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ConnectorData
public ConnectorData()
-
-
Method Details
-
github
-
getGithub
Get github- Returns:
- github
-
setGithub
-
slack
-
getSlack
Get slack- Returns:
- slack
-
setSlack
-
putAdditionalProperty
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 propertyvalue- value of the property- Returns:
- the ConnectorData instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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
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
Convert an instance of ConnectorData to an JSON string- Returns:
- JSON string
-