_id
stringlengths
2
7
title
stringlengths
3
151
partition
stringclasses
3 values
text
stringlengths
83
13k
language
stringclasses
1 value
meta_information
dict
q26200
AccountContext.getConferences
train
protected function getConferences() { if (!$this->_conferences) { $this->_conferences = new ConferenceList($this->version, $this->solution['sid']); } return $this->_conferences; }
php
{ "resource": "" }
q26201
AccountContext.getConnectApps
train
protected function getConnectApps() { if (!$this->_connectApps) { $this->_connectApps = new ConnectAppList($this->version, $this->solution['sid']); } return $this->_connectApps; }
php
{ "resource": "" }
q26202
AccountContext.getIncomingPhoneNumbers
train
protected function getIncomingPhoneNumbers() { if (!$this->_incomingPhoneNumbers) { $this->_incomingPhoneNumbers = new IncomingPhoneNumberList($this->version, $this->solution['sid']); } return $this->_incomingPhoneNumbers; }
php
{ "resource": "" }
q26203
AccountContext.getKeys
train
protected function getKeys() { if (!$this->_keys) { $this->_keys = new KeyList($this->version, $this->solution['sid']); } return $this->_keys; }
php
{ "resource": "" }
q26204
AccountContext.getNewKeys
train
protected function getNewKeys() { if (!$this->_newKeys) { $this->_newKeys = new NewKeyList($this->version, $this->solution['sid']); } return $this->_newKeys; }
php
{ "resource": "" }
q26205
AccountContext.getNewSigningKeys
train
protected function getNewSigningKeys() { if (!$this->_newSigningKeys) { $this->_newSigningKeys = new NewSigningKeyList($this->version, $this->solution['sid']); } return $this->_newSigningKeys; }
php
{ "resource": "" }
q26206
AccountContext.getOutgoingCallerIds
train
protected function getOutgoingCallerIds() { if (!$this->_outgoingCallerIds) { $this->_outgoingCallerIds = new OutgoingCallerIdList($this->version, $this->solution['sid']); } return $this->_outgoingCallerIds; }
php
{ "resource": "" }
q26207
AccountContext.getQueues
train
protected function getQueues() { if (!$this->_queues) { $this->_queues = new QueueList($this->version, $this->solution['sid']); } return $this->_queues; }
php
{ "resource": "" }
q26208
AccountContext.getSigningKeys
train
protected function getSigningKeys() { if (!$this->_signingKeys) { $this->_signingKeys = new SigningKeyList($this->version, $this->solution['sid']); } return $this->_signingKeys; }
php
{ "resource": "" }
q26209
AccountContext.getSip
train
protected function getSip() { if (!$this->_sip) { $this->_sip = new SipList($this->version, $this->solution['sid']); } return $this->_sip; }
php
{ "resource": "" }
q26210
AccountContext.getTokens
train
protected function getTokens() { if (!$this->_tokens) { $this->_tokens = new TokenList($this->version, $this->solution['sid']); } return $this->_tokens; }
php
{ "resource": "" }
q26211
AccountContext.getTranscriptions
train
protected function getTranscriptions() { if (!$this->_transcriptions) { $this->_transcriptions = new TranscriptionList($this->version, $this->solution['sid']); } return $this->_transcriptions; }
php
{ "resource": "" }
q26212
AccountContext.getUsage
train
protected function getUsage() { if (!$this->_usage) { $this->_usage = new UsageList($this->version, $this->solution['sid']); } return $this->_usage; }
php
{ "resource": "" }
q26213
AccountContext.getValidationRequests
train
protected function getValidationRequests() { if (!$this->_validationRequests) { $this->_validationRequests = new ValidationRequestList($this->version, $this->solution['sid']); } return $this->_validationRequests; }
php
{ "resource": "" }
q26214
SyncListItemList.create
train
public function create($data) { $data = Values::of(array('Data' => Serialize::jsonObject($data), )); $payload = $this->version->create( 'POST', $this->uri, array(), $data ); return new SyncListItemInstance( $this->version, ...
php
{ "resource": "" }
q26215
SyncListItemList.page
train
public function page($options = array(), $pageSize = Values::NONE, $pageToken = Values::NONE, $pageNumber = Values::NONE) { $options = new Values($options); $params = Values::of(array( 'Order' => $options['order'], 'From' => $options['from'], 'Bounds' => $options['bou...
php
{ "resource": "" }
q26216
SyncListItemList.getPage
train
public function getPage($targetUrl) { $response = $this->version->getDomain()->getClient()->request( 'GET', $targetUrl ); return new SyncListItemPage($this->version, $response, $this->solution); }
php
{ "resource": "" }
q26217
SyncListItemList.getContext
train
public function getContext($index) { return new SyncListItemContext( $this->version, $this->solution['serviceSid'], $this->solution['listSid'], $index ); }
php
{ "resource": "" }
q26218
ConfigurationContext.fetch
train
public function fetch($options = array()) { $options = new Values($options); $params = Values::of(array('UiVersion' => $options['uiVersion'], )); $payload = $this->version->fetch( 'GET', $this->uri, $params ); return new ConfigurationInstanc...
php
{ "resource": "" }
q26219
ConfigurationContext.create
train
public function create() { $data = Values::of(array()); $payload = $this->version->create( 'POST', $this->uri, array(), $data ); return new ConfigurationInstance($this->version, $payload); }
php
{ "resource": "" }
q26220
FunctionContext.getFunctionVersions
train
protected function getFunctionVersions() { if (!$this->_functionVersions) { $this->_functionVersions = new FunctionVersionList( $this->version, $this->solution['serviceSid'], $this->solution['sid'] ); } return $this->_funct...
php
{ "resource": "" }
q26221
UserContext.getUserChannels
train
protected function getUserChannels() { if (!$this->_userChannels) { $this->_userChannels = new UserChannelList( $this->version, $this->solution['serviceSid'], $this->solution['sid'] ); } return $this->_userChannels; }
php
{ "resource": "" }
q26222
ChannelContext.getMembers
train
protected function getMembers() { if (!$this->_members) { $this->_members = new MemberList( $this->version, $this->solution['serviceSid'], $this->solution['sid'] ); } return $this->_members; }
php
{ "resource": "" }
q26223
ChannelContext.getMessages
train
protected function getMessages() { if (!$this->_messages) { $this->_messages = new MessageList( $this->version, $this->solution['serviceSid'], $this->solution['sid'] ); } return $this->_messages; }
php
{ "resource": "" }
q26224
ChannelContext.getInvites
train
protected function getInvites() { if (!$this->_invites) { $this->_invites = new InviteList( $this->version, $this->solution['serviceSid'], $this->solution['sid'] ); } return $this->_invites; }
php
{ "resource": "" }
q26225
FieldTypeList.create
train
public function create($uniqueName, $options = array()) { $options = new Values($options); $data = Values::of(array('UniqueName' => $uniqueName, 'FriendlyName' => $options['friendlyName'], )); $payload = $this->version->create( 'POST', $this->uri, array(), ...
php
{ "resource": "" }
q26226
DocumentPermissionList.getContext
train
public function getContext($identity) { return new DocumentPermissionContext( $this->version, $this->solution['serviceSid'], $this->solution['documentSid'], $identity ); }
php
{ "resource": "" }
q26227
InstalledAddOnExtensionContext.update
train
public function update($enabled) { $data = Values::of(array('Enabled' => Serialize::booleanToString($enabled), )); $payload = $this->version->update( 'POST', $this->uri, array(), $data ); return new InstalledAddOnExtensionInstance( ...
php
{ "resource": "" }
q26228
ServiceContext.getEnvironments
train
protected function getEnvironments() { if (!$this->_environments) { $this->_environments = new EnvironmentList($this->version, $this->solution['sid']); } return $this->_environments; }
php
{ "resource": "" }
q26229
ServiceContext.getFunctions
train
protected function getFunctions() { if (!$this->_functions) { $this->_functions = new FunctionList($this->version, $this->solution['sid']); } return $this->_functions; }
php
{ "resource": "" }
q26230
ServiceContext.getAssets
train
protected function getAssets() { if (!$this->_assets) { $this->_assets = new AssetList($this->version, $this->solution['sid']); } return $this->_assets; }
php
{ "resource": "" }
q26231
ServiceContext.getBuilds
train
protected function getBuilds() { if (!$this->_builds) { $this->_builds = new BuildList($this->version, $this->solution['sid']); } return $this->_builds; }
php
{ "resource": "" }
q26232
SampleList.create
train
public function create($language, $taggedText, $options = array()) { $options = new Values($options); $data = Values::of(array( 'Language' => $language, 'TaggedText' => $taggedText, 'SourceChannel' => $options['sourceChannel'], )); $payload = $this->...
php
{ "resource": "" }
q26233
SampleList.getContext
train
public function getContext($sid) { return new SampleContext( $this->version, $this->solution['assistantSid'], $this->solution['taskSid'], $sid ); }
php
{ "resource": "" }
q26234
SyncStreamContext.getStreamMessages
train
protected function getStreamMessages() { if (!$this->_streamMessages) { $this->_streamMessages = new StreamMessageList( $this->version, $this->solution['serviceSid'], $this->solution['sid'] ); } return $this->_streamMessage...
php
{ "resource": "" }
q26235
CompositionHookList.create
train
public function create($friendlyName, $options = array()) { $options = new Values($options); $data = Values::of(array( 'FriendlyName' => $friendlyName, 'Enabled' => Serialize::booleanToString($options['enabled']), 'VideoLayout' => Serialize::jsonObject($options['vide...
php
{ "resource": "" }
q26236
AddOnResultContext.getPayloads
train
protected function getPayloads() { if (!$this->_payloads) { $this->_payloads = new PayloadList( $this->version, $this->solution['accountSid'], $this->solution['referenceSid'], $this->solution['sid'] ); } ret...
php
{ "resource": "" }
q26237
ParticipantContext.getMessageInteractions
train
protected function getMessageInteractions() { if (!$this->_messageInteractions) { $this->_messageInteractions = new MessageInteractionList( $this->version, $this->solution['serviceSid'], $this->solution['sessionSid'], $this->solution['s...
php
{ "resource": "" }
q26238
VerificationCheckList.create
train
public function create($code, $options = array()) { $options = new Values($options); $data = Values::of(array( 'Code' => $code, 'To' => $options['to'], 'VerificationSid' => $options['verificationSid'], 'Amount' => $options['amount'], 'Payee' =...
php
{ "resource": "" }
q26239
RoleList.create
train
public function create($friendlyName, $type, $permission) { $data = Values::of(array( 'FriendlyName' => $friendlyName, 'Type' => $type, 'Permission' => Serialize::map($permission, function($e) { return $e; }), )); $payload = $this->version->create( ...
php
{ "resource": "" }
q26240
RecordingContext.update
train
public function update($status, $options = array()) { $options = new Values($options); $data = Values::of(array('Status' => $status, 'PauseBehavior' => $options['pauseBehavior'], )); $payload = $this->version->update( 'POST', $this->uri, array(), ...
php
{ "resource": "" }
q26241
FleetContext.getDevices
train
protected function getDevices() { if (!$this->_devices) { $this->_devices = new DeviceList($this->version, $this->solution['sid']); } return $this->_devices; }
php
{ "resource": "" }
q26242
FleetContext.getCertificates
train
protected function getCertificates() { if (!$this->_certificates) { $this->_certificates = new CertificateList($this->version, $this->solution['sid']); } return $this->_certificates; }
php
{ "resource": "" }
q26243
EnvironmentContext.getVariables
train
protected function getVariables() { if (!$this->_variables) { $this->_variables = new VariableList( $this->version, $this->solution['serviceSid'], $this->solution['sid'] ); } return $this->_variables; }
php
{ "resource": "" }
q26244
EnvironmentContext.getDeployments
train
protected function getDeployments() { if (!$this->_deployments) { $this->_deployments = new DeploymentList( $this->version, $this->solution['serviceSid'], $this->solution['sid'] ); } return $this->_deployments; }
php
{ "resource": "" }
q26245
FlowContext.getEngagements
train
protected function getEngagements() { if (!$this->_engagements) { $this->_engagements = new EngagementList($this->version, $this->solution['sid']); } return $this->_engagements; }
php
{ "resource": "" }
q26246
FlowContext.getExecutions
train
protected function getExecutions() { if (!$this->_executions) { $this->_executions = new ExecutionList($this->version, $this->solution['sid']); } return $this->_executions; }
php
{ "resource": "" }
q26247
AddressContext.getDependentPhoneNumbers
train
protected function getDependentPhoneNumbers() { if (!$this->_dependentPhoneNumbers) { $this->_dependentPhoneNumbers = new DependentPhoneNumberList( $this->version, $this->solution['accountSid'], $this->solution['sid'] ); } ...
php
{ "resource": "" }
q26248
DeploymentList.create
train
public function create($buildSid) { $data = Values::of(array('BuildSid' => $buildSid, )); $payload = $this->version->create( 'POST', $this->uri, array(), $data ); return new DeploymentInstance( $this->version, $pay...
php
{ "resource": "" }
q26249
DeploymentList.getContext
train
public function getContext($sid) { return new DeploymentContext( $this->version, $this->solution['serviceSid'], $this->solution['environmentSid'], $sid ); }
php
{ "resource": "" }
q26250
ShortCodeList.create
train
public function create($shortCodeSid) { $data = Values::of(array('ShortCodeSid' => $shortCodeSid, )); $payload = $this->version->create( 'POST', $this->uri, array(), $data ); return new ShortCodeInstance($this->version, $payload, $this->s...
php
{ "resource": "" }
q26251
TerminatingSipDomainList.create
train
public function create($sipDomainSid) { $data = Values::of(array('SipDomainSid' => $sipDomainSid, )); $payload = $this->version->create( 'POST', $this->uri, array(), $data ); return new TerminatingSipDomainInstance($this->version, $payloa...
php
{ "resource": "" }
q26252
RecordingList.getContext
train
public function getContext($sid) { return new RecordingContext( $this->version, $this->solution['accountSid'], $this->solution['callSid'], $sid ); }
php
{ "resource": "" }
q26253
CompositionList.create
train
public function create($roomSid, $options = array()) { $options = new Values($options); $data = Values::of(array( 'RoomSid' => $roomSid, 'VideoLayout' => Serialize::jsonObject($options['videoLayout']), 'AudioSources' => Serialize::map($options['audioSources'], functi...
php
{ "resource": "" }
q26254
ServiceContext.getEntities
train
protected function getEntities() { if (!$this->_entities) { $this->_entities = new EntityList($this->version, $this->solution['sid']); } return $this->_entities; }
php
{ "resource": "" }
q26255
StepContextList.getContext
train
public function getContext() { return new StepContextContext( $this->version, $this->solution['flowSid'], $this->solution['engagementSid'], $this->solution['stepSid'] ); }
php
{ "resource": "" }
q26256
AddOnResultList.getContext
train
public function getContext($sid) { return new AddOnResultContext( $this->version, $this->solution['accountSid'], $this->solution['referenceSid'], $sid ); }
php
{ "resource": "" }
q26257
IpAccessControlListContext.getIpAddresses
train
protected function getIpAddresses() { if (!$this->_ipAddresses) { $this->_ipAddresses = new IpAddressList( $this->version, $this->solution['accountSid'], $this->solution['sid'] ); } return $this->_ipAddresses; }
php
{ "resource": "" }
q26258
MediaList.getContext
train
public function getContext($sid) { return new MediaContext( $this->version, $this->solution['accountSid'], $this->solution['messageSid'], $sid ); }
php
{ "resource": "" }
q26259
DocumentPermissionInstance.update
train
public function update($read, $write, $manage) { return $this->proxy()->update($read, $write, $manage); }
php
{ "resource": "" }
q26260
ServiceContext.getVerifications
train
protected function getVerifications() { if (!$this->_verifications) { $this->_verifications = new VerificationList($this->version, $this->solution['sid']); } return $this->_verifications; }
php
{ "resource": "" }
q26261
ServiceContext.getVerificationChecks
train
protected function getVerificationChecks() { if (!$this->_verificationChecks) { $this->_verificationChecks = new VerificationCheckList($this->version, $this->solution['sid']); } return $this->_verificationChecks; }
php
{ "resource": "" }
q26262
DocumentContext.update
train
public function update($data) { $data = Values::of(array('Data' => Serialize::jsonObject($data), )); $payload = $this->version->update( 'POST', $this->uri, array(), $data ); return new DocumentInstance( $this->version, ...
php
{ "resource": "" }
q26263
DocumentContext.getDocumentPermissions
train
protected function getDocumentPermissions() { if (!$this->_documentPermissions) { $this->_documentPermissions = new DocumentPermissionList( $this->version, $this->solution['serviceSid'], $this->solution['sid'] ); } return $...
php
{ "resource": "" }
q26264
WorkerContext.getReservations
train
protected function getReservations() { if (!$this->_reservations) { $this->_reservations = new ReservationList( $this->version, $this->solution['workspaceSid'], $this->solution['sid'] ); } return $this->_reservations; }
php
{ "resource": "" }
q26265
WorkerContext.getWorkerChannels
train
protected function getWorkerChannels() { if (!$this->_workerChannels) { $this->_workerChannels = new WorkerChannelList( $this->version, $this->solution['workspaceSid'], $this->solution['sid'] ); } return $this->_workerChann...
php
{ "resource": "" }
q26266
ServiceContext.getSyncStreams
train
protected function getSyncStreams() { if (!$this->_syncStreams) { $this->_syncStreams = new SyncStreamList($this->version, $this->solution['sid']); } return $this->_syncStreams; }
php
{ "resource": "" }
q26267
ScopeURI.parse
train
public static function parse($uri) { if (strpos($uri, 'scope:') !== 0) { throw new \UnexpectedValueException( 'Not a scope URI according to scheme'); } $parts = explode('?', $uri, 1); $params = null; if (count($parts) > 1) { parse_str($pa...
php
{ "resource": "" }
q26268
CommandList.create
train
public function create($command, $options = array()) { $options = new Values($options); $data = Values::of(array( 'Command' => $command, 'Sim' => $options['sim'], 'CallbackMethod' => $options['callbackMethod'], 'CallbackUrl' => $options['callbackUrl'], ...
php
{ "resource": "" }
q26269
SyncListPermissionContext.update
train
public function update($read, $write, $manage) { $data = Values::of(array( 'Read' => Serialize::booleanToString($read), 'Write' => Serialize::booleanToString($write), 'Manage' => Serialize::booleanToString($manage), )); $payload = $this->version->update( ...
php
{ "resource": "" }
q26270
AssetContext.getAssetVersions
train
protected function getAssetVersions() { if (!$this->_assetVersions) { $this->_assetVersions = new AssetVersionList( $this->version, $this->solution['serviceSid'], $this->solution['sid'] ); } return $this->_assetVersions; ...
php
{ "resource": "" }
q26271
AssistantContext.getFieldTypes
train
protected function getFieldTypes() { if (!$this->_fieldTypes) { $this->_fieldTypes = new FieldTypeList($this->version, $this->solution['sid']); } return $this->_fieldTypes; }
php
{ "resource": "" }
q26272
AssistantContext.getModelBuilds
train
protected function getModelBuilds() { if (!$this->_modelBuilds) { $this->_modelBuilds = new ModelBuildList($this->version, $this->solution['sid']); } return $this->_modelBuilds; }
php
{ "resource": "" }
q26273
AssistantContext.getQueries
train
protected function getQueries() { if (!$this->_queries) { $this->_queries = new QueryList($this->version, $this->solution['sid']); } return $this->_queries; }
php
{ "resource": "" }
q26274
AssistantContext.getStyleSheet
train
protected function getStyleSheet() { if (!$this->_styleSheet) { $this->_styleSheet = new StyleSheetList($this->version, $this->solution['sid']); } return $this->_styleSheet; }
php
{ "resource": "" }
q26275
AssistantContext.getDefaults
train
protected function getDefaults() { if (!$this->_defaults) { $this->_defaults = new DefaultsList($this->version, $this->solution['sid']); } return $this->_defaults; }
php
{ "resource": "" }
q26276
AssistantContext.getDialogues
train
protected function getDialogues() { if (!$this->_dialogues) { $this->_dialogues = new DialogueList($this->version, $this->solution['sid']); } return $this->_dialogues; }
php
{ "resource": "" }
q26277
TrunkContext.getOriginationUrls
train
protected function getOriginationUrls() { if (!$this->_originationUrls) { $this->_originationUrls = new OriginationUrlList($this->version, $this->solution['sid']); } return $this->_originationUrls; }
php
{ "resource": "" }
q26278
TrunkContext.getCredentialsLists
train
protected function getCredentialsLists() { if (!$this->_credentialsLists) { $this->_credentialsLists = new CredentialListList($this->version, $this->solution['sid']); } return $this->_credentialsLists; }
php
{ "resource": "" }
q26279
TrunkContext.getTerminatingSipDomains
train
protected function getTerminatingSipDomains() { if (!$this->_terminatingSipDomains) { $this->_terminatingSipDomains = new TerminatingSipDomainList( $this->version, $this->solution['sid'] ); } return $this->_terminatingSipDomains; }
php
{ "resource": "" }
q26280
RatePlanList.create
train
public function create($options = array()) { $options = new Values($options); $data = Values::of(array( 'UniqueName' => $options['uniqueName'], 'FriendlyName' => $options['friendlyName'], 'DataEnabled' => Serialize::booleanToString($options['dataEnabled']), ...
php
{ "resource": "" }
q26281
CredentialList.getContext
train
public function getContext($sid) { return new CredentialContext( $this->version, $this->solution['accountSid'], $this->solution['credentialListSid'], $sid ); }
php
{ "resource": "" }
q26282
CallList.create
train
public function create($to, $from, $options = array()) { $options = new Values($options); $data = Values::of(array( 'To' => $to, 'From' => $from, 'Url' => $options['url'], 'ApplicationSid' => $options['applicationSid'], 'Method' => $options['m...
php
{ "resource": "" }
q26283
CallList.getFeedbackSummaries
train
protected function getFeedbackSummaries() { if (!$this->_feedbackSummaries) { $this->_feedbackSummaries = new FeedbackSummaryList($this->version, $this->solution['accountSid']); } return $this->_feedbackSummaries; }
php
{ "resource": "" }
q26284
MessageList.getContext
train
public function getContext($sid) { return new MessageContext( $this->version, $this->solution['serviceSid'], $this->solution['channelSid'], $sid ); }
php
{ "resource": "" }
q26285
VoiceList.getNumbers
train
protected function getNumbers() { if (!$this->_numbers) { $this->_numbers = new NumberList($this->version); } return $this->_numbers; }
php
{ "resource": "" }
q26286
AssignedAddOnExtensionList.getContext
train
public function getContext($sid) { return new AssignedAddOnExtensionContext( $this->version, $this->solution['accountSid'], $this->solution['resourceSid'], $this->solution['assignedAddOnSid'], $sid ); }
php
{ "resource": "" }
q26287
ValidationRequestList.create
train
public function create($phoneNumber, $options = array()) { $options = new Values($options); $data = Values::of(array( 'PhoneNumber' => $phoneNumber, 'FriendlyName' => $options['friendlyName'], 'CallDelay' => $options['callDelay'], 'Extension' => $options[...
php
{ "resource": "" }
q26288
ChallengeList.create
train
public function create($options = array()) { $options = new Values($options); $data = Values::of(array( 'ExpirationDate' => Serialize::iso8601DateTime($options['expirationDate']), 'Details' => $options['details'], 'HiddenDetails' => $options['hiddenDetails'], ...
php
{ "resource": "" }
q26289
ChallengeList.getContext
train
public function getContext($sid) { return new ChallengeContext( $this->version, $this->solution['serviceSid'], $this->solution['identity'], $this->solution['factorSid'], $sid ); }
php
{ "resource": "" }
q26290
FieldValueList.create
train
public function create($language, $value, $options = array()) { $options = new Values($options); $data = Values::of(array( 'Language' => $language, 'Value' => $value, 'SynonymOf' => $options['synonymOf'], )); $payload = $this->version->create( ...
php
{ "resource": "" }
q26291
FieldValueList.getContext
train
public function getContext($sid) { return new FieldValueContext( $this->version, $this->solution['assistantSid'], $this->solution['fieldTypeSid'], $sid ); }
php
{ "resource": "" }
q26292
BulkCountryUpdateList.create
train
public function create($updateRequest) { $data = Values::of(array('UpdateRequest' => $updateRequest, )); $payload = $this->version->create( 'POST', $this->uri, array(), $data ); return new BulkCountryUpdateInstance($this->version, $payloa...
php
{ "resource": "" }
q26293
SessionContext.update
train
public function update($options = array()) { $options = new Values($options); $data = Values::of(array( 'FriendlyName' => $options['friendlyName'], 'Attributes' => $options['attributes'], 'DateCreated' => Serialize::iso8601DateTime($options['dateCreated']), ...
php
{ "resource": "" }
q26294
SessionContext.getWebhooks
train
protected function getWebhooks() { if (!$this->_webhooks) { $this->_webhooks = new WebhookList($this->version, $this->solution['sid']); } return $this->_webhooks; }
php
{ "resource": "" }
q26295
InteractionList.getContext
train
public function getContext($sid) { return new InteractionContext( $this->version, $this->solution['serviceSid'], $this->solution['sessionSid'], $sid ); }
php
{ "resource": "" }
q26296
WorkflowContext.update
train
public function update($options = array()) { $options = new Values($options); $data = Values::of(array( 'FriendlyName' => $options['friendlyName'], 'AssignmentCallbackUrl' => $options['assignmentCallbackUrl'], 'FallbackAssignmentCallbackUrl' => $options['fallbackAssi...
php
{ "resource": "" }
q26297
SyncMapItemList.create
train
public function create($key, $data) { $data = Values::of(array('Key' => $key, 'Data' => Serialize::jsonObject($data), )); $payload = $this->version->create( 'POST', $this->uri, array(), $data ); return new SyncMapItemInstance( ...
php
{ "resource": "" }
q26298
SyncMapItemList.getContext
train
public function getContext($key) { return new SyncMapItemContext( $this->version, $this->solution['serviceSid'], $this->solution['mapSid'], $key ); }
php
{ "resource": "" }
q26299
BindingList.create
train
public function create($identity, $bindingType, $address, $options = array()) { $options = new Values($options); $data = Values::of(array( 'Identity' => $identity, 'BindingType' => $bindingType, 'Address' => $address, 'Tag' => Serialize::map($options['tag...
php
{ "resource": "" }