public
Angelfon\SDK\Rest\Api\V099\User\CallContext
|
#
getContext( integer $id )
Construct a Call context
Parameters
Returns
|
public
Angelfon\SDK\Rest\Api\V099\User\CallInstance[]
|
#
read( array|Options $options = array(), integer $limit = null, mixed $pageSize = null )
Reads CallInstance records from the API as a list.
Unlike stream(), this operation is eager and will load limit records into
memory before returning.
Reads CallInstance records from the API as a list.
Unlike stream(), this operation is eager and will load limit records into
memory before returning.
Parameters
- $options
- Optional Arguments
- $limit
Upper limit for the number of records to return. read()
guarantees to never return more than limit. Default is no
limit
- $pageSize
Number of records to fetch per request, when not set
will use the default value of 50 records. If no
page_size is defined but a limit is defined, read()
will attempt to read the limit with the most
efficient page size, i.e. min(limit, 1000)
Returns
|
public
Angelfon\SDK\CallPage
|
#
page( array|Options $options = array(), mixed $pageSize,…, string $pageToken,…, mixed $pageNumber,… )
Retrieve a single page of CallInstance records from the API.
Request is executed immediately
Retrieve a single page of CallInstance records from the API.
Request is executed immediately
Parameters
- $options
- Optional Arguments
- $pageSize,…
- Number of records to return, defaults to 50
- $pageToken,…
- PageToken provided by the API
- $pageNumber,…
- Page Number, this value is simply for client state
Returns
Angelfon\SDK\CallPage Page of CallInstance
|