@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CIAppGitHubAccountAttributes extends Object
| 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_REPO_COUNT |
static String |
JSON_PROPERTY_REPOSITORIES |
boolean |
unparsed |
| Constructor and Description |
|---|
CIAppGitHubAccountAttributes() |
| Modifier and Type | Method and Description |
|---|---|
CIAppGitHubAccountAttributes |
account(String account) |
CIAppGitHubAccountAttributes |
addRepositoriesItem(CIAppGitHubAccountRepository repositoriesItem) |
CIAppGitHubAccountAttributes |
enabled(Boolean enabled) |
boolean |
equals(Object o)
Return true if this CIAppGitHubAccountAttributes object is equal to o.
|
String |
getAccount()
The GitHub account (organization or user) 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 CI Visibility is enabled at the account level.
|
String |
getHost()
The GitHub host (
github.com or a GitHub Enterprise Server (GHES) hostname) this
account belongs to. |
Long |
getRepoCount()
The number of repositories known for this account.
|
List<CIAppGitHubAccountRepository> |
getRepositories()
The repositories belonging to this account, with their individual opt-in status.
|
int |
hashCode() |
CIAppGitHubAccountAttributes |
host(String host) |
CIAppGitHubAccountAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
CIAppGitHubAccountAttributes |
repoCount(Long repoCount) |
CIAppGitHubAccountAttributes |
repositories(List<CIAppGitHubAccountRepository> repositories) |
void |
setAccount(String account) |
void |
setEnabled(Boolean enabled) |
void |
setHost(String host) |
void |
setRepoCount(Long repoCount) |
void |
setRepositories(List<CIAppGitHubAccountRepository> repositories) |
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_REPO_COUNT
public static final String JSON_PROPERTY_REPOSITORIES
public CIAppGitHubAccountAttributes account(String account)
@Nullable public String getAccount()
public void setAccount(String account)
public CIAppGitHubAccountAttributes enabled(Boolean enabled)
@Nullable public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public CIAppGitHubAccountAttributes host(String host)
@Nullable public String getHost()
github.com or a GitHub Enterprise Server (GHES) hostname) this
account belongs to.public void setHost(String host)
public CIAppGitHubAccountAttributes repoCount(Long repoCount)
@Nullable public Long getRepoCount()
public void setRepoCount(Long repoCount)
public CIAppGitHubAccountAttributes repositories(List<CIAppGitHubAccountRepository> repositories)
public CIAppGitHubAccountAttributes addRepositoriesItem(CIAppGitHubAccountRepository repositoriesItem)
@Nullable public List<CIAppGitHubAccountRepository> getRepositories()
public void setRepositories(List<CIAppGitHubAccountRepository> repositories)
public CIAppGitHubAccountAttributes 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.