_id
stringlengths
2
7
title
stringlengths
3
151
partition
stringclasses
3 values
text
stringlengths
83
13k
language
stringclasses
1 value
meta_information
dict
q26100
QueryList.create
train
public function create($language, $query, $options = array()) { $options = new Values($options); $data = Values::of(array( 'Language' => $language, 'Query' => $query, 'Tasks' => $options['tasks'], 'ModelBuild' => $options['modelBuild'], 'Field...
php
{ "resource": "" }
q26101
VoiceGrant.setOutgoingApplication
train
public function setOutgoingApplication($sid, $params) { $this->outgoingApplicationSid = $sid; $this->outgoingApplicationParams = $params; return $this; }
php
{ "resource": "" }
q26102
ServiceContext.getChannels
train
protected function getChannels() { if (!$this->_channels) { $this->_channels = new ChannelList($this->version, $this->solution['sid']); } return $this->_channels; }
php
{ "resource": "" }
q26103
ServiceContext.getRoles
train
protected function getRoles() { if (!$this->_roles) { $this->_roles = new RoleList($this->version, $this->solution['sid']); } return $this->_roles; }
php
{ "resource": "" }
q26104
ServiceContext.getUsers
train
protected function getUsers() { if (!$this->_users) { $this->_users = new UserList($this->version, $this->solution['sid']); } return $this->_users; }
php
{ "resource": "" }
q26105
ServiceContext.getBindings
train
protected function getBindings() { if (!$this->_bindings) { $this->_bindings = new BindingList($this->version, $this->solution['sid']); } return $this->_bindings; }
php
{ "resource": "" }
q26106
VoiceResponse.dial
train
public function dial($number = null, $attributes = array()) { return $this->nest(new Voice\Dial($number, $attributes)); }
php
{ "resource": "" }
q26107
VoiceResponse.enqueue
train
public function enqueue($name = null, $attributes = array()) { return $this->nest(new Voice\Enqueue($name, $attributes)); }
php
{ "resource": "" }
q26108
VoiceResponse.play
train
public function play($url = null, $attributes = array()) { return $this->nest(new Voice\Play($url, $attributes)); }
php
{ "resource": "" }
q26109
CredentialListMappingList.getContext
train
public function getContext($sid) { return new CredentialListMappingContext( $this->version, $this->solution['accountSid'], $this->solution['domainSid'], $sid ); }
php
{ "resource": "" }
q26110
SyncMapPermissionList.getContext
train
public function getContext($identity) { return new SyncMapPermissionContext( $this->version, $this->solution['serviceSid'], $this->solution['mapSid'], $identity ); }
php
{ "resource": "" }
q26111
NotificationList.create
train
public function create($options = array()) { $options = new Values($options); $data = Values::of(array( 'Identity' => Serialize::map($options['identity'], function($e) { return $e; }), 'Tag' => Serialize::map($options['tag'], function($e) { return $e; }), 'Body' => $...
php
{ "resource": "" }
q26112
PublicKeyList.create
train
public function create($publicKey, $options = array()) { $options = new Values($options); $data = Values::of(array( 'PublicKey' => $publicKey, 'FriendlyName' => $options['friendlyName'], 'AccountSid' => $options['accountSid'], )); $payload = $this->v...
php
{ "resource": "" }
q26113
MemberContext.update
train
public function update($url, $method) { $data = Values::of(array('Url' => $url, 'Method' => $method, )); $payload = $this->version->update( 'POST', $this->uri, array(), $data ); return new MemberInstance( $this->version, ...
php
{ "resource": "" }
q26114
AssetVersionList.getContext
train
public function getContext($sid) { return new AssetVersionContext( $this->version, $this->solution['serviceSid'], $this->solution['assetSid'], $sid ); }
php
{ "resource": "" }
q26115
ExecutionStepList.getContext
train
public function getContext($sid) { return new ExecutionStepContext( $this->version, $this->solution['flowSid'], $this->solution['executionSid'], $sid ); }
php
{ "resource": "" }
q26116
SyncMapContext.getSyncMapItems
train
protected function getSyncMapItems() { if (!$this->_syncMapItems) { $this->_syncMapItems = new SyncMapItemList( $this->version, $this->solution['serviceSid'], $this->solution['sid'] ); } return $this->_syncMapItems; }
php
{ "resource": "" }
q26117
SyncMapContext.getSyncMapPermissions
train
protected function getSyncMapPermissions() { if (!$this->_syncMapPermissions) { $this->_syncMapPermissions = new SyncMapPermissionList( $this->version, $this->solution['serviceSid'], $this->solution['sid'] ); } return $this...
php
{ "resource": "" }
q26118
PayloadList.getContext
train
public function getContext($sid) { return new PayloadContext( $this->version, $this->solution['accountSid'], $this->solution['referenceSid'], $this->solution['addOnResultSid'], $sid ); }
php
{ "resource": "" }
q26119
TriggerList.create
train
public function create($callbackUrl, $triggerValue, $usageCategory, $options = array()) { $options = new Values($options); $data = Values::of(array( 'CallbackUrl' => $callbackUrl, 'TriggerValue' => $triggerValue, 'UsageCategory' => $usageCategory, 'Callba...
php
{ "resource": "" }
q26120
AuthRegistrationsCredentialListMappingList.create
train
public function create($credentialListSid) { $data = Values::of(array('CredentialListSid' => $credentialListSid, )); $payload = $this->version->create( 'POST', $this->uri, array(), $data ); return new AuthRegistrationsCredentialListMappin...
php
{ "resource": "" }
q26121
AuthRegistrationsCredentialListMappingList.getContext
train
public function getContext($sid) { return new AuthRegistrationsCredentialListMappingContext( $this->version, $this->solution['accountSid'], $this->solution['domainSid'], $sid ); }
php
{ "resource": "" }
q26122
WorkerStatisticsContext.fetch
train
public function fetch($options = array()) { $options = new Values($options); $params = Values::of(array( 'Minutes' => $options['minutes'], 'StartDate' => Serialize::iso8601DateTime($options['startDate']), 'EndDate' => Serialize::iso8601DateTime($options['endDate']), ...
php
{ "resource": "" }
q26123
DomainContext.getAuth
train
protected function getAuth() { if (!$this->_auth) { $this->_auth = new AuthTypesList( $this->version, $this->solution['accountSid'], $this->solution['sid'] ); } return $this->_auth; }
php
{ "resource": "" }
q26124
Version.exception
train
protected function exception($response, $header) { $message = '[HTTP ' . $response->getStatusCode() . '] ' . $header; $content = $response->getContent(); if (is_array($content)) { $message .= isset($content['message']) ? ': ' . $content['message'] : ''; $code = isset($co...
php
{ "resource": "" }
q26125
AuthCallsCredentialListMappingList.getContext
train
public function getContext($sid) { return new AuthCallsCredentialListMappingContext( $this->version, $this->solution['accountSid'], $this->solution['domainSid'], $sid ); }
php
{ "resource": "" }
q26126
StepList.getContext
train
public function getContext($sid) { return new StepContext( $this->version, $this->solution['flowSid'], $this->solution['engagementSid'], $sid ); }
php
{ "resource": "" }
q26127
MobileList.page
train
public function page($options = array(), $pageSize = Values::NONE, $pageToken = Values::NONE, $pageNumber = Values::NONE) { $options = new Values($options); $params = Values::of(array( 'AreaCode' => $options['areaCode'], 'Contains' => $options['contains'], 'SmsEnabled...
php
{ "resource": "" }
q26128
PhoneNumberContext.fetch
train
public function fetch($options = array()) { $options = new Values($options); $params = Values::of(array( 'CountryCode' => $options['countryCode'], 'Type' => Serialize::map($options['type'], function($e) { return $e; }), 'AddOns' => Serialize::map($options['addOns'], ...
php
{ "resource": "" }
q26129
IpAccessControlListMappingList.getContext
train
public function getContext($sid) { return new IpAccessControlListMappingContext( $this->version, $this->solution['accountSid'], $this->solution['domainSid'], $sid ); }
php
{ "resource": "" }
q26130
RecordList.getAllTime
train
protected function getAllTime() { if (!$this->_allTime) { $this->_allTime = new AllTimeList($this->version, $this->solution['accountSid']); } return $this->_allTime; }
php
{ "resource": "" }
q26131
RecordList.getDaily
train
protected function getDaily() { if (!$this->_daily) { $this->_daily = new DailyList($this->version, $this->solution['accountSid']); } return $this->_daily; }
php
{ "resource": "" }
q26132
RecordList.getLastMonth
train
protected function getLastMonth() { if (!$this->_lastMonth) { $this->_lastMonth = new LastMonthList($this->version, $this->solution['accountSid']); } return $this->_lastMonth; }
php
{ "resource": "" }
q26133
RecordList.getMonthly
train
protected function getMonthly() { if (!$this->_monthly) { $this->_monthly = new MonthlyList($this->version, $this->solution['accountSid']); } return $this->_monthly; }
php
{ "resource": "" }
q26134
RecordList.getThisMonth
train
protected function getThisMonth() { if (!$this->_thisMonth) { $this->_thisMonth = new ThisMonthList($this->version, $this->solution['accountSid']); } return $this->_thisMonth; }
php
{ "resource": "" }
q26135
RecordList.getToday
train
protected function getToday() { if (!$this->_today) { $this->_today = new TodayList($this->version, $this->solution['accountSid']); } return $this->_today; }
php
{ "resource": "" }
q26136
RecordList.getYearly
train
protected function getYearly() { if (!$this->_yearly) { $this->_yearly = new YearlyList($this->version, $this->solution['accountSid']); } return $this->_yearly; }
php
{ "resource": "" }
q26137
RecordList.getYesterday
train
protected function getYesterday() { if (!$this->_yesterday) { $this->_yesterday = new YesterdayList($this->version, $this->solution['accountSid']); } return $this->_yesterday; }
php
{ "resource": "" }
q26138
ExportContext.getDays
train
protected function getDays() { if (!$this->_days) { $this->_days = new DayList($this->version, $this->solution['resourceType']); } return $this->_days; }
php
{ "resource": "" }
q26139
WebhookList.create
train
public function create($type, $options = array()) { $options = new Values($options); $data = Values::of(array( 'Type' => $type, 'Configuration.Url' => $options['configurationUrl'], 'Configuration.Method' => $options['configurationMethod'], 'Configuration....
php
{ "resource": "" }
q26140
WebhookList.getContext
train
public function getContext($sid) { return new WebhookContext( $this->version, $this->solution['serviceSid'], $this->solution['channelSid'], $sid ); }
php
{ "resource": "" }
q26141
SyncListPermissionList.getContext
train
public function getContext($identity) { return new SyncListPermissionContext( $this->version, $this->solution['serviceSid'], $this->solution['listSid'], $identity ); }
php
{ "resource": "" }
q26142
AuthorizationDocumentList.create
train
public function create($hostedNumberOrderSids, $addressSid, $email, $contactTitle, $contactPhoneNumber, $options = array()) { $options = new Values($options); $data = Values::of(array( 'HostedNumberOrderSids' => Serialize::map($hostedNumberOrderSids, function($e) { return $e; }), ...
php
{ "resource": "" }
q26143
VerificationList.create
train
public function create($to, $channel, $options = array()) { $options = new Values($options); $data = Values::of(array( 'To' => $to, 'Channel' => $channel, 'CustomMessage' => $options['customMessage'], )); $payload = $this->version->create( ...
php
{ "resource": "" }
q26144
FlexFlowList.create
train
public function create($friendlyName, $chatServiceSid, $channelType, $options = array()) { $options = new Values($options); $data = Values::of(array( 'FriendlyName' => $friendlyName, 'ChatServiceSid' => $chatServiceSid, 'ChannelType' => $channelType, 'Con...
php
{ "resource": "" }
q26145
AssignedAddOnList.create
train
public function create($installedAddOnSid) { $data = Values::of(array('InstalledAddOnSid' => $installedAddOnSid, )); $payload = $this->version->create( 'POST', $this->uri, array(), $data ); return new AssignedAddOnInstance( $t...
php
{ "resource": "" }
q26146
AssignedAddOnList.getContext
train
public function getContext($sid) { return new AssignedAddOnContext( $this->version, $this->solution['accountSid'], $this->solution['resourceSid'], $sid ); }
php
{ "resource": "" }
q26147
SipList.getDomains
train
protected function getDomains() { if (!$this->_domains) { $this->_domains = new DomainList($this->version, $this->solution['accountSid']); } return $this->_domains; }
php
{ "resource": "" }
q26148
SipList.getIpAccessControlLists
train
protected function getIpAccessControlLists() { if (!$this->_ipAccessControlLists) { $this->_ipAccessControlLists = new IpAccessControlListList( $this->version, $this->solution['accountSid'] ); } return $this->_ipAccessControlLists; }
php
{ "resource": "" }
q26149
SipList.getCredentialLists
train
protected function getCredentialLists() { if (!$this->_credentialLists) { $this->_credentialLists = new CredentialListList($this->version, $this->solution['accountSid']); } return $this->_credentialLists; }
php
{ "resource": "" }
q26150
WorkspaceContext.getActivities
train
protected function getActivities() { if (!$this->_activities) { $this->_activities = new ActivityList($this->version, $this->solution['sid']); } return $this->_activities; }
php
{ "resource": "" }
q26151
WorkspaceContext.getEvents
train
protected function getEvents() { if (!$this->_events) { $this->_events = new EventList($this->version, $this->solution['sid']); } return $this->_events; }
php
{ "resource": "" }
q26152
WorkspaceContext.getTasks
train
protected function getTasks() { if (!$this->_tasks) { $this->_tasks = new TaskList($this->version, $this->solution['sid']); } return $this->_tasks; }
php
{ "resource": "" }
q26153
WorkspaceContext.getTaskQueues
train
protected function getTaskQueues() { if (!$this->_taskQueues) { $this->_taskQueues = new TaskQueueList($this->version, $this->solution['sid']); } return $this->_taskQueues; }
php
{ "resource": "" }
q26154
WorkspaceContext.getWorkers
train
protected function getWorkers() { if (!$this->_workers) { $this->_workers = new WorkerList($this->version, $this->solution['sid']); } return $this->_workers; }
php
{ "resource": "" }
q26155
WorkspaceContext.getWorkflows
train
protected function getWorkflows() { if (!$this->_workflows) { $this->_workflows = new WorkflowList($this->version, $this->solution['sid']); } return $this->_workflows; }
php
{ "resource": "" }
q26156
WorkspaceContext.getTaskChannels
train
protected function getTaskChannels() { if (!$this->_taskChannels) { $this->_taskChannels = new TaskChannelList($this->version, $this->solution['sid']); } return $this->_taskChannels; }
php
{ "resource": "" }
q26157
UsageList.getRecords
train
protected function getRecords() { if (!$this->_records) { $this->_records = new RecordList($this->version, $this->solution['accountSid']); } return $this->_records; }
php
{ "resource": "" }
q26158
UsageList.getTriggers
train
protected function getTriggers() { if (!$this->_triggers) { $this->_triggers = new TriggerList($this->version, $this->solution['accountSid']); } return $this->_triggers; }
php
{ "resource": "" }
q26159
RoleContext.update
train
public function update($permission) { $data = Values::of(array('Permission' => Serialize::map($permission, function($e) { return $e; }), )); $payload = $this->version->update( 'POST', $this->uri, array(), $data ); return new RoleInstance(...
php
{ "resource": "" }
q26160
RoomContext.update
train
public function update($status) { $data = Values::of(array('Status' => $status, )); $payload = $this->version->update( 'POST', $this->uri, array(), $data ); return new RoomInstance($this->version, $payload, $this->solution['sid']); }
php
{ "resource": "" }
q26161
FactorList.create
train
public function create($binding, $friendlyName, $factorType) { $data = Values::of(array( 'Binding' => $binding, 'FriendlyName' => $friendlyName, 'FactorType' => $factorType, )); $payload = $this->version->create( 'POST', $this->uri, ...
php
{ "resource": "" }
q26162
FactorList.getContext
train
public function getContext($sid) { return new FactorContext( $this->version, $this->solution['serviceSid'], $this->solution['identity'], $sid ); }
php
{ "resource": "" }
q26163
AuthCallsIpAccessControlListMappingList.create
train
public function create($ipAccessControlListSid) { $data = Values::of(array('IpAccessControlListSid' => $ipAccessControlListSid, )); $payload = $this->version->create( 'POST', $this->uri, array(), $data ); return new AuthCallsIpAccessContr...
php
{ "resource": "" }
q26164
AuthCallsIpAccessControlListMappingList.getContext
train
public function getContext($sid) { return new AuthCallsIpAccessControlListMappingContext( $this->version, $this->solution['accountSid'], $this->solution['domainSid'], $sid ); }
php
{ "resource": "" }
q26165
TranscriptionList.getContext
train
public function getContext($sid) { return new TranscriptionContext( $this->version, $this->solution['accountSid'], $this->solution['recordingSid'], $sid ); }
php
{ "resource": "" }
q26166
SimContext.getUsageRecords
train
protected function getUsageRecords() { if (!$this->_usageRecords) { $this->_usageRecords = new UsageRecordList($this->version, $this->solution['sid']); } return $this->_usageRecords; }
php
{ "resource": "" }
q26167
SimContext.getDataSessions
train
protected function getDataSessions() { if (!$this->_dataSessions) { $this->_dataSessions = new DataSessionList($this->version, $this->solution['sid']); } return $this->_dataSessions; }
php
{ "resource": "" }
q26168
WorkflowList.create
train
public function create($friendlyName, $configuration, $options = array()) { $options = new Values($options); $data = Values::of(array( 'FriendlyName' => $friendlyName, 'Configuration' => $configuration, 'AssignmentCallbackUrl' => $options['assignmentCallbackUrl'], ...
php
{ "resource": "" }
q26169
ServiceContext.getAlphaSenders
train
protected function getAlphaSenders() { if (!$this->_alphaSenders) { $this->_alphaSenders = new AlphaSenderList($this->version, $this->solution['sid']); } return $this->_alphaSenders; }
php
{ "resource": "" }
q26170
FunctionList.create
train
public function create($friendlyName) { $data = Values::of(array('FriendlyName' => $friendlyName, )); $payload = $this->version->create( 'POST', $this->uri, array(), $data ); return new FunctionInstance($this->version, $payload, $this->so...
php
{ "resource": "" }
q26171
MessageInteractionList.getContext
train
public function getContext($sid) { return new MessageInteractionContext( $this->version, $this->solution['serviceSid'], $this->solution['sessionSid'], $this->solution['participantSid'], $sid ); }
php
{ "resource": "" }
q26172
UserBindingList.getContext
train
public function getContext($sid) { return new UserBindingContext( $this->version, $this->solution['serviceSid'], $this->solution['userSid'], $sid ); }
php
{ "resource": "" }
q26173
EntityList.create
train
public function create($identity) { $data = Values::of(array('Identity' => $identity, )); $payload = $this->version->create( 'POST', $this->uri, array(), $data ); return new EntityInstance($this->version, $payload, $this->solution['servic...
php
{ "resource": "" }
q26174
TaskChannelList.create
train
public function create($friendlyName, $uniqueName) { $data = Values::of(array('FriendlyName' => $friendlyName, 'UniqueName' => $uniqueName, )); $payload = $this->version->create( 'POST', $this->uri, array(), $data ); return new TaskChanne...
php
{ "resource": "" }
q26175
FieldList.create
train
public function create($fieldType, $uniqueName) { $data = Values::of(array('FieldType' => $fieldType, 'UniqueName' => $uniqueName, )); $payload = $this->version->create( 'POST', $this->uri, array(), $data ); return new FieldInstance( ...
php
{ "resource": "" }
q26176
FieldList.getContext
train
public function getContext($sid) { return new FieldContext( $this->version, $this->solution['assistantSid'], $this->solution['taskSid'], $sid ); }
php
{ "resource": "" }
q26177
AlphaSenderList.create
train
public function create($alphaSender) { $data = Values::of(array('AlphaSender' => $alphaSender, )); $payload = $this->version->create( 'POST', $this->uri, array(), $data ); return new AlphaSenderInstance($this->version, $payload, $this->so...
php
{ "resource": "" }
q26178
CallContext.getNotifications
train
protected function getNotifications() { if (!$this->_notifications) { $this->_notifications = new NotificationList( $this->version, $this->solution['accountSid'], $this->solution['sid'] ); } return $this->_notifications; ...
php
{ "resource": "" }
q26179
CallContext.getFeedback
train
protected function getFeedback() { if (!$this->_feedback) { $this->_feedback = new FeedbackList( $this->version, $this->solution['accountSid'], $this->solution['sid'] ); } return $this->_feedback; }
php
{ "resource": "" }
q26180
DialingPermissionsList.getCountries
train
protected function getCountries() { if (!$this->_countries) { $this->_countries = new CountryList($this->version); } return $this->_countries; }
php
{ "resource": "" }
q26181
DialingPermissionsList.getSettings
train
protected function getSettings() { if (!$this->_settings) { $this->_settings = new SettingsList($this->version); } return $this->_settings; }
php
{ "resource": "" }
q26182
DialingPermissionsList.getBulkCountryUpdates
train
protected function getBulkCountryUpdates() { if (!$this->_bulkCountryUpdates) { $this->_bulkCountryUpdates = new BulkCountryUpdateList($this->version); } return $this->_bulkCountryUpdates; }
php
{ "resource": "" }
q26183
FeedbackSummaryList.create
train
public function create($startDate, $endDate, $options = array()) { $options = new Values($options); $data = Values::of(array( 'StartDate' => Serialize::iso8601Date($startDate), 'EndDate' => Serialize::iso8601Date($endDate), 'IncludeSubaccounts' => Serialize::booleanT...
php
{ "resource": "" }
q26184
MessageContext.update
train
public function update($body) { $data = Values::of(array('Body' => $body, )); $payload = $this->version->update( 'POST', $this->uri, array(), $data ); return new MessageInstance( $this->version, $payload, ...
php
{ "resource": "" }
q26185
FunctionVersionList.create
train
public function create($path, $visibility) { $data = Values::of(array('Path' => $path, 'Visibility' => $visibility, )); $payload = $this->version->create( 'POST', $this->uri, array(), $data ); return new FunctionVersionInstance( ...
php
{ "resource": "" }
q26186
FunctionVersionList.getContext
train
public function getContext($sid) { return new FunctionVersionContext( $this->version, $this->solution['serviceSid'], $this->solution['functionSid'], $sid ); }
php
{ "resource": "" }
q26187
CredentialList.getPublicKey
train
protected function getPublicKey() { if (!$this->_publicKey) { $this->_publicKey = new PublicKeyList($this->version); } return $this->_publicKey; }
php
{ "resource": "" }
q26188
CredentialList.getAws
train
protected function getAws() { if (!$this->_aws) { $this->_aws = new AwsList($this->version); } return $this->_aws; }
php
{ "resource": "" }
q26189
UserChannelContext.update
train
public function update($notificationLevel) { $data = Values::of(array('NotificationLevel' => $notificationLevel, )); $payload = $this->version->update( 'POST', $this->uri, array(), $data ); return new UserChannelInstance( $thi...
php
{ "resource": "" }
q26190
CertificateList.create
train
public function create($certificateData, $options = array()) { $options = new Values($options); $data = Values::of(array( 'CertificateData' => $certificateData, 'FriendlyName' => $options['friendlyName'], 'DeviceSid' => $options['deviceSid'], )); $pa...
php
{ "resource": "" }
q26191
ServiceContext.getDocuments
train
protected function getDocuments() { if (!$this->_documents) { $this->_documents = new DocumentList($this->version, $this->solution['sid']); } return $this->_documents; }
php
{ "resource": "" }
q26192
ServiceContext.getSyncLists
train
protected function getSyncLists() { if (!$this->_syncLists) { $this->_syncLists = new SyncListList($this->version, $this->solution['sid']); } return $this->_syncLists; }
php
{ "resource": "" }
q26193
ServiceContext.getSyncMaps
train
protected function getSyncMaps() { if (!$this->_syncMaps) { $this->_syncMaps = new SyncMapList($this->version, $this->solution['sid']); } return $this->_syncMaps; }
php
{ "resource": "" }
q26194
WorkerChannelList.getContext
train
public function getContext($sid) { return new WorkerChannelContext( $this->version, $this->solution['workspaceSid'], $this->solution['workerSid'], $sid ); }
php
{ "resource": "" }
q26195
AccountContext.getAddresses
train
protected function getAddresses() { if (!$this->_addresses) { $this->_addresses = new AddressList($this->version, $this->solution['sid']); } return $this->_addresses; }
php
{ "resource": "" }
q26196
AccountContext.getApplications
train
protected function getApplications() { if (!$this->_applications) { $this->_applications = new ApplicationList($this->version, $this->solution['sid']); } return $this->_applications; }
php
{ "resource": "" }
q26197
AccountContext.getAuthorizedConnectApps
train
protected function getAuthorizedConnectApps() { if (!$this->_authorizedConnectApps) { $this->_authorizedConnectApps = new AuthorizedConnectAppList( $this->version, $this->solution['sid'] ); } return $this->_authorizedConnectApps; }
php
{ "resource": "" }
q26198
AccountContext.getAvailablePhoneNumbers
train
protected function getAvailablePhoneNumbers() { if (!$this->_availablePhoneNumbers) { $this->_availablePhoneNumbers = new AvailablePhoneNumberCountryList( $this->version, $this->solution['sid'] ); } return $this->_availablePhoneNumbers; ...
php
{ "resource": "" }
q26199
AccountContext.getBalance
train
protected function getBalance() { if (!$this->_balance) { $this->_balance = new BalanceList($this->version, $this->solution['sid']); } return $this->_balance; }
php
{ "resource": "" }