Package com.datadog.api.client.v2.model
Class CIAppGitHubAccountUpdateRequestAttributes
java.lang.Object
com.datadog.api.client.v2.model.CIAppGitHubAccountUpdateRequestAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CIAppGitHubAccountUpdateRequestAttributes
extends Object
Attributes for updating a GitHub account's CI Visibility opt-in status. At least one of
enabled or repository.enabled must be provided.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this CIAppGitHubAccountUpdateRequestAttributes object is equal to o.The GitHub account (organization or user) name to update, identified by name.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether to enable or disable CI Visibility at the account level.getHost()The GitHub host (github.comor a GHES hostname) the account belongs to.Repository-level opt-in change to apply, identified by name.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.repository(CIAppGitHubAccountUpdateRequestRepository repository) voidsetAccount(String account) voidsetEnabled(Boolean enabled) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACCOUNT
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_HOST
- See Also:
-
JSON_PROPERTY_REPOSITORY
- See Also:
-
-
Constructor Details
-
CIAppGitHubAccountUpdateRequestAttributes
public CIAppGitHubAccountUpdateRequestAttributes() -
CIAppGitHubAccountUpdateRequestAttributes
-
-
Method Details
-
account
-
getAccount
The GitHub account (organization or user) name to update, identified by name.- Returns:
- account
-
setAccount
-
enabled
-
getEnabled
Whether to enable or disable CI Visibility at the account level.- Returns:
- enabled
-
setEnabled
-
host
-
getHost
The GitHub host (github.comor a GHES hostname) the account belongs to. Required to disambiguate when the same account name exists on more than one host.- Returns:
- host
-
setHost
-
repository
public CIAppGitHubAccountUpdateRequestAttributes repository(CIAppGitHubAccountUpdateRequestRepository repository) -
getRepository
Repository-level opt-in change to apply, identified by name.- Returns:
- repository
-
setRepository
-
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:
- CIAppGitHubAccountUpdateRequestAttributes
-
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 CIAppGitHubAccountUpdateRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-