Package model
Class User
java.lang.Object
model.User
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class User
extends Object
User
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumDetails the level of access the [`User`](#tag/Users) has available. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanstatic UserCreate an instance of User given an JSON stringTimestamp of when the object was created.Details if the `User` is enabled and active.getId()The ID of the `User` resource.ID of the `Identity` that the `User` resource was created under.getLinks()Get linksThe `password` you'll use to authetnicate requests.getRole()Details the level of access the [`User`](#tag/Users) has available.getTags()Key value pair for annotating custom meta data (e.g.Timestamp of when the object was last updated.inthashCode()putTagsItem(String key, String tagsItem) role(User.RoleEnum role) voidsetCreatedAt(OffsetDateTime createdAt) voidsetEnabled(Boolean enabled) voidvoidsetIdentity(String identity) voidvoidsetPassword(String password) voidsetRole(User.RoleEnum role) voidvoidsetUpdatedAt(OffsetDateTime updatedAt) toJson()Convert an instance of User to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_ENABLED
- See Also:
-
SERIALIZED_NAME_IDENTITY
- See Also:
-
SERIALIZED_NAME_PASSWORD
- See Also:
-
SERIALIZED_NAME_ROLE
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
User
public User()
-
-
Method Details
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
id
-
getId
The ID of the `User` resource.- Returns:
- id
-
setId
-
createdAt
-
getCreatedAt
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
enabled
-
getEnabled
Details if the `User` is enabled and active. Set to **false** to disable the `User`.- Returns:
- enabled
-
setEnabled
-
identity
-
getIdentity
ID of the `Identity` that the `User` resource was created under.- Returns:
- identity
-
setIdentity
-
password
-
getPassword
The `password` you'll use to authetnicate requests.- Returns:
- password
-
setPassword
-
role
-
getRole
Details the level of access the [`User`](#tag/Users) has available.- Returns:
- role
-
setRole
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to User
-
fromJson
Create an instance of User given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of User
- Throws:
IOException- if the JSON string is invalid with respect to User
-
toJson
Convert an instance of User to an JSON string- Returns:
- JSON string
-