Exemple #1
0
    def __init__(self,
                 name=None,
                 description=None,
                 organization=None,
                 acl=None,
                 categories=None,
                 local_vars_configuration=None):  # noqa: E501
        """UpdateWorkflowRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self._description = None
        self._organization = None
        self._acl = None
        self._categories = None
        self.discriminator = None

        if name is not None:
            self.name = name
        if description is not None:
            self.description = description
        if organization is not None:
            self.organization = organization
        if acl is not None:
            self.acl = acl
        if categories is not None:
            self.categories = categories
    def __init__(self,
                 name=None,
                 event_id=None,
                 previous_event_id=None,
                 event_type=None,
                 timestamp=None,
                 event_details=None,
                 local_vars_configuration=None):  # noqa: E501
        """WorkflowRunHistoryEvent - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self._event_id = None
        self._previous_event_id = None
        self._event_type = None
        self._timestamp = None
        self._event_details = None
        self.discriminator = None

        if name is not None:
            self.name = name
        if event_id is not None:
            self.event_id = event_id
        if previous_event_id is not None:
            self.previous_event_id = previous_event_id
        if event_type is not None:
            self.event_type = event_type
        if timestamp is not None:
            self.timestamp = timestamp
        if event_details is not None:
            self.event_details = event_details
    def __init__(self, items=None, item_count=None, first_page_token=None, next_page_token=None, prev_page_token=None, last_page_token=None, total_item_count=None, total_page_count=None, local_vars_configuration=None):  # noqa: E501
        """WorkflowRunList - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._items = None
        self._item_count = None
        self._first_page_token = None
        self._next_page_token = None
        self._prev_page_token = None
        self._last_page_token = None
        self._total_item_count = None
        self._total_page_count = None
        self.discriminator = None

        if items is not None:
            self.items = items
        if item_count is not None:
            self.item_count = item_count
        if first_page_token is not None:
            self.first_page_token = first_page_token
        if next_page_token is not None:
            self.next_page_token = next_page_token
        if prev_page_token is not None:
            self.prev_page_token = prev_page_token
        if last_page_token is not None:
            self.last_page_token = last_page_token
        if total_item_count is not None:
            self.total_item_count = total_item_count
        if total_page_count is not None:
            self.total_page_count = total_page_count
Exemple #4
0
    def __init__(self,
                 version=None,
                 description=None,
                 language=None,
                 definition=None,
                 acl=None,
                 status=None,
                 local_vars_configuration=None):  # noqa: E501
        """UpdateWorkflowVersionRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._version = None
        self._description = None
        self._language = None
        self._definition = None
        self._acl = None
        self._status = None
        self.discriminator = None

        if version is not None:
            self.version = version
        if description is not None:
            self.description = description
        if language is not None:
            self.language = language
        if definition is not None:
            self.definition = definition
        if acl is not None:
            self.acl = acl
        if status is not None:
            self.status = status
    def __init__(self, id=None, urn=None, href=None, version=None, category=None, description=None, language=None, status=None, created_by_client_id=None, definition=None, time_created=None, time_modified=None, created_by=None, modified_by=None, tenant_id=None, acl=None, local_vars_configuration=None):  # noqa: E501
        """WorkflowVersion - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._urn = None
        self._href = None
        self._version = None
        self._category = None
        self._description = None
        self._language = None
        self._status = None
        self._created_by_client_id = None
        self._definition = None
        self._time_created = None
        self._time_modified = None
        self._created_by = None
        self._modified_by = None
        self._tenant_id = None
        self._acl = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if urn is not None:
            self.urn = urn
        if href is not None:
            self.href = href
        if version is not None:
            self.version = version
        if category is not None:
            self.category = category
        if description is not None:
            self.description = description
        if language is not None:
            self.language = language
        if status is not None:
            self.status = status
        if created_by_client_id is not None:
            self.created_by_client_id = created_by_client_id
        if definition is not None:
            self.definition = definition
        if time_created is not None:
            self.time_created = time_created
        if time_modified is not None:
            self.time_modified = time_modified
        if created_by is not None:
            self.created_by = created_by
        if modified_by is not None:
            self.modified_by = modified_by
        if tenant_id is not None:
            self.tenant_id = tenant_id
        if acl is not None:
            self.acl = acl
    def __init__(self,
                 result=None,
                 local_vars_configuration=None):  # noqa: E501
        """SucceedWorkflowSignalRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._result = None
        self.discriminator = None

        if result is not None:
            self.result = result
    def __init__(self, name=None, version=None, local_vars_configuration=None):  # noqa: E501
        """WorkflowLanguage - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self._version = None
        self.discriminator = None

        self.name = name
        if version is not None:
            self.version = version
    def __init__(self, error=None, cause=None, local_vars_configuration=None):  # noqa: E501
        """FailWorkflowSignalRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._error = None
        self._cause = None
        self.discriminator = None

        self.error = error
        if cause is not None:
            self.cause = cause
    def __init__(self, name=None, value=None, json=None, options=None, local_vars_configuration=None):  # noqa: E501
        """WorkflowArgument - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self._value = None
        self._json = None
        self._options = None
        self.discriminator = None

        self.name = name
        if value is not None:
            self.value = value
        if json is not None:
            self.json = json
        if options is not None:
            self.options = options
Exemple #10
0
    def __init__(self,
                 name=None,
                 input=None,
                 engine_parameters=None,
                 local_vars_configuration=None):  # noqa: E501
        """LaunchWorkflowVersionRequest - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self._input = None
        self._engine_parameters = None
        self.discriminator = None

        if name is not None:
            self.name = name
        if input is not None:
            self.input = input
        if engine_parameters is not None:
            self.engine_parameters = engine_parameters
    def __init__(self,
                 code=None,
                 message=None,
                 details=None,
                 local_vars_configuration=None):  # noqa: E501
        """ErrorResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._code = None
        self._message = None
        self._details = None
        self.discriminator = None

        if code is not None:
            self.code = code
        if message is not None:
            self.message = message
        if details is not None:
            self.details = details
    def __init__(self,
                 name=None,
                 type=None,
                 host=None,
                 host_validation_regex=None,
                 credentials=None,
                 options=None,
                 auto_disable_url=None,
                 auto_disable_http_method=None,
                 local_vars_configuration=None):  # noqa: E501
        """WorkflowConnection - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self._type = None
        self._host = None
        self._host_validation_regex = None
        self._credentials = None
        self._options = None
        self._auto_disable_url = None
        self._auto_disable_http_method = None
        self.discriminator = None

        self.name = name
        if type is not None:
            self.type = type
        if host is not None:
            self.host = host
        if host_validation_regex is not None:
            self.host_validation_regex = host_validation_regex
        if credentials is not None:
            self.credentials = credentials
        if options is not None:
            self.options = options
        if auto_disable_url is not None:
            self.auto_disable_url = auto_disable_url
        if auto_disable_http_method is not None:
            self.auto_disable_http_method = auto_disable_http_method
 def __init__(self, local_vars_configuration=None):  # noqa: E501
     """GetWorkflowRunIncludeFlags - a model defined in OpenAPI"""  # noqa: E501
     if local_vars_configuration is None:
         local_vars_configuration = Configuration()
     self.local_vars_configuration = local_vars_configuration
     self.discriminator = None
    def __init__(self,
                 id=None,
                 urn=None,
                 href=None,
                 send_heartbeat_href=None,
                 send_success_response_href=None,
                 send_failure_response_href=None,
                 name=None,
                 status=None,
                 type=None,
                 description=None,
                 inputs=None,
                 workflow_run=None,
                 timeout_seconds=None,
                 result=None,
                 error=None,
                 error_cause=None,
                 created_by_client_id=None,
                 time_created=None,
                 time_modified=None,
                 created_by=None,
                 modified_by=None,
                 tenant_id=None,
                 acl=None,
                 local_vars_configuration=None):  # noqa: E501
        """WorkflowSignal - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._urn = None
        self._href = None
        self._send_heartbeat_href = None
        self._send_success_response_href = None
        self._send_failure_response_href = None
        self._name = None
        self._status = None
        self._type = None
        self._description = None
        self._inputs = None
        self._workflow_run = None
        self._timeout_seconds = None
        self._result = None
        self._error = None
        self._error_cause = None
        self._created_by_client_id = None
        self._time_created = None
        self._time_modified = None
        self._created_by = None
        self._modified_by = None
        self._tenant_id = None
        self._acl = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if urn is not None:
            self.urn = urn
        if href is not None:
            self.href = href
        if send_heartbeat_href is not None:
            self.send_heartbeat_href = send_heartbeat_href
        if send_success_response_href is not None:
            self.send_success_response_href = send_success_response_href
        if send_failure_response_href is not None:
            self.send_failure_response_href = send_failure_response_href
        if name is not None:
            self.name = name
        if status is not None:
            self.status = status
        if type is not None:
            self.type = type
        if description is not None:
            self.description = description
        if inputs is not None:
            self.inputs = inputs
        if workflow_run is not None:
            self.workflow_run = workflow_run
        if timeout_seconds is not None:
            self.timeout_seconds = timeout_seconds
        if result is not None:
            self.result = result
        if error is not None:
            self.error = error
        if error_cause is not None:
            self.error_cause = error_cause
        if created_by_client_id is not None:
            self.created_by_client_id = created_by_client_id
        if time_created is not None:
            self.time_created = time_created
        if time_modified is not None:
            self.time_modified = time_modified
        if created_by is not None:
            self.created_by = created_by
        if modified_by is not None:
            self.modified_by = modified_by
        if tenant_id is not None:
            self.tenant_id = tenant_id
        if acl is not None:
            self.acl = acl
Exemple #15
0
 def __init__(self, local_vars_configuration=None):  # noqa: E501
     """ToolClass - a model defined in OpenAPI"""  # noqa: E501
     if local_vars_configuration is None:
         local_vars_configuration = Configuration()
     self.local_vars_configuration = local_vars_configuration
     self.discriminator = None
    def __init__(self,
                 id=None,
                 urn=None,
                 href=None,
                 name=None,
                 organization=None,
                 description=None,
                 tool_class=None,
                 categories=None,
                 created_by_client_id=None,
                 time_created=None,
                 time_modified=None,
                 created_by=None,
                 modified_by=None,
                 tenant_id=None,
                 acl=None,
                 local_vars_configuration=None):  # noqa: E501
        """WorkflowCompact - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._urn = None
        self._href = None
        self._name = None
        self._organization = None
        self._description = None
        self._tool_class = None
        self._categories = None
        self._created_by_client_id = None
        self._time_created = None
        self._time_modified = None
        self._created_by = None
        self._modified_by = None
        self._tenant_id = None
        self._acl = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if urn is not None:
            self.urn = urn
        if href is not None:
            self.href = href
        if name is not None:
            self.name = name
        if organization is not None:
            self.organization = organization
        if description is not None:
            self.description = description
        if tool_class is not None:
            self.tool_class = tool_class
        if categories is not None:
            self.categories = categories
        if created_by_client_id is not None:
            self.created_by_client_id = created_by_client_id
        if time_created is not None:
            self.time_created = time_created
        if time_modified is not None:
            self.time_modified = time_modified
        if created_by is not None:
            self.created_by = created_by
        if modified_by is not None:
            self.modified_by = modified_by
        if tenant_id is not None:
            self.tenant_id = tenant_id
        if acl is not None:
            self.acl = acl
Exemple #17
0
    def __init__(self,
                 id=None,
                 urn=None,
                 href=None,
                 name=None,
                 time_started=None,
                 time_stopped=None,
                 status=None,
                 idempotency_key=None,
                 status_summary=None,
                 error=None,
                 error_cause=None,
                 workflow_version=None,
                 created_by_client_id=None,
                 engine_parameters=None,
                 time_created=None,
                 time_modified=None,
                 created_by=None,
                 modified_by=None,
                 tenant_id=None,
                 acl=None,
                 local_vars_configuration=None):  # noqa: E501
        """WorkflowRunCompact - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._urn = None
        self._href = None
        self._name = None
        self._time_started = None
        self._time_stopped = None
        self._status = None
        self._idempotency_key = None
        self._status_summary = None
        self._error = None
        self._error_cause = None
        self._workflow_version = None
        self._created_by_client_id = None
        self._engine_parameters = None
        self._time_created = None
        self._time_modified = None
        self._created_by = None
        self._modified_by = None
        self._tenant_id = None
        self._acl = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if urn is not None:
            self.urn = urn
        if href is not None:
            self.href = href
        if name is not None:
            self.name = name
        if time_started is not None:
            self.time_started = time_started
        if time_stopped is not None:
            self.time_stopped = time_stopped
        if status is not None:
            self.status = status
        if idempotency_key is not None:
            self.idempotency_key = idempotency_key
        if status_summary is not None:
            self.status_summary = status_summary
        if error is not None:
            self.error = error
        if error_cause is not None:
            self.error_cause = error_cause
        if workflow_version is not None:
            self.workflow_version = workflow_version
        if created_by_client_id is not None:
            self.created_by_client_id = created_by_client_id
        if engine_parameters is not None:
            self.engine_parameters = engine_parameters
        if time_created is not None:
            self.time_created = time_created
        if time_modified is not None:
            self.time_modified = time_modified
        if created_by is not None:
            self.created_by = created_by
        if modified_by is not None:
            self.modified_by = modified_by
        if tenant_id is not None:
            self.tenant_id = tenant_id
        if acl is not None:
            self.acl = acl