PacketsApi
PacketsApi Class Doc Comment
Tags
Table of Contents
- $client : ClientInterface
- $config : Configuration
- $headerSelector : HeaderSelector
- __construct() : mixed
- getConfig() : Configuration
- getDeviceSwitchPortsStatusesPackets() : object
- Operation getDeviceSwitchPortsStatusesPackets
- getDeviceSwitchPortsStatusesPacketsAsync() : PromiseInterface
- Operation getDeviceSwitchPortsStatusesPacketsAsync
- getDeviceSwitchPortsStatusesPacketsAsyncWithHttpInfo() : PromiseInterface
- Operation getDeviceSwitchPortsStatusesPacketsAsyncWithHttpInfo
- getDeviceSwitchPortsStatusesPacketsWithHttpInfo() : array<string|int, mixed>
- Operation getDeviceSwitchPortsStatusesPacketsWithHttpInfo
- createHttpClientOption() : array<string|int, mixed>
- Create http client option
- getDeviceSwitchPortsStatusesPacketsRequest() : Request
- Create request for operation 'getDeviceSwitchPortsStatusesPackets'
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 —getDeviceSwitchPortsStatusesPackets()
Operation getDeviceSwitchPortsStatusesPackets
public
getDeviceSwitchPortsStatusesPackets(string $serial[, string $t0 = null ][, float $timespan = null ]) : object
Return the packet counters for all the ports of a switch
Parameters
- $serial : string
-
serial (required)
- $t0 : string = null
-
The beginning of the timespan for the data. The maximum lookback period is 1 day from today. (optional)
- $timespan : float = null
-
The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 1 day. The default is 1 day. (optional)
Tags
Return values
object —getDeviceSwitchPortsStatusesPacketsAsync()
Operation getDeviceSwitchPortsStatusesPacketsAsync
public
getDeviceSwitchPortsStatusesPacketsAsync(string $serial[, string $t0 = null ][, float $timespan = null ]) : PromiseInterface
Return the packet counters for all the ports of a switch
Parameters
- $serial : string
-
(required)
- $t0 : string = null
-
The beginning of the timespan for the data. The maximum lookback period is 1 day from today. (optional)
- $timespan : float = null
-
The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 1 day. The default is 1 day. (optional)
Tags
Return values
PromiseInterface —getDeviceSwitchPortsStatusesPacketsAsyncWithHttpInfo()
Operation getDeviceSwitchPortsStatusesPacketsAsyncWithHttpInfo
public
getDeviceSwitchPortsStatusesPacketsAsyncWithHttpInfo(string $serial[, string $t0 = null ][, float $timespan = null ]) : PromiseInterface
Return the packet counters for all the ports of a switch
Parameters
- $serial : string
-
(required)
- $t0 : string = null
-
The beginning of the timespan for the data. The maximum lookback period is 1 day from today. (optional)
- $timespan : float = null
-
The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 1 day. The default is 1 day. (optional)
Tags
Return values
PromiseInterface —getDeviceSwitchPortsStatusesPacketsWithHttpInfo()
Operation getDeviceSwitchPortsStatusesPacketsWithHttpInfo
public
getDeviceSwitchPortsStatusesPacketsWithHttpInfo(string $serial[, string $t0 = null ][, float $timespan = null ]) : array<string|int, mixed>
Return the packet counters for all the ports of a switch
Parameters
- $serial : string
-
(required)
- $t0 : string = null
-
The beginning of the timespan for the data. The maximum lookback period is 1 day from today. (optional)
- $timespan : float = null
-
The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 1 day. The default is 1 day. (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
getDeviceSwitchPortsStatusesPacketsRequest()
Create request for operation 'getDeviceSwitchPortsStatusesPackets'
protected
getDeviceSwitchPortsStatusesPacketsRequest(string $serial[, string $t0 = null ][, float $timespan = null ]) : Request
Parameters
- $serial : string
-
(required)
- $t0 : string = null
-
The beginning of the timespan for the data. The maximum lookback period is 1 day from today. (optional)
- $timespan : float = null
-
The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 1 day. The default is 1 day. (optional)