Beispiel #1
0
    def __init__(self,
                 stages=None,
                 created_at=None,
                 archived_at=None,
                 updated_at=None,
                 archived=None,
                 label=None,
                 display_order=None,
                 id=None,
                 local_vars_configuration=None):  # noqa: E501
        """Pipeline - 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._stages = None
        self._created_at = None
        self._archived_at = None
        self._updated_at = None
        self._archived = None
        self._label = None
        self._display_order = None
        self._id = None
        self.discriminator = None

        self.stages = stages
        self.created_at = created_at
        if archived_at is not None:
            self.archived_at = archived_at
        self.updated_at = updated_at
        self.archived = archived
        self.label = label
        self.display_order = display_order
        self.id = id
Beispiel #2
0
    def __init__(self,
                 message=None,
                 correlation_id=None,
                 category=None,
                 sub_category=None,
                 errors=None,
                 context=None,
                 links=None,
                 local_vars_configuration=None):  # noqa: E501
        """Error - 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._message = None
        self._correlation_id = None
        self._category = None
        self._sub_category = None
        self._errors = None
        self._context = None
        self._links = None
        self.discriminator = None

        self.message = message
        self.correlation_id = correlation_id
        self.category = category
        if sub_category is not None:
            self.sub_category = sub_category
        if errors is not None:
            self.errors = errors
        if context is not None:
            self.context = context
        if links is not None:
            self.links = links
Beispiel #3
0
    def __init__(
        self,
        label=None,
        archived=None,
        display_order=None,
        metadata=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """PipelineStagePatchInput - 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._label = None
        self._archived = None
        self._display_order = None
        self._metadata = None
        self.discriminator = None

        if label is not None:
            self.label = label
        if archived is not None:
            self.archived = archived
        if display_order is not None:
            self.display_order = display_order
        self.metadata = metadata
    def __init__(self, portal_id=None, identifier=None, action=None, timestamp=None, message=None, raw_object=None, from_user_id=None, local_vars_configuration=None):  # noqa: E501
        """PublicAuditInfo - 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._portal_id = None
        self._identifier = None
        self._action = None
        self._timestamp = None
        self._message = None
        self._raw_object = None
        self._from_user_id = None
        self.discriminator = None

        self.portal_id = portal_id
        self.identifier = identifier
        self.action = action
        if timestamp is not None:
            self.timestamp = timestamp
        if message is not None:
            self.message = message
        if raw_object is not None:
            self.raw_object = raw_object
        if from_user_id is not None:
            self.from_user_id = from_user_id
Beispiel #5
0
    def __init__(self, next=None, local_vars_configuration=None):  # noqa: E501
        """Paging - 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._next = None
        self.discriminator = None

        if next is not None:
            self.next = next
    def __init__(self,
                 results=None,
                 local_vars_configuration=None):  # noqa: E501
        """CollectionResponsePipelineStageNoPaging - 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._results = None
        self.discriminator = None

        self.results = results
Beispiel #7
0
    def __init__(self,
                 after=None,
                 link=None,
                 local_vars_configuration=None):  # noqa: E501
        """NextPage - 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._after = None
        self._link = None
        self.discriminator = None

        self.after = after
        if link is not None:
            self.link = link
    def __init__(self,
                 stages=None,
                 label=None,
                 display_order=None,
                 local_vars_configuration=None):  # noqa: E501
        """PipelineInput - 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._stages = None
        self._label = None
        self._display_order = None
        self.discriminator = None

        self.stages = stages
        self.label = label
        self.display_order = display_order
Beispiel #9
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
Beispiel #10
0
    def __init__(self, message=None, _in=None, code=None, sub_category=None, context=None, local_vars_configuration=None):  # noqa: E501
        """ErrorDetail - 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._message = None
        self.__in = None
        self._code = None
        self._sub_category = None
        self._context = None
        self.discriminator = None

        self.message = message
        if _in is not None:
            self._in = _in
        if code is not None:
            self.code = code
        if sub_category is not None:
            self.sub_category = sub_category
        if context is not None:
            self.context = context