Class User

java.lang.Object
com.datadog.api.client.v1.model.User

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class User extends Object
Create, edit, and disable users.
  • Field Details

  • Constructor Details

    • User

      public User()
  • Method Details

    • accessRole

      public User accessRole(AccessRole accessRole)
    • getAccessRole

      @Nullable public AccessRole getAccessRole()
      The access role of the user. Options are st (standard user), adm (admin user), or ro (read-only user).
      Returns:
      accessRole
    • getAccessRole_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<AccessRole> getAccessRole_JsonNullable()
    • setAccessRole_JsonNullable

      public void setAccessRole_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<AccessRole> accessRole)
    • setAccessRole

      public void setAccessRole(AccessRole accessRole)
    • disabled

      public User disabled(Boolean disabled)
    • getDisabled

      @Nullable public Boolean getDisabled()
      The new disabled status of the user.
      Returns:
      disabled
    • setDisabled

      public void setDisabled(Boolean disabled)
    • email

      public User email(String email)
    • getEmail

      @Nullable public String getEmail()
      The new email of the user.
      Returns:
      email
    • setEmail

      public void setEmail(String email)
    • handle

      public User handle(String handle)
    • getHandle

      @Nullable public String getHandle()
      The user handle, must be a valid email.
      Returns:
      handle
    • setHandle

      public void setHandle(String handle)
    • getIcon

      @Nullable public String getIcon()
      Gravatar icon associated to the user.
      Returns:
      icon
    • name

      public User name(String name)
    • getName

      @Nullable public String getName()
      The name of the user.
      Returns:
      name
    • setName

      public void setName(String name)
    • getVerified

      @Nullable public Boolean getVerified()
      Whether or not the user logged in Datadog at least once.
      Returns:
      verified
    • putAdditionalProperty

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