Documentation

ZonesApi

ZonesApi Class Doc Comment

Tags
category

Class

author

Swagger Codegen team

link
https://github.com/swagger-api/swagger-codegen

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
getDeviceCameraAnalyticsZones()  : object
Operation getDeviceCameraAnalyticsZones
getDeviceCameraAnalyticsZonesAsync()  : PromiseInterface
Operation getDeviceCameraAnalyticsZonesAsync
getDeviceCameraAnalyticsZonesAsyncWithHttpInfo()  : PromiseInterface
Operation getDeviceCameraAnalyticsZonesAsyncWithHttpInfo
getDeviceCameraAnalyticsZonesWithHttpInfo()  : array<string|int, mixed>
Operation getDeviceCameraAnalyticsZonesWithHttpInfo
createHttpClientOption()  : array<string|int, mixed>
Create http client option
getDeviceCameraAnalyticsZoneHistoryRequest()  : Request
Create request for operation 'getDeviceCameraAnalyticsZoneHistory'
getDeviceCameraAnalyticsZonesRequest()  : Request
Create request for operation 'getDeviceCameraAnalyticsZones'

Properties

$client

protected ClientInterface $client

Methods

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
throws
ApiException

on non-2xx response

throws
InvalidArgumentException
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
throws
InvalidArgumentException
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
throws
InvalidArgumentException
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
throws
ApiException

on non-2xx response

throws
InvalidArgumentException
Return values
array<string|int, mixed>

of object, HTTP status code, HTTP response headers (array of strings)

getDeviceCameraAnalyticsZones()

Operation getDeviceCameraAnalyticsZones

public getDeviceCameraAnalyticsZones(string $serial) : object

Returns all configured analytic zones for this camera

Parameters
$serial : string

serial (required)

Tags
throws
ApiException

on non-2xx response

throws
InvalidArgumentException
Return values
object

getDeviceCameraAnalyticsZonesAsync()

Operation getDeviceCameraAnalyticsZonesAsync

public getDeviceCameraAnalyticsZonesAsync(string $serial) : PromiseInterface

Returns all configured analytic zones for this camera

Parameters
$serial : string

(required)

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

getDeviceCameraAnalyticsZonesAsyncWithHttpInfo()

Operation getDeviceCameraAnalyticsZonesAsyncWithHttpInfo

public getDeviceCameraAnalyticsZonesAsyncWithHttpInfo(string $serial) : PromiseInterface

Returns all configured analytic zones for this camera

Parameters
$serial : string

(required)

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

getDeviceCameraAnalyticsZonesWithHttpInfo()

Operation getDeviceCameraAnalyticsZonesWithHttpInfo

public getDeviceCameraAnalyticsZonesWithHttpInfo(string $serial) : array<string|int, mixed>

Returns all configured analytic zones for this camera

Parameters
$serial : string

(required)

Tags
throws
ApiException

on non-2xx response

throws
InvalidArgumentException
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
throws
RuntimeException

on file opening failure

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)

Tags
throws
InvalidArgumentException
Return values
Request

getDeviceCameraAnalyticsZonesRequest()

Create request for operation 'getDeviceCameraAnalyticsZones'

protected getDeviceCameraAnalyticsZonesRequest(string $serial) : Request
Parameters
$serial : string

(required)

Tags
throws
InvalidArgumentException
Return values
Request

Search results