Package ai.reveng.model
Class TeamMember
java.lang.Object
ai.reveng.model.TeamMember
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class TeamMember
extends Object
TeamMember
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets role -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TeamMemberCreate an instance of TeamMember given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getEmail()Search is applied to string valueGet isAdmingetRole()Get roleGet userIdSearch is applied to string valueinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.role(TeamMember.RoleEnum role) voidvoidsetIsAdmin(Boolean isAdmin) voidsetRole(TeamMember.RoleEnum role) voidvoidsetUsername(String username) toJson()Convert an instance of TeamMember 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_IS_ADMIN
- See Also:
-
SERIALIZED_NAME_ROLE
- See Also:
-
SERIALIZED_NAME_USER_ID
- See Also:
-
SERIALIZED_NAME_USERNAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TeamMember
public TeamMember()
-
-
Method Details
-
email
-
getEmail
Search is applied to string value- Returns:
-
setEmail
-
isAdmin
-
getIsAdmin
Get isAdmin- Returns:
- isAdmin
-
setIsAdmin
-
role
-
getRole
Get role- Returns:
- role
-
setRole
-
userId
-
getUserId
Get userId- Returns:
- userId
-
setUserId
-
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 TeamMember 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 TeamMember
-
fromJson
Create an instance of TeamMember given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TeamMember
- Throws:
IOException- if the JSON string is invalid with respect to TeamMember
-
toJson
Convert an instance of TeamMember to an JSON string- Returns:
- JSON string
-