Package com.datadog.api.client.v2.model
Class CIAppGitHubAccountData
java.lang.Object
com.datadog.api.client.v2.model.CIAppGitHubAccountData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CIAppGitHubAccountData
extends Object
Data object for a GitHub account.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCIAppGitHubAccountData(CIAppGitHubAccountAttributes attributes, String id, CIAppGitHubAccountType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(CIAppGitHubAccountAttributes attributes) booleanReturn true if this CIAppGitHubAccountData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes describing a GitHub account's CI Visibility opt-in status.getId()The account's unique identifier, in the form<host>/<account name>(for examplegithub.com/datadog).getType()JSON:API type for the GitHub account resource.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(CIAppGitHubAccountAttributes attributes) voidvoidtoString()type(CIAppGitHubAccountType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
CIAppGitHubAccountData
public CIAppGitHubAccountData() -
CIAppGitHubAccountData
public CIAppGitHubAccountData(CIAppGitHubAccountAttributes attributes, String id, CIAppGitHubAccountType type)
-
-
Method Details
-
attributes
-
getAttributes
Attributes describing a GitHub account's CI Visibility opt-in status.- Returns:
- attributes
-
setAttributes
-
id
-
getId
The account's unique identifier, in the form<host>/<account name>(for examplegithub.com/datadog).- Returns:
- id
-
setId
-
type
-
getType
JSON:API type for the GitHub account resource. The value must always beci_github_account.- Returns:
- type
-
setType
-
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- The arbitrary key to setvalue- The associated value- Returns:
- CIAppGitHubAccountData
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this CIAppGitHubAccountData object is equal to o. -
hashCode
public int hashCode() -
toString
-