StpApi
StpApi Class Doc Comment
Tags
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
$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 —getNetworkSwitchStp()
Operation getNetworkSwitchStp
public
getNetworkSwitchStp(string $network_id) : object
Returns STP settings
Parameters
- $network_id : string
-
network_id (required)
Tags
Return values
object —getNetworkSwitchStpAsync()
Operation getNetworkSwitchStpAsync
public
getNetworkSwitchStpAsync(string $network_id) : PromiseInterface
Returns STP settings
Parameters
- $network_id : string
-
(required)
Tags
Return values
PromiseInterface —getNetworkSwitchStpAsyncWithHttpInfo()
Operation getNetworkSwitchStpAsyncWithHttpInfo
public
getNetworkSwitchStpAsyncWithHttpInfo(string $network_id) : PromiseInterface
Returns STP settings
Parameters
- $network_id : string
-
(required)
Tags
Return values
PromiseInterface —getNetworkSwitchStpWithHttpInfo()
Operation getNetworkSwitchStpWithHttpInfo
public
getNetworkSwitchStpWithHttpInfo(string $network_id) : array<string|int, mixed>
Returns STP settings
Parameters
- $network_id : string
-
(required)
Tags
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
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
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
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
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
getNetworkSwitchStpRequest()
Create request for operation 'getNetworkSwitchStp'
protected
getNetworkSwitchStpRequest(string $network_id) : Request
Parameters
- $network_id : string
-
(required)
Tags
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)