Package com.redhat.parodos.sdk.model
Class AccessResponseDTO
java.lang.Object
com.redhat.parodos.sdk.model.AccessResponseDTO
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class AccessResponseDTO
extends Object
AccessResponseDTO
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessRequestId(UUID accessRequestId) addApprovalSentToItem(String approvalSentToItem) approvalSentTo(List<String> approvalSentTo) booleanescalationSentTo(String escalationSentTo) static AccessResponseDTOCreate an instance of AccessResponseDTO given an JSON stringGet accessRequestIdGet approvalSentToGet escalationSentToGet projectinthashCode()project(ProjectDTO project) voidsetAccessRequestId(UUID accessRequestId) voidsetApprovalSentTo(List<String> approvalSentTo) voidsetEscalationSentTo(String escalationSentTo) voidsetProject(ProjectDTO project) toJson()Convert an instance of AccessResponseDTO 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_ACCESS_REQUEST_ID
- See Also:
-
SERIALIZED_NAME_APPROVAL_SENT_TO
- See Also:
-
SERIALIZED_NAME_ESCALATION_SENT_TO
- See Also:
-
SERIALIZED_NAME_PROJECT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AccessResponseDTO
public AccessResponseDTO()
-
-
Method Details
-
accessRequestId
-
getAccessRequestId
Get accessRequestId- Returns:
- accessRequestId
-
setAccessRequestId
-
approvalSentTo
-
addApprovalSentToItem
-
getApprovalSentTo
Get approvalSentTo- Returns:
- approvalSentTo
-
setApprovalSentTo
-
escalationSentTo
-
getEscalationSentTo
Get escalationSentTo- Returns:
- escalationSentTo
-
setEscalationSentTo
-
project
-
getProject
Get project- Returns:
- project
-
setProject
-
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 AccessResponseDTO
-
fromJson
Create an instance of AccessResponseDTO given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccessResponseDTO
- Throws:
IOException- if the JSON string is invalid with respect to AccessResponseDTO
-
toJson
Convert an instance of AccessResponseDTO to an JSON string- Returns:
- JSON string
-