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) booleanCreate an instance of WorkFlowDefinitionResponseDTO given an JSON stringGet authorGet createDategetId()Get idGet modifyDategetName()Get nameGet parametersGet processingTypeGet propertiesGet rollbackWorkflowgetType()Get typegetWorks()Get worksinthashCode()modifyDate(Date modifyDate) processingType(WorkFlowDefinitionResponseDTO.ProcessingTypeEnum processingType) properties(WorkFlowPropertiesDefinitionDTO properties) putParametersItem(String key, Map<String, Object> parametersItem) rollbackWorkflow(String rollbackWorkflow) voidvoidsetCreateDate(Date createDate) voidvoidsetModifyDate(Date modifyDate) voidvoidvoidsetProcessingType(WorkFlowDefinitionResponseDTO.ProcessingTypeEnum processingType) voidsetProperties(WorkFlowPropertiesDefinitionDTO properties) voidsetRollbackWorkflow(String rollbackWorkflow) voidvoidsetWorks(List<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(List<WorkDefinitionResponseDTO> works)
-
Field Details
-
SERIALIZED_NAME_AUTHOR
- See Also:
-
SERIALIZED_NAME_CREATE_DATE
- 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_ROLLBACK_WORKFLOW
- 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
-
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
-
rollbackWorkflow
-
getRollbackWorkflow
Get rollbackWorkflow- Returns:
- rollbackWorkflow
-
setRollbackWorkflow
-
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
-