Package com.datadog.api.client.v1.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessRole(AccessRole accessRole) booleanReturn true if this User object is equal to o.The access role of the user.org.openapitools.jackson.nullable.JsonNullable<AccessRole>Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The new disabled status of the user.getEmail()The new email of the user.The user handle, must be a valid email.getIcon()Gravatar icon associated to the user.getName()The name of the user.Whether or not the user logged in Datadog at least once.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAccessRole(AccessRole accessRole) voidsetAccessRole_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<AccessRole> accessRole) voidsetDisabled(Boolean disabled) voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACCESS_ROLE
- See Also:
-
JSON_PROPERTY_DISABLED
- See Also:
-
JSON_PROPERTY_EMAIL
- See Also:
-
JSON_PROPERTY_HANDLE
- See Also:
-
JSON_PROPERTY_ICON
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_VERIFIED
- See Also:
-
-
Constructor Details
-
User
public User()
-
-
Method Details
-
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
-
setAccessRole_JsonNullable
public void setAccessRole_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<AccessRole> accessRole) -
setAccessRole
-
disabled
-
getDisabled
The new disabled status of the user.- Returns:
- disabled
-
setDisabled
-
email
-
getEmail
The new email of the user.- Returns:
-
setEmail
-
handle
-
getHandle
The user handle, must be a valid email.- Returns:
- handle
-
setHandle
-
getIcon
Gravatar icon associated to the user.- Returns:
- icon
-
name
-
getName
The name of the user.- Returns:
- name
-
setName
-
getVerified
Whether or not the user logged in Datadog at least once.- Returns:
- verified
-
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:
- User
-
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 User object is equal to o. -
hashCode
public int hashCode() -
toString
-