Package ai.reveng.model
Class InviteUserInputBody
java.lang.Object
ai.reveng.model.InviteUserInputBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class InviteUserInputBody
extends Object
InviteUserInputBody
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic InviteUserInputBodyCreate an instance of InviteUserInputBody given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Initial credit balance for the invited user in raw units (1 credit = 1000 units).getEmail()Email address to inviteFirst name included in the invite email and registration URLLast name pre-filled in the registration URLTeam to assign the invited user to minimum: 1Username pre-filled in the registration URLinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCredits(Long credits) voidvoidsetFirstName(String firstName) voidsetLastName(String lastName) voidvoidsetUsername(String username) toJson()Convert an instance of InviteUserInputBody 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_CREDITS
- See Also:
-
SERIALIZED_NAME_EMAIL
- See Also:
-
SERIALIZED_NAME_FIRST_NAME
- See Also:
-
SERIALIZED_NAME_LAST_NAME
- See Also:
-
SERIALIZED_NAME_TEAM_ID
- See Also:
-
SERIALIZED_NAME_USERNAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
InviteUserInputBody
public InviteUserInputBody()
-
-
Method Details
-
credits
-
getCredits
Initial credit balance for the invited user in raw units (1 credit = 1000 units). minimum: 0- Returns:
- credits
-
setCredits
-
email
-
getEmail
Email address to invite- Returns:
-
setEmail
-
firstName
-
getFirstName
First name included in the invite email and registration URL- Returns:
- firstName
-
setFirstName
-
lastName
-
getLastName
Last name pre-filled in the registration URL- Returns:
- lastName
-
setLastName
-
teamId
-
getTeamId
Team to assign the invited user to minimum: 1- Returns:
- teamId
-
setTeamId
-
username
-
getUsername
Username pre-filled in the registration URL- 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 InviteUserInputBody 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 InviteUserInputBody
-
fromJson
Create an instance of InviteUserInputBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InviteUserInputBody
- Throws:
IOException- if the JSON string is invalid with respect to InviteUserInputBody
-
toJson
Convert an instance of InviteUserInputBody to an JSON string- Returns:
- JSON string
-