@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CIAppGitHubAccountUpdateRequestAttributes extends Object
enabled or repository.enabled must be provided.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ACCOUNT |
static String |
JSON_PROPERTY_ENABLED |
static String |
JSON_PROPERTY_HOST |
static String |
JSON_PROPERTY_REPOSITORY |
boolean |
unparsed |
| Constructor and Description |
|---|
CIAppGitHubAccountUpdateRequestAttributes() |
CIAppGitHubAccountUpdateRequestAttributes(String account) |
| Modifier and Type | Method and Description |
|---|---|
CIAppGitHubAccountUpdateRequestAttributes |
account(String account) |
CIAppGitHubAccountUpdateRequestAttributes |
enabled(Boolean enabled) |
boolean |
equals(Object o)
Return true if this CIAppGitHubAccountUpdateRequestAttributes object is equal to o.
|
String |
getAccount()
The GitHub account (organization or user) name to update, identified by name.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Boolean |
getEnabled()
Whether to enable or disable CI Visibility at the account level.
|
String |
getHost()
The GitHub host (
github.com or a GHES hostname) the account belongs to. |
CIAppGitHubAccountUpdateRequestRepository |
getRepository()
Repository-level opt-in change to apply, identified by name.
|
int |
hashCode() |
CIAppGitHubAccountUpdateRequestAttributes |
host(String host) |
CIAppGitHubAccountUpdateRequestAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
CIAppGitHubAccountUpdateRequestAttributes |
repository(CIAppGitHubAccountUpdateRequestRepository repository) |
void |
setAccount(String account) |
void |
setEnabled(Boolean enabled) |
void |
setHost(String host) |
void |
setRepository(CIAppGitHubAccountUpdateRequestRepository repository) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_ACCOUNT
public static final String JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_HOST
public static final String JSON_PROPERTY_REPOSITORY
public CIAppGitHubAccountUpdateRequestAttributes()
public CIAppGitHubAccountUpdateRequestAttributes(String account)
public CIAppGitHubAccountUpdateRequestAttributes account(String account)
public String getAccount()
public void setAccount(String account)
public CIAppGitHubAccountUpdateRequestAttributes enabled(Boolean enabled)
@Nullable public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public CIAppGitHubAccountUpdateRequestAttributes host(String host)
@Nullable public String getHost()
github.com or a GHES hostname) the account belongs to. Required
to disambiguate when the same account name exists on more than one host.public void setHost(String host)
public CIAppGitHubAccountUpdateRequestAttributes repository(CIAppGitHubAccountUpdateRequestRepository repository)
@Nullable public CIAppGitHubAccountUpdateRequestRepository getRepository()
public void setRepository(CIAppGitHubAccountUpdateRequestRepository repository)
public CIAppGitHubAccountUpdateRequestAttributes putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.