twilio.rest.preview.trusted_comms.branded_channel package¶
Submodules¶
twilio.rest.preview.trusted_comms.branded_channel.channel module¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.preview.trusted_comms.branded_channel.channel.ChannelInstance(version, payload, branded_channel_sid)[source]¶ Bases:
twilio.base.instance_resource.InstanceResourcePLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
-
account_sid¶ Returns: Account Sid. Return type: unicode
-
brand_sid¶ Returns: Brand Sid. Return type: unicode
-
branded_channel_sid¶ Returns: Branded Channel Sid. Return type: unicode
-
business_sid¶ Returns: Business Sid. Return type: unicode
-
phone_number¶ Returns: Twilio number to assign to the Branded Channel Return type: unicode
-
phone_number_sid¶ Returns: Phone Number Sid to be branded. Return type: unicode
-
url¶ Returns: The URL of this resource. Return type: unicode
-
-
class
twilio.rest.preview.trusted_comms.branded_channel.channel.ChannelList(version, branded_channel_sid)[source]¶ Bases:
twilio.base.list_resource.ListResourcePLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
-
create(phone_number_sid)[source]¶ Create the ChannelInstance
Parameters: phone_number_sid (unicode) – Phone Number Sid to be branded. Returns: The created ChannelInstance Return type: twilio.rest.preview.trusted_comms.branded_channel.channel.ChannelInstance
-
-
class
twilio.rest.preview.trusted_comms.branded_channel.channel.ChannelPage(version, response, solution)[source]¶ Bases:
twilio.base.page.PagePLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
-
get_instance(payload)[source]¶ Build an instance of ChannelInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.preview.trusted_comms.branded_channel.channel.ChannelInstance Return type: twilio.rest.preview.trusted_comms.branded_channel.channel.ChannelInstance
-
Module contents¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.preview.trusted_comms.branded_channel.BrandedChannelContext(version, sid)[source]¶ Bases:
twilio.base.instance_context.InstanceContextPLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
-
channels¶ Access the channels
Returns: twilio.rest.preview.trusted_comms.branded_channel.channel.ChannelList Return type: twilio.rest.preview.trusted_comms.branded_channel.channel.ChannelList
-
fetch()[source]¶ Fetch the BrandedChannelInstance
Returns: The fetched BrandedChannelInstance Return type: twilio.rest.preview.trusted_comms.branded_channel.BrandedChannelInstance
-
-
class
twilio.rest.preview.trusted_comms.branded_channel.BrandedChannelInstance(version, payload, sid=None)[source]¶ Bases:
twilio.base.instance_resource.InstanceResourcePLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
-
account_sid¶ Returns: Account Sid. Return type: unicode
-
brand_sid¶ Returns: Brand Sid. Return type: unicode
-
business_sid¶ Returns: Business Sid. Return type: unicode
-
channels¶ Access the channels
Returns: twilio.rest.preview.trusted_comms.branded_channel.channel.ChannelList Return type: twilio.rest.preview.trusted_comms.branded_channel.channel.ChannelList
-
fetch()[source]¶ Fetch the BrandedChannelInstance
Returns: The fetched BrandedChannelInstance Return type: twilio.rest.preview.trusted_comms.branded_channel.BrandedChannelInstance
-
links¶ Returns: Nested resource URLs. Return type: unicode
-
sid¶ Returns: Branded Channel Sid. Return type: unicode
-
url¶ Returns: The URL of this resource. Return type: unicode
-
-
class
twilio.rest.preview.trusted_comms.branded_channel.BrandedChannelList(version)[source]¶ Bases:
twilio.base.list_resource.ListResourcePLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
-
get(sid)[source]¶ Constructs a BrandedChannelContext
Parameters: sid – Branded Channel Sid. Returns: twilio.rest.preview.trusted_comms.branded_channel.BrandedChannelContext Return type: twilio.rest.preview.trusted_comms.branded_channel.BrandedChannelContext
-
-
class
twilio.rest.preview.trusted_comms.branded_channel.BrandedChannelPage(version, response, solution)[source]¶ Bases:
twilio.base.page.PagePLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
-
get_instance(payload)[source]¶ Build an instance of BrandedChannelInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.preview.trusted_comms.branded_channel.BrandedChannelInstance Return type: twilio.rest.preview.trusted_comms.branded_channel.BrandedChannelInstance
-