コード例 #1
0
    def __init__(self,
                 status=None,
                 channel=None,
                 message_id=None,
                 error=None,
                 err=None,
                 timestamp=None,
                 local_vars_configuration=None):  # noqa: E501
        """DeliveryResult - 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._status = None
        self._channel = None
        self._message_id = None
        self._error = None
        self._err = None
        self._timestamp = None
        self.discriminator = None

        if status is not None:
            self.status = status
        if channel is not None:
            self.channel = channel
        if message_id is not None:
            self.message_id = message_id
        if error is not None:
            self.error = error
        if err is not None:
            self.err = err
        if timestamp is not None:
            self.timestamp = timestamp
コード例 #2
0
    def __init__(self,
                 mccmnc=None,
                 network_name=None,
                 country_name=None,
                 country_prefix=None,
                 country_code=None,
                 local_vars_configuration=None):  # noqa: E501
        """MobileNetwork - 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._mccmnc = None
        self._network_name = None
        self._country_name = None
        self._country_prefix = None
        self._country_code = None
        self.discriminator = None

        if mccmnc is not None:
            self.mccmnc = mccmnc
        if network_name is not None:
            self.network_name = network_name
        if country_name is not None:
            self.country_name = country_name
        if country_prefix is not None:
            self.country_prefix = country_prefix
        if country_code is not None:
            self.country_code = country_code
コード例 #3
0
    def __init__(self,
                 text=None,
                 sender=None,
                 validity=None,
                 autoconvert=None,
                 udh=None,
                 channel='sms',
                 local_vars_configuration=None):  # noqa: E501
        """SMS - 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._text = None
        self._sender = None
        self._validity = None
        self._autoconvert = None
        self._udh = None
        self._channel = None
        self.discriminator = None

        self.text = text
        if sender is not None:
            self.sender = sender
        if validity is not None:
            self.validity = validity
        if autoconvert is not None:
            self.autoconvert = autoconvert
        if udh is not None:
            self.udh = udh
        if channel is not None:
            self.channel = channel
コード例 #4
0
    def __init__(self,
                 to=None,
                 messages=None,
                 dlr_url=None,
                 text_store=None,
                 time_to_send=None,
                 priority=None,
                 local_vars_configuration=None):  # noqa: E501
        """Omnimessage - 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._to = None
        self._messages = None
        self._dlr_url = None
        self._text_store = None
        self._time_to_send = None
        self._priority = None
        self.discriminator = None

        self.to = to
        self.messages = messages
        if dlr_url is not None:
            self.dlr_url = dlr_url
        if text_store is not None:
            self.text_store = text_store
        if time_to_send is not None:
            self.time_to_send = time_to_send
        if priority is not None:
            self.priority = priority
コード例 #5
0
    def __init__(self, name=None, local_vars_configuration=None):  # noqa: E501
        """GroupName - 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

        self.name = name
コード例 #6
0
    def __init__(self, group=None, local_vars_configuration=None):  # noqa: E501
        """GroupEnvelope - 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._group = None
        self.discriminator = None

        if group is not None:
            self.group = group
コード例 #7
0
    def __init__(self,
                 reports=None,
                 local_vars_configuration=None):  # noqa: E501
        """StatisticsReportSuccess - 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._reports = None
        self.discriminator = None

        self.reports = reports
コード例 #8
0
    def __init__(self,
                 numbers=None,
                 local_vars_configuration=None):  # noqa: E501
        """NumbersToInvestigate - 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._numbers = None
        self.discriminator = None

        self.numbers = numbers
コード例 #9
0
    def __init__(self,
                 errors=None,
                 local_vars_configuration=None):  # noqa: E501
        """ErrorStatistics - 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._errors = None
        self.discriminator = None

        self.errors = errors
コード例 #10
0
    def __init__(self,
                 content=None,
                 local_vars_configuration=None):  # noqa: E501
        """WhatsAppAudio - 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._content = None
        self.discriminator = None

        self.content = content
コード例 #11
0
    def __init__(self,
                 phone_number=None,
                 local_vars_configuration=None):  # noqa: E501
        """NumberToBlacklist - 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._phone_number = None
        self.discriminator = None

        self.phone_number = phone_number
コード例 #12
0
    def __init__(self,
                 phone_numbers=None,
                 local_vars_configuration=None):  # noqa: E501
        """FetchBlacklistSuccess - 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._phone_numbers = None
        self.discriminator = None

        if phone_numbers is not None:
            self.phone_numbers = phone_numbers
コード例 #13
0
    def __init__(self, preview_url=True, body=None, local_vars_configuration=None):  # noqa: E501
        """WhatsAppText - 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._preview_url = None
        self._body = None
        self.discriminator = None

        if preview_url is not None:
            self.preview_url = preview_url
        self.body = body
コード例 #14
0
    def __init__(self,
                 contact=None,
                 local_vars_configuration=None):  # noqa: E501
        """ContactEnvelope - 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._contact = None
        self.discriminator = None

        if contact is not None:
            self.contact = contact
コード例 #15
0
    def __init__(self, start_date=None, end_date=None, message_types=None, local_vars_configuration=None):  # noqa: E501
        """StatisticsReportSettings - 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._start_date = None
        self._end_date = None
        self._message_types = None
        self.discriminator = None

        self.start_date = start_date
        self.end_date = end_date
        if message_types is not None:
            self.message_types = message_types
コード例 #16
0
    def __init__(self,
                 request_id=None,
                 result=None,
                 local_vars_configuration=None):  # noqa: E501
        """SyncNumberLookupSuccess - 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._request_id = None
        self._result = None
        self.discriminator = None

        self.request_id = request_id
        self.result = result
コード例 #17
0
    def __init__(self,
                 description=None,
                 code=None,
                 local_vars_configuration=None):  # noqa: E501
        """ErrorItemNumberLookupError - 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._description = None
        self._code = None
        self.discriminator = None

        self.description = description
        self.code = code
    def __init__(self,
                 messages=None,
                 to=None,
                 omnimessage_id=None,
                 local_vars_configuration=None):  # noqa: E501
        """OmniMessageCreateSuccessResponse - 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._messages = None
        self._to = None
        self._omnimessage_id = None
        self.discriminator = None

        self.messages = messages
        self.to = to
        self.omnimessage_id = omnimessage_id
コード例 #19
0
    def __init__(self,
                 message_id=None,
                 channel=None,
                 sender=None,
                 local_vars_configuration=None):  # noqa: E501
        """MessageResult - 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_id = None
        self._channel = None
        self._sender = None
        self.discriminator = None

        self.message_id = message_id
        self.channel = channel
        self.sender = sender
コード例 #20
0
    def __init__(self,
                 total_messages=None,
                 total_price=None,
                 country=None,
                 local_vars_configuration=None):  # noqa: E501
        """StatisticsReport - 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_messages = None
        self._total_price = None
        self._country = None
        self.discriminator = None

        self.total_messages = total_messages
        self.total_price = total_price
        self.country = country
コード例 #21
0
    def __init__(self,
                 title=None,
                 details=None,
                 code=None,
                 local_vars_configuration=None):  # noqa: E501
        """ErrorItemStatistics - 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._details = None
        self._code = None
        self.discriminator = None

        self.title = title
        self.details = details
        self.code = code
コード例 #22
0
    def __init__(self,
                 statuses=None,
                 to=None,
                 omnimessage_id=None,
                 local_vars_configuration=None):  # noqa: E501
        """DeliveryReportResponse - 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._statuses = None
        self._to = None
        self._omnimessage_id = None
        self.discriminator = None

        self.statuses = statuses
        self.to = to
        self.omnimessage_id = omnimessage_id
コード例 #23
0
    def __init__(self,
                 phone_number=None,
                 email=None,
                 first_name=None,
                 last_name=None,
                 company=None,
                 title=None,
                 custom=None,
                 custom2=None,
                 custom3=None,
                 custom4=None,
                 scheduled_deletion_date=None,
                 local_vars_configuration=None):  # noqa: E501
        """ContactResponseFields - 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._phone_number = None
        self._email = None
        self._first_name = None
        self._last_name = None
        self._company = None
        self._title = None
        self._custom = None
        self._custom2 = None
        self._custom3 = None
        self._custom4 = None
        self._scheduled_deletion_date = None
        self.discriminator = None

        if phone_number is not None:
            self.phone_number = phone_number
        self.email = email
        self.first_name = first_name
        self.last_name = last_name
        self.company = company
        self.title = title
        self.custom = custom
        self.custom2 = custom2
        self.custom3 = custom3
        self.custom4 = custom4
        self.scheduled_deletion_date = scheduled_deletion_date
コード例 #24
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/1.4.1/python'
        self.client_side_validation = configuration.client_side_validation
コード例 #25
0
    def __init__(self,
                 title=None,
                 detail=None,
                 code=None,
                 source=None,
                 local_vars_configuration=None):  # noqa: E501
        """ErrorItemOmnichannel - 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._detail = None
        self._code = None
        self._source = None
        self.discriminator = None

        self.title = title
        self.detail = detail
        self.code = code
        self.source = source
コード例 #26
0
    def __init__(self,
                 id=None,
                 name=None,
                 created_on=None,
                 contacts_count=None,
                 local_vars_configuration=None):  # noqa: E501
        """GroupResponseFields - 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._created_on = None
        self._contacts_count = None
        self.discriminator = None

        self.id = id
        self.name = name
        self.created_on = created_on
        self.contacts_count = contacts_count
コード例 #27
0
    def __init__(self,
                 sender=None,
                 validity=None,
                 text=None,
                 image_url=None,
                 button_url=None,
                 button_text=None,
                 channel='viber',
                 local_vars_configuration=None):  # noqa: E501
        """Viber - 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._validity = None
        self._text = None
        self._image_url = None
        self._button_url = None
        self._button_text = None
        self._channel = None
        self.discriminator = None

        if sender is not None:
            self.sender = sender
        if validity is not None:
            self.validity = validity
        if text is not None:
            self.text = text
        if image_url is not None:
            self.image_url = image_url
        if button_url is not None:
            self.button_url = button_url
        if button_text is not None:
            self.button_text = button_text
        if channel is not None:
            self.channel = channel
コード例 #28
0
    def __init__(self,
                 number=None,
                 roaming=None,
                 ported=None,
                 roaming_network=None,
                 current_network=None,
                 original_network=None,
                 ported_network=None,
                 status=None,
                 error=None,
                 local_vars_configuration=None):  # noqa: E501
        """SyncNumberLookupResult - 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._number = None
        self._roaming = None
        self._ported = None
        self._roaming_network = None
        self._current_network = None
        self._original_network = None
        self._ported_network = None
        self._status = None
        self._error = None
        self.discriminator = None

        self.number = number
        self.roaming = roaming
        self.ported = ported
        self.roaming_network = roaming_network
        self.current_network = current_network
        self.original_network = original_network
        self.ported_network = ported_network
        if status is not None:
            self.status = status
        self.error = error
コード例 #29
0
    def __init__(self,
                 sender=None,
                 validity=None,
                 text=None,
                 image_url=None,
                 document_url=None,
                 audio_url=None,
                 channel='telegram',
                 local_vars_configuration=None):  # noqa: E501
        """Telegram - 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._validity = None
        self._text = None
        self._image_url = None
        self._document_url = None
        self._audio_url = None
        self._channel = None
        self.discriminator = None

        if sender is not None:
            self.sender = sender
        if validity is not None:
            self.validity = validity
        if text is not None:
            self.text = text
        if image_url is not None:
            self.image_url = image_url
        if document_url is not None:
            self.document_url = document_url
        if audio_url is not None:
            self.audio_url = audio_url
        if channel is not None:
            self.channel = channel
コード例 #30
0
    def __init__(self,
                 email=None,
                 first_name=None,
                 last_name=None,
                 company=None,
                 title=None,
                 custom=None,
                 custom2=None,
                 custom3=None,
                 custom4=None,
                 local_vars_configuration=None):  # noqa: E501
        """ContactUpdateFields - 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._email = None
        self._first_name = None
        self._last_name = None
        self._company = None
        self._title = None
        self._custom = None
        self._custom2 = None
        self._custom3 = None
        self._custom4 = None
        self.discriminator = None

        self.email = email
        self.first_name = first_name
        self.last_name = last_name
        self.company = company
        self.title = title
        self.custom = custom
        self.custom2 = custom2
        self.custom3 = custom3
        self.custom4 = custom4