twilio.rest.messaging.v1 package

Submodules

twilio.rest.messaging.v1.deactivation module

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

(_)/(_)(_|/| |(/_ v1.0.0 / /

System Message: WARNING/2 (/twilio/repos/twilio-python/twilio/rest/messaging/v1/deactivation.py:docstring of twilio.rest.messaging.v1.deactivation, line 3); backlink

Inline substitution_reference start-string without end-string.
class twilio.rest.messaging.v1.deactivation.DeactivationsContext(version)[source]

Bases: twilio.base.instance_context.InstanceContext

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

Fetch the DeactivationsInstance

Parameters:date (date) – The date to retrieve deactivated numbers for.
Returns:The fetched DeactivationsInstance
Return type:twilio.rest.messaging.v1.deactivation.DeactivationsInstance
class twilio.rest.messaging.v1.deactivation.DeactivationsInstance(version, payload)[source]

Bases: twilio.base.instance_resource.InstanceResource

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

Fetch the DeactivationsInstance

Parameters:date (date) – The date to retrieve deactivated numbers for.
Returns:The fetched DeactivationsInstance
Return type:twilio.rest.messaging.v1.deactivation.DeactivationsInstance
redirect_to
Returns:Redirect url to the list of deactivated numbers.
Return type:unicode
class twilio.rest.messaging.v1.deactivation.DeactivationsList(version)[source]

Bases: twilio.base.list_resource.ListResource

get()[source]

Constructs a DeactivationsContext

Returns:twilio.rest.messaging.v1.deactivation.DeactivationsContext
Return type:twilio.rest.messaging.v1.deactivation.DeactivationsContext
class twilio.rest.messaging.v1.deactivation.DeactivationsPage(version, response, solution)[source]

Bases: twilio.base.page.Page

get_instance(payload)[source]

Build an instance of DeactivationsInstance

Parameters:payload (dict) – Payload response from the API
Returns:twilio.rest.messaging.v1.deactivation.DeactivationsInstance
Return type:twilio.rest.messaging.v1.deactivation.DeactivationsInstance

twilio.rest.messaging.v1.external_campaign module

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

(_)/(_)(_|/| |(/_ v1.0.0 / /

System Message: WARNING/2 (/twilio/repos/twilio-python/twilio/rest/messaging/v1/external_campaign.py:docstring of twilio.rest.messaging.v1.external_campaign, line 3); backlink

Inline substitution_reference start-string without end-string.
class twilio.rest.messaging.v1.external_campaign.ExternalCampaignInstance(version, payload)[source]

Bases: twilio.base.instance_resource.InstanceResource

PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.

account_sid
Returns:The SID of the Account that created the resource
Return type:unicode
campaign_id
Returns:ID of the preregistered campaign.
Return type:unicode
date_created
Returns:The ISO 8601 date and time in GMT when the resource was created
Return type:datetime
messaging_service_sid
Returns:The SID of the Messaging Service the resource is associated with
Return type:unicode
sid
Returns:The unique string that identifies a US A2P Compliance resource
Return type:unicode
class twilio.rest.messaging.v1.external_campaign.ExternalCampaignList(version)[source]

Bases: twilio.base.list_resource.ListResource

PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.

create(campaign_id, messaging_service_sid)[source]

Create the ExternalCampaignInstance

Parameters:
  • campaign_id (unicode) – ID of the preregistered campaign.
  • messaging_service_sid (unicode) – The SID of the Messaging Service the resource is associated with
Returns:

The created ExternalCampaignInstance

Return type:

twilio.rest.messaging.v1.external_campaign.ExternalCampaignInstance

class twilio.rest.messaging.v1.external_campaign.ExternalCampaignPage(version, response, solution)[source]

Bases: twilio.base.page.Page

PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.

get_instance(payload)[source]

Build an instance of ExternalCampaignInstance

Parameters:payload (dict) – Payload response from the API
Returns:twilio.rest.messaging.v1.external_campaign.ExternalCampaignInstance
Return type:twilio.rest.messaging.v1.external_campaign.ExternalCampaignInstance

twilio.rest.messaging.v1.usecase module

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

(_)/(_)(_|/| |(/_ v1.0.0 / /

System Message: WARNING/2 (/twilio/repos/twilio-python/twilio/rest/messaging/v1/usecase.py:docstring of twilio.rest.messaging.v1.usecase, line 3); backlink

Inline substitution_reference start-string without end-string.
class twilio.rest.messaging.v1.usecase.UsecaseInstance(version, payload)[source]

Bases: twilio.base.instance_resource.InstanceResource

PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.

usecases
Returns:Human readable Messaging Service Use Case details
Return type:list[dict]
class twilio.rest.messaging.v1.usecase.UsecaseList(version)[source]

Bases: twilio.base.list_resource.ListResource

PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.

fetch()[source]

Fetch the UsecaseInstance

Returns:The fetched UsecaseInstance
Return type:twilio.rest.messaging.v1.usecase.UsecaseInstance
class twilio.rest.messaging.v1.usecase.UsecasePage(version, response, solution)[source]

Bases: twilio.base.page.Page

PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.

get_instance(payload)[source]

Build an instance of UsecaseInstance

Parameters:payload (dict) – Payload response from the API
Returns:twilio.rest.messaging.v1.usecase.UsecaseInstance
Return type:twilio.rest.messaging.v1.usecase.UsecaseInstance

Module contents

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

(_)/(_)(_|/| |(/_ v1.0.0 / /

System Message: WARNING/2 (/twilio/repos/twilio-python/twilio/rest/messaging/v1/__init__.py:docstring of twilio.rest.messaging.v1, line 3); backlink

Inline substitution_reference start-string without end-string.
class twilio.rest.messaging.v1.V1(domain)[source]

Bases: twilio.base.version.Version

brand_registrations
Return type:twilio.rest.messaging.v1.brand_registration.BrandRegistrationList
deactivations
Return type:twilio.rest.messaging.v1.deactivation.DeactivationsList
external_campaign
Return type:twilio.rest.messaging.v1.external_campaign.ExternalCampaignList
services
Return type:twilio.rest.messaging.v1.service.ServiceList
usecases
Return type:twilio.rest.messaging.v1.usecase.UsecaseList