Request body for creating a workflow. Shared by the builder DSL and the API so callers and SDKs use the same contract.
| Name | Type | Description | Notes |
|---|---|---|---|
| context | Dict[str, object] | [optional] | |
| metadata | Dict[str, object] | [optional] | |
| name | str | ||
| steps | List[WorkflowStep] |
from queueflow.models.create_workflow_request import CreateWorkflowRequest
# TODO update the JSON string below
json = "{}"
# create an instance of CreateWorkflowRequest from a JSON string
create_workflow_request_instance = CreateWorkflowRequest.from_json(json)
# print the JSON string representation of the object
print(CreateWorkflowRequest.to_json())
# convert the object into a dict
create_workflow_request_dict = create_workflow_request_instance.to_dict()
# create an instance of CreateWorkflowRequest from a dict
create_workflow_request_from_dict = CreateWorkflowRequest.from_dict(create_workflow_request_dict)