_id stringlengths 2 7 | title stringlengths 1 88 | partition stringclasses 3
values | text stringlengths 31 13.1k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
q29500 | AccountContext.signing_keys | train | def signing_keys(self):
"""
Access the signing_keys
:returns: twilio.rest.api.v2010.account.signing_key.SigningKeyList
:rtype: twilio.rest.api.v2010.account.signing_key.SigningKeyList
| python | {
"resource": ""
} |
q29501 | AccountContext.sip | train | def sip(self):
"""
Access the sip
:returns: twilio.rest.api.v2010.account.sip.SipList
:rtype: twilio.rest.api.v2010.account.sip.SipList
| python | {
"resource": ""
} |
q29502 | AccountContext.tokens | train | def tokens(self):
"""
Access the tokens
:returns: twilio.rest.api.v2010.account.token.TokenList
:rtype: twilio.rest.api.v2010.account.token.TokenList
| python | {
"resource": ""
} |
q29503 | AccountContext.transcriptions | train | def transcriptions(self):
"""
Access the transcriptions
:returns: twilio.rest.api.v2010.account.transcription.TranscriptionList
:rtype: twilio.rest.api.v2010.account.transcription.TranscriptionList
| python | {
"resource": ""
} |
q29504 | AccountContext.validation_requests | train | def validation_requests(self):
"""
Access the validation_requests
:returns: twilio.rest.api.v2010.account.validation_request.ValidationRequestList
:rtype: twilio.rest.api.v2010.account.validation_request.ValidationRequestList
| python | {
"resource": ""
} |
q29505 | AccountInstance.update | train | def update(self, friendly_name=values.unset, status=values.unset):
"""
Update the AccountInstance
:param unicode friendly_name: FriendlyName to update
| python | {
"resource": ""
} |
q29506 | ValidationRequestList.create | train | def create(self, phone_number, friendly_name=values.unset,
call_delay=values.unset, extension=values.unset,
status_callback=values.unset, status_callback_method=values.unset):
"""
Create a new ValidationRequestInstance
:param unicode phone_number: The phone number ... | python | {
"resource": ""
} |
q29507 | ValidationRequestPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of ValidationRequestInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.validation_request.ValidationRequestInstance
:rtype: | python | {
"resource": ""
} |
q29508 | ExecutionStepList.get | train | def get(self, sid):
"""
Constructs a ExecutionStepContext
:param sid: Step Sid.
:returns: twilio.rest.studio.v1.flow.execution.execution_step.ExecutionStepContext
:rtype: twilio.rest.studio.v1.flow.execution.execution_step.ExecutionStepContext
"""
return Executi... | python | {
"resource": ""
} |
q29509 | ExecutionStepPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of ExecutionStepInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.studio.v1.flow.execution.execution_step.ExecutionStepInstance
:rtype: twilio.rest.studio.v1.flow.execution.execution_step.Exe... | python | {
"resource": ""
} |
q29510 | ExecutionStepContext.fetch | train | def fetch(self):
"""
Fetch a ExecutionStepInstance
:returns: Fetched ExecutionStepInstance
:rtype: twilio.rest.studio.v1.flow.execution.execution_step.ExecutionStepInstance
"""
params = values.of({})
payload = self._version.fetch(
'GET',
... | python | {
"resource": ""
} |
q29511 | StyleSheetPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of StyleSheetInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.autopilot.v1.assistant.style_sheet.StyleSheetInstance
:rtype: | python | {
"resource": ""
} |
q29512 | StyleSheetContext.fetch | train | def fetch(self):
"""
Fetch a StyleSheetInstance
:returns: Fetched StyleSheetInstance
:rtype: twilio.rest.autopilot.v1.assistant.style_sheet.StyleSheetInstance
| python | {
"resource": ""
} |
q29513 | SyncMapItemList.create | train | def create(self, key, data, ttl=values.unset, item_ttl=values.unset,
collection_ttl=values.unset):
"""
Create a new SyncMapItemInstance
:param unicode key: The unique user-defined key of this Map Item.
:param dict data: Contains arbitrary user-defined, schema-less data th... | python | {
"resource": ""
} |
q29514 | NationalPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of NationalInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.available_phone_number.national.NationalInstance
| python | {
"resource": ""
} |
q29515 | TriggerList.create | train | def create(self, callback_url, trigger_value, usage_category,
callback_method=values.unset, friendly_name=values.unset,
recurring=values.unset, trigger_by=values.unset):
"""
Create a new TriggerInstance
:param unicode callback_url: The URL we call when the trigger ... | python | {
"resource": ""
} |
q29516 | TriggerList.stream | train | def stream(self, recurring=values.unset, trigger_by=values.unset,
usage_category=values.unset, limit=None, page_size=None):
"""
Streams TriggerInstance records from the API as a generator stream.
This operation lazily loads records as efficiently as possible until the limit
... | python | {
"resource": ""
} |
q29517 | TriggerList.page | train | def page(self, recurring=values.unset, trigger_by=values.unset,
usage_category=values.unset, page_token=values.unset,
page_number=values.unset, page_size=values.unset):
"""
Retrieve a single page of TriggerInstance records from the API.
Request is executed immediately
... | python | {
"resource": ""
} |
q29518 | TriggerList.get | train | def get(self, sid):
"""
Constructs a TriggerContext
:param sid: The unique string that identifies the resource
:returns: twilio.rest.api.v2010.account.usage.trigger.TriggerContext
:rtype: | python | {
"resource": ""
} |
q29519 | TriggerPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of TriggerInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.usage.trigger.TriggerInstance
| python | {
"resource": ""
} |
q29520 | WorkspaceCumulativeStatisticsPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of WorkspaceCumulativeStatisticsInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.taskrouter.v1.workspace.workspace_cumulative_statistics.WorkspaceCumulativeStatisticsInstance
:rtype: | python | {
"resource": ""
} |
q29521 | AssignedAddOnExtensionList.get | train | def get(self, sid):
"""
Constructs a AssignedAddOnExtensionContext
:param sid: The unique string that identifies the resource
:returns: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension.AssignedAddOnExtensionContext
:rtype: twilio.res... | python | {
"resource": ""
} |
q29522 | AssignedAddOnExtensionPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of AssignedAddOnExtensionInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.incoming_phone_number.assigned_add_on.assigned_add_on_extension.AssignedAddOnExtensionInstance
:rt... | python | {
"resource": ""
} |
q29523 | HighriskSpecialPrefixPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of HighriskSpecialPrefixInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.voice.v1.dialing_permissions.country.highrisk_special_prefix.HighriskSpecialPrefixInstance
:rtype: | python | {
"resource": ""
} |
q29524 | SipList.domains | train | def domains(self):
"""
Access the domains
:returns: twilio.rest.api.v2010.account.sip.domain.DomainList
:rtype: twilio.rest.api.v2010.account.sip.domain.DomainList
| python | {
"resource": ""
} |
q29525 | SipList.credential_lists | train | def credential_lists(self):
"""
Access the credential_lists
:returns: twilio.rest.api.v2010.account.sip.credential_list.CredentialListList
:rtype: twilio.rest.api.v2010.account.sip.credential_list.CredentialListList
| python | {
"resource": ""
} |
q29526 | SipPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of SipInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.sip.SipInstance
| python | {
"resource": ""
} |
q29527 | TaskQueuesStatisticsList.stream | train | def stream(self, end_date=values.unset, friendly_name=values.unset,
minutes=values.unset, start_date=values.unset,
task_channel=values.unset, split_by_wait_time=values.unset,
limit=None, page_size=None):
"""
Streams TaskQueuesStatisticsInstance records from t... | python | {
"resource": ""
} |
q29528 | TaskQueuesStatisticsList.page | train | def page(self, end_date=values.unset, friendly_name=values.unset,
minutes=values.unset, start_date=values.unset,
task_channel=values.unset, split_by_wait_time=values.unset,
page_token=values.unset, page_number=values.unset,
page_size=values.unset):
"""
... | python | {
"resource": ""
} |
q29529 | TaskQueuesStatisticsPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of TaskQueuesStatisticsInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.taskrouter.v1.workspace.task_queue.task_queues_statistics.TaskQueuesStatisticsInstance
:rtype: | python | {
"resource": ""
} |
q29530 | EngagementContextList.get | train | def get(self):
"""
Constructs a EngagementContextContext
:returns: twilio.rest.studio.v1.flow.engagement.engagement_context.EngagementContextContext
:rtype: twilio.rest.studio.v1.flow.engagement.engagement_context.EngagementContextContext
"""
| python | {
"resource": ""
} |
q29531 | EngagementContextPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of EngagementContextInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.studio.v1.flow.engagement.engagement_context.EngagementContextInstance
:rtype: twilio.rest.studio.v1.flow.engagement.enga... | python | {
"resource": ""
} |
q29532 | EngagementContextContext.fetch | train | def fetch(self):
"""
Fetch a EngagementContextInstance
:returns: Fetched EngagementContextInstance
:rtype: twilio.rest.studio.v1.flow.engagement.engagement_context.EngagementContextInstance
"""
params = values.of({})
payload = self._version.fetch(
'G... | python | {
"resource": ""
} |
q29533 | ExecutionStepContextList.get | train | def get(self):
"""
Constructs a ExecutionStepContextContext
:returns: twilio.rest.studio.v1.flow.execution.execution_step.execution_step_context.ExecutionStepContextContext
:rtype: twilio.rest.studio.v1.flow.execution.execution_step.execution_step_context.ExecutionStepContextContext
| python | {
"resource": ""
} |
q29534 | ExecutionStepContextPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of ExecutionStepContextInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.studio.v1.flow.execution.execution_step.execution_step_context.ExecutionStepContextInstance
:rtype: twilio.rest.studio... | python | {
"resource": ""
} |
q29535 | ExecutionStepContextContext.fetch | train | def fetch(self):
"""
Fetch a ExecutionStepContextInstance
:returns: Fetched ExecutionStepContextInstance
:rtype: twilio.rest.studio.v1.flow.execution.execution_step.execution_step_context.ExecutionStepContextInstance
"""
params = values.of({})
payload = self._ve... | python | {
"resource": ""
} |
q29536 | PayloadList.get | train | def get(self, sid):
"""
Constructs a PayloadContext
:param sid: The unique string that identifies the resource to fetch
:returns: twilio.rest.api.v2010.account.recording.add_on_result.payload.PayloadContext
:rtype: twilio.rest.api.v2010.account.recording.add_on_result.payload.P... | python | {
"resource": ""
} |
q29537 | PayloadPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of PayloadInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.recording.add_on_result.payload.PayloadInstance
:rtype: twilio.rest.api.v2010.account.recording.add_on_result.pay... | python | {
"resource": ""
} |
q29538 | FlowContext.engagements | train | def engagements(self):
"""
Access the engagements
:returns: twilio.rest.studio.v1.flow.engagement.EngagementList
:rtype: twilio.rest.studio.v1.flow.engagement.EngagementList
| python | {
"resource": ""
} |
q29539 | FlowContext.executions | train | def executions(self):
"""
Access the executions
:returns: twilio.rest.studio.v1.flow.execution.ExecutionList
:rtype: twilio.rest.studio.v1.flow.execution.ExecutionList
| python | {
"resource": ""
} |
q29540 | QueryList.create | train | def create(self, language, query, tasks=values.unset, model_build=values.unset,
field=values.unset):
"""
Create a new QueryInstance
:param unicode language: An ISO language-country string of the sample.
:param unicode query: A user-provided string that uniquely identifies... | python | {
"resource": ""
} |
q29541 | TaskQueueRealTimeStatisticsList.get | train | def get(self):
"""
Constructs a TaskQueueRealTimeStatisticsContext
:returns: twilio.rest.taskrouter.v1.workspace.task_queue.task_queue_real_time_statistics.TaskQueueRealTimeStatisticsContext
:rtype: twilio.rest.taskrouter.v1.workspace.task_queue.task_queue_real_time_statistics.TaskQueue... | python | {
"resource": ""
} |
q29542 | TaskQueueRealTimeStatisticsPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of TaskQueueRealTimeStatisticsInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.taskrouter.v1.workspace.task_queue.task_queue_real_time_statistics.TaskQueueRealTimeStatisticsInstance
:rtype: ... | python | {
"resource": ""
} |
q29543 | CredentialListMappingList.get | train | def get(self, sid):
"""
Constructs a CredentialListMappingContext
:param sid: A string that identifies the resource to fetch
:returns: twilio.rest.api.v2010.account.sip.domain.credential_list_mapping.CredentialListMappingContext
:rtype: twilio.rest.api.v2010.account.sip.domain.... | python | {
"resource": ""
} |
q29544 | CredentialListMappingPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of CredentialListMappingInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.sip.domain.credential_list_mapping.CredentialListMappingInstance
:rtype: twilio.rest.api.v2010.acco... | python | {
"resource": ""
} |
q29545 | NotificationList.stream | train | def stream(self, log=values.unset, message_date_before=values.unset,
message_date=values.unset, message_date_after=values.unset,
limit=None, page_size=None):
"""
Streams NotificationInstance records from the API as a generator stream.
This operation lazily loads rec... | python | {
"resource": ""
} |
q29546 | NotificationList.page | train | def page(self, log=values.unset, message_date_before=values.unset,
message_date=values.unset, message_date_after=values.unset,
page_token=values.unset, page_number=values.unset,
page_size=values.unset):
"""
Retrieve a single page of NotificationInstance records fro... | python | {
"resource": ""
} |
q29547 | NotificationList.get | train | def get(self, sid):
"""
Constructs a NotificationContext
:param sid: The unique string that identifies the resource
:returns: twilio.rest.api.v2010.account.call.notification.NotificationContext
| python | {
"resource": ""
} |
q29548 | CountryList.stream | train | def stream(self, iso_code=values.unset, continent=values.unset,
country_code=values.unset, low_risk_numbers_enabled=values.unset,
high_risk_special_numbers_enabled=values.unset,
high_risk_tollfraud_numbers_enabled=values.unset, limit=None,
page_size=None):
... | python | {
"resource": ""
} |
q29549 | CountryList.page | train | def page(self, iso_code=values.unset, continent=values.unset,
country_code=values.unset, low_risk_numbers_enabled=values.unset,
high_risk_special_numbers_enabled=values.unset,
high_risk_tollfraud_numbers_enabled=values.unset,
page_token=values.unset, page_number=value... | python | {
"resource": ""
} |
q29550 | CountryContext.fetch | train | def fetch(self):
"""
Fetch a CountryInstance
:returns: Fetched CountryInstance
:rtype: twilio.rest.voice.v1.dialing_permissions.country.CountryInstance
"""
params = values.of({})
payload = self._version.fetch(
| python | {
"resource": ""
} |
q29551 | CountryContext.highrisk_special_prefixes | train | def highrisk_special_prefixes(self):
"""
Access the highrisk_special_prefixes
:returns: twilio.rest.voice.v1.dialing_permissions.country.highrisk_special_prefix.HighriskSpecialPrefixList
:rtype: twilio.rest.voice.v1.dialing_permissions.country.highrisk_special_prefix.HighriskSpecialPref... | python | {
"resource": ""
} |
q29552 | CompositionSettingsContext.fetch | train | def fetch(self):
"""
Fetch a CompositionSettingsInstance
:returns: Fetched CompositionSettingsInstance
:rtype: twilio.rest.video.v1.composition_settings.CompositionSettingsInstance
"""
params = values.of({})
payload = self._version.fetch(
| python | {
"resource": ""
} |
q29553 | compare | train | def compare(string1, string2):
"""Compare two strings while protecting against timing attacks
:param str string1: the first string
:param str string2: the second string
| python | {
"resource": ""
} |
q29554 | remove_port | train | def remove_port(uri):
"""Remove the port number from a URI
:param uri: full URI that Twilio requested on your server
:returns: full URI without a port number
:rtype: str | python | {
"resource": ""
} |
q29555 | RequestValidator.compute_signature | train | def compute_signature(self, uri, params, utf=PY3):
"""Compute the signature for a given request
:param uri: full URI that Twilio requested on your server
:param params: post vars that Twilio sent with the request
:param utf: whether return should be bytestring or unicode (python3)
... | python | {
"resource": ""
} |
q29556 | RequestValidator.validate | train | def validate(self, uri, params, signature):
"""Validate a request from Twilio
:param uri: full URI that Twilio requested on your server
:param params: dictionary of POST variables or string of POST body for JSON requests
:param signature: expected signature in HTTP X-Twilio-Signature he... | python | {
"resource": ""
} |
q29557 | DefaultsPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of DefaultsInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.autopilot.v1.assistant.defaults.DefaultsInstance
| python | {
"resource": ""
} |
q29558 | Page.process_response | train | def process_response(self, response):
"""
Load a JSON response.
:param Response response: The HTTP response.
:return dict: The JSON-loaded content.
"""
if response.status_code != 200:
| python | {
"resource": ""
} |
q29559 | Page.load_page | train | def load_page(self, payload):
"""
Parses the collection of records out of a list payload.
:param dict payload: The JSON-loaded content.
:return list: The list of records.
"""
if 'meta' in payload and 'key' in payload['meta']:
return payload[payload['meta']['k... | python | {
"resource": ""
} |
q29560 | UserBindingList.get | train | def get(self, sid):
"""
Constructs a UserBindingContext
:param sid: The unique string that identifies the resource
:returns: twilio.rest.chat.v2.service.user.user_binding.UserBindingContext
:rtype: twilio.rest.chat.v2.service.user.user_binding.UserBindingContext
"""
... | python | {
"resource": ""
} |
q29561 | UserBindingPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of UserBindingInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.chat.v2.service.user.user_binding.UserBindingInstance
| python | {
"resource": ""
} |
q29562 | UserBindingContext.fetch | train | def fetch(self):
"""
Fetch a UserBindingInstance
:returns: Fetched UserBindingInstance
:rtype: twilio.rest.chat.v2.service.user.user_binding.UserBindingInstance
"""
params = values.of({})
payload = self._version.fetch(
'GET',
self._uri,
... | python | {
"resource": ""
} |
q29563 | ClientCapabilityToken.allow_client_outgoing | train | def allow_client_outgoing(self, application_sid, **kwargs):
"""
Allow the user of this token to make outgoing connections. Keyword arguments are passed
to the application.
:param str application_sid: Application to contact
"""
scope = ScopeURI('client', 'outgoing', | python | {
"resource": ""
} |
q29564 | ClientCapabilityToken.allow_client_incoming | train | def allow_client_incoming(self, client_name):
"""
Allow the user of this token to accept incoming connections.
:param str client_name: Client name to accept calls from
"""
| python | {
"resource": ""
} |
q29565 | ClientCapabilityToken.allow_event_stream | train | def allow_event_stream(self, **kwargs):
"""
Allow the user of this token to access their event stream.
"""
scope = ScopeURI('stream', 'subscribe', {'path': '/2010-04-01/Events'})
if kwargs:
| python | {
"resource": ""
} |
q29566 | AuthTypesList.registrations | train | def registrations(self):
"""
Access the registrations
:returns: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_registrations_mapping.AuthTypeRegistrationsList
:rtype: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_registrations_mapping.AuthTypeRegistrationsList
... | python | {
"resource": ""
} |
q29567 | AuthTypesPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of AuthTypesInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.sip.domain.auth_types.AuthTypesInstance
| python | {
"resource": ""
} |
q29568 | AuthRegistrationsCredentialListMappingList.get | train | def get(self, sid):
"""
Constructs a AuthRegistrationsCredentialListMappingContext
:param sid: The unique string that identifies the resource
:returns: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_registrations_mapping.auth_registrations_credential_list_mapping.AuthRegistra... | python | {
"resource": ""
} |
q29569 | AuthRegistrationsCredentialListMappingPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of AuthRegistrationsCredentialListMappingInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_registrations_mapping.auth_registrations_credential_list_mappin... | python | {
"resource": ""
} |
q29570 | AuthRegistrationsCredentialListMappingContext.fetch | train | def fetch(self):
"""
Fetch a AuthRegistrationsCredentialListMappingInstance
:returns: Fetched AuthRegistrationsCredentialListMappingInstance
:rtype: twilio.rest.api.v2010.account.sip.domain.auth_types.auth_registrations_mapping.auth_registrations_credential_list_mapping.AuthRegistration... | python | {
"resource": ""
} |
q29571 | CommandList.page | train | def page(self, sim=values.unset, status=values.unset, direction=values.unset,
transport=values.unset, page_token=values.unset,
page_number=values.unset, page_size=values.unset):
"""
Retrieve a single page of CommandInstance records from the API.
Request is executed imme... | python | {
"resource": ""
} |
q29572 | CommandList.create | train | def create(self, command, sim=values.unset, callback_method=values.unset,
callback_url=values.unset, command_mode=values.unset,
include_sid=values.unset, delivery_receipt_requested=values.unset):
"""
Create a new CommandInstance
:param unicode command: The message ... | python | {
"resource": ""
} |
q29573 | TaskQueueStatisticsList.get | train | def get(self):
"""
Constructs a TaskQueueStatisticsContext
:returns: twilio.rest.taskrouter.v1.workspace.task_queue.task_queue_statistics.TaskQueueStatisticsContext
:rtype: twilio.rest.taskrouter.v1.workspace.task_queue.task_queue_statistics.TaskQueueStatisticsContext
"""
... | python | {
"resource": ""
} |
q29574 | TaskQueueStatisticsPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of TaskQueueStatisticsInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.taskrouter.v1.workspace.task_queue.task_queue_statistics.TaskQueueStatisticsInstance
:rtype: twilio.rest.taskrouter.v1.... | python | {
"resource": ""
} |
q29575 | SessionList.get | train | def get(self, sid):
"""
Constructs a SessionContext
:param sid: The unique string that identifies the resource
:returns: twilio.rest.proxy.v1.service.session.SessionContext
| python | {
"resource": ""
} |
q29576 | SessionPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of SessionInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.proxy.v1.service.session.SessionInstance
| python | {
"resource": ""
} |
q29577 | SessionContext.interactions | train | def interactions(self):
"""
Access the interactions
:returns: twilio.rest.proxy.v1.service.session.interaction.InteractionList
:rtype: twilio.rest.proxy.v1.service.session.interaction.InteractionList
"""
if self._interactions is None:
self._interactions = Int... | python | {
"resource": ""
} |
q29578 | WorkflowCumulativeStatisticsList.get | train | def get(self):
"""
Constructs a WorkflowCumulativeStatisticsContext
:returns: twilio.rest.taskrouter.v1.workspace.workflow.workflow_cumulative_statistics.WorkflowCumulativeStatisticsContext
:rtype: twilio.rest.taskrouter.v1.workspace.workflow.workflow_cumulative_statistics.WorkflowCumul... | python | {
"resource": ""
} |
q29579 | WorkflowCumulativeStatisticsPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of WorkflowCumulativeStatisticsInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.taskrouter.v1.workspace.workflow.workflow_cumulative_statistics.WorkflowCumulativeStatisticsInstance
:rtype: t... | python | {
"resource": ""
} |
q29580 | ServiceContext.documents | train | def documents(self):
"""
Access the documents
:returns: twilio.rest.sync.v1.service.document.DocumentList
:rtype: twilio.rest.sync.v1.service.document.DocumentList
| python | {
"resource": ""
} |
q29581 | ServiceContext.sync_lists | train | def sync_lists(self):
"""
Access the sync_lists
:returns: twilio.rest.sync.v1.service.sync_list.SyncListList
:rtype: twilio.rest.sync.v1.service.sync_list.SyncListList
| python | {
"resource": ""
} |
q29582 | ServiceContext.sync_maps | train | def sync_maps(self):
"""
Access the sync_maps
:returns: twilio.rest.sync.v1.service.sync_map.SyncMapList
:rtype: twilio.rest.sync.v1.service.sync_map.SyncMapList
| python | {
"resource": ""
} |
q29583 | ServiceContext.sync_streams | train | def sync_streams(self):
"""
Access the sync_streams
:returns: twilio.rest.sync.v1.service.sync_stream.SyncStreamList
:rtype: twilio.rest.sync.v1.service.sync_stream.SyncStreamList
| python | {
"resource": ""
} |
q29584 | FaxMediaList.get | train | def get(self, sid):
"""
Constructs a FaxMediaContext
:param sid: The unique string that identifies the resource to fetch
:returns: twilio.rest.fax.v1.fax.fax_media.FaxMediaContext
| python | {
"resource": ""
} |
q29585 | FaxMediaPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of FaxMediaInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.fax.v1.fax.fax_media.FaxMediaInstance
| python | {
"resource": ""
} |
q29586 | FaxMediaContext.fetch | train | def fetch(self):
"""
Fetch a FaxMediaInstance
:returns: Fetched FaxMediaInstance
:rtype: twilio.rest.fax.v1.fax.fax_media.FaxMediaInstance
"""
params = values.of({})
| python | {
"resource": ""
} |
q29587 | MemberContext.fetch | train | def fetch(self):
"""
Fetch a MemberInstance
:returns: Fetched MemberInstance
:rtype: twilio.rest.api.v2010.account.queue.member.MemberInstance
"""
params = values.of({})
payload = self._version.fetch(
'GET',
self._uri,
params=... | python | {
"resource": ""
} |
q29588 | CompositionList.page | train | def page(self, status=values.unset, date_created_after=values.unset,
date_created_before=values.unset, room_sid=values.unset,
page_token=values.unset, page_number=values.unset,
page_size=values.unset):
"""
Retrieve a single page of CompositionInstance records from ... | python | {
"resource": ""
} |
q29589 | SyncListList.create | train | def create(self, unique_name=values.unset, ttl=values.unset,
collection_ttl=values.unset):
"""
Create a new SyncListInstance
:param unicode unique_name: Human-readable name for this list
:param unicode ttl: Alias for collection_ttl
:param unicode collection_ttl: T... | python | {
"resource": ""
} |
q29590 | SyncListList.page | train | def page(self, page_token=values.unset, page_number=values.unset,
page_size=values.unset):
"""
Retrieve a single page of SyncListInstance records from the API.
Request is executed immediately
:param str page_token: PageToken provided by the API
:param int page_numbe... | python | {
"resource": ""
} |
q29591 | SyncListList.get_page | train | def get_page(self, target_url):
"""
Retrieve a specific page of SyncListInstance records from the API.
Request is executed immediately
:param str target_url: API-generated URL for the requested results page
:returns: Page of SyncListInstance
:rtype: twilio.rest.sync.v1.... | python | {
"resource": ""
} |
q29592 | SyncListList.get | train | def get(self, sid):
"""
Constructs a SyncListContext
:param sid: The sid
:returns: twilio.rest.sync.v1.service.sync_list.SyncListContext
| python | {
"resource": ""
} |
q29593 | SyncListPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of SyncListInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.sync.v1.service.sync_list.SyncListInstance
| python | {
"resource": ""
} |
q29594 | SyncListContext.sync_list_items | train | def sync_list_items(self):
"""
Access the sync_list_items
:returns: twilio.rest.sync.v1.service.sync_list.sync_list_item.SyncListItemList
:rtype: twilio.rest.sync.v1.service.sync_list.sync_list_item.SyncListItemList
"""
if self._sync_list_items is None:
self.... | python | {
"resource": ""
} |
q29595 | SyncListContext.sync_list_permissions | train | def sync_list_permissions(self):
"""
Access the sync_list_permissions
:returns: twilio.rest.sync.v1.service.sync_list.sync_list_permission.SyncListPermissionList
:rtype: twilio.rest.sync.v1.service.sync_list.sync_list_permission.SyncListPermissionList
"""
if self._sync_l... | python | {
"resource": ""
} |
q29596 | SimContext.usage_records | train | def usage_records(self):
"""
Access the usage_records
:returns: twilio.rest.wireless.v1.sim.usage_record.UsageRecordList
:rtype: twilio.rest.wireless.v1.sim.usage_record.UsageRecordList
| python | {
"resource": ""
} |
q29597 | SimContext.data_sessions | train | def data_sessions(self):
"""
Access the data_sessions
:returns: twilio.rest.wireless.v1.sim.data_session.DataSessionList
:rtype: twilio.rest.wireless.v1.sim.data_session.DataSessionList
| python | {
"resource": ""
} |
q29598 | DeploymentInstance.update | train | def update(self, friendly_name=values.unset, sync_service_sid=values.unset):
"""
Update the DeploymentInstance
:param unicode friendly_name: A human readable description for this Deployment.
:param | python | {
"resource": ""
} |
q29599 | StepContextList.get | train | def get(self):
"""
Constructs a StepContextContext
:returns: twilio.rest.studio.v1.flow.engagement.step.step_context.StepContextContext
:rtype: twilio.rest.studio.v1.flow.engagement.step.step_context.StepContextContext
"""
return StepContextContext(
self._ver... | python | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.