Package com.redhat.parodos.sdk.model
Class WorkRequestDTO
java.lang.Object
com.redhat.parodos.sdk.model.WorkRequestDTO
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class WorkRequestDTO
extends Object
WorkRequestDTO
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets type -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddArgumentsItem(ArgumentRequestDTO argumentsItem) arguments(List<ArgumentRequestDTO> arguments) booleanstatic WorkRequestDTOCreate an instance of WorkRequestDTO given an JSON stringGet argumentsgetType()Get typeGet workNameinthashCode()voidsetArguments(List<ArgumentRequestDTO> arguments) voidvoidsetWorkName(String workName) toJson()Convert an instance of WorkRequestDTO to an JSON stringtoString()type(WorkRequestDTO.TypeEnum type) static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ARGUMENTS
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_WORK_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
WorkRequestDTO
public WorkRequestDTO()
-
-
Method Details
-
arguments
-
addArgumentsItem
-
getArguments
Get arguments- Returns:
- arguments
-
setArguments
-
type
-
getType
Get type- Returns:
- type
-
setType
-
workName
-
getWorkName
Get workName- Returns:
- workName
-
setWorkName
-
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 WorkRequestDTO
-
fromJson
Create an instance of WorkRequestDTO given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WorkRequestDTO
- Throws:
IOException- if the JSON string is invalid with respect to WorkRequestDTO
-
toJson
Convert an instance of WorkRequestDTO to an JSON string- Returns:
- JSON string
-