twilio.rest.ip_messaging.v1.service package

Submodules

twilio.rest.ip_messaging.v1.service.role module

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

(_)/(_)(_|/| |(/_ v1.0.0 / /
class twilio.rest.ip_messaging.v1.service.role.RoleContext(version, service_sid, sid)[source]

Bases: twilio.base.instance_context.InstanceContext

delete()[source]

Deletes the RoleInstance

Returns:True if delete succeeds, False otherwise
Return type:bool
fetch()[source]

Fetch the RoleInstance

Returns:The fetched RoleInstance
Return type:twilio.rest.ip_messaging.v1.service.role.RoleInstance
update(permission)[source]

Update the RoleInstance

Parameters:permission (list[unicode]) – The permission
Returns:The updated RoleInstance
Return type:twilio.rest.ip_messaging.v1.service.role.RoleInstance
class twilio.rest.ip_messaging.v1.service.role.RoleInstance(version, payload, service_sid, sid=None)[source]

Bases: twilio.base.instance_resource.InstanceResource

class RoleType[source]

Bases: object

CHANNEL = 'channel'
DEPLOYMENT = 'deployment'
account_sid
Returns:The account_sid
Return type:unicode
date_created
Returns:The date_created
Return type:datetime
date_updated
Returns:The date_updated
Return type:datetime
delete()[source]

Deletes the RoleInstance

Returns:True if delete succeeds, False otherwise
Return type:bool
fetch()[source]

Fetch the RoleInstance

Returns:The fetched RoleInstance
Return type:twilio.rest.ip_messaging.v1.service.role.RoleInstance
friendly_name
Returns:The friendly_name
Return type:unicode
permissions
Returns:The permissions
Return type:list[unicode]
service_sid
Returns:The service_sid
Return type:unicode
sid
Returns:The sid
Return type:unicode
type
Returns:The type
Return type:RoleInstance.RoleType
update(permission)[source]

Update the RoleInstance

Parameters:permission (list[unicode]) – The permission
Returns:The updated RoleInstance
Return type:twilio.rest.ip_messaging.v1.service.role.RoleInstance
url
Returns:The url
Return type:unicode
class twilio.rest.ip_messaging.v1.service.role.RoleList(version, service_sid)[source]

Bases: twilio.base.list_resource.ListResource

create(friendly_name, type, permission)[source]

Create the RoleInstance

Parameters:
  • friendly_name (unicode) – The friendly_name
  • type (RoleInstance.RoleType) – The type
  • permission (list[unicode]) – The permission
Returns:

The created RoleInstance

Return type:

twilio.rest.ip_messaging.v1.service.role.RoleInstance

get(sid)[source]

Constructs a RoleContext

Parameters:sid – The sid
Returns:twilio.rest.ip_messaging.v1.service.role.RoleContext
Return type:twilio.rest.ip_messaging.v1.service.role.RoleContext
get_page(target_url)[source]

Retrieve a specific page of RoleInstance records from the API. Request is executed immediately

Parameters:target_url (str) – API-generated URL for the requested results page
Returns:Page of RoleInstance
Return type:twilio.rest.ip_messaging.v1.service.role.RolePage
list(limit=None, page_size=None)[source]

Lists RoleInstance records from the API as a list. Unlike stream(), this operation is eager and will load limit records into memory before returning.

Parameters:
  • limit (int) – Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit
  • page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, list() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns:

Generator that will yield up to limit results

Return type:

list[twilio.rest.ip_messaging.v1.service.role.RoleInstance]

page(page_token=<object object>, page_number=<object object>, page_size=<object object>)[source]

Retrieve a single page of RoleInstance records from the API. Request is executed immediately

Parameters:
  • page_token (str) – PageToken provided by the API
  • page_number (int) – Page Number, this value is simply for client state
  • page_size (int) – Number of records to return, defaults to 50
Returns:

Page of RoleInstance

Return type:

twilio.rest.ip_messaging.v1.service.role.RolePage

stream(limit=None, page_size=None)[source]

Streams RoleInstance records from the API as a generator stream. This operation lazily loads records as efficiently as possible until the limit is reached. The results are returned as a generator, so this operation is memory efficient.

Parameters:
  • limit (int) – Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit
  • page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, stream() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns:

Generator that will yield up to limit results

Return type:

list[twilio.rest.ip_messaging.v1.service.role.RoleInstance]

class twilio.rest.ip_messaging.v1.service.role.RolePage(version, response, solution)[source]

Bases: twilio.base.page.Page

get_instance(payload)[source]

Build an instance of RoleInstance

Parameters:payload (dict) – Payload response from the API
Returns:twilio.rest.ip_messaging.v1.service.role.RoleInstance
Return type:twilio.rest.ip_messaging.v1.service.role.RoleInstance

Module contents

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

(_)/(_)(_|/| |(/_ v1.0.0 / /
class twilio.rest.ip_messaging.v1.service.ServiceContext(version, sid)[source]

Bases: twilio.base.instance_context.InstanceContext

channels

Access the channels

Returns:twilio.rest.ip_messaging.v1.service.channel.ChannelList
Return type:twilio.rest.ip_messaging.v1.service.channel.ChannelList
delete()[source]

Deletes the ServiceInstance

Returns:True if delete succeeds, False otherwise
Return type:bool
fetch()[source]

Fetch the ServiceInstance

Returns:The fetched ServiceInstance
Return type:twilio.rest.ip_messaging.v1.service.ServiceInstance
roles

Access the roles

Returns:twilio.rest.ip_messaging.v1.service.role.RoleList
Return type:twilio.rest.ip_messaging.v1.service.role.RoleList
update(friendly_name=<object object>, default_service_role_sid=<object object>, default_channel_role_sid=<object object>, default_channel_creator_role_sid=<object object>, read_status_enabled=<object object>, reachability_enabled=<object object>, typing_indicator_timeout=<object object>, consumption_report_interval=<object object>, notifications_new_message_enabled=<object object>, notifications_new_message_template=<object object>, notifications_added_to_channel_enabled=<object object>, notifications_added_to_channel_template=<object object>, notifications_removed_from_channel_enabled=<object object>, notifications_removed_from_channel_template=<object object>, notifications_invited_to_channel_enabled=<object object>, notifications_invited_to_channel_template=<object object>, pre_webhook_url=<object object>, post_webhook_url=<object object>, webhook_method=<object object>, webhook_filters=<object object>, webhooks_on_message_send_url=<object object>, webhooks_on_message_send_method=<object object>, webhooks_on_message_update_url=<object object>, webhooks_on_message_update_method=<object object>, webhooks_on_message_remove_url=<object object>, webhooks_on_message_remove_method=<object object>, webhooks_on_channel_add_url=<object object>, webhooks_on_channel_add_method=<object object>, webhooks_on_channel_destroy_url=<object object>, webhooks_on_channel_destroy_method=<object object>, webhooks_on_channel_update_url=<object object>, webhooks_on_channel_update_method=<object object>, webhooks_on_member_add_url=<object object>, webhooks_on_member_add_method=<object object>, webhooks_on_member_remove_url=<object object>, webhooks_on_member_remove_method=<object object>, webhooks_on_message_sent_url=<object object>, webhooks_on_message_sent_method=<object object>, webhooks_on_message_updated_url=<object object>, webhooks_on_message_updated_method=<object object>, webhooks_on_message_removed_url=<object object>, webhooks_on_message_removed_method=<object object>, webhooks_on_channel_added_url=<object object>, webhooks_on_channel_added_method=<object object>, webhooks_on_channel_destroyed_url=<object object>, webhooks_on_channel_destroyed_method=<object object>, webhooks_on_channel_updated_url=<object object>, webhooks_on_channel_updated_method=<object object>, webhooks_on_member_added_url=<object object>, webhooks_on_member_added_method=<object object>, webhooks_on_member_removed_url=<object object>, webhooks_on_member_removed_method=<object object>, limits_channel_members=<object object>, limits_user_channels=<object object>)[source]

Update the ServiceInstance

Parameters:
  • friendly_name (unicode) – The friendly_name
  • default_service_role_sid (unicode) – The default_service_role_sid
  • default_channel_role_sid (unicode) – The default_channel_role_sid
  • default_channel_creator_role_sid (unicode) – The default_channel_creator_role_sid
  • read_status_enabled (bool) – The read_status_enabled
  • reachability_enabled (bool) – The reachability_enabled
  • typing_indicator_timeout (unicode) – The typing_indicator_timeout
  • consumption_report_interval (unicode) – The consumption_report_interval
  • notifications_new_message_enabled (bool) – The notifications.new_message.enabled
  • notifications_new_message_template (unicode) – The notifications.new_message.template
  • notifications_added_to_channel_enabled (bool) – The notifications.added_to_channel.enabled
  • notifications_added_to_channel_template (unicode) – The notifications.added_to_channel.template
  • notifications_removed_from_channel_enabled (bool) – The notifications.removed_from_channel.enabled
  • notifications_removed_from_channel_template (unicode) – The notifications.removed_from_channel.template
  • notifications_invited_to_channel_enabled (bool) – The notifications.invited_to_channel.enabled
  • notifications_invited_to_channel_template (unicode) – The notifications.invited_to_channel.template
  • pre_webhook_url (unicode) – The pre_webhook_url
  • post_webhook_url (unicode) – The post_webhook_url
  • webhook_method (unicode) – The webhook_method
  • webhook_filters (list[unicode]) – The webhook_filters
  • webhooks_on_message_send_url (unicode) – The webhooks.on_message_send.url
  • webhooks_on_message_send_method (unicode) – The webhooks.on_message_send.method
  • webhooks_on_message_update_url (unicode) – The webhooks.on_message_update.url
  • webhooks_on_message_update_method (unicode) – The webhooks.on_message_update.method
  • webhooks_on_message_remove_url (unicode) – The webhooks.on_message_remove.url
  • webhooks_on_message_remove_method (unicode) – The webhooks.on_message_remove.method
  • webhooks_on_channel_add_url (unicode) – The webhooks.on_channel_add.url
  • webhooks_on_channel_add_method (unicode) – The webhooks.on_channel_add.method
  • webhooks_on_channel_destroy_url (unicode) – The webhooks.on_channel_destroy.url
  • webhooks_on_channel_destroy_method (unicode) – The webhooks.on_channel_destroy.method
  • webhooks_on_channel_update_url (unicode) – The webhooks.on_channel_update.url
  • webhooks_on_channel_update_method (unicode) – The webhooks.on_channel_update.method
  • webhooks_on_member_add_url (unicode) – The webhooks.on_member_add.url
  • webhooks_on_member_add_method (unicode) – The webhooks.on_member_add.method
  • webhooks_on_member_remove_url (unicode) – The webhooks.on_member_remove.url
  • webhooks_on_member_remove_method (unicode) – The webhooks.on_member_remove.method
  • webhooks_on_message_sent_url (unicode) – The webhooks.on_message_sent.url
  • webhooks_on_message_sent_method (unicode) – The webhooks.on_message_sent.method
  • webhooks_on_message_updated_url (unicode) – The webhooks.on_message_updated.url
  • webhooks_on_message_updated_method (unicode) – The webhooks.on_message_updated.method
  • webhooks_on_message_removed_url (unicode) – The webhooks.on_message_removed.url
  • webhooks_on_message_removed_method (unicode) – The webhooks.on_message_removed.method
  • webhooks_on_channel_added_url (unicode) – The webhooks.on_channel_added.url
  • webhooks_on_channel_added_method (unicode) – The webhooks.on_channel_added.method
  • webhooks_on_channel_destroyed_url (unicode) – The webhooks.on_channel_destroyed.url
  • webhooks_on_channel_destroyed_method (unicode) – The webhooks.on_channel_destroyed.method
  • webhooks_on_channel_updated_url (unicode) – The webhooks.on_channel_updated.url
  • webhooks_on_channel_updated_method (unicode) – The webhooks.on_channel_updated.method
  • webhooks_on_member_added_url (unicode) – The webhooks.on_member_added.url
  • webhooks_on_member_added_method (unicode) – The webhooks.on_member_added.method
  • webhooks_on_member_removed_url (unicode) – The webhooks.on_member_removed.url
  • webhooks_on_member_removed_method (unicode) – The webhooks.on_member_removed.method
  • limits_channel_members (unicode) – The limits.channel_members
  • limits_user_channels (unicode) – The limits.user_channels
Returns:

The updated ServiceInstance

Return type:

twilio.rest.ip_messaging.v1.service.ServiceInstance

users

Access the users

Returns:twilio.rest.ip_messaging.v1.service.user.UserList
Return type:twilio.rest.ip_messaging.v1.service.user.UserList
class twilio.rest.ip_messaging.v1.service.ServiceInstance(version, payload, sid=None)[source]

Bases: twilio.base.instance_resource.InstanceResource

account_sid
Returns:The account_sid
Return type:unicode
channels

Access the channels

Returns:twilio.rest.ip_messaging.v1.service.channel.ChannelList
Return type:twilio.rest.ip_messaging.v1.service.channel.ChannelList
consumption_report_interval
Returns:The consumption_report_interval
Return type:unicode
date_created
Returns:The date_created
Return type:datetime
date_updated
Returns:The date_updated
Return type:datetime
default_channel_creator_role_sid
Returns:The default_channel_creator_role_sid
Return type:unicode
default_channel_role_sid
Returns:The default_channel_role_sid
Return type:unicode
default_service_role_sid
Returns:The default_service_role_sid
Return type:unicode
delete()[source]

Deletes the ServiceInstance

Returns:True if delete succeeds, False otherwise
Return type:bool
fetch()[source]

Fetch the ServiceInstance

Returns:The fetched ServiceInstance
Return type:twilio.rest.ip_messaging.v1.service.ServiceInstance
friendly_name
Returns:The friendly_name
Return type:unicode
limits
Returns:The limits
Return type:dict
Returns:The links
Return type:unicode
notifications
Returns:The notifications
Return type:dict
post_webhook_url
Returns:The post_webhook_url
Return type:unicode
pre_webhook_url
Returns:The pre_webhook_url
Return type:unicode
reachability_enabled
Returns:The reachability_enabled
Return type:bool
read_status_enabled
Returns:The read_status_enabled
Return type:bool
roles

Access the roles

Returns:twilio.rest.ip_messaging.v1.service.role.RoleList
Return type:twilio.rest.ip_messaging.v1.service.role.RoleList
sid
Returns:The sid
Return type:unicode
typing_indicator_timeout
Returns:The typing_indicator_timeout
Return type:unicode
update(friendly_name=<object object>, default_service_role_sid=<object object>, default_channel_role_sid=<object object>, default_channel_creator_role_sid=<object object>, read_status_enabled=<object object>, reachability_enabled=<object object>, typing_indicator_timeout=<object object>, consumption_report_interval=<object object>, notifications_new_message_enabled=<object object>, notifications_new_message_template=<object object>, notifications_added_to_channel_enabled=<object object>, notifications_added_to_channel_template=<object object>, notifications_removed_from_channel_enabled=<object object>, notifications_removed_from_channel_template=<object object>, notifications_invited_to_channel_enabled=<object object>, notifications_invited_to_channel_template=<object object>, pre_webhook_url=<object object>, post_webhook_url=<object object>, webhook_method=<object object>, webhook_filters=<object object>, webhooks_on_message_send_url=<object object>, webhooks_on_message_send_method=<object object>, webhooks_on_message_update_url=<object object>, webhooks_on_message_update_method=<object object>, webhooks_on_message_remove_url=<object object>, webhooks_on_message_remove_method=<object object>, webhooks_on_channel_add_url=<object object>, webhooks_on_channel_add_method=<object object>, webhooks_on_channel_destroy_url=<object object>, webhooks_on_channel_destroy_method=<object object>, webhooks_on_channel_update_url=<object object>, webhooks_on_channel_update_method=<object object>, webhooks_on_member_add_url=<object object>, webhooks_on_member_add_method=<object object>, webhooks_on_member_remove_url=<object object>, webhooks_on_member_remove_method=<object object>, webhooks_on_message_sent_url=<object object>, webhooks_on_message_sent_method=<object object>, webhooks_on_message_updated_url=<object object>, webhooks_on_message_updated_method=<object object>, webhooks_on_message_removed_url=<object object>, webhooks_on_message_removed_method=<object object>, webhooks_on_channel_added_url=<object object>, webhooks_on_channel_added_method=<object object>, webhooks_on_channel_destroyed_url=<object object>, webhooks_on_channel_destroyed_method=<object object>, webhooks_on_channel_updated_url=<object object>, webhooks_on_channel_updated_method=<object object>, webhooks_on_member_added_url=<object object>, webhooks_on_member_added_method=<object object>, webhooks_on_member_removed_url=<object object>, webhooks_on_member_removed_method=<object object>, limits_channel_members=<object object>, limits_user_channels=<object object>)[source]

Update the ServiceInstance

Parameters:
  • friendly_name (unicode) – The friendly_name
  • default_service_role_sid (unicode) – The default_service_role_sid
  • default_channel_role_sid (unicode) – The default_channel_role_sid
  • default_channel_creator_role_sid (unicode) – The default_channel_creator_role_sid
  • read_status_enabled (bool) – The read_status_enabled
  • reachability_enabled (bool) – The reachability_enabled
  • typing_indicator_timeout (unicode) – The typing_indicator_timeout
  • consumption_report_interval (unicode) – The consumption_report_interval
  • notifications_new_message_enabled (bool) – The notifications.new_message.enabled
  • notifications_new_message_template (unicode) – The notifications.new_message.template
  • notifications_added_to_channel_enabled (bool) – The notifications.added_to_channel.enabled
  • notifications_added_to_channel_template (unicode) – The notifications.added_to_channel.template
  • notifications_removed_from_channel_enabled (bool) – The notifications.removed_from_channel.enabled
  • notifications_removed_from_channel_template (unicode) – The notifications.removed_from_channel.template
  • notifications_invited_to_channel_enabled (bool) – The notifications.invited_to_channel.enabled
  • notifications_invited_to_channel_template (unicode) – The notifications.invited_to_channel.template
  • pre_webhook_url (unicode) – The pre_webhook_url
  • post_webhook_url (unicode) – The post_webhook_url
  • webhook_method (unicode) – The webhook_method
  • webhook_filters (list[unicode]) – The webhook_filters
  • webhooks_on_message_send_url (unicode) – The webhooks.on_message_send.url
  • webhooks_on_message_send_method (unicode) – The webhooks.on_message_send.method
  • webhooks_on_message_update_url (unicode) – The webhooks.on_message_update.url
  • webhooks_on_message_update_method (unicode) – The webhooks.on_message_update.method
  • webhooks_on_message_remove_url (unicode) – The webhooks.on_message_remove.url
  • webhooks_on_message_remove_method (unicode) – The webhooks.on_message_remove.method
  • webhooks_on_channel_add_url (unicode) – The webhooks.on_channel_add.url
  • webhooks_on_channel_add_method (unicode) – The webhooks.on_channel_add.method
  • webhooks_on_channel_destroy_url (unicode) – The webhooks.on_channel_destroy.url
  • webhooks_on_channel_destroy_method (unicode) – The webhooks.on_channel_destroy.method
  • webhooks_on_channel_update_url (unicode) – The webhooks.on_channel_update.url
  • webhooks_on_channel_update_method (unicode) – The webhooks.on_channel_update.method
  • webhooks_on_member_add_url (unicode) – The webhooks.on_member_add.url
  • webhooks_on_member_add_method (unicode) – The webhooks.on_member_add.method
  • webhooks_on_member_remove_url (unicode) – The webhooks.on_member_remove.url
  • webhooks_on_member_remove_method (unicode) – The webhooks.on_member_remove.method
  • webhooks_on_message_sent_url (unicode) – The webhooks.on_message_sent.url
  • webhooks_on_message_sent_method (unicode) – The webhooks.on_message_sent.method
  • webhooks_on_message_updated_url (unicode) – The webhooks.on_message_updated.url
  • webhooks_on_message_updated_method (unicode) – The webhooks.on_message_updated.method
  • webhooks_on_message_removed_url (unicode) – The webhooks.on_message_removed.url
  • webhooks_on_message_removed_method (unicode) – The webhooks.on_message_removed.method
  • webhooks_on_channel_added_url (unicode) – The webhooks.on_channel_added.url
  • webhooks_on_channel_added_method (unicode) – The webhooks.on_channel_added.method
  • webhooks_on_channel_destroyed_url (unicode) – The webhooks.on_channel_destroyed.url
  • webhooks_on_channel_destroyed_method (unicode) – The webhooks.on_channel_destroyed.method
  • webhooks_on_channel_updated_url (unicode) – The webhooks.on_channel_updated.url
  • webhooks_on_channel_updated_method (unicode) – The webhooks.on_channel_updated.method
  • webhooks_on_member_added_url (unicode) – The webhooks.on_member_added.url
  • webhooks_on_member_added_method (unicode) – The webhooks.on_member_added.method
  • webhooks_on_member_removed_url (unicode) – The webhooks.on_member_removed.url
  • webhooks_on_member_removed_method (unicode) – The webhooks.on_member_removed.method
  • limits_channel_members (unicode) – The limits.channel_members
  • limits_user_channels (unicode) – The limits.user_channels
Returns:

The updated ServiceInstance

Return type:

twilio.rest.ip_messaging.v1.service.ServiceInstance

url
Returns:The url
Return type:unicode
users

Access the users

Returns:twilio.rest.ip_messaging.v1.service.user.UserList
Return type:twilio.rest.ip_messaging.v1.service.user.UserList
webhook_filters
Returns:The webhook_filters
Return type:list[unicode]
webhook_method
Returns:The webhook_method
Return type:unicode
webhooks
Returns:The webhooks
Return type:dict
class twilio.rest.ip_messaging.v1.service.ServiceList(version)[source]

Bases: twilio.base.list_resource.ListResource

create(friendly_name)[source]

Create the ServiceInstance

Parameters:friendly_name (unicode) – The friendly_name
Returns:The created ServiceInstance
Return type:twilio.rest.ip_messaging.v1.service.ServiceInstance
get(sid)[source]

Constructs a ServiceContext

Parameters:sid – The sid
Returns:twilio.rest.ip_messaging.v1.service.ServiceContext
Return type:twilio.rest.ip_messaging.v1.service.ServiceContext
get_page(target_url)[source]

Retrieve a specific page of ServiceInstance records from the API. Request is executed immediately

Parameters:target_url (str) – API-generated URL for the requested results page
Returns:Page of ServiceInstance
Return type:twilio.rest.ip_messaging.v1.service.ServicePage
list(limit=None, page_size=None)[source]

Lists ServiceInstance records from the API as a list. Unlike stream(), this operation is eager and will load limit records into memory before returning.

Parameters:
  • limit (int) – Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit
  • page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, list() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns:

Generator that will yield up to limit results

Return type:

list[twilio.rest.ip_messaging.v1.service.ServiceInstance]

page(page_token=<object object>, page_number=<object object>, page_size=<object object>)[source]

Retrieve a single page of ServiceInstance records from the API. Request is executed immediately

Parameters:
  • page_token (str) – PageToken provided by the API
  • page_number (int) – Page Number, this value is simply for client state
  • page_size (int) – Number of records to return, defaults to 50
Returns:

Page of ServiceInstance

Return type:

twilio.rest.ip_messaging.v1.service.ServicePage

stream(limit=None, page_size=None)[source]

Streams ServiceInstance records from the API as a generator stream. This operation lazily loads records as efficiently as possible until the limit is reached. The results are returned as a generator, so this operation is memory efficient.

Parameters:
  • limit (int) – Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit
  • page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, stream() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns:

Generator that will yield up to limit results

Return type:

list[twilio.rest.ip_messaging.v1.service.ServiceInstance]

class twilio.rest.ip_messaging.v1.service.ServicePage(version, response, solution)[source]

Bases: twilio.base.page.Page

get_instance(payload)[source]

Build an instance of ServiceInstance

Parameters:payload (dict) – Payload response from the API
Returns:twilio.rest.ip_messaging.v1.service.ServiceInstance
Return type:twilio.rest.ip_messaging.v1.service.ServiceInstance