Package ai.reveng.model
Class BulkCreateUserResult
java.lang.Object
ai.reveng.model.BulkCreateUserResult
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class BulkCreateUserResult
extends Object
BulkCreateUserResult
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic BulkCreateUserResultCreate an instance of BulkCreateUserResult given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getEmail()Search is applied to string valuegetError()Error description; present on failuregetIndex()1-based row index in the CSVGet successgetUser()Created user; present on successSearch is applied to string valueinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidsetSuccess(Boolean success) voidvoidsetUsername(String username) toJson()Convert an instance of BulkCreateUserResult to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_EMAIL
- See Also:
-
SERIALIZED_NAME_ERROR
- See Also:
-
SERIALIZED_NAME_INDEX
- See Also:
-
SERIALIZED_NAME_SUCCESS
- See Also:
-
SERIALIZED_NAME_USER
- See Also:
-
SERIALIZED_NAME_USERNAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
BulkCreateUserResult
public BulkCreateUserResult()
-
-
Method Details
-
email
-
getEmail
Search is applied to string value- Returns:
-
setEmail
-
error
-
getError
Error description; present on failure- Returns:
- error
-
setError
-
index
-
getIndex
1-based row index in the CSV- Returns:
- index
-
setIndex
-
success
-
getSuccess
Get success- Returns:
- success
-
setSuccess
-
user
-
getUser
Created user; present on success- Returns:
- user
-
setUser
-
username
-
getUsername
Search is applied to string value- Returns:
- username
-
setUsername
-
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- name of the propertyvalue- value of the property- Returns:
- the BulkCreateUserResult instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to BulkCreateUserResult
-
fromJson
Create an instance of BulkCreateUserResult given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BulkCreateUserResult
- Throws:
IOException- if the JSON string is invalid with respect to BulkCreateUserResult
-
toJson
Convert an instance of BulkCreateUserResult to an JSON string- Returns:
- JSON string
-