Package io.lakefs.clients.api.model
Class UserCreation
- java.lang.Object
-
- io.lakefs.clients.api.model.UserCreation
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class UserCreation extends Object
UserCreation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserCreation.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_INVITE_USER
-
Constructor Summary
Constructors Constructor Description UserCreation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static UserCreationfromJson(String jsonString)Create an instance of UserCreation given an JSON stringStringgetId()a unique identifier for the user.BooleangetInviteUser()Get inviteUserinthashCode()UserCreationid(String id)UserCreationinviteUser(Boolean inviteUser)voidsetId(String id)voidsetInviteUser(Boolean inviteUser)StringtoJson()Convert an instance of UserCreation to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INVITE_USER
public static final String SERIALIZED_NAME_INVITE_USER
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public UserCreation id(String id)
-
getId
@Nonnull public String getId()
a unique identifier for the user. In password-based authentication, this is the email.- Returns:
- id
-
setId
public void setId(String id)
-
inviteUser
public UserCreation inviteUser(Boolean inviteUser)
-
setInviteUser
public void setInviteUser(Boolean inviteUser)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates 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 UserCreation
-
fromJson
public static UserCreation fromJson(String jsonString) throws IOException
Create an instance of UserCreation given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UserCreation
- Throws:
IOException- if the JSON string is invalid with respect to UserCreation
-
toJson
public String toJson()
Convert an instance of UserCreation to an JSON string- Returns:
- JSON string
-
-