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 Details

  • Constructor Details

    • CIAppGitHubAccountAttributes

      public CIAppGitHubAccountAttributes()
  • Method Details

    • account

      public CIAppGitHubAccountAttributes account(String account)
    • getAccount

      @Nullable public String getAccount()
      The GitHub account (organization or user) name.
      Returns:
      account
    • setAccount

      public void setAccount(String account)
    • enabled

      public CIAppGitHubAccountAttributes enabled(Boolean enabled)
    • getEnabled

      @Nullable public Boolean getEnabled()
      Whether CI Visibility is enabled at the account level.
      Returns:
      enabled
    • setEnabled

      public void setEnabled(Boolean enabled)
    • host

    • getHost

      @Nullable public String getHost()
      The GitHub host (github.com or a GitHub Enterprise Server (GHES) hostname) this account belongs to.
      Returns:
      host
    • setHost

      public void setHost(String host)
    • repoCount

      public CIAppGitHubAccountAttributes repoCount(Long repoCount)
    • getRepoCount

      @Nullable public Long getRepoCount()
      The number of repositories known for this account.
      Returns:
      repoCount
    • setRepoCount

      public void setRepoCount(Long repoCount)
    • repositories

      public CIAppGitHubAccountAttributes repositories(List<CIAppGitHubAccountRepository> repositories)
    • addRepositoriesItem

      public CIAppGitHubAccountAttributes addRepositoriesItem(CIAppGitHubAccountRepository repositoriesItem)
    • getRepositories

      @Nullable public List<CIAppGitHubAccountRepository> getRepositories()
      The repositories belonging to this account, with their individual opt-in status.
      Returns:
      repositories
    • setRepositories

      public void setRepositories(List<CIAppGitHubAccountRepository> repositories)
    • putAdditionalProperty

      public CIAppGitHubAccountAttributes putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      CIAppGitHubAccountAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this CIAppGitHubAccountAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object