_id stringlengths 2 7 | title stringlengths 1 88 | partition stringclasses 3
values | text stringlengths 31 13.1k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
q29100 | WorkerList.stream | train | def stream(self, activity_name=values.unset, activity_sid=values.unset,
available=values.unset, friendly_name=values.unset,
target_workers_expression=values.unset, task_queue_name=values.unset,
task_queue_sid=values.unset, limit=None, page_size=None):
"""
Str... | python | {
"resource": ""
} |
q29101 | WorkerList.page | train | def page(self, activity_name=values.unset, activity_sid=values.unset,
available=values.unset, friendly_name=values.unset,
target_workers_expression=values.unset, task_queue_name=values.unset,
task_queue_sid=values.unset, page_token=values.unset,
page_number=values.uns... | python | {
"resource": ""
} |
q29102 | WorkerList.create | train | def create(self, friendly_name, activity_sid=values.unset,
attributes=values.unset):
"""
Create a new WorkerInstance
:param unicode friendly_name: String representing user-friendly name for the Worker.
:param unicode activity_sid: A valid Activity describing the worker's ... | python | {
"resource": ""
} |
q29103 | WorkerList.get | train | def get(self, sid):
"""
Constructs a WorkerContext
:param sid: The sid
:returns: twilio.rest.taskrouter.v1.workspace.worker.WorkerContext
| python | {
"resource": ""
} |
q29104 | WorkerPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of WorkerInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.taskrouter.v1.workspace.worker.WorkerInstance
| python | {
"resource": ""
} |
q29105 | WorkerContext.worker_channels | train | def worker_channels(self):
"""
Access the worker_channels
:returns: twilio.rest.taskrouter.v1.workspace.worker.worker_channel.WorkerChannelList
:rtype: twilio.rest.taskrouter.v1.workspace.worker.worker_channel.WorkerChannelList
"""
if self._worker_channels is None:
... | python | {
"resource": ""
} |
q29106 | AuthorizationDocumentList.page | train | def page(self, email=values.unset, status=values.unset, page_token=values.unset,
page_number=values.unset, page_size=values.unset):
"""
Retrieve a single page of AuthorizationDocumentInstance records from the API.
Request is executed immediately
:param unicode email: Email.... | python | {
"resource": ""
} |
q29107 | AuthorizationDocumentList.create | train | def create(self, hosted_number_order_sids, address_sid, email, contact_title,
contact_phone_number, cc_emails=values.unset):
"""
Create a new AuthorizationDocumentInstance
:param unicode hosted_number_order_sids: A list of HostedNumberOrder sids.
:param unicode address_si... | python | {
"resource": ""
} |
q29108 | AuthorizationDocumentContext.dependent_hosted_number_orders | train | def dependent_hosted_number_orders(self):
"""
Access the dependent_hosted_number_orders
:returns: twilio.rest.preview.hosted_numbers.authorization_document.dependent_hosted_number_order.DependentHostedNumberOrderList
:rtype: twilio.rest.preview.hosted_numbers.authorization_document.depe... | python | {
"resource": ""
} |
q29109 | IpAccessControlListMappingList.create | train | def create(self, ip_access_control_list_sid):
"""
Create a new IpAccessControlListMappingInstance
:param unicode ip_access_control_list_sid: The unique id of the IP access control list to map to the SIP domain
:returns: Newly created IpAccessControlListMappingInstance
:rtype: t... | python | {
"resource": ""
} |
q29110 | IpAccessControlListMappingList.get | train | def get(self, sid):
"""
Constructs a IpAccessControlListMappingContext
:param sid: A 34 character string that uniquely identifies the resource to fetch.
:returns: twilio.rest.api.v2010.account.sip.domain.ip_access_control_list_mapping.IpAccessControlListMappingContext
:rtype: t... | python | {
"resource": ""
} |
q29111 | IpAccessControlListMappingPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of IpAccessControlListMappingInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.sip.domain.ip_access_control_list_mapping.IpAccessControlListMappingInstance
:rtype: twilio.re... | python | {
"resource": ""
} |
q29112 | DependentHostedNumberOrderList.stream | train | def stream(self, status=values.unset, phone_number=values.unset,
incoming_phone_number_sid=values.unset, friendly_name=values.unset,
unique_name=values.unset, limit=None, page_size=None):
"""
Streams DependentHostedNumberOrderInstance records from the API as a generator str... | python | {
"resource": ""
} |
q29113 | DependentHostedNumberOrderPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of DependentHostedNumberOrderInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.preview.hosted_numbers.authorization_document.dependent_hosted_number_order.DependentHostedNumberOrderInstance
:... | python | {
"resource": ""
} |
q29114 | OriginationUrlList.create | train | def create(self, weight, priority, enabled, friendly_name, sip_url):
"""
Create a new OriginationUrlInstance
:param unicode weight: The value that determines the relative load the URI should receive compared to others with the same priority
:param unicode priority: The relative importan... | python | {
"resource": ""
} |
q29115 | OriginationUrlList.get | train | def get(self, sid):
"""
Constructs a OriginationUrlContext
:param sid: The unique string that identifies the resource
:returns: twilio.rest.trunking.v1.trunk.origination_url.OriginationUrlContext
:rtype: | python | {
"resource": ""
} |
q29116 | OriginationUrlPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of OriginationUrlInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.trunking.v1.trunk.origination_url.OriginationUrlInstance
:rtype: | python | {
"resource": ""
} |
q29117 | FunctionList.get | train | def get(self, sid):
"""
Constructs a FunctionContext
:param sid: The sid
:returns: twilio.rest.serverless.v1.service.function.FunctionContext
:rtype: | python | {
"resource": ""
} |
q29118 | FunctionPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of FunctionInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.serverless.v1.service.function.FunctionInstance
| python | {
"resource": ""
} |
q29119 | FunctionContext.update | train | def update(self, friendly_name):
"""
Update the FunctionInstance
:param unicode friendly_name: The friendly_name
:returns: Updated FunctionInstance
:rtype: twilio.rest.serverless.v1.service.function.FunctionInstance
"""
data = values.of({'FriendlyName': friendly... | python | {
"resource": ""
} |
q29120 | FunctionContext.function_versions | train | def function_versions(self):
"""
Access the function_versions
:returns: twilio.rest.serverless.v1.service.function.function_version.FunctionVersionList
:rtype: twilio.rest.serverless.v1.service.function.function_version.FunctionVersionList
"""
if self._function_versions ... | python | {
"resource": ""
} |
q29121 | DailyList.page | train | def page(self, category=values.unset, start_date=values.unset,
end_date=values.unset, include_subaccounts=values.unset,
page_token=values.unset, page_number=values.unset,
page_size=values.unset):
"""
Retrieve a single page of DailyInstance records from the API.
... | python | {
"resource": ""
} |
q29122 | DailyPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of DailyInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.usage.record.daily.DailyInstance
:rtype: | python | {
"resource": ""
} |
q29123 | MediaList.get | train | def get(self, sid):
"""
Constructs a MediaContext
:param sid: The unique string that identifies this resource
:returns: twilio.rest.api.v2010.account.message.media.MediaContext
:rtype: twilio.rest.api.v2010.account.message.media.MediaContext
"""
return MediaCont... | python | {
"resource": ""
} |
q29124 | MediaPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of MediaInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.message.media.MediaInstance
:rtype: twilio.rest.api.v2010.account.message.media.MediaInstance
"""
r... | python | {
"resource": ""
} |
q29125 | MediaContext.fetch | train | def fetch(self):
"""
Fetch a MediaInstance
:returns: Fetched MediaInstance
:rtype: twilio.rest.api.v2010.account.message.media.MediaInstance
"""
params = values.of({})
payload = self._version.fetch(
'GET',
self._uri,
params=pa... | python | {
"resource": ""
} |
q29126 | FleetContext.devices | train | def devices(self):
"""
Access the devices
:returns: twilio.rest.preview.deployed_devices.fleet.device.DeviceList
:rtype: twilio.rest.preview.deployed_devices.fleet.device.DeviceList
"""
| python | {
"resource": ""
} |
q29127 | FleetContext.certificates | train | def certificates(self):
"""
Access the certificates
:returns: twilio.rest.preview.deployed_devices.fleet.certificate.CertificateList
:rtype: twilio.rest.preview.deployed_devices.fleet.certificate.CertificateList
"""
| python | {
"resource": ""
} |
q29128 | FleetInstance.update | train | def update(self, friendly_name=values.unset,
default_deployment_sid=values.unset):
"""
Update the FleetInstance
:param unicode friendly_name: A human readable description for this Fleet.
| python | {
"resource": ""
} |
q29129 | DomainList.create | train | def create(self, domain_name, friendly_name=values.unset,
voice_url=values.unset, voice_method=values.unset,
voice_fallback_url=values.unset, voice_fallback_method=values.unset,
voice_status_callback_url=values.unset,
voice_status_callback_method=values.unset,... | python | {
"resource": ""
} |
q29130 | DomainList.get | train | def get(self, sid):
"""
Constructs a DomainContext
:param sid: The unique string that identifies the resource
:returns: twilio.rest.api.v2010.account.sip.domain.DomainContext
:rtype: | python | {
"resource": ""
} |
q29131 | DomainPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of DomainInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.sip.domain.DomainInstance
| python | {
"resource": ""
} |
q29132 | DomainContext.auth | train | def auth(self):
"""
Access the auth
:returns: twilio.rest.api.v2010.account.sip.domain.auth_types.AuthTypesList
:rtype: twilio.rest.api.v2010.account.sip.domain.auth_types.AuthTypesList
"""
if self._auth is None:
self._auth = AuthTypesList( | python | {
"resource": ""
} |
q29133 | DomainInstance.update | train | def update(self, friendly_name=values.unset, voice_fallback_method=values.unset,
voice_fallback_url=values.unset, voice_method=values.unset,
voice_status_callback_method=values.unset,
voice_status_callback_url=values.unset, voice_url=values.unset,
sip_registra... | python | {
"resource": ""
} |
q29134 | SyncListItemList.page | train | def page(self, order=values.unset, from_=values.unset, bounds=values.unset,
page_token=values.unset, page_number=values.unset,
page_size=values.unset):
"""
Retrieve a single page of SyncListItemInstance records from the API.
Request is executed immediately
:par... | python | {
"resource": ""
} |
q29135 | SyncListItemList.get | train | def get(self, index):
"""
Constructs a SyncListItemContext
:param index: The index
:returns: twilio.rest.preview.sync.service.sync_list.sync_list_item.SyncListItemContext
:rtype: twilio.rest.preview.sync.service.sync_list.sync_list_item.SyncListItemContext
"""
r... | python | {
"resource": ""
} |
q29136 | SyncListItemPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of SyncListItemInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.preview.sync.service.sync_list.sync_list_item.SyncListItemInstance
:rtype: twilio.rest.preview.sync.service.sync_list.sync_lis... | python | {
"resource": ""
} |
q29137 | SyncListItemContext.fetch | train | def fetch(self):
"""
Fetch a SyncListItemInstance
:returns: Fetched SyncListItemInstance
:rtype: twilio.rest.preview.sync.service.sync_list.sync_list_item.SyncListItemInstance
"""
params = values.of({})
payload = self._version.fetch(
'GET',
... | python | {
"resource": ""
} |
q29138 | BalanceList.fetch | train | def fetch(self):
"""
Fetch a BalanceInstance
:returns: Fetched BalanceInstance
:rtype: twilio.rest.api.v2010.account.balance.BalanceInstance
| python | {
"resource": ""
} |
q29139 | BalancePage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of BalanceInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.balance.BalanceInstance
| python | {
"resource": ""
} |
q29140 | RecordingList.create | train | def create(self, recording_status_callback_event=values.unset,
recording_status_callback=values.unset,
recording_status_callback_method=values.unset, trim=values.unset,
recording_channels=values.unset):
"""
Create a new RecordingInstance
:param unico... | python | {
"resource": ""
} |
q29141 | RecordingPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of RecordingInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.call.recording.RecordingInstance
| python | {
"resource": ""
} |
q29142 | TranscriptionPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of TranscriptionInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.recording.transcription.TranscriptionInstance
| python | {
"resource": ""
} |
q29143 | ModelBuildList.create | train | def create(self, status_callback=values.unset, unique_name=values.unset):
"""
Create a new ModelBuildInstance
:param unicode status_callback: The URL we should call using a POST method to send status information to your application
:param unicode unique_name: An application-defined stri... | python | {
"resource": ""
} |
q29144 | ModelBuildList.get | train | def get(self, sid):
"""
Constructs a ModelBuildContext
:param sid: The unique string that identifies the resource
:returns: twilio.rest.autopilot.v1.assistant.model_build.ModelBuildContext
:rtype: | python | {
"resource": ""
} |
q29145 | ModelBuildPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of ModelBuildInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.autopilot.v1.assistant.model_build.ModelBuildInstance
:rtype: | python | {
"resource": ""
} |
q29146 | ModelBuildInstance.update | train | def update(self, unique_name=values.unset):
"""
Update the ModelBuildInstance
:param unicode unique_name: An application-defined string that uniquely identifies the resource
:returns: Updated ModelBuildInstance
| python | {
"resource": ""
} |
q29147 | CredentialList.get | train | def get(self, sid):
"""
Constructs a CredentialContext
:param sid: The unique id that identifies the resource to fetch.
:returns: twilio.rest.api.v2010.account.sip.credential_list.credential.CredentialContext
:rtype: twilio.rest.api.v2010.account.sip.credential_list.credential.... | python | {
"resource": ""
} |
q29148 | CredentialPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of CredentialInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.sip.credential_list.credential.CredentialInstance
:rtype: twilio.rest.api.v2010.account.sip.credential_list.cr... | python | {
"resource": ""
} |
q29149 | FeedbackSummaryList.create | train | def create(self, start_date, end_date, include_subaccounts=values.unset,
status_callback=values.unset, status_callback_method=values.unset):
"""
Create a new FeedbackSummaryInstance
:param date start_date: Only include feedback given on or after this date
:param date end_... | python | {
"resource": ""
} |
q29150 | FeedbackSummaryList.get | train | def get(self, sid):
"""
Constructs a FeedbackSummaryContext
:param sid: A string that uniquely identifies this feedback summary resource
:returns: twilio.rest.api.v2010.account.call.feedback_summary.FeedbackSummaryContext
:rtype: | python | {
"resource": ""
} |
q29151 | FeedbackSummaryPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of FeedbackSummaryInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.call.feedback_summary.FeedbackSummaryInstance
:rtype: | python | {
"resource": ""
} |
q29152 | RoomRecordingList.get | train | def get(self, sid):
"""
Constructs a RoomRecordingContext
:param sid: The sid
:returns: twilio.rest.video.v1.room.recording.RoomRecordingContext
:rtype: | python | {
"resource": ""
} |
q29153 | RoomRecordingPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of RoomRecordingInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.video.v1.room.recording.RoomRecordingInstance
| python | {
"resource": ""
} |
q29154 | DialingPermissionsList.countries | train | def countries(self):
"""
Access the countries
:returns: twilio.rest.voice.v1.dialing_permissions.country.CountryList
:rtype: twilio.rest.voice.v1.dialing_permissions.country.CountryList
""" | python | {
"resource": ""
} |
q29155 | DialingPermissionsList.settings | train | def settings(self):
"""
Access the settings
:returns: twilio.rest.voice.v1.dialing_permissions.settings.SettingsList
:rtype: twilio.rest.voice.v1.dialing_permissions.settings.SettingsList
""" | python | {
"resource": ""
} |
q29156 | DialingPermissionsList.bulk_country_updates | train | def bulk_country_updates(self):
"""
Access the bulk_country_updates
:returns: twilio.rest.voice.v1.dialing_permissions.bulk_country_update.BulkCountryUpdateList
:rtype: twilio.rest.voice.v1.dialing_permissions.bulk_country_update.BulkCountryUpdateList
""" | python | {
"resource": ""
} |
q29157 | DependentPhoneNumberPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of DependentPhoneNumberInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.address.dependent_phone_number.DependentPhoneNumberInstance
:rtype: twilio.rest.api.v2010.account.ad... | python | {
"resource": ""
} |
q29158 | ServiceContext.verifications | train | def verifications(self):
"""
Access the verifications
:returns: twilio.rest.preview.acc_security.service.verification.VerificationList
:rtype: twilio.rest.preview.acc_security.service.verification.VerificationList
"""
| python | {
"resource": ""
} |
q29159 | ServiceContext.verification_checks | train | def verification_checks(self):
"""
Access the verification_checks
:returns: twilio.rest.preview.acc_security.service.verification_check.VerificationCheckList
:rtype: twilio.rest.preview.acc_security.service.verification_check.VerificationCheckList
"""
| python | {
"resource": ""
} |
q29160 | FeedbackList.get | train | def get(self):
"""
Constructs a FeedbackContext
:returns: twilio.rest.api.v2010.account.call.feedback.FeedbackContext
:rtype: twilio.rest.api.v2010.account.call.feedback.FeedbackContext
| python | {
"resource": ""
} |
q29161 | FeedbackContext.fetch | train | def fetch(self):
"""
Fetch a FeedbackInstance
:returns: Fetched FeedbackInstance
:rtype: twilio.rest.api.v2010.account.call.feedback.FeedbackInstance
"""
params = values.of({})
| python | {
"resource": ""
} |
q29162 | FeedbackInstance.update | train | def update(self, quality_score, issue=values.unset):
"""
Update the FeedbackInstance
:param unicode quality_score: The call quality expressed as an integer from 1 to 5
:param FeedbackInstance.Issues issue: Issues experienced during the call
:returns: Updated FeedbackInstance
... | python | {
"resource": ""
} |
q29163 | MobilePage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of MobileInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.incoming_phone_number.mobile.MobileInstance
:rtype: | python | {
"resource": ""
} |
q29164 | ServiceContext.sessions | train | def sessions(self):
"""
Access the sessions
:returns: twilio.rest.proxy.v1.service.session.SessionList
:rtype: twilio.rest.proxy.v1.service.session.SessionList
| python | {
"resource": ""
} |
q29165 | ConfigurationContext.create | train | def create(self):
"""
Create a new ConfigurationInstance
:returns: Newly created ConfigurationInstance
:rtype: twilio.rest.flex_api.v1.configuration.ConfigurationInstance
"""
data = values.of({})
payload = self._version.create(
| python | {
"resource": ""
} |
q29166 | LastMonthPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of LastMonthInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.usage.record.last_month.LastMonthInstance
:rtype: | python | {
"resource": ""
} |
q29167 | DocumentList.create | train | def create(self, unique_name=values.unset, data=values.unset):
"""
Create a new DocumentInstance
:param unicode unique_name: The unique_name
:param dict data: The data
:returns: Newly created DocumentInstance
:rtype: twilio.rest.preview.sync.service.document.DocumentIns... | python | {
"resource": ""
} |
q29168 | DocumentList.get | train | def get(self, sid):
"""
Constructs a DocumentContext
:param sid: The sid
:returns: twilio.rest.preview.sync.service.document.DocumentContext
:rtype: | python | {
"resource": ""
} |
q29169 | DocumentPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of DocumentInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.preview.sync.service.document.DocumentInstance
| python | {
"resource": ""
} |
q29170 | DocumentContext.document_permissions | train | def document_permissions(self):
"""
Access the document_permissions
:returns: twilio.rest.preview.sync.service.document.document_permission.DocumentPermissionList
:rtype: twilio.rest.preview.sync.service.document.document_permission.DocumentPermissionList
"""
if self._do... | python | {
"resource": ""
} |
q29171 | TwilioHttpClient.request | train | def request(self, method, url, params=None, data=None, headers=None, auth=None, timeout=None,
allow_redirects=False):
"""
Make an HTTP Request with parameters provided.
:param str method: The HTTP method to use
:param str url: The URL to request
:param dict param... | python | {
"resource": ""
} |
q29172 | InteractionList.get | train | def get(self, sid):
"""
Constructs a InteractionContext
:param sid: The unique string that identifies the resource
:returns: twilio.rest.proxy.v1.service.session.interaction.InteractionContext
:rtype: twilio.rest.proxy.v1.service.session.interaction.InteractionContext
"... | python | {
"resource": ""
} |
q29173 | InteractionPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of InteractionInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.proxy.v1.service.session.interaction.InteractionInstance
| python | {
"resource": ""
} |
q29174 | OutgoingCallerIdList.get | train | def get(self, sid):
"""
Constructs a OutgoingCallerIdContext
:param sid: The unique string that identifies the resource
:returns: twilio.rest.api.v2010.account.outgoing_caller_id.OutgoingCallerIdContext
:rtype: | python | {
"resource": ""
} |
q29175 | OutgoingCallerIdPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of OutgoingCallerIdInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.outgoing_caller_id.OutgoingCallerIdInstance
:rtype: | python | {
"resource": ""
} |
q29176 | UserList.create | train | def create(self, identity, role_sid=values.unset, attributes=values.unset,
friendly_name=values.unset):
"""
Create a new UserInstance
:param unicode identity: The `identity` value that identifies the new resource's User
:param unicode role_sid: The SID of the Role assigne... | python | {
"resource": ""
} |
q29177 | UserList.get | train | def get(self, sid):
"""
Constructs a UserContext
:param sid: The unique string that identifies the resource
:returns: twilio.rest.chat.v2.service.user.UserContext
| python | {
"resource": ""
} |
q29178 | UserPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of UserInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.chat.v2.service.user.UserInstance
| python | {
"resource": ""
} |
q29179 | UserContext.user_channels | train | def user_channels(self):
"""
Access the user_channels
:returns: twilio.rest.chat.v2.service.user.user_channel.UserChannelList
:rtype: twilio.rest.chat.v2.service.user.user_channel.UserChannelList
"""
if self._user_channels is None:
self._user_channels = UserC... | python | {
"resource": ""
} |
q29180 | UserContext.user_bindings | train | def user_bindings(self):
"""
Access the user_bindings
:returns: twilio.rest.chat.v2.service.user.user_binding.UserBindingList
:rtype: twilio.rest.chat.v2.service.user.user_binding.UserBindingList
"""
if self._user_bindings is None:
self._user_bindings = UserB... | python | {
"resource": ""
} |
q29181 | FormContext.fetch | train | def fetch(self):
"""
Fetch a FormInstance
:returns: Fetched FormInstance
:rtype: twilio.rest.authy.v1.form.FormInstance
"""
params = values.of({})
payload = self._version.fetch(
'GET', | python | {
"resource": ""
} |
q29182 | InviteList.create | train | def create(self, identity, role_sid=values.unset):
"""
Create a new InviteInstance
:param unicode identity: The `identity` value that identifies the new resource's User
:param unicode role_sid: The Role assigned to the new member
:returns: Newly created InviteInstance
| python | {
"resource": ""
} |
q29183 | InviteList.get | train | def get(self, sid):
"""
Constructs a InviteContext
:param sid: The unique string that identifies the resource
:returns: twilio.rest.chat.v2.service.channel.invite.InviteContext
:rtype: twilio.rest.chat.v2.service.channel.invite.InviteContext
"""
return InviteCon... | python | {
"resource": ""
} |
q29184 | InvitePage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of InviteInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.chat.v2.service.channel.invite.InviteInstance
:rtype: twilio.rest.chat.v2.service.channel.invite.InviteInstance
"""
... | python | {
"resource": ""
} |
q29185 | InviteContext.fetch | train | def fetch(self):
"""
Fetch a InviteInstance
:returns: Fetched InviteInstance
:rtype: twilio.rest.chat.v2.service.channel.invite.InviteInstance
"""
params = values.of({})
payload = self._version.fetch(
'GET',
self._uri,
params=... | python | {
"resource": ""
} |
q29186 | IpAddressList.get | train | def get(self, sid):
"""
Constructs a IpAddressContext
:param sid: A string that identifies the IpAddress resource to fetch
:returns: twilio.rest.api.v2010.account.sip.ip_access_control_list.ip_address.IpAddressContext
:rtype: twilio.rest.api.v2010.account.sip.ip_access_control_... | python | {
"resource": ""
} |
q29187 | IpAddressPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of IpAddressInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.api.v2010.account.sip.ip_access_control_list.ip_address.IpAddressInstance
:rtype: twilio.rest.api.v2010.account.sip.ip_access_con... | python | {
"resource": ""
} |
q29188 | IpAddressContext.fetch | train | def fetch(self):
"""
Fetch a IpAddressInstance
:returns: Fetched IpAddressInstance
:rtype: twilio.rest.api.v2010.account.sip.ip_access_control_list.ip_address.IpAddressInstance
"""
params = values.of({})
payload = self._version.fetch(
'GET',
... | python | {
"resource": ""
} |
q29189 | TaskContext.fields | train | def fields(self):
"""
Access the fields
:returns: twilio.rest.autopilot.v1.assistant.task.field.FieldList
:rtype: twilio.rest.autopilot.v1.assistant.task.field.FieldList
| python | {
"resource": ""
} |
q29190 | TaskContext.samples | train | def samples(self):
"""
Access the samples
:returns: twilio.rest.autopilot.v1.assistant.task.sample.SampleList
:rtype: twilio.rest.autopilot.v1.assistant.task.sample.SampleList
| python | {
"resource": ""
} |
q29191 | TaskContext.task_actions | train | def task_actions(self):
"""
Access the task_actions
:returns: twilio.rest.autopilot.v1.assistant.task.task_actions.TaskActionsList
:rtype: twilio.rest.autopilot.v1.assistant.task.task_actions.TaskActionsList
"""
if self._task_actions is None:
self._task_actio... | python | {
"resource": ""
} |
q29192 | AssetList.create | train | def create(self, friendly_name):
"""
Create a new AssetInstance
:param unicode friendly_name: The friendly_name
:returns: Newly created AssetInstance
:rtype: twilio.rest.serverless.v1.service.asset.AssetInstance
"""
data = values.of({'FriendlyName': friendly_nam... | python | {
"resource": ""
} |
q29193 | AssetList.get | train | def get(self, sid):
"""
Constructs a AssetContext
:param sid: The sid
:returns: twilio.rest.serverless.v1.service.asset.AssetContext
| python | {
"resource": ""
} |
q29194 | AssetPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of AssetInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.serverless.v1.service.asset.AssetInstance
| python | {
"resource": ""
} |
q29195 | AssetContext.asset_versions | train | def asset_versions(self):
"""
Access the asset_versions
:returns: twilio.rest.serverless.v1.service.asset.asset_version.AssetVersionList
:rtype: twilio.rest.serverless.v1.service.asset.asset_version.AssetVersionList
"""
if self._asset_versions is None:
self._... | python | {
"resource": ""
} |
q29196 | QueryList.page | train | def page(self, language=values.unset, model_build=values.unset,
status=values.unset, page_token=values.unset, page_number=values.unset,
page_size=values.unset):
"""
Retrieve a single page of QueryInstance records from the API.
Request is executed immediately
:p... | python | {
"resource": ""
} |
q29197 | QueryList.get | train | def get(self, sid):
"""
Constructs a QueryContext
:param sid: The unique string that identifies the resource
:returns: twilio.rest.autopilot.v1.assistant.query.QueryContext
:rtype: | python | {
"resource": ""
} |
q29198 | QueryPage.get_instance | train | def get_instance(self, payload):
"""
Build an instance of QueryInstance
:param dict payload: Payload response from the API
:returns: twilio.rest.autopilot.v1.assistant.query.QueryInstance
| python | {
"resource": ""
} |
q29199 | DeviceList.create | train | def create(self, unique_name=values.unset, friendly_name=values.unset,
identity=values.unset, deployment_sid=values.unset,
enabled=values.unset):
"""
Create a new DeviceInstance
:param unicode unique_name: A unique, addressable name of this Device.
:param u... | python | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.