Class GlobalOrgAttributes

java.lang.Object
com.datadog.api.client.v2.model.GlobalOrgAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class GlobalOrgAttributes extends Object
Attributes of an organization associated with the authenticated user.
  • Field Details

  • Constructor Details

    • GlobalOrgAttributes

      public GlobalOrgAttributes()
    • GlobalOrgAttributes

      public GlobalOrgAttributes(GlobalOrg org, String sourceRegion, GlobalOrgUser user)
  • Method Details

    • org

      public GlobalOrgAttributes org(GlobalOrg org)
    • getOrg

      public GlobalOrg getOrg()
      Organization information for a global organization association.
      Returns:
      org
    • setOrg

      public void setOrg(GlobalOrg org)
    • redirectUrl

      public GlobalOrgAttributes redirectUrl(String redirectUrl)
    • getRedirectUrl

      @Nullable public String getRedirectUrl()
      The login URL used to switch into the organization, if available.
      Returns:
      redirectUrl
    • getRedirectUrl_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getRedirectUrl_JsonNullable()
    • setRedirectUrl_JsonNullable

      public void setRedirectUrl_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> redirectUrl)
    • setRedirectUrl

      public void setRedirectUrl(String redirectUrl)
    • sourceRegion

      public GlobalOrgAttributes sourceRegion(String sourceRegion)
    • getSourceRegion

      public String getSourceRegion()
      The source region of the organization.
      Returns:
      sourceRegion
    • setSourceRegion

      public void setSourceRegion(String sourceRegion)
    • user

      public GlobalOrgAttributes user(GlobalOrgUser user)
    • getUser

      public GlobalOrgUser getUser()
      User information for a global organization association.
      Returns:
      user
    • setUser

      public void setUser(GlobalOrgUser user)
    • putAdditionalProperty

      public GlobalOrgAttributes 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:
      GlobalOrgAttributes
    • 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 GlobalOrgAttributes 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