DataFeedApi
in package
DataFeedApi Class Doc Comment
Tags
Table of Contents
- $apiClient : ApiClient
- API Client
- __construct() : void
- Constructor
- getApiClient() : ApiClient
- Get API client
- getDataFeedElement() : mixed
- Operation getDataFeedElement
- getDataFeedElementWithHttpInfo() : array<string|int, mixed>
- Operation getDataFeedElementWithHttpInfo
- setApiClient() : self
- Set the API client
- updateResourcePath() : string
- Update $resourcePath with $
Properties
$apiClient
API Client
protected
ApiClient
$apiClient
instance of the ApiClient
Methods
__construct()
Constructor
public
__construct([ApiClient|null $apiClient = null ]) : void
Parameters
- $apiClient : ApiClient|null = null
-
The api client to use
Return values
void —getApiClient()
Get API client
public
getApiClient() : ApiClient
Return values
ApiClient —get the API client
getDataFeedElement()
Operation getDataFeedElement
public
getDataFeedElement(string|null $account_id, string|null $data_feed_element_id) : mixed
Retrieves a Datafeed element by Id.
Parameters
- $account_id : string|null
-
The external account number (int) or account ID Guid.
- $data_feed_element_id : string|null
Tags
Return values
mixed —getDataFeedElementWithHttpInfo()
Operation getDataFeedElementWithHttpInfo
public
getDataFeedElementWithHttpInfo(string|null $account_id, string|null $data_feed_element_id) : array<string|int, mixed>
Retrieves a Datafeed element by Id.
Parameters
- $account_id : string|null
-
The external account number (int) or account ID Guid.
- $data_feed_element_id : string|null
Tags
Return values
array<string|int, mixed> —of null, HTTP status code, HTTP response headers (array of strings)
setApiClient()
Set the API client
public
setApiClient(ApiClient $apiClient) : self
Parameters
- $apiClient : ApiClient
-
set the API client
Return values
self —updateResourcePath()
Update $resourcePath with $
public
updateResourcePath(string $resourcePath, string $baseName, string $paramName) : string
Parameters
- $resourcePath : string
-
the resource path to use
- $baseName : string
-
the base name param
- $paramName : string
-
the parameter name