Package com.redhat.parodos.sdk.model
Class ProjectMemberResponseDTO
java.lang.Object
com.redhat.parodos.sdk.model.ProjectMemberResponseDTO
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ProjectMemberResponseDTO
extends Object
ProjectMemberResponseDTO
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRolesItem(String rolesItem) booleanstatic ProjectMemberResponseDTOCreate an instance of ProjectMemberResponseDTO given an JSON stringGet firstNameGet lastNamegetRoles()Get rolesGet usernameinthashCode()voidsetFirstName(String firstName) voidsetLastName(String lastName) voidvoidsetUsername(String username) toJson()Convert an instance of ProjectMemberResponseDTO 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_FIRST_NAME
- See Also:
-
SERIALIZED_NAME_LAST_NAME
- See Also:
-
SERIALIZED_NAME_ROLES
- See Also:
-
SERIALIZED_NAME_USERNAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ProjectMemberResponseDTO
public ProjectMemberResponseDTO()
-
-
Method Details
-
firstName
-
getFirstName
Get firstName- Returns:
- firstName
-
setFirstName
-
lastName
-
getLastName
Get lastName- Returns:
- lastName
-
setLastName
-
roles
-
addRolesItem
-
getRoles
Get roles- Returns:
- roles
-
setRoles
-
username
-
getUsername
Get username- Returns:
- username
-
setUsername
-
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 ProjectMemberResponseDTO
-
fromJson
Create an instance of ProjectMemberResponseDTO given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ProjectMemberResponseDTO
- Throws:
IOException- if the JSON string is invalid with respect to ProjectMemberResponseDTO
-
toJson
Convert an instance of ProjectMemberResponseDTO to an JSON string- Returns:
- JSON string
-