Package model
Class CreateUserRequest
java.lang.Object
model.CreateUserRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class CreateUserRequest
extends Object
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CreateUserRequestCreate an instance of CreateUserRequest given an JSON stringDetails if the `user` is enabled and active.getTags()Key value pair for annotating custom meta data (e.g.inthashCode()putTagsItem(String key, String tagsItem) voidsetEnabled(Boolean enabled) voidtoJson()Convert an instance of CreateUserRequest to an JSON stringtoString()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_ENABLED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateUserRequest
public CreateUserRequest()
-
-
Method Details
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
enabled
-
getEnabled
Details if the `user` is enabled and active. Set to **false** to disable the `user`.- Returns:
- enabled
-
setEnabled
-
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 CreateUserRequest
-
fromJson
Create an instance of CreateUserRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateUserRequest
- Throws:
IOException- if the JSON string is invalid with respect to CreateUserRequest
-
toJson
Convert an instance of CreateUserRequest to an JSON string- Returns:
- JSON string
-