twilio.rest.preview.trusted_comms package

Submodules

twilio.rest.preview.trusted_comms.brands_information module

This code was generated by / _ _ _| _ _

(_)/(_)(_|/| |(/_ v1.0.0 / /
class twilio.rest.preview.trusted_comms.brands_information.BrandsInformationContext(version)[source]

Bases: twilio.base.instance_context.InstanceContext

PLEASE 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.

fetch(if_none_match=<object object>)[source]

Fetch the BrandsInformationInstance

Parameters:if_none_match (unicode) – Standard If-None-Match HTTP header
Returns:The fetched BrandsInformationInstance
Return type:twilio.rest.preview.trusted_comms.brands_information.BrandsInformationInstance
class twilio.rest.preview.trusted_comms.brands_information.BrandsInformationInstance(version, payload)[source]

Bases: twilio.base.instance_resource.InstanceResource

PLEASE 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.

fetch(if_none_match=<object object>)[source]

Fetch the BrandsInformationInstance

Parameters:if_none_match (unicode) – Standard If-None-Match HTTP header
Returns:The fetched BrandsInformationInstance
Return type:twilio.rest.preview.trusted_comms.brands_information.BrandsInformationInstance
Returns:The URL to the brands information
Return type:unicode
Returns:How long will be the file_link valid
Return type:unicode
update_time
Returns:Creation time of the information retrieved
Return type:datetime
url
Returns:The URL of this resource
Return type:unicode
class twilio.rest.preview.trusted_comms.brands_information.BrandsInformationList(version)[source]

Bases: twilio.base.list_resource.ListResource

PLEASE 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()[source]

Constructs a BrandsInformationContext

Returns:twilio.rest.preview.trusted_comms.brands_information.BrandsInformationContext
Return type:twilio.rest.preview.trusted_comms.brands_information.BrandsInformationContext
class twilio.rest.preview.trusted_comms.brands_information.BrandsInformationPage(version, response, solution)[source]

Bases: twilio.base.page.Page

PLEASE 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 BrandsInformationInstance

Parameters:payload (dict) – Payload response from the API
Returns:twilio.rest.preview.trusted_comms.brands_information.BrandsInformationInstance
Return type:twilio.rest.preview.trusted_comms.brands_information.BrandsInformationInstance

twilio.rest.preview.trusted_comms.cps module

This code was generated by / _ _ _| _ _

(_)/(_)(_|/| |(/_ v1.0.0 / /
class twilio.rest.preview.trusted_comms.cps.CpsContext(version)[source]

Bases: twilio.base.instance_context.InstanceContext

PLEASE 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.

fetch(x_xcnam_sensitive_phone_number=<object object>)[source]

Fetch the CpsInstance

Parameters:x_xcnam_sensitive_phone_number (unicode) – Phone number to retrieve CPS.
Returns:The fetched CpsInstance
Return type:twilio.rest.preview.trusted_comms.cps.CpsInstance
class twilio.rest.preview.trusted_comms.cps.CpsInstance(version, payload)[source]

Bases: twilio.base.instance_resource.InstanceResource

PLEASE 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.

cps_url
Returns:CPS URL of the phone number.
Return type:unicode
fetch(x_xcnam_sensitive_phone_number=<object object>)[source]

Fetch the CpsInstance

Parameters:x_xcnam_sensitive_phone_number (unicode) – Phone number to retrieve CPS.
Returns:The fetched CpsInstance
Return type:twilio.rest.preview.trusted_comms.cps.CpsInstance
phone_number
Returns:Phone number passed.
Return type:unicode
url
Returns:The URL of this resource.
Return type:unicode
class twilio.rest.preview.trusted_comms.cps.CpsList(version)[source]

Bases: twilio.base.list_resource.ListResource

PLEASE 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()[source]

Constructs a CpsContext

Returns:twilio.rest.preview.trusted_comms.cps.CpsContext
Return type:twilio.rest.preview.trusted_comms.cps.CpsContext
class twilio.rest.preview.trusted_comms.cps.CpsPage(version, response, solution)[source]

Bases: twilio.base.page.Page

PLEASE 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 CpsInstance

Parameters:payload (dict) – Payload response from the API
Returns:twilio.rest.preview.trusted_comms.cps.CpsInstance
Return type:twilio.rest.preview.trusted_comms.cps.CpsInstance

twilio.rest.preview.trusted_comms.current_call module

This code was generated by / _ _ _| _ _

(_)/(_)(_|/| |(/_ v1.0.0 / /
class twilio.rest.preview.trusted_comms.current_call.CurrentCallContext(version)[source]

Bases: twilio.base.instance_context.InstanceContext

PLEASE 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.

fetch(x_xcnam_sensitive_phone_number_from=<object object>, x_xcnam_sensitive_phone_number_to=<object object>)[source]

Fetch the CurrentCallInstance

Parameters:
  • x_xcnam_sensitive_phone_number_from (unicode) – The originating Phone Number
  • x_xcnam_sensitive_phone_number_to (unicode) – The terminating Phone Number
Returns:

The fetched CurrentCallInstance

Return type:

twilio.rest.preview.trusted_comms.current_call.CurrentCallInstance

class twilio.rest.preview.trusted_comms.current_call.CurrentCallInstance(version, payload)[source]

Bases: twilio.base.instance_resource.InstanceResource

PLEASE 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.

bg_color
Returns:Background color of the current phone call
Return type:unicode
caller
Returns:Caller name of the current phone call
Return type:unicode
created_at
Returns:The date this current phone call was created
Return type:datetime
fetch(x_xcnam_sensitive_phone_number_from=<object object>, x_xcnam_sensitive_phone_number_to=<object object>)[source]

Fetch the CurrentCallInstance

Parameters:
  • x_xcnam_sensitive_phone_number_from (unicode) – The originating Phone Number
  • x_xcnam_sensitive_phone_number_to (unicode) – The terminating Phone Number
Returns:

The fetched CurrentCallInstance

Return type:

twilio.rest.preview.trusted_comms.current_call.CurrentCallInstance

font_color
Returns:Font color of the current phone call
Return type:unicode
from_
Returns:The originating phone number
Return type:unicode
Returns:Logo URL of the caller
Return type:unicode
manager
Returns:The name of the CPS organization
Return type:unicode
reason
Returns:The business reason for this current phone call
Return type:unicode
shield_img
Returns:Shield image URL that serves as authenticity proof of the current phone call
Return type:unicode
sid
Returns:A string that uniquely identifies this current branded phone call.
Return type:unicode
status
Returns:The status of the current phone call
Return type:unicode
to
Returns:The terminating phone number
Return type:unicode
url
Returns:The URL of this resource.
Return type:unicode
use_case
Returns:The use case for the current phone call
Return type:unicode
class twilio.rest.preview.trusted_comms.current_call.CurrentCallList(version)[source]

Bases: twilio.base.list_resource.ListResource

PLEASE 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()[source]

Constructs a CurrentCallContext

Returns:twilio.rest.preview.trusted_comms.current_call.CurrentCallContext
Return type:twilio.rest.preview.trusted_comms.current_call.CurrentCallContext
class twilio.rest.preview.trusted_comms.current_call.CurrentCallPage(version, response, solution)[source]

Bases: twilio.base.page.Page

PLEASE 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 CurrentCallInstance

Parameters:payload (dict) – Payload response from the API
Returns:twilio.rest.preview.trusted_comms.current_call.CurrentCallInstance
Return type:twilio.rest.preview.trusted_comms.current_call.CurrentCallInstance

Module contents

This code was generated by / _ _ _| _ _

(_)/(_)(_|/| |(/_ v1.0.0 / /
class twilio.rest.preview.trusted_comms.TrustedComms(domain)[source]

Bases: twilio.base.version.Version

branded_channels
Return type:twilio.rest.preview.trusted_comms.branded_channel.BrandedChannelList
brands_information
Return type:twilio.rest.preview.trusted_comms.brands_information.BrandsInformationList
cps
Return type:twilio.rest.preview.trusted_comms.cps.CpsList
current_calls
Return type:twilio.rest.preview.trusted_comms.current_call.CurrentCallList