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
Esempio n. 2
0
    def __init__(self,
                 id=None,
                 created_at=None,
                 updated_at=None,
                 title=None,
                 fetch=None,
                 display=None,
                 actions=None,
                 local_vars_configuration=None):  # noqa: E501
        """CardResponse - 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._created_at = None
        self._updated_at = None
        self._title = None
        self._fetch = None
        self._display = None
        self._actions = None
        self.discriminator = None

        self.id = id
        if created_at is not None:
            self.created_at = created_at
        if updated_at is not None:
            self.updated_at = updated_at
        self.title = title
        self.fetch = fetch
        self.display = display
        self.actions = actions
Esempio n. 3
0
    def __init__(self,
                 type='IFRAME',
                 width=None,
                 height=None,
                 url=None,
                 label=None,
                 property_names_included=None,
                 local_vars_configuration=None):  # noqa: E501
        """IFrameActionBody - 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 = None
        self._width = None
        self._height = None
        self._url = None
        self._label = None
        self._property_names_included = None
        self.discriminator = None

        self.type = type
        self.width = width
        self.height = height
        self.url = url
        if label is not None:
            self.label = label
        self.property_names_included = property_names_included
Esempio n. 4
0
    def __init__(self, total_count=None, all_items_link_url=None, card_label=None, top_level_actions=None, sections=None, response_version=None, local_vars_configuration=None):  # noqa: E501
        """IntegratorCardPayloadResponse - 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._total_count = None
        self._all_items_link_url = None
        self._card_label = None
        self._top_level_actions = None
        self._sections = None
        self._response_version = None
        self.discriminator = None

        self.total_count = total_count
        if all_items_link_url is not None:
            self.all_items_link_url = all_items_link_url
        if card_label is not None:
            self.card_label = card_label
        if top_level_actions is not None:
            self.top_level_actions = top_level_actions
        if sections is not None:
            self.sections = sections
        if response_version is not None:
            self.response_version = response_version
    def __init__(
        self,
        type="ACTION_HOOK",
        confirmation=None,
        http_method=None,
        url=None,
        label=None,
        property_names_included=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """ActionHookActionBody - 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 = None
        self._confirmation = None
        self._http_method = None
        self._url = None
        self._label = None
        self._property_names_included = None
        self.discriminator = None

        self.type = type
        if confirmation is not None:
            self.confirmation = confirmation
        self.http_method = http_method
        self.url = url
        if label is not None:
            self.label = label
        self.property_names_included = property_names_included
Esempio n. 6
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
    def __init__(
        self,
        title=None,
        fetch=None,
        display=None,
        actions=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """CardPatchRequest - 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._title = None
        self._fetch = None
        self._display = None
        self._actions = None
        self.discriminator = None

        if title is not None:
            self.title = title
        if fetch is not None:
            self.fetch = fetch
        if display is not None:
            self.display = display
        if actions is not None:
            self.actions = actions
Esempio n. 8
0
    def __init__(
        self,
        name=None,
        label=None,
        data_type=None,
        value=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """ObjectToken - 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._label = None
        self._data_type = None
        self._value = None
        self.discriminator = None

        if name is not None:
            self.name = name
        if label is not None:
            self.label = label
        if data_type is not None:
            self.data_type = data_type
        self.value = value
    def __init__(self,
                 id=None,
                 title=None,
                 link_url=None,
                 tokens=None,
                 actions=None,
                 local_vars_configuration=None):  # noqa: E501
        """IntegratorObjectResult - 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._title = None
        self._link_url = None
        self._tokens = None
        self._actions = None
        self.discriminator = None

        self.id = id
        self.title = title
        if link_url is not None:
            self.link_url = link_url
        self.tokens = tokens
        self.actions = actions
Esempio n. 10
0
    def __init__(self,
                 base_urls=None,
                 local_vars_configuration=None):  # noqa: E501
        """CardActions - 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._base_urls = None
        self.discriminator = None

        self.base_urls = base_urls
Esempio n. 11
0
    def __init__(self,
                 properties=None,
                 local_vars_configuration=None):  # noqa: E501
        """CardDisplayBody - 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._properties = None
        self.discriminator = None

        self.properties = properties
Esempio n. 12
0
    def __init__(self,
                 results=None,
                 local_vars_configuration=None):  # noqa: E501
        """CardListResponse - 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
Esempio n. 13
0
    def __init__(self, target_url=None, object_types=None, local_vars_configuration=None):  # noqa: E501
        """CardFetchBody - 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._target_url = None
        self._object_types = None
        self.discriminator = None

        self.target_url = target_url
        self.object_types = object_types
Esempio n. 14
0
    def __init__(self, prompt=None, confirm_button_label=None, cancel_button_label=None, local_vars_configuration=None):  # noqa: E501
        """ActionConfirmationBody - 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._prompt = None
        self._confirm_button_label = None
        self._cancel_button_label = None
        self.discriminator = None

        self.prompt = prompt
        self.confirm_button_label = confirm_button_label
        self.cancel_button_label = cancel_button_label
Esempio n. 15
0
    def __init__(self,
                 name=None,
                 properties_to_send=None,
                 local_vars_configuration=None):  # noqa: E501
        """CardObjectTypeBody - 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._properties_to_send = None
        self.discriminator = None

        self.name = name
        self.properties_to_send = properties_to_send
Esempio n. 16
0
    def __init__(self,
                 name=None,
                 label=None,
                 type=None,
                 local_vars_configuration=None):  # noqa: E501
        """DisplayOption - 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._label = None
        self._type = None
        self.discriminator = None

        self.name = name
        self.label = label
        self.type = type
Esempio 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
Esempio n. 18
0
    def __init__(self,
                 settings=None,
                 primary=None,
                 secondary=None,
                 local_vars_configuration=None):  # noqa: E501
        """TopLevelActions - 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._settings = None
        self._primary = None
        self._secondary = None
        self.discriminator = None

        if settings is not None:
            self.settings = settings
        if primary is not None:
            self.primary = primary
        self.secondary = secondary
Esempio n. 19
0
    def __init__(self,
                 title=None,
                 fetch=None,
                 display=None,
                 actions=None,
                 local_vars_configuration=None):  # noqa: E501
        """CardCreateRequest - 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._title = None
        self._fetch = None
        self._display = None
        self._actions = None
        self.discriminator = None

        self.title = title
        self.fetch = fetch
        self.display = display
        self.actions = actions
Esempio n. 20
0
    def __init__(self,
                 name=None,
                 label=None,
                 data_type=None,
                 options=None,
                 local_vars_configuration=None):  # noqa: E501
        """CardDisplayProperty - 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._label = None
        self._data_type = None
        self._options = None
        self.discriminator = None

        self.name = name
        self.label = label
        self.data_type = data_type
        self.options = options