Class UserAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UserAttributes extends Object
Attributes of user object returned by the API.
  • Field Details

  • Constructor Details

    • UserAttributes

      public UserAttributes()
  • Method Details

    • createdAt

      public UserAttributes createdAt(OffsetDateTime createdAt)
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      The ISO 8601 timestamp of when the user account was created.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(OffsetDateTime createdAt)
    • disabled

      public UserAttributes disabled(Boolean disabled)
    • getDisabled

      @Nullable public Boolean getDisabled()
      Whether the user account is deactivated. Disabled users cannot log in.
      Returns:
      disabled
    • setDisabled

      public void setDisabled(Boolean disabled)
    • email

      public UserAttributes email(String email)
    • getEmail

      @Nullable public String getEmail()
      The email address of the user, used for login and notifications.
      Returns:
      email
    • setEmail

      public void setEmail(String email)
    • handle

      public UserAttributes handle(String handle)
    • getHandle

      @Nullable public String getHandle()
      The unique handle (username) of the user, typically matching their email prefix.
      Returns:
      handle
    • setHandle

      public void setHandle(String handle)
    • icon

      public UserAttributes icon(String icon)
    • getIcon

      @Nullable public String getIcon()
      URL of the user's profile icon, typically a Gravatar URL derived from the email address.
      Returns:
      icon
    • setIcon

      public void setIcon(String icon)
    • getLastLoginTime

      @Nullable public OffsetDateTime getLastLoginTime()
      The ISO 8601 timestamp of the user's most recent login, or null if the user has never logged in.
      Returns:
      lastLoginTime
    • getLastLoginTime_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getLastLoginTime_JsonNullable()
    • getMfaEnabled

      @Nullable public Boolean getMfaEnabled()
      Whether multi-factor authentication (MFA) is enabled for the user's account.
      Returns:
      mfaEnabled
    • modifiedAt

      public UserAttributes modifiedAt(OffsetDateTime modifiedAt)
    • getModifiedAt

      @Nullable public OffsetDateTime getModifiedAt()
      The ISO 8601 timestamp of when the user account was last modified.
      Returns:
      modifiedAt
    • setModifiedAt

      public void setModifiedAt(OffsetDateTime modifiedAt)
    • name

      public UserAttributes name(String name)
    • getName

      @Nullable public String getName()
      The full display name of the user as shown in the Datadog UI.
      Returns:
      name
    • getName_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getName_JsonNullable()
    • setName_JsonNullable

      public void setName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> name)
    • setName

      public void setName(String name)
    • serviceAccount

      public UserAttributes serviceAccount(Boolean serviceAccount)
    • getServiceAccount

      @Nullable public Boolean getServiceAccount()
      Whether this is a service account rather than a human user. Service accounts are used for programmatic API access.
      Returns:
      serviceAccount
    • setServiceAccount

      public void setServiceAccount(Boolean serviceAccount)
    • status

      public UserAttributes status(String status)
    • getStatus

      @Nullable public String getStatus()
      The current status of the user account (for example, Active, Pending, or Disabled).
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • title

      public UserAttributes title(String title)
    • getTitle

      @Nullable public String getTitle()
      The job title of the user (for example, "Senior Engineer" or "Product Manager").
      Returns:
      title
    • getTitle_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getTitle_JsonNullable()
    • setTitle_JsonNullable

      public void setTitle_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> title)
    • setTitle

      public void setTitle(String title)
    • getUuid

      @Nullable public String getUuid()
      The globally unique identifier (UUID) of the user.
      Returns:
      uuid
    • verified

      public UserAttributes verified(Boolean verified)
    • getVerified

      @Nullable public Boolean getVerified()
      Whether the user's email address has been verified.
      Returns:
      verified
    • setVerified

      public void setVerified(Boolean verified)
    • putAdditionalProperty

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