HistoryApi
HistoryApi Class Doc Comment
Tags
Table of Contents
- $client : ClientInterface
- $config : Configuration
- $headerSelector : HeaderSelector
- __construct() : mixed
- getConfig() : Configuration
- getDeviceCameraAnalyticsZoneHistory() : object
- Operation getDeviceCameraAnalyticsZoneHistory
- getDeviceCameraAnalyticsZoneHistoryAsync() : PromiseInterface
- Operation getDeviceCameraAnalyticsZoneHistoryAsync
- getDeviceCameraAnalyticsZoneHistoryAsyncWithHttpInfo() : PromiseInterface
- Operation getDeviceCameraAnalyticsZoneHistoryAsyncWithHttpInfo
- getDeviceCameraAnalyticsZoneHistoryWithHttpInfo() : array<string|int, mixed>
- Operation getDeviceCameraAnalyticsZoneHistoryWithHttpInfo
- createHttpClientOption() : array<string|int, mixed>
- Create http client option
- getDeviceCameraAnalyticsZoneHistoryRequest() : Request
- Create request for operation 'getDeviceCameraAnalyticsZoneHistory'
Properties
$client
protected
ClientInterface
$client
$config
protected
Configuration
$config
$headerSelector
protected
HeaderSelector
$headerSelector
Methods
__construct()
public
__construct([ClientInterface $client = null ][, Configuration $config = null ][, HeaderSelector $selector = null ]) : mixed
Parameters
- $client : ClientInterface = null
- $config : Configuration = null
- $selector : HeaderSelector = null
Return values
mixed —getConfig()
public
getConfig() : Configuration
Return values
Configuration —getDeviceCameraAnalyticsZoneHistory()
Operation getDeviceCameraAnalyticsZoneHistory
public
getDeviceCameraAnalyticsZoneHistory(string $serial, string $zone_id[, string $t0 = null ][, string $t1 = null ][, float $timespan = null ][, int $resolution = null ][, string $object_type = null ]) : object
Return historical records for analytic zones
Parameters
- $serial : string
-
serial (required)
- $zone_id : string
-
zone_id (required)
- $t0 : string = null
-
The beginning of the timespan for the data. The maximum lookback period is 365 days from today. (optional)
- $t1 : string = null
-
The end of the timespan for the data. t1 can be a maximum of 14 hours after t0. (optional)
- $timespan : float = null
-
The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 14 hours. The default is 1 hour. (optional)
- $resolution : int = null
-
The time resolution in seconds for returned data. The valid resolutions are: 60. The default is 60. (optional)
- $object_type : string = null
-
[optional] The object type for which analytics will be retrieved. The default object type is person. The available types are [person, vehicle]. (optional)
Tags
Return values
object —getDeviceCameraAnalyticsZoneHistoryAsync()
Operation getDeviceCameraAnalyticsZoneHistoryAsync
public
getDeviceCameraAnalyticsZoneHistoryAsync(string $serial, string $zone_id[, string $t0 = null ][, string $t1 = null ][, float $timespan = null ][, int $resolution = null ][, string $object_type = null ]) : PromiseInterface
Return historical records for analytic zones
Parameters
- $serial : string
-
(required)
- $zone_id : string
-
(required)
- $t0 : string = null
-
The beginning of the timespan for the data. The maximum lookback period is 365 days from today. (optional)
- $t1 : string = null
-
The end of the timespan for the data. t1 can be a maximum of 14 hours after t0. (optional)
- $timespan : float = null
-
The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 14 hours. The default is 1 hour. (optional)
- $resolution : int = null
-
The time resolution in seconds for returned data. The valid resolutions are: 60. The default is 60. (optional)
- $object_type : string = null
-
[optional] The object type for which analytics will be retrieved. The default object type is person. The available types are [person, vehicle]. (optional)
Tags
Return values
PromiseInterface —getDeviceCameraAnalyticsZoneHistoryAsyncWithHttpInfo()
Operation getDeviceCameraAnalyticsZoneHistoryAsyncWithHttpInfo
public
getDeviceCameraAnalyticsZoneHistoryAsyncWithHttpInfo(string $serial, string $zone_id[, string $t0 = null ][, string $t1 = null ][, float $timespan = null ][, int $resolution = null ][, string $object_type = null ]) : PromiseInterface
Return historical records for analytic zones
Parameters
- $serial : string
-
(required)
- $zone_id : string
-
(required)
- $t0 : string = null
-
The beginning of the timespan for the data. The maximum lookback period is 365 days from today. (optional)
- $t1 : string = null
-
The end of the timespan for the data. t1 can be a maximum of 14 hours after t0. (optional)
- $timespan : float = null
-
The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 14 hours. The default is 1 hour. (optional)
- $resolution : int = null
-
The time resolution in seconds for returned data. The valid resolutions are: 60. The default is 60. (optional)
- $object_type : string = null
-
[optional] The object type for which analytics will be retrieved. The default object type is person. The available types are [person, vehicle]. (optional)
Tags
Return values
PromiseInterface —getDeviceCameraAnalyticsZoneHistoryWithHttpInfo()
Operation getDeviceCameraAnalyticsZoneHistoryWithHttpInfo
public
getDeviceCameraAnalyticsZoneHistoryWithHttpInfo(string $serial, string $zone_id[, string $t0 = null ][, string $t1 = null ][, float $timespan = null ][, int $resolution = null ][, string $object_type = null ]) : array<string|int, mixed>
Return historical records for analytic zones
Parameters
- $serial : string
-
(required)
- $zone_id : string
-
(required)
- $t0 : string = null
-
The beginning of the timespan for the data. The maximum lookback period is 365 days from today. (optional)
- $t1 : string = null
-
The end of the timespan for the data. t1 can be a maximum of 14 hours after t0. (optional)
- $timespan : float = null
-
The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 14 hours. The default is 1 hour. (optional)
- $resolution : int = null
-
The time resolution in seconds for returned data. The valid resolutions are: 60. The default is 60. (optional)
- $object_type : string = null
-
[optional] The object type for which analytics will be retrieved. The default object type is person. The available types are [person, vehicle]. (optional)
Tags
Return values
array<string|int, mixed> —of object, HTTP status code, HTTP response headers (array of strings)
createHttpClientOption()
Create http client option
protected
createHttpClientOption() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —of http client options
getDeviceCameraAnalyticsZoneHistoryRequest()
Create request for operation 'getDeviceCameraAnalyticsZoneHistory'
protected
getDeviceCameraAnalyticsZoneHistoryRequest(string $serial, string $zone_id[, string $t0 = null ][, string $t1 = null ][, float $timespan = null ][, int $resolution = null ][, string $object_type = null ]) : Request
Parameters
- $serial : string
-
(required)
- $zone_id : string
-
(required)
- $t0 : string = null
-
The beginning of the timespan for the data. The maximum lookback period is 365 days from today. (optional)
- $t1 : string = null
-
The end of the timespan for the data. t1 can be a maximum of 14 hours after t0. (optional)
- $timespan : float = null
-
The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 14 hours. The default is 1 hour. (optional)
- $resolution : int = null
-
The time resolution in seconds for returned data. The valid resolutions are: 60. The default is 60. (optional)
- $object_type : string = null
-
[optional] The object type for which analytics will be retrieved. The default object type is person. The available types are [person, vehicle]. (optional)