예제 #1
0
    def __init__(self,
                 type='twilio',
                 account_sid=None,
                 auth_token=None,
                 phone_number_sid=None,
                 local_vars_configuration=None,
                 **kwargs):  # noqa: E501
        """Twilio - 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._account_sid = None
        self._auth_token = None
        self._phone_number_sid = None
        self.discriminator = None

        if type is not None:
            self.type = type
        self.account_sid = account_sid
        if auth_token is not None:
            self.auth_token = auth_token
        self.phone_number_sid = phone_number_sid
    def __init__(self,
                 external_id=None,
                 signed_up_at=None,
                 profile=None,
                 metadata=Undefined(),
                 local_vars_configuration=None):  # noqa: E501
        """UserCreateBody - 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._external_id = None
        self._signed_up_at = None
        self._profile = None
        self._metadata = None
        self.discriminator = None

        self.external_id = external_id
        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,
                 id=None,
                 version=None,
                 target=None,
                 triggers=None,
                 secret=None,
                 include_full_user=False,
                 include_full_source=False,
                 local_vars_configuration=None):  # noqa: E501
        """Webhook - 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._version = None
        self._target = None
        self._triggers = None
        self._secret = None
        self._include_full_user = None
        self._include_full_source = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if version is not None:
            self.version = version
        self.target = target
        self.triggers = triggers
        if secret is not None:
            self.secret = secret
        if include_full_user is not None:
            self.include_full_user = include_full_user
        if include_full_source is not None:
            self.include_full_source = include_full_source
    def __init__(self,
                 type='android',
                 server_key=Undefined(),
                 sender_id=Undefined(),
                 can_user_create_more_conversations=None,
                 local_vars_configuration=None):  # noqa: E501
        """AndroidAllOf - 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._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,
                 type='messenger',
                 page_access_token=None,
                 app_id=None,
                 app_secret=None,
                 local_vars_configuration=None):  # noqa: E501
        """MessengerAllOf - 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._page_access_token = None
        self._app_id = None
        self._app_secret = None
        self.discriminator = None

        if type is not None:
            self.type = type
        self.page_access_token = page_access_token
        self.app_id = app_id
        if app_secret is not None:
            self.app_secret = app_secret
    def __init__(self,
                 type='location',
                 text=None,
                 coordinates=None,
                 location=None,
                 local_vars_configuration=None):  # noqa: E501
        """LocationMessage - 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._coordinates = None
        self._location = None
        self.discriminator = None

        self.type = type
        if text is not None:
            self.text = text
        self.coordinates = coordinates
        if location is not None:
            self.location = location
예제 #7
0
    def __init__(self,
                 display_name=Undefined(),
                 brand_color='65758e',
                 fixed_intro_pane=False,
                 conversation_color='0099ff',
                 action_color='0099ff',
                 display_style='button',
                 button_icon_url=Undefined(),
                 button_width='58',
                 button_height='58',
                 integration_order=Undefined(),
                 business_name=None,
                 business_icon_url=None,
                 background_image_url=None,
                 origin_whitelist=Undefined(),
                 prechat_capture=None,
                 can_user_create_more_conversations=None,
                 local_vars_configuration=None):  # noqa: E501
        """WebUpdate - 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._brand_color = None
        self._fixed_intro_pane = None
        self._conversation_color = None
        self._action_color = None
        self._display_style = None
        self._button_icon_url = None
        self._button_width = None
        self._button_height = None
        self._integration_order = None
        self._business_name = None
        self._business_icon_url = None
        self._background_image_url = None
        self._origin_whitelist = None
        self._prechat_capture = None
        self._can_user_create_more_conversations = None
        self.discriminator = None

        self.display_name = display_name
        if brand_color is not None:
            self.brand_color = brand_color
        if fixed_intro_pane is not None:
            self.fixed_intro_pane = fixed_intro_pane
        if conversation_color is not None:
            self.conversation_color = conversation_color
        if action_color is not None:
            self.action_color = action_color
        if display_style is not None:
            self.display_style = display_style
        self.button_icon_url = button_icon_url
        if button_width is not None:
            self.button_width = button_width
        if button_height is not None:
            self.button_height = button_height
        self.integration_order = integration_order
        if business_name is not None:
            self.business_name = business_name
        if business_icon_url is not None:
            self.business_icon_url = business_icon_url
        if background_image_url is not None:
            self.background_image_url = background_image_url
        self.origin_whitelist = origin_whitelist
        if prechat_capture is not None:
            self.prechat_capture = prechat_capture
        if can_user_create_more_conversations is not None:
            self.can_user_create_more_conversations = can_user_create_more_conversations
예제 #8
0
    def __init__(self,
                 display_name=Undefined(),
                 server_key=Undefined(),
                 sender_id=Undefined(),
                 can_user_create_more_conversations=None,
                 page_access_token=None,
                 certificate=Undefined(),
                 password=None,
                 production=None,
                 auto_update_badge=None,
                 hide_unsubscribe_link=None,
                 from_address=Undefined(),
                 brand_color='65758e',
                 fixed_intro_pane=False,
                 conversation_color='0099ff',
                 action_color='0099ff',
                 display_style='button',
                 button_icon_url=Undefined(),
                 button_width='58',
                 button_height='58',
                 integration_order=Undefined(),
                 business_name=None,
                 business_icon_url=None,
                 background_image_url=None,
                 origin_whitelist=Undefined(),
                 prechat_capture=None,
                 hsm_fallback_language='en_US',
                 account_id=Undefined(),
                 account_management_access_token=Undefined(),
                 local_vars_configuration=None):  # noqa: E501
        """IntegrationUpdate - 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._server_key = None
        self._sender_id = None
        self._can_user_create_more_conversations = None
        self._page_access_token = None
        self._certificate = None
        self._password = None
        self._production = None
        self._auto_update_badge = None
        self._hide_unsubscribe_link = None
        self._from_address = None
        self._brand_color = None
        self._fixed_intro_pane = None
        self._conversation_color = None
        self._action_color = None
        self._display_style = None
        self._button_icon_url = None
        self._button_width = None
        self._button_height = None
        self._integration_order = None
        self._business_name = None
        self._business_icon_url = None
        self._background_image_url = None
        self._origin_whitelist = None
        self._prechat_capture = None
        self._hsm_fallback_language = None
        self._account_id = None
        self._account_management_access_token = None
        self.discriminator = None

        self.display_name = display_name
        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
        if page_access_token is not None:
            self.page_access_token = page_access_token
        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 hide_unsubscribe_link is not None:
            self.hide_unsubscribe_link = hide_unsubscribe_link
        self.from_address = from_address
        if brand_color is not None:
            self.brand_color = brand_color
        if fixed_intro_pane is not None:
            self.fixed_intro_pane = fixed_intro_pane
        if conversation_color is not None:
            self.conversation_color = conversation_color
        if action_color is not None:
            self.action_color = action_color
        if display_style is not None:
            self.display_style = display_style
        self.button_icon_url = button_icon_url
        if button_width is not None:
            self.button_width = button_width
        if button_height is not None:
            self.button_height = button_height
        self.integration_order = integration_order
        if business_name is not None:
            self.business_name = business_name
        if business_icon_url is not None:
            self.business_icon_url = business_icon_url
        if background_image_url is not None:
            self.background_image_url = background_image_url
        self.origin_whitelist = origin_whitelist
        if prechat_capture is not None:
            self.prechat_capture = prechat_capture
        self.hsm_fallback_language = hsm_fallback_language
        self.account_id = account_id
        self.account_management_access_token = account_management_access_token
    def __init__(self,
                 type='web',
                 brand_color='65758e',
                 fixed_intro_pane=False,
                 conversation_color='0099ff',
                 action_color='0099ff',
                 display_style='button',
                 button_icon_url=Undefined(),
                 button_width='58',
                 button_height='58',
                 integration_order=Undefined(),
                 business_name=None,
                 business_icon_url=None,
                 background_image_url=None,
                 origin_whitelist=Undefined(),
                 prechat_capture=None,
                 can_user_create_more_conversations=None,
                 local_vars_configuration=None,
                 **kwargs):  # noqa: E501
        """Web - 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._brand_color = None
        self._fixed_intro_pane = None
        self._conversation_color = None
        self._action_color = None
        self._display_style = None
        self._button_icon_url = None
        self._button_width = None
        self._button_height = None
        self._integration_order = None
        self._business_name = None
        self._business_icon_url = None
        self._background_image_url = None
        self._origin_whitelist = None
        self._prechat_capture = None
        self._can_user_create_more_conversations = None
        self.discriminator = None

        if type is not None:
            self.type = type
        if brand_color is not None:
            self.brand_color = brand_color
        if fixed_intro_pane is not None:
            self.fixed_intro_pane = fixed_intro_pane
        if conversation_color is not None:
            self.conversation_color = conversation_color
        if action_color is not None:
            self.action_color = action_color
        if display_style is not None:
            self.display_style = display_style
        self.button_icon_url = button_icon_url
        if button_width is not None:
            self.button_width = button_width
        if button_height is not None:
            self.button_height = button_height
        self.integration_order = integration_order
        if business_name is not None:
            self.business_name = business_name
        if business_icon_url is not None:
            self.business_icon_url = business_icon_url
        if background_image_url is not None:
            self.background_image_url = background_image_url
        self.origin_whitelist = origin_whitelist
        if prechat_capture is not None:
            self.prechat_capture = prechat_capture
        if can_user_create_more_conversations is not None:
            self.can_user_create_more_conversations = can_user_create_more_conversations
예제 #10
0
    def __init__(self,
                 type='instagram',
                 page_access_token=None,
                 app_id=None,
                 app_secret=None,
                 business_name=None,
                 business_username=None,
                 page_id=None,
                 business_id=None,
                 username=None,
                 user_id=None,
                 local_vars_configuration=None,
                 **kwargs):  # noqa: E501
        """Instagram - 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._page_access_token = None
        self._app_id = None
        self._app_secret = None
        self._business_name = None
        self._business_username = None
        self._page_id = None
        self._business_id = None
        self._username = None
        self._user_id = None
        self.discriminator = None

        if type is not None:
            self.type = type
        if page_access_token is not None:
            self.page_access_token = page_access_token
        self.app_id = app_id
        if app_secret is not None:
            self.app_secret = app_secret
        if business_name is not None:
            self.business_name = business_name
        if business_username is not None:
            self.business_username = business_username
        if page_id is not None:
            self.page_id = page_id
        if business_id is not None:
            self.business_id = business_id
        if username is not None:
            self.username = username
        if user_id is not None:
            self.user_id = user_id