コード例 #1
0
 /**
  * Constructor to create a WorkflowCreateRequest
  *
  * @param id Unique request name
  * @param WorkflowCreateIn WorkflowObjectData for WorkflowCreateRequest
  */
 @JsonCreator
 public WorkflowCreateRequest(
     @JsonProperty("RequestId") String id,
     @JsonProperty("Workflow") WorkflowObjectData WorkflowCreateIn) {
   super(id, "WorkflowCreate");
   if (WorkflowCreateIn != null) {
     addInput(
         "Workflow",
         WorkflowObjectHelper.toMap(WorkflowCreateIn, new HashMap(), "Workflow").get("Workflow"));
   }
 }
コード例 #2
0
 /**
  * Retrieves the WorkflowObjectData that results from the WorkflowCreateRequest call
  *
  * @return WorkflowObjectData resulting from udt call
  */
 public WorkflowObjectData getOutput() {
   return WorkflowObjectHelper.fromMap(outputMap, "Workflow");
 }