Exemplo n.º 1
0
    def __init__(self,
                 grpc_code=None,
                 http_code=None,
                 message=None,
                 http_status=None,
                 details=None,
                 local_vars_configuration=None):  # noqa: E501
        """GrpcGatewayRuntimeStreamError - 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._grpc_code = None
        self._http_code = None
        self._message = None
        self._http_status = None
        self._details = None
        self.discriminator = None

        if grpc_code is not None:
            self.grpc_code = grpc_code
        if http_code is not None:
            self.http_code = http_code
        if message is not None:
            self.message = message
        if http_status is not None:
            self.http_status = http_status
        if details is not None:
            self.details = details
Exemplo n.º 2
0
    def __init__(self,
                 error=None,
                 code=None,
                 message=None,
                 details=None,
                 local_vars_configuration=None):  # noqa: E501
        """GrpcGatewayRuntimeError - 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._code = None
        self._message = None
        self._details = None
        self.discriminator = None

        if error is not None:
            self.error = error
        if code is not None:
            self.code = code
        if message is not None:
            self.message = message
        if details is not None:
            self.details = details
Exemplo n.º 3
0
    def __init__(self, name=None, local_vars_configuration=None):  # noqa: E501
        """Namespace - 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.discriminator = None

        if name is not None:
            self.name = name
    def __init__(self, workflow_template=None, local_vars_configuration=None):  # noqa: E501
        """ArchiveWorkflowTemplateResponse - 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._workflow_template = None
        self.discriminator = None

        if workflow_template is not None:
            self.workflow_template = workflow_template
Exemplo n.º 5
0
    def __init__(self,
                 deleted=None,
                 local_vars_configuration=None):  # noqa: E501
        """DeleteSecretResponse - 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._deleted = None
        self.discriminator = None

        if deleted is not None:
            self.deleted = deleted
Exemplo n.º 6
0
    def __init__(self,
                 updated=None,
                 local_vars_configuration=None):  # noqa: E501
        """UpdateSecretKeyValueResponse - 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._updated = None
        self.discriminator = None

        if updated is not None:
            self.updated = updated
    def __init__(self,
                 metrics=None,
                 local_vars_configuration=None):  # noqa: E501
        """GetWorkflowExecutionMetricsResponse - 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._metrics = None
        self.discriminator = None

        if metrics is not None:
            self.metrics = metrics
Exemplo n.º 8
0
    def __init__(self,
                 exists=None,
                 local_vars_configuration=None):  # noqa: E501
        """SecretExistsResponse - 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._exists = None
        self.discriminator = None

        if exists is not None:
            self.exists = exists
    def __init__(self, count=None, namespaces=None, local_vars_configuration=None):  # noqa: E501
        """ListNamespacesResponse - 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._count = None
        self._namespaces = None
        self.discriminator = None

        if count is not None:
            self.count = count
        if namespaces is not None:
            self.namespaces = namespaces
Exemplo n.º 10
0
    def __init__(self, type_url=None, value=None, local_vars_configuration=None):  # noqa: E501
        """GoogleProtobufAny - 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._type_url = None
        self._value = None
        self.discriminator = None

        if type_url is not None:
            self.type_url = type_url
        if value is not None:
            self.value = value
Exemplo n.º 11
0
    def __init__(self,
                 timestamp=None,
                 content=None,
                 local_vars_configuration=None):  # noqa: E501
        """LogEntry - 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._timestamp = None
        self._content = None
        self.discriminator = None

        if timestamp is not None:
            self.timestamp = timestamp
        if content is not None:
            self.content = content
    def __init__(self,
                 result=None,
                 error=None,
                 local_vars_configuration=None):  # noqa: E501
        """StreamResultOfLogEntry - 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._error = None
        self.discriminator = None

        if result is not None:
            self.result = result
        if error is not None:
            self.error = error
Exemplo n.º 13
0
    def __init__(self,
                 count=None,
                 secrets=None,
                 local_vars_configuration=None):  # noqa: E501
        """ListSecretsResponse - 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._count = None
        self._secrets = None
        self.discriminator = None

        if count is not None:
            self.count = count
        if secrets is not None:
            self.secrets = secrets
    def __init__(self,
                 count=None,
                 workflow_templates=None,
                 local_vars_configuration=None):  # noqa: E501
        """ListWorkflowTemplateVersionsResponse - 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._count = None
        self._workflow_templates = None
        self.discriminator = None

        if count is not None:
            self.count = count
        if workflow_templates is not None:
            self.workflow_templates = workflow_templates
    def __init__(self,
                 name=None,
                 value=None,
                 local_vars_configuration=None):  # noqa: E501
        """WorkflowExecutionParameter - 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.discriminator = None

        if name is not None:
            self.name = name
        if value is not None:
            self.value = value
Exemplo n.º 16
0
    def __init__(self,
                 created_at=None,
                 uid=None,
                 name=None,
                 phase=None,
                 started_at=None,
                 finished_at=None,
                 manifest=None,
                 parameters=None,
                 workflow_template=None,
                 local_vars_configuration=None):  # noqa: E501
        """WorkflowExecution - 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._created_at = None
        self._uid = None
        self._name = None
        self._phase = None
        self._started_at = None
        self._finished_at = None
        self._manifest = None
        self._parameters = None
        self._workflow_template = None
        self.discriminator = None

        if created_at is not None:
            self.created_at = created_at
        if uid is not None:
            self.uid = uid
        if name is not None:
            self.name = name
        if phase is not None:
            self.phase = phase
        if started_at is not None:
            self.started_at = started_at
        if finished_at is not None:
            self.finished_at = finished_at
        if manifest is not None:
            self.manifest = manifest
        if parameters is not None:
            self.parameters = parameters
        if workflow_template is not None:
            self.workflow_template = workflow_template
Exemplo n.º 17
0
    def __init__(self,
                 configuration=None,
                 header_name=None,
                 header_value=None,
                 cookie=None,
                 pool_threads=1):
        if configuration is None:
            configuration = Configuration()
        self.configuration = configuration
        self.pool_threads = pool_threads

        self.rest_client = rest.RESTClientObject(configuration)
        self.default_headers = {}
        if header_name is not None:
            self.default_headers[header_name] = header_value
        self.cookie = cookie
        # Set default User-Agent.
        self.user_agent = 'OpenAPI-Generator/1.0.0/python'
        self.client_side_validation = configuration.client_side_validation
Exemplo n.º 18
0
    def __init__(self,
                 name=None,
                 value=None,
                 format=None,
                 local_vars_configuration=None):  # noqa: E501
        """Metric - 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._format = None
        self.discriminator = None

        if name is not None:
            self.name = name
        if value is not None:
            self.value = value
        if format is not None:
            self.format = format
Exemplo n.º 19
0
    def __init__(self, count=None, workflow_executions=None, page=None, pages=None, total_count=None, local_vars_configuration=None):  # noqa: E501
        """ListWorkflowExecutionsResponse - 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._count = None
        self._workflow_executions = None
        self._page = None
        self._pages = None
        self._total_count = None
        self.discriminator = None

        if count is not None:
            self.count = count
        if workflow_executions is not None:
            self.workflow_executions = workflow_executions
        if page is not None:
            self.page = page
        if pages is not None:
            self.pages = pages
        if total_count is not None:
            self.total_count = total_count
Exemplo n.º 20
0
    def __init__(self,
                 created_at=None,
                 uid=None,
                 name=None,
                 version=None,
                 manifest=None,
                 is_latest=None,
                 is_archived=None,
                 local_vars_configuration=None):  # noqa: E501
        """WorkflowTemplate - 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._created_at = None
        self._uid = None
        self._name = None
        self._version = None
        self._manifest = None
        self._is_latest = None
        self._is_archived = None
        self.discriminator = None

        if created_at is not None:
            self.created_at = created_at
        if uid is not None:
            self.uid = uid
        if name is not None:
            self.name = name
        if version is not None:
            self.version = version
        if manifest is not None:
            self.manifest = manifest
        if is_latest is not None:
            self.is_latest = is_latest
        if is_archived is not None:
            self.is_archived = is_archived