idx
int64
0
60.3k
question
stringlengths
101
6.21k
target
stringlengths
7
803
12,700
public function getContext ( $ sid ) { return new AssetVersionContext ( $ this -> version , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'assetSid' ] , $ sid ) ; }
Constructs a AssetVersionContext
12,701
public function getContext ( $ sid ) { return new ExecutionStepContext ( $ this -> version , $ this -> solution [ 'flowSid' ] , $ this -> solution [ 'executionSid' ] , $ sid ) ; }
Constructs a ExecutionStepContext
12,702
protected function getSyncMapItems ( ) { if ( ! $ this -> _syncMapItems ) { $ this -> _syncMapItems = new SyncMapItemList ( $ this -> version , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'sid' ] ) ; } return $ this -> _syncMapItems ; }
Access the syncMapItems
12,703
protected function getSyncMapPermissions ( ) { if ( ! $ this -> _syncMapPermissions ) { $ this -> _syncMapPermissions = new SyncMapPermissionList ( $ this -> version , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'sid' ] ) ; } return $ this -> _syncMapPermissions ; }
Access the syncMapPermissions
12,704
public function getContext ( $ sid ) { return new PayloadContext ( $ this -> version , $ this -> solution [ 'accountSid' ] , $ this -> solution [ 'referenceSid' ] , $ this -> solution [ 'addOnResultSid' ] , $ sid ) ; }
Constructs a PayloadContext
12,705
public function create ( $ callbackUrl , $ triggerValue , $ usageCategory , $ options = array ( ) ) { $ options = new Values ( $ options ) ; $ data = Values :: of ( array ( 'CallbackUrl' => $ callbackUrl , 'TriggerValue' => $ triggerValue , 'UsageCategory' => $ usageCategory , 'CallbackMethod' => $ options [ 'callbackMethod' ] , 'FriendlyName' => $ options [ 'friendlyName' ] , 'Recurring' => $ options [ 'recurring' ] , 'TriggerBy' => $ options [ 'triggerBy' ] , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new TriggerInstance ( $ this -> version , $ payload , $ this -> solution [ 'accountSid' ] ) ; }
Create a new TriggerInstance
12,706
public function create ( $ credentialListSid ) { $ data = Values :: of ( array ( 'CredentialListSid' => $ credentialListSid , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new AuthRegistrationsCredentialListMappingInstance ( $ this -> version , $ payload , $ this -> solution [ 'accountSid' ] , $ this -> solution [ 'domainSid' ] ) ; }
Create a new AuthRegistrationsCredentialListMappingInstance
12,707
public function getContext ( $ sid ) { return new AuthRegistrationsCredentialListMappingContext ( $ this -> version , $ this -> solution [ 'accountSid' ] , $ this -> solution [ 'domainSid' ] , $ sid ) ; }
Constructs a AuthRegistrationsCredentialListMappingContext
12,708
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' ] ) , 'TaskChannel' => $ options [ 'taskChannel' ] , ) ) ; $ payload = $ this -> version -> fetch ( 'GET' , $ this -> uri , $ params ) ; return new WorkerStatisticsInstance ( $ this -> version , $ payload , $ this -> solution [ 'workspaceSid' ] , $ this -> solution [ 'workerSid' ] ) ; }
Fetch a WorkerStatisticsInstance
12,709
protected function getAuth ( ) { if ( ! $ this -> _auth ) { $ this -> _auth = new AuthTypesList ( $ this -> version , $ this -> solution [ 'accountSid' ] , $ this -> solution [ 'sid' ] ) ; } return $ this -> _auth ; }
Access the auth
12,710
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 ( $ content [ 'code' ] ) ? $ content [ 'code' ] : $ response -> getStatusCode ( ) ; return new RestException ( $ message , $ code , $ response -> getStatusCode ( ) ) ; } else { return new RestException ( $ message , $ response -> getStatusCode ( ) , $ response -> getStatusCode ( ) ) ; } }
Create the best possible exception for the response .
12,711
public function getContext ( $ sid ) { return new AuthCallsCredentialListMappingContext ( $ this -> version , $ this -> solution [ 'accountSid' ] , $ this -> solution [ 'domainSid' ] , $ sid ) ; }
Constructs a AuthCallsCredentialListMappingContext
12,712
public function getContext ( $ sid ) { return new StepContext ( $ this -> version , $ this -> solution [ 'flowSid' ] , $ this -> solution [ 'engagementSid' ] , $ sid ) ; }
Constructs a StepContext
12,713
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' => Serialize :: booleanToString ( $ options [ 'smsEnabled' ] ) , 'MmsEnabled' => Serialize :: booleanToString ( $ options [ 'mmsEnabled' ] ) , 'VoiceEnabled' => Serialize :: booleanToString ( $ options [ 'voiceEnabled' ] ) , 'ExcludeAllAddressRequired' => Serialize :: booleanToString ( $ options [ 'excludeAllAddressRequired' ] ) , 'ExcludeLocalAddressRequired' => Serialize :: booleanToString ( $ options [ 'excludeLocalAddressRequired' ] ) , 'ExcludeForeignAddressRequired' => Serialize :: booleanToString ( $ options [ 'excludeForeignAddressRequired' ] ) , 'Beta' => Serialize :: booleanToString ( $ options [ 'beta' ] ) , 'NearNumber' => $ options [ 'nearNumber' ] , 'NearLatLong' => $ options [ 'nearLatLong' ] , 'Distance' => $ options [ 'distance' ] , 'InPostalCode' => $ options [ 'inPostalCode' ] , 'InRegion' => $ options [ 'inRegion' ] , 'InRateCenter' => $ options [ 'inRateCenter' ] , 'InLata' => $ options [ 'inLata' ] , 'InLocality' => $ options [ 'inLocality' ] , 'FaxEnabled' => Serialize :: booleanToString ( $ options [ 'faxEnabled' ] ) , 'PageToken' => $ pageToken , 'Page' => $ pageNumber , 'PageSize' => $ pageSize , ) ) ; $ response = $ this -> version -> page ( 'GET' , $ this -> uri , $ params ) ; return new MobilePage ( $ this -> version , $ response , $ this -> solution ) ; }
Retrieve a single page of MobileInstance records from the API . Request is executed immediately
12,714
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' ] , function ( $ e ) { return $ e ; } ) , ) ) ; $ params = array_merge ( $ params , Serialize :: prefixedCollapsibleMap ( $ options [ 'addOnsData' ] , 'AddOns' ) ) ; $ payload = $ this -> version -> fetch ( 'GET' , $ this -> uri , $ params ) ; return new PhoneNumberInstance ( $ this -> version , $ payload , $ this -> solution [ 'phoneNumber' ] ) ; }
Fetch a PhoneNumberInstance
12,715
public function getContext ( $ sid ) { return new IpAccessControlListMappingContext ( $ this -> version , $ this -> solution [ 'accountSid' ] , $ this -> solution [ 'domainSid' ] , $ sid ) ; }
Constructs a IpAccessControlListMappingContext
12,716
protected function getAllTime ( ) { if ( ! $ this -> _allTime ) { $ this -> _allTime = new AllTimeList ( $ this -> version , $ this -> solution [ 'accountSid' ] ) ; } return $ this -> _allTime ; }
Access the allTime
12,717
protected function getDaily ( ) { if ( ! $ this -> _daily ) { $ this -> _daily = new DailyList ( $ this -> version , $ this -> solution [ 'accountSid' ] ) ; } return $ this -> _daily ; }
Access the daily
12,718
protected function getLastMonth ( ) { if ( ! $ this -> _lastMonth ) { $ this -> _lastMonth = new LastMonthList ( $ this -> version , $ this -> solution [ 'accountSid' ] ) ; } return $ this -> _lastMonth ; }
Access the lastMonth
12,719
protected function getMonthly ( ) { if ( ! $ this -> _monthly ) { $ this -> _monthly = new MonthlyList ( $ this -> version , $ this -> solution [ 'accountSid' ] ) ; } return $ this -> _monthly ; }
Access the monthly
12,720
protected function getThisMonth ( ) { if ( ! $ this -> _thisMonth ) { $ this -> _thisMonth = new ThisMonthList ( $ this -> version , $ this -> solution [ 'accountSid' ] ) ; } return $ this -> _thisMonth ; }
Access the thisMonth
12,721
protected function getToday ( ) { if ( ! $ this -> _today ) { $ this -> _today = new TodayList ( $ this -> version , $ this -> solution [ 'accountSid' ] ) ; } return $ this -> _today ; }
Access the today
12,722
protected function getYearly ( ) { if ( ! $ this -> _yearly ) { $ this -> _yearly = new YearlyList ( $ this -> version , $ this -> solution [ 'accountSid' ] ) ; } return $ this -> _yearly ; }
Access the yearly
12,723
protected function getYesterday ( ) { if ( ! $ this -> _yesterday ) { $ this -> _yesterday = new YesterdayList ( $ this -> version , $ this -> solution [ 'accountSid' ] ) ; } return $ this -> _yesterday ; }
Access the yesterday
12,724
protected function getDays ( ) { if ( ! $ this -> _days ) { $ this -> _days = new DayList ( $ this -> version , $ this -> solution [ 'resourceType' ] ) ; } return $ this -> _days ; }
Access the days
12,725
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.Filters' => Serialize :: map ( $ options [ 'configurationFilters' ] , function ( $ e ) { return $ e ; } ) , 'Configuration.Triggers' => Serialize :: map ( $ options [ 'configurationTriggers' ] , function ( $ e ) { return $ e ; } ) , 'Configuration.FlowSid' => $ options [ 'configurationFlowSid' ] , 'Configuration.RetryCount' => $ options [ 'configurationRetryCount' ] , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new WebhookInstance ( $ this -> version , $ payload , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'channelSid' ] ) ; }
Create a new WebhookInstance
12,726
public function getContext ( $ sid ) { return new WebhookContext ( $ this -> version , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'channelSid' ] , $ sid ) ; }
Constructs a WebhookContext
12,727
public function getContext ( $ identity ) { return new SyncListPermissionContext ( $ this -> version , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'listSid' ] , $ identity ) ; }
Constructs a SyncListPermissionContext
12,728
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 ; } ) , 'AddressSid' => $ addressSid , 'Email' => $ email , 'ContactTitle' => $ contactTitle , 'ContactPhoneNumber' => $ contactPhoneNumber , 'CcEmails' => Serialize :: map ( $ options [ 'ccEmails' ] , function ( $ e ) { return $ e ; } ) , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new AuthorizationDocumentInstance ( $ this -> version , $ payload ) ; }
Create a new AuthorizationDocumentInstance
12,729
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 ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new VerificationInstance ( $ this -> version , $ payload , $ this -> solution [ 'serviceSid' ] ) ; }
Create a new VerificationInstance
12,730
public function create ( $ friendlyName , $ chatServiceSid , $ channelType , $ options = array ( ) ) { $ options = new Values ( $ options ) ; $ data = Values :: of ( array ( 'FriendlyName' => $ friendlyName , 'ChatServiceSid' => $ chatServiceSid , 'ChannelType' => $ channelType , 'ContactIdentity' => $ options [ 'contactIdentity' ] , 'Enabled' => Serialize :: booleanToString ( $ options [ 'enabled' ] ) , 'IntegrationType' => $ options [ 'integrationType' ] , 'Integration.FlowSid' => $ options [ 'integrationFlowSid' ] , 'Integration.Url' => $ options [ 'integrationUrl' ] , 'Integration.WorkspaceSid' => $ options [ 'integrationWorkspaceSid' ] , 'Integration.WorkflowSid' => $ options [ 'integrationWorkflowSid' ] , 'Integration.Channel' => $ options [ 'integrationChannel' ] , 'Integration.Timeout' => $ options [ 'integrationTimeout' ] , 'Integration.Priority' => $ options [ 'integrationPriority' ] , 'Integration.CreationOnMessage' => Serialize :: booleanToString ( $ options [ 'integrationCreationOnMessage' ] ) , 'LongLived' => Serialize :: booleanToString ( $ options [ 'longLived' ] ) , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new FlexFlowInstance ( $ this -> version , $ payload ) ; }
Create a new FlexFlowInstance
12,731
public function create ( $ installedAddOnSid ) { $ data = Values :: of ( array ( 'InstalledAddOnSid' => $ installedAddOnSid , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new AssignedAddOnInstance ( $ this -> version , $ payload , $ this -> solution [ 'accountSid' ] , $ this -> solution [ 'resourceSid' ] ) ; }
Create a new AssignedAddOnInstance
12,732
public function getContext ( $ sid ) { return new AssignedAddOnContext ( $ this -> version , $ this -> solution [ 'accountSid' ] , $ this -> solution [ 'resourceSid' ] , $ sid ) ; }
Constructs a AssignedAddOnContext
12,733
protected function getDomains ( ) { if ( ! $ this -> _domains ) { $ this -> _domains = new DomainList ( $ this -> version , $ this -> solution [ 'accountSid' ] ) ; } return $ this -> _domains ; }
Access the domains
12,734
protected function getIpAccessControlLists ( ) { if ( ! $ this -> _ipAccessControlLists ) { $ this -> _ipAccessControlLists = new IpAccessControlListList ( $ this -> version , $ this -> solution [ 'accountSid' ] ) ; } return $ this -> _ipAccessControlLists ; }
Access the ipAccessControlLists
12,735
protected function getCredentialLists ( ) { if ( ! $ this -> _credentialLists ) { $ this -> _credentialLists = new CredentialListList ( $ this -> version , $ this -> solution [ 'accountSid' ] ) ; } return $ this -> _credentialLists ; }
Access the credentialLists
12,736
protected function getActivities ( ) { if ( ! $ this -> _activities ) { $ this -> _activities = new ActivityList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _activities ; }
Access the activities
12,737
protected function getEvents ( ) { if ( ! $ this -> _events ) { $ this -> _events = new EventList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _events ; }
Access the events
12,738
protected function getTasks ( ) { if ( ! $ this -> _tasks ) { $ this -> _tasks = new TaskList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _tasks ; }
Access the tasks
12,739
protected function getTaskQueues ( ) { if ( ! $ this -> _taskQueues ) { $ this -> _taskQueues = new TaskQueueList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _taskQueues ; }
Access the taskQueues
12,740
protected function getWorkers ( ) { if ( ! $ this -> _workers ) { $ this -> _workers = new WorkerList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _workers ; }
Access the workers
12,741
protected function getWorkflows ( ) { if ( ! $ this -> _workflows ) { $ this -> _workflows = new WorkflowList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _workflows ; }
Access the workflows
12,742
protected function getTaskChannels ( ) { if ( ! $ this -> _taskChannels ) { $ this -> _taskChannels = new TaskChannelList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _taskChannels ; }
Access the taskChannels
12,743
protected function getRecords ( ) { if ( ! $ this -> _records ) { $ this -> _records = new RecordList ( $ this -> version , $ this -> solution [ 'accountSid' ] ) ; } return $ this -> _records ; }
Access the records
12,744
protected function getTriggers ( ) { if ( ! $ this -> _triggers ) { $ this -> _triggers = new TriggerList ( $ this -> version , $ this -> solution [ 'accountSid' ] ) ; } return $ this -> _triggers ; }
Access the triggers
12,745
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 ( $ this -> version , $ payload , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'sid' ] ) ; }
Update the RoleInstance
12,746
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' ] ) ; }
Update the RoomInstance
12,747
public function create ( $ binding , $ friendlyName , $ factorType ) { $ data = Values :: of ( array ( 'Binding' => $ binding , 'FriendlyName' => $ friendlyName , 'FactorType' => $ factorType , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new FactorInstance ( $ this -> version , $ payload , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'identity' ] ) ; }
Create a new FactorInstance
12,748
public function getContext ( $ sid ) { return new FactorContext ( $ this -> version , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'identity' ] , $ sid ) ; }
Constructs a FactorContext
12,749
public function create ( $ ipAccessControlListSid ) { $ data = Values :: of ( array ( 'IpAccessControlListSid' => $ ipAccessControlListSid , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new AuthCallsIpAccessControlListMappingInstance ( $ this -> version , $ payload , $ this -> solution [ 'accountSid' ] , $ this -> solution [ 'domainSid' ] ) ; }
Create a new AuthCallsIpAccessControlListMappingInstance
12,750
public function getContext ( $ sid ) { return new AuthCallsIpAccessControlListMappingContext ( $ this -> version , $ this -> solution [ 'accountSid' ] , $ this -> solution [ 'domainSid' ] , $ sid ) ; }
Constructs a AuthCallsIpAccessControlListMappingContext
12,751
public function getContext ( $ sid ) { return new TranscriptionContext ( $ this -> version , $ this -> solution [ 'accountSid' ] , $ this -> solution [ 'recordingSid' ] , $ sid ) ; }
Constructs a TranscriptionContext
12,752
protected function getUsageRecords ( ) { if ( ! $ this -> _usageRecords ) { $ this -> _usageRecords = new UsageRecordList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _usageRecords ; }
Access the usageRecords
12,753
protected function getDataSessions ( ) { if ( ! $ this -> _dataSessions ) { $ this -> _dataSessions = new DataSessionList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _dataSessions ; }
Access the dataSessions
12,754
public function create ( $ friendlyName , $ configuration , $ options = array ( ) ) { $ options = new Values ( $ options ) ; $ data = Values :: of ( array ( 'FriendlyName' => $ friendlyName , 'Configuration' => $ configuration , 'AssignmentCallbackUrl' => $ options [ 'assignmentCallbackUrl' ] , 'FallbackAssignmentCallbackUrl' => $ options [ 'fallbackAssignmentCallbackUrl' ] , 'TaskReservationTimeout' => $ options [ 'taskReservationTimeout' ] , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new WorkflowInstance ( $ this -> version , $ payload , $ this -> solution [ 'workspaceSid' ] ) ; }
Create a new WorkflowInstance
12,755
protected function getAlphaSenders ( ) { if ( ! $ this -> _alphaSenders ) { $ this -> _alphaSenders = new AlphaSenderList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _alphaSenders ; }
Access the alphaSenders
12,756
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 -> solution [ 'serviceSid' ] ) ; }
Create a new FunctionInstance
12,757
public function getContext ( $ sid ) { return new MessageInteractionContext ( $ this -> version , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'sessionSid' ] , $ this -> solution [ 'participantSid' ] , $ sid ) ; }
Constructs a MessageInteractionContext
12,758
public function getContext ( $ sid ) { return new UserBindingContext ( $ this -> version , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'userSid' ] , $ sid ) ; }
Constructs a UserBindingContext
12,759
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 [ 'serviceSid' ] ) ; }
Create a new EntityInstance
12,760
public function create ( $ friendlyName , $ uniqueName ) { $ data = Values :: of ( array ( 'FriendlyName' => $ friendlyName , 'UniqueName' => $ uniqueName , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new TaskChannelInstance ( $ this -> version , $ payload , $ this -> solution [ 'workspaceSid' ] ) ; }
Create a new TaskChannelInstance
12,761
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 ( $ this -> version , $ payload , $ this -> solution [ 'assistantSid' ] , $ this -> solution [ 'taskSid' ] ) ; }
Create a new FieldInstance
12,762
public function getContext ( $ sid ) { return new FieldContext ( $ this -> version , $ this -> solution [ 'assistantSid' ] , $ this -> solution [ 'taskSid' ] , $ sid ) ; }
Constructs a FieldContext
12,763
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 -> solution [ 'serviceSid' ] ) ; }
Create a new AlphaSenderInstance
12,764
protected function getNotifications ( ) { if ( ! $ this -> _notifications ) { $ this -> _notifications = new NotificationList ( $ this -> version , $ this -> solution [ 'accountSid' ] , $ this -> solution [ 'sid' ] ) ; } return $ this -> _notifications ; }
Access the notifications
12,765
protected function getFeedback ( ) { if ( ! $ this -> _feedback ) { $ this -> _feedback = new FeedbackList ( $ this -> version , $ this -> solution [ 'accountSid' ] , $ this -> solution [ 'sid' ] ) ; } return $ this -> _feedback ; }
Access the feedback
12,766
protected function getCountries ( ) { if ( ! $ this -> _countries ) { $ this -> _countries = new CountryList ( $ this -> version ) ; } return $ this -> _countries ; }
Access the countries
12,767
protected function getSettings ( ) { if ( ! $ this -> _settings ) { $ this -> _settings = new SettingsList ( $ this -> version ) ; } return $ this -> _settings ; }
Access the settings
12,768
protected function getBulkCountryUpdates ( ) { if ( ! $ this -> _bulkCountryUpdates ) { $ this -> _bulkCountryUpdates = new BulkCountryUpdateList ( $ this -> version ) ; } return $ this -> _bulkCountryUpdates ; }
Access the bulkCountryUpdates
12,769
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 :: booleanToString ( $ options [ 'includeSubaccounts' ] ) , 'StatusCallback' => $ options [ 'statusCallback' ] , 'StatusCallbackMethod' => $ options [ 'statusCallbackMethod' ] , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new FeedbackSummaryInstance ( $ this -> version , $ payload , $ this -> solution [ 'accountSid' ] ) ; }
Create a new FeedbackSummaryInstance
12,770
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 , $ this -> solution [ 'accountSid' ] , $ this -> solution [ 'sid' ] ) ; }
Update the MessageInstance
12,771
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 ( $ this -> version , $ payload , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'functionSid' ] ) ; }
Create a new FunctionVersionInstance
12,772
public function getContext ( $ sid ) { return new FunctionVersionContext ( $ this -> version , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'functionSid' ] , $ sid ) ; }
Constructs a FunctionVersionContext
12,773
protected function getPublicKey ( ) { if ( ! $ this -> _publicKey ) { $ this -> _publicKey = new PublicKeyList ( $ this -> version ) ; } return $ this -> _publicKey ; }
Access the publicKey
12,774
protected function getAws ( ) { if ( ! $ this -> _aws ) { $ this -> _aws = new AwsList ( $ this -> version ) ; } return $ this -> _aws ; }
Access the aws
12,775
public function update ( $ notificationLevel ) { $ data = Values :: of ( array ( 'NotificationLevel' => $ notificationLevel , ) ) ; $ payload = $ this -> version -> update ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new UserChannelInstance ( $ this -> version , $ payload , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'userSid' ] , $ this -> solution [ 'channelSid' ] ) ; }
Update the UserChannelInstance
12,776
public function create ( $ certificateData , $ options = array ( ) ) { $ options = new Values ( $ options ) ; $ data = Values :: of ( array ( 'CertificateData' => $ certificateData , 'FriendlyName' => $ options [ 'friendlyName' ] , 'DeviceSid' => $ options [ 'deviceSid' ] , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new CertificateInstance ( $ this -> version , $ payload , $ this -> solution [ 'fleetSid' ] ) ; }
Create a new CertificateInstance
12,777
protected function getDocuments ( ) { if ( ! $ this -> _documents ) { $ this -> _documents = new DocumentList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _documents ; }
Access the documents
12,778
protected function getSyncLists ( ) { if ( ! $ this -> _syncLists ) { $ this -> _syncLists = new SyncListList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _syncLists ; }
Access the syncLists
12,779
protected function getSyncMaps ( ) { if ( ! $ this -> _syncMaps ) { $ this -> _syncMaps = new SyncMapList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _syncMaps ; }
Access the syncMaps
12,780
public function getContext ( $ sid ) { return new WorkerChannelContext ( $ this -> version , $ this -> solution [ 'workspaceSid' ] , $ this -> solution [ 'workerSid' ] , $ sid ) ; }
Constructs a WorkerChannelContext
12,781
protected function getAddresses ( ) { if ( ! $ this -> _addresses ) { $ this -> _addresses = new AddressList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _addresses ; }
Access the addresses
12,782
protected function getApplications ( ) { if ( ! $ this -> _applications ) { $ this -> _applications = new ApplicationList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _applications ; }
Access the applications
12,783
protected function getAuthorizedConnectApps ( ) { if ( ! $ this -> _authorizedConnectApps ) { $ this -> _authorizedConnectApps = new AuthorizedConnectAppList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _authorizedConnectApps ; }
Access the authorizedConnectApps
12,784
protected function getAvailablePhoneNumbers ( ) { if ( ! $ this -> _availablePhoneNumbers ) { $ this -> _availablePhoneNumbers = new AvailablePhoneNumberCountryList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _availablePhoneNumbers ; }
Access the availablePhoneNumbers
12,785
protected function getBalance ( ) { if ( ! $ this -> _balance ) { $ this -> _balance = new BalanceList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _balance ; }
Access the balance
12,786
protected function getConferences ( ) { if ( ! $ this -> _conferences ) { $ this -> _conferences = new ConferenceList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _conferences ; }
Access the conferences
12,787
protected function getConnectApps ( ) { if ( ! $ this -> _connectApps ) { $ this -> _connectApps = new ConnectAppList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _connectApps ; }
Access the connectApps
12,788
protected function getIncomingPhoneNumbers ( ) { if ( ! $ this -> _incomingPhoneNumbers ) { $ this -> _incomingPhoneNumbers = new IncomingPhoneNumberList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _incomingPhoneNumbers ; }
Access the incomingPhoneNumbers
12,789
protected function getKeys ( ) { if ( ! $ this -> _keys ) { $ this -> _keys = new KeyList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _keys ; }
Access the keys
12,790
protected function getNewKeys ( ) { if ( ! $ this -> _newKeys ) { $ this -> _newKeys = new NewKeyList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _newKeys ; }
Access the newKeys
12,791
protected function getNewSigningKeys ( ) { if ( ! $ this -> _newSigningKeys ) { $ this -> _newSigningKeys = new NewSigningKeyList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _newSigningKeys ; }
Access the newSigningKeys
12,792
protected function getOutgoingCallerIds ( ) { if ( ! $ this -> _outgoingCallerIds ) { $ this -> _outgoingCallerIds = new OutgoingCallerIdList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _outgoingCallerIds ; }
Access the outgoingCallerIds
12,793
protected function getQueues ( ) { if ( ! $ this -> _queues ) { $ this -> _queues = new QueueList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _queues ; }
Access the queues
12,794
protected function getSigningKeys ( ) { if ( ! $ this -> _signingKeys ) { $ this -> _signingKeys = new SigningKeyList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _signingKeys ; }
Access the signingKeys
12,795
protected function getSip ( ) { if ( ! $ this -> _sip ) { $ this -> _sip = new SipList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _sip ; }
Access the sip
12,796
protected function getTokens ( ) { if ( ! $ this -> _tokens ) { $ this -> _tokens = new TokenList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _tokens ; }
Access the tokens
12,797
protected function getTranscriptions ( ) { if ( ! $ this -> _transcriptions ) { $ this -> _transcriptions = new TranscriptionList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _transcriptions ; }
Access the transcriptions
12,798
protected function getUsage ( ) { if ( ! $ this -> _usage ) { $ this -> _usage = new UsageList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _usage ; }
Access the usage
12,799
protected function getValidationRequests ( ) { if ( ! $ this -> _validationRequests ) { $ this -> _validationRequests = new ValidationRequestList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _validationRequests ; }
Access the validationRequests