Documentation

StpApi

StpApi 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
getNetworkSwitchStp()  : object
Operation getNetworkSwitchStp
getNetworkSwitchStpAsync()  : PromiseInterface
Operation getNetworkSwitchStpAsync
getNetworkSwitchStpAsyncWithHttpInfo()  : PromiseInterface
Operation getNetworkSwitchStpAsyncWithHttpInfo
getNetworkSwitchStpWithHttpInfo()  : array<string|int, mixed>
Operation getNetworkSwitchStpWithHttpInfo
updateNetworkSwitchStp()  : object
Operation updateNetworkSwitchStp
updateNetworkSwitchStpAsync()  : PromiseInterface
Operation updateNetworkSwitchStpAsync
updateNetworkSwitchStpAsyncWithHttpInfo()  : PromiseInterface
Operation updateNetworkSwitchStpAsyncWithHttpInfo
updateNetworkSwitchStpWithHttpInfo()  : array<string|int, mixed>
Operation updateNetworkSwitchStpWithHttpInfo
createHttpClientOption()  : array<string|int, mixed>
Create http client option
getNetworkSwitchStpRequest()  : Request
Create request for operation 'getNetworkSwitchStp'
updateNetworkSwitchStpRequest()  : Request
Create request for operation 'updateNetworkSwitchStp'

Properties

$client

protected ClientInterface $client

Methods

getNetworkSwitchStp()

Operation getNetworkSwitchStp

public getNetworkSwitchStp(string $network_id) : object

Returns STP settings

Parameters
$network_id : string

network_id (required)

Tags
throws
ApiException

on non-2xx response

throws
InvalidArgumentException
Return values
object

getNetworkSwitchStpAsync()

Operation getNetworkSwitchStpAsync

public getNetworkSwitchStpAsync(string $network_id) : PromiseInterface

Returns STP settings

Parameters
$network_id : string

(required)

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

getNetworkSwitchStpAsyncWithHttpInfo()

Operation getNetworkSwitchStpAsyncWithHttpInfo

public getNetworkSwitchStpAsyncWithHttpInfo(string $network_id) : PromiseInterface

Returns STP settings

Parameters
$network_id : string

(required)

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

getNetworkSwitchStpWithHttpInfo()

Operation getNetworkSwitchStpWithHttpInfo

public getNetworkSwitchStpWithHttpInfo(string $network_id) : array<string|int, mixed>

Returns STP settings

Parameters
$network_id : 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)

updateNetworkSwitchStp()

Operation updateNetworkSwitchStp

public updateNetworkSwitchStp(string $network_id[, UpdateNetworkSwitchStp $update_network_switch_stp = null ]) : object

Updates STP settings

Parameters
$network_id : string

network_id (required)

$update_network_switch_stp : UpdateNetworkSwitchStp = null

update_network_switch_stp (optional)

Tags
throws
ApiException

on non-2xx response

throws
InvalidArgumentException
Return values
object

updateNetworkSwitchStpAsync()

Operation updateNetworkSwitchStpAsync

public updateNetworkSwitchStpAsync(string $network_id[, UpdateNetworkSwitchStp $update_network_switch_stp = null ]) : PromiseInterface

Updates STP settings

Parameters
$network_id : string

(required)

$update_network_switch_stp : UpdateNetworkSwitchStp = null

(optional)

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

updateNetworkSwitchStpAsyncWithHttpInfo()

Operation updateNetworkSwitchStpAsyncWithHttpInfo

public updateNetworkSwitchStpAsyncWithHttpInfo(string $network_id[, UpdateNetworkSwitchStp $update_network_switch_stp = null ]) : PromiseInterface

Updates STP settings

Parameters
$network_id : string

(required)

$update_network_switch_stp : UpdateNetworkSwitchStp = null

(optional)

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

updateNetworkSwitchStpWithHttpInfo()

Operation updateNetworkSwitchStpWithHttpInfo

public updateNetworkSwitchStpWithHttpInfo(string $network_id[, UpdateNetworkSwitchStp $update_network_switch_stp = null ]) : array<string|int, mixed>

Updates STP settings

Parameters
$network_id : string

(required)

$update_network_switch_stp : UpdateNetworkSwitchStp = null

(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

getNetworkSwitchStpRequest()

Create request for operation 'getNetworkSwitchStp'

protected getNetworkSwitchStpRequest(string $network_id) : Request
Parameters
$network_id : string

(required)

Tags
throws
InvalidArgumentException
Return values
Request

updateNetworkSwitchStpRequest()

Create request for operation 'updateNetworkSwitchStp'

protected updateNetworkSwitchStpRequest(string $network_id[, UpdateNetworkSwitchStp $update_network_switch_stp = null ]) : Request
Parameters
$network_id : string

(required)

$update_network_switch_stp : UpdateNetworkSwitchStp = null

(optional)

Tags
throws
InvalidArgumentException
Return values
Request

Search results