Package com.datadog.api.client.v2.model
Class CIAppGitHubAccountAttributes
java.lang.Object
com.datadog.api.client.v2.model.CIAppGitHubAccountAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CIAppGitHubAccountAttributes
extends Object
Attributes describing a GitHub account's CI Visibility opt-in status.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRepositoriesItem(CIAppGitHubAccountRepository repositoriesItem) booleanReturn true if this CIAppGitHubAccountAttributes object is equal to o.The GitHub account (organization or user) name.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether CI Visibility is enabled at the account level.getHost()The GitHub host (github.comor a GitHub Enterprise Server (GHES) hostname) this account belongs to.The number of repositories known for this account.The repositories belonging to this account, with their individual opt-in status.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.repositories(List<CIAppGitHubAccountRepository> repositories) voidsetAccount(String account) voidsetEnabled(Boolean enabled) voidvoidsetRepoCount(Long repoCount) voidsetRepositories(List<CIAppGitHubAccountRepository> repositories) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACCOUNT
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_HOST
- See Also:
-
JSON_PROPERTY_REPO_COUNT
- See Also:
-
JSON_PROPERTY_REPOSITORIES
- See Also:
-
-
Constructor Details
-
CIAppGitHubAccountAttributes
public CIAppGitHubAccountAttributes()
-
-
Method Details
-
account
-
getAccount
The GitHub account (organization or user) name.- Returns:
- account
-
setAccount
-
enabled
-
getEnabled
Whether CI Visibility is enabled at the account level.- Returns:
- enabled
-
setEnabled
-
host
-
getHost
The GitHub host (github.comor a GitHub Enterprise Server (GHES) hostname) this account belongs to.- Returns:
- host
-
setHost
-
repoCount
-
getRepoCount
The number of repositories known for this account.- Returns:
- repoCount
-
setRepoCount
-
repositories
-
addRepositoriesItem
public CIAppGitHubAccountAttributes addRepositoriesItem(CIAppGitHubAccountRepository repositoriesItem) -
getRepositories
The repositories belonging to this account, with their individual opt-in status.- Returns:
- repositories
-
setRepositories
-
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:
- CIAppGitHubAccountAttributes
-
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 CIAppGitHubAccountAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-