Documentation

PacketsApi

PacketsApi 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
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

Methods

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

on non-2xx response

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

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)

Tags
throws
InvalidArgumentException
Return values
Request

Search results