예제 #1
0
    def __init__(self,
                 sender=None,
                 reply_to=None,
                 subject=None,
                 html=None,
                 amp_html=None,
                 text=None,
                 local_vars_configuration=None):  # noqa: E501
        """CompiledRead - 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._sender = None
        self._reply_to = None
        self._subject = None
        self._html = None
        self._amp_html = None
        self._text = None
        self.discriminator = None

        if sender is not None:
            self.sender = sender
        if reply_to is not None:
            self.reply_to = reply_to
        if subject is not None:
            self.subject = subject
        if html is not None:
            self.html = html
        if amp_html is not None:
            self.amp_html = amp_html
        if text is not None:
            self.text = text
예제 #2
0
    def __init__(self, name=None, local_vars_configuration=None):  # noqa: E501
        """InlineObject - 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
예제 #3
0
    def __init__(self, cursor=None, data=None, local_vars_configuration=None):  # noqa: E501
        """DraftsRead - 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._cursor = None
        self._data = None
        self.discriminator = None

        if cursor is not None:
            self.cursor = cursor
        if data is not None:
            self.data = data
예제 #4
0
    def __init__(self,
                 next=None,
                 has_more=None,
                 local_vars_configuration=None):  # noqa: E501
        """Cursor - 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._has_more = None
        self.discriminator = None

        if next is not None:
            self.next = next
        if has_more is not None:
            self.has_more = has_more
    def __init__(self,
                 key=None,
                 comment=None,
                 local_vars_configuration=None):  # noqa: E501
        """LocalizationKeyRead - 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._key = None
        self._comment = None
        self.discriminator = None

        if key is not None:
            self.key = key
        if comment is not None:
            self.comment = comment
    def __init__(self,
                 id=None,
                 languages=None,
                 url=None,
                 template=None,
                 compiled=None,
                 created_at=None,
                 updated_at=None,
                 name=None,
                 locale_group=None,
                 local_vars_configuration=None):  # noqa: E501
        """LocalizationRead - 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._languages = None
        self._url = None
        self._template = None
        self._compiled = None
        self._created_at = None
        self._updated_at = None
        self._name = None
        self._locale_group = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if languages is not None:
            self.languages = languages
        if url is not None:
            self.url = url
        if template is not None:
            self.template = template
        if compiled is not None:
            self.compiled = compiled
        if created_at is not None:
            self.created_at = created_at
        if updated_at is not None:
            self.updated_at = updated_at
        if name is not None:
            self.name = name
        if locale_group is not None:
            self.locale_group = locale_group
예제 #7
0
    def __init__(self,
                 configuration=None,
                 header_name=None,
                 header_value=None,
                 cookie=None,
                 pool_threads=1):
        if configuration is None:
            configuration = Configuration.get_default_copy()
        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/6.0.0/python'
        self.client_side_validation = configuration.client_side_validation
예제 #8
0
    def __init__(self,
                 id=None,
                 name=None,
                 description=None,
                 url=None,
                 compiled=None,
                 created_at=None,
                 updated_at=None,
                 localizations=None,
                 local_vars_configuration=None):  # noqa: E501
        """TemplateRead - 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._name = None
        self._description = None
        self._url = None
        self._compiled = None
        self._created_at = None
        self._updated_at = None
        self._localizations = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if name is not None:
            self.name = name
        if description is not None:
            self.description = description
        if url is not None:
            self.url = url
        if compiled is not None:
            self.compiled = compiled
        if created_at is not None:
            self.created_at = created_at
        if updated_at is not None:
            self.updated_at = updated_at
        if localizations is not None:
            self.localizations = localizations
예제 #9
0
    def __init__(self,
                 code=None,
                 message=None,
                 parameter=None,
                 local_vars_configuration=None):  # noqa: E501
        """APIError - 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._parameter = None
        self.discriminator = None

        if code is not None:
            self.code = code
        if message is not None:
            self.message = message
        if parameter is not None:
            self.parameter = parameter