Package ai.shipeasy.admin.model
Class GithubConnectorData
java.lang.Object
ai.shipeasy.admin.model.GithubConnectorData
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class GithubConnectorData
extends Object
GitHub connector trace — the issue it opened and, once linked, the pull request.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic GithubConnectorDataCreate an instance of GithubConnectorData given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getIssue()Get issuegetPr()Get printhashCode()issue(GithubConnectorDataIssue issue) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetIssue(GithubConnectorDataIssue issue) voidtoJson()Convert an instance of GithubConnectorData 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_ISSUE
- See Also:
-
SERIALIZED_NAME_PR
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
GithubConnectorData
public GithubConnectorData()
-
-
Method Details
-
issue
-
getIssue
Get issue- Returns:
- issue
-
setIssue
-
pr
-
getPr
Get pr- Returns:
- pr
-
setPr
-
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 GithubConnectorData 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 GithubConnectorData
-
fromJson
Create an instance of GithubConnectorData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GithubConnectorData
- Throws:
IOException- if the JSON string is invalid with respect to GithubConnectorData
-
toJson
Convert an instance of GithubConnectorData to an JSON string- Returns:
- JSON string
-