Package com.datadog.api.client.v2.model
Class CIAppGitHubAccountUpdateRequestData
java.lang.Object
com.datadog.api.client.v2.model.CIAppGitHubAccountUpdateRequestData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CIAppGitHubAccountUpdateRequestData
extends Object
Data object for updating a GitHub account's CI Visibility opt-in status.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCIAppGitHubAccountUpdateRequestData(CIAppGitHubAccountUpdateRequestAttributes attributes, CIAppGitHubAccountType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(CIAppGitHubAccountUpdateRequestAttributes attributes) booleanReturn true if this CIAppGitHubAccountUpdateRequestData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes for updating a GitHub account's CI Visibility opt-in status.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.voidvoidtoString()type(CIAppGitHubAccountType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
CIAppGitHubAccountUpdateRequestData
public CIAppGitHubAccountUpdateRequestData() -
CIAppGitHubAccountUpdateRequestData
public CIAppGitHubAccountUpdateRequestData(CIAppGitHubAccountUpdateRequestAttributes attributes, CIAppGitHubAccountType type)
-
-
Method Details
-
attributes
public CIAppGitHubAccountUpdateRequestData attributes(CIAppGitHubAccountUpdateRequestAttributes attributes) -
getAttributes
Attributes for updating a GitHub account's CI Visibility opt-in status. At least one ofenabledorrepository.enabledmust be provided.- Returns:
- attributes
-
setAttributes
-
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:
- CIAppGitHubAccountUpdateRequestData
-
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 CIAppGitHubAccountUpdateRequestData object is equal to o. -
hashCode
public int hashCode() -
toString
-