Package ai.shipeasy.admin.model
Class GithubConnectorDataPr
java.lang.Object
ai.shipeasy.admin.model.GithubConnectorDataPr
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class GithubConnectorDataPr
extends Object
The pull request linked to this item via `link-pr`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumHow the PR was connected to the issue. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconnectedToIssue(Boolean connectedToIssue) booleanstatic GithubConnectorDataPrCreate an instance of GithubConnectorDataPr given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether the PR was wired to the issue on GitHub (via a closing keyword or a comment).ISO-8601 timestamp the PR was linked.How the PR was connected to the issue.Pull request number.getUrl()HTML URL of the linked pull request.inthashCode()number(BigDecimal number) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetConnectedToIssue(Boolean connectedToIssue) voidsetLinkedAt(String linkedAt) voidvoidsetNumber(BigDecimal number) voidtoJson()Convert an instance of GithubConnectorDataPr 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_NUMBER
- See Also:
-
SERIALIZED_NAME_URL
- See Also:
-
SERIALIZED_NAME_LINKED_AT
- See Also:
-
SERIALIZED_NAME_CONNECTED_TO_ISSUE
- See Also:
-
SERIALIZED_NAME_METHOD
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
GithubConnectorDataPr
public GithubConnectorDataPr()
-
-
Method Details
-
number
-
getNumber
Pull request number.- Returns:
- number
-
setNumber
-
url
-
getUrl
HTML URL of the linked pull request.- Returns:
- url
-
setUrl
-
linkedAt
-
getLinkedAt
ISO-8601 timestamp the PR was linked.- Returns:
- linkedAt
-
setLinkedAt
-
connectedToIssue
-
getConnectedToIssue
Whether the PR was wired to the issue on GitHub (via a closing keyword or a comment).- Returns:
- connectedToIssue
-
setConnectedToIssue
-
method
-
getMethod
How the PR was connected to the issue.- Returns:
- method
-
setMethod
-
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 GithubConnectorDataPr 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 GithubConnectorDataPr
-
fromJson
Create an instance of GithubConnectorDataPr given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GithubConnectorDataPr
- Throws:
IOException- if the JSON string is invalid with respect to GithubConnectorDataPr
-
toJson
Convert an instance of GithubConnectorDataPr to an JSON string- Returns:
- JSON string
-