def __init__(self, type=None, integration_id=Undefined(), original_message_id=Undefined(), original_message_timestamp=Undefined(), client=Undefined(), device=Undefined(), local_vars_configuration=None): # noqa: E501 """Source - 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._integration_id = None self._original_message_id = None self._original_message_timestamp = None self._client = None self._device = None self.discriminator = None self.type = type self.integration_id = integration_id self.original_message_id = original_message_id self.original_message_timestamp = original_message_timestamp self.client = client self.device = device
def __init__(self, display_name=Undefined(), certificate=Undefined(), password=None, production=None, auto_update_badge=None, can_user_create_more_conversations=None, local_vars_configuration=None): # noqa: E501 """IosUpdate - 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._display_name = None self._certificate = None self._password = None self._production = None self._auto_update_badge = None self._can_user_create_more_conversations = None self.discriminator = None self.display_name = display_name self.certificate = certificate if password is not None: self.password = password if production is not None: self.production = production if auto_update_badge is not None: self.auto_update_badge = auto_update_badge if can_user_create_more_conversations is not None: self.can_user_create_more_conversations = can_user_create_more_conversations
def __init__(self, is_default=None, display_name=None, description=Undefined(), icon_url=Undefined(), metadata=Undefined(), business_last_read=Undefined(), last_updated_at=Undefined(), local_vars_configuration=None): # noqa: E501 """ConversationAllOf - 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._is_default = None self._display_name = None self._description = None self._icon_url = None self._metadata = None self._business_last_read = None self._last_updated_at = None self.discriminator = None if is_default is not None: self.is_default = is_default if display_name is not None: self.display_name = display_name self.description = description self.icon_url = icon_url self.metadata = metadata self.business_last_read = business_last_read self.last_updated_at = last_updated_at
def __init__(self, id=None, user_id=None, unread_count=None, client_associations=None, user_external_id=Undefined(), last_read=Undefined(), local_vars_configuration=None): # noqa: E501 """Participant - 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._user_id = None self._unread_count = None self._client_associations = None self._user_external_id = None self._last_read = None self.discriminator = None if id is not None: self.id = id if user_id is not None: self.user_id = user_id if unread_count is not None: self.unread_count = unread_count if client_associations is not None: self.client_associations = client_associations self.user_external_id = user_external_id self.last_read = last_read
def __init__(self, id=None, type=None, active_switchboard_integration=Undefined(), pending_switchboard_integration=Undefined(), is_default=None, display_name=None, description=Undefined(), icon_url=Undefined(), metadata=Undefined(), business_last_read=Undefined(), last_updated_at=Undefined(), local_vars_configuration=None): # noqa: E501 """Conversation - 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._type = None self._active_switchboard_integration = None self._pending_switchboard_integration = None self._is_default = None self._display_name = None self._description = None self._icon_url = None self._metadata = None self._business_last_read = None self._last_updated_at = None self.discriminator = None if id is not None: self.id = id if type is not None: self.type = type self.active_switchboard_integration = active_switchboard_integration self.pending_switchboard_integration = pending_switchboard_integration if is_default is not None: self.is_default = is_default if display_name is not None: self.display_name = display_name self.description = description self.icon_url = icon_url self.metadata = metadata self.business_last_read = business_last_read self.last_updated_at = last_updated_at
def __init__(self, type=None, text=None, payload=None, metadata=Undefined(), icon_url=None, local_vars_configuration=None): # noqa: E501 """Reply - 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._text = None self._payload = None self._metadata = None self._icon_url = None self.discriminator = None self.type = type self.text = text self.payload = payload self.metadata = metadata if icon_url is not None: self.icon_url = icon_url
def __init__(self, user=None, conversation=None, message=None, destination=None, external_messages=Undefined(), is_final_event=None, local_vars_configuration=None): # noqa: E501 """ConversationMessageDeliveryPayload - 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._user = None self._conversation = None self._message = None self._destination = None self._external_messages = None self._is_final_event = None self.discriminator = None if user is not None: self.user = user if conversation is not None: self.conversation = conversation if message is not None: self.message = message if destination is not None: self.destination = destination self.external_messages = external_messages if is_final_event is not None: self.is_final_event = is_final_event
def __init__(self, id=None, display_name=None, settings=None, metadata=Undefined(), local_vars_configuration=None): # noqa: E501 """App - 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._display_name = None self._settings = None self._metadata = None self.discriminator = None if id is not None: self.id = id if display_name is not None: self.display_name = display_name if settings is not None: self.settings = settings self.metadata = metadata
def __init__(self, type='buy', text=None, amount=None, currency=None, metadata=Undefined(), local_vars_configuration=None): # noqa: E501 """Buy - 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._text = None self._amount = None self._currency = None self._metadata = None self.discriminator = None self.type = type self.text = text self.amount = amount if currency is not None: self.currency = currency self.metadata = metadata
def __init__(self, id=None, name=None, integration_id=None, integration_type=None, deliver_standby_events=None, next_switchboard_integration_id=None, message_history_count=Undefined(), local_vars_configuration=None): # noqa: E501 """SwitchboardIntegration - 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._integration_id = None self._integration_type = None self._deliver_standby_events = None self._next_switchboard_integration_id = None self._message_history_count = None self.discriminator = None self.id = id self.name = name self.integration_id = integration_id self.integration_type = integration_type self.deliver_standby_events = deliver_standby_events if next_switchboard_integration_id is not None: self.next_switchboard_integration_id = next_switchboard_integration_id self.message_history_count = message_history_count
def __init__(self, type='link', uri=None, text=None, default=None, metadata=Undefined(), extra_channel_options=None, local_vars_configuration=None): # noqa: E501 """Link - 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._uri = None self._text = None self._default = None self._metadata = None self._extra_channel_options = None self.discriminator = None self.type = type self.uri = uri self.text = text if default is not None: self.default = default self.metadata = metadata if extra_channel_options is not None: self.extra_channel_options = extra_channel_options
def __init__(self, type='mailgun', api_key=None, domain=None, incoming_address=None, hide_unsubscribe_link=None, from_address=Undefined(), local_vars_configuration=None): # noqa: E501 """MailgunAllOf - 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._api_key = None self._domain = None self._incoming_address = None self._hide_unsubscribe_link = None self._from_address = None self.discriminator = None if type is not None: self.type = type if api_key is not None: self.api_key = api_key self.domain = domain self.incoming_address = incoming_address if hide_unsubscribe_link is not None: self.hide_unsubscribe_link = hide_unsubscribe_link self.from_address = from_address
def __init__(self, id=None, type=None, guid=None, client_id=None, status=None, integration_id=None, last_seen=None, push_notification_token=Undefined(), info=Undefined(), app_version=Undefined(), local_vars_configuration=None): # noqa: E501 """Device - 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._type = None self._guid = None self._client_id = None self._status = None self._integration_id = None self._last_seen = None self._push_notification_token = None self._info = None self._app_version = None self.discriminator = None if id is not None: self.id = id if type is not None: self.type = type if guid is not None: self.guid = guid if client_id is not None: self.client_id = client_id if status is not None: self.status = status if integration_id is not None: self.integration_id = integration_id if last_seen is not None: self.last_seen = last_seen self.push_notification_token = push_notification_token self.info = info self.app_version = app_version
def __init__(self, display_name=None, description=Undefined(), icon_url=Undefined(), metadata=Undefined(), local_vars_configuration=None): # noqa: E501 """ConversationUpdateBody - 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._display_name = None self._description = None self._icon_url = None self._metadata = None self.discriminator = None if display_name is not None: self.display_name = display_name self.description = description self.icon_url = icon_url self.metadata = metadata
def __init__(self, given_name=Undefined(), surname=Undefined(), email=Undefined(), avatar_url=Undefined(), locale=Undefined(), local_vars_configuration=None): # noqa: E501 """Profile - 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._given_name = None self._surname = None self._email = None self._avatar_url = None self._locale = None self.discriminator = None self.given_name = given_name self.surname = surname self.email = email self.avatar_url = avatar_url self.locale = locale
def __init__(self, hsm_fallback_language='en_US', account_id=Undefined(), account_management_access_token=Undefined(), local_vars_configuration=None): # noqa: E501 """WhatsAppUpdateAllOf - 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._hsm_fallback_language = None self._account_id = None self._account_management_access_token = None self.discriminator = None self.hsm_fallback_language = hsm_fallback_language self.account_id = account_id self.account_management_access_token = account_management_access_token
def __init__(self, merged_users=None, merged_conversations=Undefined(), discarded_metadata=Undefined(), local_vars_configuration=None): # noqa: E501 """UserMergeEventAllOfPayload - 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._merged_users = None self._merged_conversations = None self._discarded_metadata = None self.discriminator = None if merged_users is not None: self.merged_users = merged_users self.merged_conversations = merged_conversations self.discarded_metadata = discarded_metadata
def __init__(self, display_name=Undefined(), hide_unsubscribe_link=None, from_address=Undefined(), local_vars_configuration=None): # noqa: E501 """MailgunUpdate - 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._display_name = None self._hide_unsubscribe_link = None self._from_address = None self.discriminator = None self.display_name = display_name if hide_unsubscribe_link is not None: self.hide_unsubscribe_link = hide_unsubscribe_link self.from_address = from_address
def __init__(self, server_key=Undefined(), sender_id=Undefined(), can_user_create_more_conversations=None, local_vars_configuration=None): # noqa: E501 """AndroidUpdateAllOf - 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._server_key = None self._sender_id = None self._can_user_create_more_conversations = None self.discriminator = None self.server_key = server_key self.sender_id = sender_id if can_user_create_more_conversations is not None: self.can_user_create_more_conversations = can_user_create_more_conversations
def __init__(self, type='whatsapp', deployment_id=None, hsm_fallback_language='en_US', account_id=Undefined(), account_management_access_token=Undefined(), phone_number=Undefined(), local_vars_configuration=None, **kwargs): # noqa: E501 """Whatsapp - a model defined in OpenAPI""" # noqa: E501 super().__init__(**kwargs) if (super().openapi_types is not None): all_types = super().openapi_types.copy() all_types.update(self.openapi_types) self.openapi_types = all_types if (super().attribute_map is not None): all_attributes = super().attribute_map.copy() all_attributes.update(self.attribute_map) self.attribute_map = all_attributes if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._type = None self._deployment_id = None self._hsm_fallback_language = None self._account_id = None self._account_management_access_token = None self._phone_number = None self.discriminator = None if type is not None: self.type = type self.deployment_id = deployment_id self.hsm_fallback_language = hsm_fallback_language self.account_id = account_id self.account_management_access_token = account_management_access_token self.phone_number = phone_number
def __init__(self, id=None, received=None, author=None, content=None, source=None, quoted_message=Undefined(), metadata=Undefined(), deleted=Undefined(), local_vars_configuration=None): # noqa: E501 """MessageWebhook - 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._received = None self._author = None self._content = None self._source = None self._quoted_message = None self._metadata = None self._deleted = None self.discriminator = None if id is not None: self.id = id if received is not None: self.received = received if author is not None: self.author = author if content is not None: self.content = content if source is not None: self.source = source self.quoted_message = quoted_message self.metadata = metadata self.deleted = deleted
def __init__(self, display_name=Undefined(), local_vars_configuration=None): # noqa: E501 """IntegrationUpdateBase - 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._display_name = None self.discriminator = None self.display_name = display_name
def __init__(self, code=None, details=Undefined(), local_vars_configuration=None): # noqa: E501 """Referral - 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._details = None self.discriminator = None if code is not None: self.code = code self.details = details
def __init__(self, type='locationRequest', text=None, metadata=Undefined(), local_vars_configuration=None): # noqa: E501 """LocationRequest - 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._text = None self._metadata = None self.discriminator = None self.type = type self.text = text self.metadata = metadata
def __init__(self, id=None, type=None, status=None, integration_id=Undefined(), external_id=Undefined(), last_seen=Undefined(), linked_at=Undefined(), display_name=Undefined(), avatar_url=Undefined(), info=Undefined(), raw=Undefined(), local_vars_configuration=None): # noqa: E501 """Client - 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._type = None self._status = None self._integration_id = None self._external_id = None self._last_seen = None self._linked_at = None self._display_name = None self._avatar_url = None self._info = None self._raw = None self.discriminator = None if id is not None: self.id = id if type is not None: self.type = type if status is not None: self.status = status self.integration_id = integration_id self.external_id = external_id self.last_seen = last_seen self.linked_at = linked_at self.display_name = display_name self.avatar_url = avatar_url self.info = info self.raw = raw
def __init__(self, type='android', server_key=Undefined(), sender_id=Undefined(), can_user_create_more_conversations=None, local_vars_configuration=None, **kwargs): # noqa: E501 """Android - a model defined in OpenAPI""" # noqa: E501 super().__init__(**kwargs) if (super().openapi_types is not None): all_types = super().openapi_types.copy() all_types.update(self.openapi_types) self.openapi_types = all_types if (super().attribute_map is not None): all_attributes = super().attribute_map.copy() all_attributes.update(self.attribute_map) self.attribute_map = all_attributes if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._type = None self._server_key = None self._sender_id = None self._can_user_create_more_conversations = None self.discriminator = None if type is not None: self.type = type self.server_key = server_key self.sender_id = sender_id if can_user_create_more_conversations is not None: self.can_user_create_more_conversations = can_user_create_more_conversations
def __init__(self, signed_up_at=None, profile=None, metadata=Undefined(), local_vars_configuration=None): # noqa: E501 """UserUpdateBody - 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._signed_up_at = None self._profile = None self._metadata = None self.discriminator = None if signed_up_at is not None: self.signed_up_at = signed_up_at if profile is not None: self.profile = profile self.metadata = metadata
def __init__(self, conversation=None, metadata=Undefined(), local_vars_configuration=None): # noqa: E501 """SwitchboardOfferControlAllOfPayload - 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._conversation = None self._metadata = None self.discriminator = None if conversation is not None: self.conversation = conversation self.metadata = metadata
def __init__(self, payload=None, metadata=Undefined(), local_vars_configuration=None): # noqa: E501 """PostbackWebhook - 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._payload = None self._metadata = None self.discriminator = None if payload is not None: self.payload = payload self.metadata = metadata
def __init__(self, display_name=Undefined(), page_access_token=None, local_vars_configuration=None): # noqa: E501 """MessengerUpdate - 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._display_name = None self._page_access_token = None self.discriminator = None self.display_name = display_name if page_access_token is not None: self.page_access_token = page_access_token