Package com.redhat.parodos.sdk.model
Class WorkFlowDefinitionResponseDTO
java.lang.Object
com.redhat.parodos.sdk.model.WorkFlowDefinitionResponseDTO
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class WorkFlowDefinitionResponseDTO
extends Object
WorkFlowDefinitionResponseDTO
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets processingTypestatic enumGets or Sets type -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddWorksItem(WorkDefinitionResponseDTO worksItem) createDate(Date createDate) cronExpression(String cronExpression) booleanfallbackWorkflow(String fallbackWorkflow) Create an instance of WorkFlowDefinitionResponseDTO given an JSON stringGet authorGet createDateGet cronExpressionGet fallbackWorkflowgetId()Get idGet modifyDategetName()Get nameGet parametersGet processingTypeGet propertiesgetType()Get typegetWorks()Get worksinthashCode()modifyDate(Date modifyDate) processingType(WorkFlowDefinitionResponseDTO.ProcessingTypeEnum processingType) properties(WorkFlowPropertiesDefinitionDTO properties) putParametersItem(String key, Map<String, Object> parametersItem) voidvoidsetCreateDate(Date createDate) voidsetCronExpression(String cronExpression) voidsetFallbackWorkflow(String fallbackWorkflow) voidvoidsetModifyDate(Date modifyDate) voidvoidvoidsetProcessingType(WorkFlowDefinitionResponseDTO.ProcessingTypeEnum processingType) voidsetProperties(WorkFlowPropertiesDefinitionDTO properties) voidvoidsetWorks(Set<WorkDefinitionResponseDTO> works) toJson()Convert an instance of WorkFlowDefinitionResponseDTO to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues foundworks(Set<WorkDefinitionResponseDTO> works)
-
Field Details
-
SERIALIZED_NAME_AUTHOR
- See Also:
-
SERIALIZED_NAME_CREATE_DATE
- See Also:
-
SERIALIZED_NAME_CRON_EXPRESSION
- See Also:
-
SERIALIZED_NAME_FALLBACK_WORKFLOW
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_MODIFY_DATE
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_PARAMETERS
- See Also:
-
SERIALIZED_NAME_PROCESSING_TYPE
- See Also:
-
SERIALIZED_NAME_PROPERTIES
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_WORKS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
WorkFlowDefinitionResponseDTO
public WorkFlowDefinitionResponseDTO()
-
-
Method Details
-
author
-
getAuthor
Get author- Returns:
- author
-
setAuthor
-
createDate
-
getCreateDate
Get createDate- Returns:
- createDate
-
setCreateDate
-
cronExpression
-
getCronExpression
Get cronExpression- Returns:
- cronExpression
-
setCronExpression
-
fallbackWorkflow
-
getFallbackWorkflow
Get fallbackWorkflow- Returns:
- fallbackWorkflow
-
setFallbackWorkflow
-
id
-
getId
Get id- Returns:
- id
-
setId
-
modifyDate
-
getModifyDate
Get modifyDate- Returns:
- modifyDate
-
setModifyDate
-
name
-
getName
Get name- Returns:
- name
-
setName
-
parameters
-
putParametersItem
public WorkFlowDefinitionResponseDTO putParametersItem(String key, Map<String, Object> parametersItem) -
getParameters
Get parameters- Returns:
- parameters
-
setParameters
-
processingType
public WorkFlowDefinitionResponseDTO processingType(WorkFlowDefinitionResponseDTO.ProcessingTypeEnum processingType) -
getProcessingType
Get processingType- Returns:
- processingType
-
setProcessingType
-
properties
-
getProperties
Get properties- Returns:
- properties
-
setProperties
-
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 WorkFlowDefinitionResponseDTO
-
fromJson
Create an instance of WorkFlowDefinitionResponseDTO given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WorkFlowDefinitionResponseDTO
- Throws:
IOException- if the JSON string is invalid with respect to WorkFlowDefinitionResponseDTO
-
toJson
Convert an instance of WorkFlowDefinitionResponseDTO to an JSON string- Returns:
- JSON string
-