Package com.redhat.parodos.sdk.model
Class WorkStatusResponseDTO
java.lang.Object
com.redhat.parodos.sdk.model.WorkStatusResponseDTO
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class WorkStatusResponseDTO
extends Object
WorkStatusResponseDTO
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets statusstatic enumGets or Sets type -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddWorksItem(WorkStatusResponseDTO worksItem) alertMessage(String alertMessage) booleanstatic WorkStatusResponseDTOCreate an instance of WorkStatusResponseDTO given an JSON stringGet alertMessageGet messagegetName()Get nameGet statusgetType()Get typegetWorks()Get worksinthashCode()voidsetAlertMessage(String alertMessage) voidsetMessage(String message) voidvoidvoidvoidsetWorks(List<WorkStatusResponseDTO> works) toJson()Convert an instance of WorkStatusResponseDTO to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues foundworks(List<WorkStatusResponseDTO> works)
-
Field Details
-
SERIALIZED_NAME_ALERT_MESSAGE
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_WORKS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
WorkStatusResponseDTO
public WorkStatusResponseDTO()
-
-
Method Details
-
alertMessage
-
getAlertMessage
Get alertMessage- Returns:
- alertMessage
-
setAlertMessage
-
message
-
getMessage
Get message- Returns:
- message
-
setMessage
-
name
-
getName
Get name- Returns:
- name
-
setName
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
type
-
getType
Get type- Returns:
- type
-
setType
-
works
-
addWorksItem
-
getWorks
Get works- Returns:
- works
-
setWorks
-
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 WorkStatusResponseDTO
-
fromJson
Create an instance of WorkStatusResponseDTO given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WorkStatusResponseDTO
- Throws:
IOException- if the JSON string is invalid with respect to WorkStatusResponseDTO
-
toJson
Convert an instance of WorkStatusResponseDTO to an JSON string- Returns:
- JSON string
-