Package com.redhat.parodos.sdk.model
Class WorkDefinitionResponseDTO
java.lang.Object
com.redhat.parodos.sdk.model.WorkDefinitionResponseDTO
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class WorkDefinitionResponseDTO
extends Object
WorkDefinitionResponseDTO
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets outputsstatic enumGets or Sets processingTypestatic enumGets or Sets workType -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOutputsItem(WorkDefinitionResponseDTO.OutputsEnum outputsItem) addWorksItem(WorkDefinitionResponseDTO worksItem) cronExpression(String cronExpression) booleanstatic WorkDefinitionResponseDTOCreate an instance of WorkDefinitionResponseDTO given an JSON stringGet authorGet cronExpressiongetId()Get idgetName()Get nameGet outputsGet parametersGet processingTypeGet workFlowCheckerMappingDefinitionIdgetWorks()Get worksGet workTypeinthashCode()outputs(List<WorkDefinitionResponseDTO.OutputsEnum> outputs) processingType(WorkDefinitionResponseDTO.ProcessingTypeEnum processingType) putParametersItem(String key, Map<String, Object> parametersItem) voidvoidsetCronExpression(String cronExpression) voidvoidvoidvoidvoidsetProcessingType(WorkDefinitionResponseDTO.ProcessingTypeEnum processingType) voidsetWorkFlowCheckerMappingDefinitionId(UUID workFlowCheckerMappingDefinitionId) voidsetWorks(Set<WorkDefinitionResponseDTO> works) voidtoJson()Convert an instance of WorkDefinitionResponseDTO to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues foundworkFlowCheckerMappingDefinitionId(UUID workFlowCheckerMappingDefinitionId) works(Set<WorkDefinitionResponseDTO> works)
-
Field Details
-
SERIALIZED_NAME_AUTHOR
- See Also:
-
SERIALIZED_NAME_CRON_EXPRESSION
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_OUTPUTS
- See Also:
-
SERIALIZED_NAME_PARAMETERS
- See Also:
-
SERIALIZED_NAME_PROCESSING_TYPE
- See Also:
-
SERIALIZED_NAME_WORK_FLOW_CHECKER_MAPPING_DEFINITION_ID
- See Also:
-
SERIALIZED_NAME_WORK_TYPE
- See Also:
-
SERIALIZED_NAME_WORKS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
WorkDefinitionResponseDTO
public WorkDefinitionResponseDTO()
-
-
Method Details
-
author
-
getAuthor
Get author- Returns:
- author
-
setAuthor
-
cronExpression
-
getCronExpression
Get cronExpression- Returns:
- cronExpression
-
setCronExpression
-
id
-
getId
Get id- Returns:
- id
-
setId
-
name
-
getName
Get name- Returns:
- name
-
setName
-
outputs
-
addOutputsItem
-
getOutputs
Get outputs- Returns:
- outputs
-
setOutputs
-
parameters
-
putParametersItem
-
getParameters
Get parameters- Returns:
- parameters
-
setParameters
-
processingType
public WorkDefinitionResponseDTO processingType(WorkDefinitionResponseDTO.ProcessingTypeEnum processingType) -
getProcessingType
Get processingType- Returns:
- processingType
-
setProcessingType
-
workFlowCheckerMappingDefinitionId
public WorkDefinitionResponseDTO workFlowCheckerMappingDefinitionId(UUID workFlowCheckerMappingDefinitionId) -
getWorkFlowCheckerMappingDefinitionId
Get workFlowCheckerMappingDefinitionId- Returns:
- workFlowCheckerMappingDefinitionId
-
setWorkFlowCheckerMappingDefinitionId
-
workType
-
getWorkType
Get workType- Returns:
- workType
-
setWorkType
-
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 WorkDefinitionResponseDTO
-
fromJson
Create an instance of WorkDefinitionResponseDTO given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WorkDefinitionResponseDTO
- Throws:
IOException- if the JSON string is invalid with respect to WorkDefinitionResponseDTO
-
toJson
Convert an instance of WorkDefinitionResponseDTO to an JSON string- Returns:
- JSON string
-