Documentation

PolicyApi

PolicyApi 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
getNetworkClientPolicy()  : object
Operation getNetworkClientPolicy
getNetworkClientPolicyAsync()  : PromiseInterface
Operation getNetworkClientPolicyAsync
getNetworkClientPolicyAsyncWithHttpInfo()  : PromiseInterface
Operation getNetworkClientPolicyAsyncWithHttpInfo
getNetworkClientPolicyWithHttpInfo()  : array<string|int, mixed>
Operation getNetworkClientPolicyWithHttpInfo
updateNetworkClientPolicy()  : object
Operation updateNetworkClientPolicy
updateNetworkClientPolicyAsync()  : PromiseInterface
Operation updateNetworkClientPolicyAsync
updateNetworkClientPolicyAsyncWithHttpInfo()  : PromiseInterface
Operation updateNetworkClientPolicyAsyncWithHttpInfo
updateNetworkClientPolicyWithHttpInfo()  : array<string|int, mixed>
Operation updateNetworkClientPolicyWithHttpInfo
createHttpClientOption()  : array<string|int, mixed>
Create http client option
getNetworkClientPolicyRequest()  : Request
Create request for operation 'getNetworkClientPolicy'
updateNetworkClientPolicyRequest()  : Request
Create request for operation 'updateNetworkClientPolicy'

Properties

Methods

getNetworkClientPolicy()

Operation getNetworkClientPolicy

public getNetworkClientPolicy(string $network_id, string $client_id) : object

Return the policy assigned to a client on the network

Parameters
$network_id : string

network_id (required)

$client_id : string

client_id (required)

Tags
throws
ApiException

on non-2xx response

throws
InvalidArgumentException
Return values
object

getNetworkClientPolicyAsync()

Operation getNetworkClientPolicyAsync

public getNetworkClientPolicyAsync(string $network_id, string $client_id) : PromiseInterface

Return the policy assigned to a client on the network

Parameters
$network_id : string

(required)

$client_id : string

(required)

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

getNetworkClientPolicyAsyncWithHttpInfo()

Operation getNetworkClientPolicyAsyncWithHttpInfo

public getNetworkClientPolicyAsyncWithHttpInfo(string $network_id, string $client_id) : PromiseInterface

Return the policy assigned to a client on the network

Parameters
$network_id : string

(required)

$client_id : string

(required)

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

getNetworkClientPolicyWithHttpInfo()

Operation getNetworkClientPolicyWithHttpInfo

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

Return the policy assigned to a client on the network

Parameters
$network_id : string

(required)

$client_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)

updateNetworkClientPolicy()

Operation updateNetworkClientPolicy

public updateNetworkClientPolicy(string $network_id, string $client_id, UpdateNetworkClientPolicy $update_network_client_policy) : object

Update the policy assigned to a client on the network

Parameters
$network_id : string

network_id (required)

$client_id : string

client_id (required)

$update_network_client_policy : UpdateNetworkClientPolicy

update_network_client_policy (required)

Tags
throws
ApiException

on non-2xx response

throws
InvalidArgumentException
Return values
object

updateNetworkClientPolicyAsync()

Operation updateNetworkClientPolicyAsync

public updateNetworkClientPolicyAsync(string $network_id, string $client_id, UpdateNetworkClientPolicy $update_network_client_policy) : PromiseInterface

Update the policy assigned to a client on the network

Parameters
$network_id : string

(required)

$client_id : string

(required)

$update_network_client_policy : UpdateNetworkClientPolicy

(required)

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

updateNetworkClientPolicyAsyncWithHttpInfo()

Operation updateNetworkClientPolicyAsyncWithHttpInfo

public updateNetworkClientPolicyAsyncWithHttpInfo(string $network_id, string $client_id, UpdateNetworkClientPolicy $update_network_client_policy) : PromiseInterface

Update the policy assigned to a client on the network

Parameters
$network_id : string

(required)

$client_id : string

(required)

$update_network_client_policy : UpdateNetworkClientPolicy

(required)

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

updateNetworkClientPolicyWithHttpInfo()

Operation updateNetworkClientPolicyWithHttpInfo

public updateNetworkClientPolicyWithHttpInfo(string $network_id, string $client_id, UpdateNetworkClientPolicy $update_network_client_policy) : array<string|int, mixed>

Update the policy assigned to a client on the network

Parameters
$network_id : string

(required)

$client_id : string

(required)

$update_network_client_policy : UpdateNetworkClientPolicy

(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

getNetworkClientPolicyRequest()

Create request for operation 'getNetworkClientPolicy'

protected getNetworkClientPolicyRequest(string $network_id, string $client_id) : Request
Parameters
$network_id : string

(required)

$client_id : string

(required)

Tags
throws
InvalidArgumentException
Return values
Request

updateNetworkClientPolicyRequest()

Create request for operation 'updateNetworkClientPolicy'

protected updateNetworkClientPolicyRequest(string $network_id, string $client_id, UpdateNetworkClientPolicy $update_network_client_policy) : Request
Parameters
$network_id : string

(required)

$client_id : string

(required)

$update_network_client_policy : UpdateNetworkClientPolicy

(required)

Tags
throws
InvalidArgumentException
Return values
Request

Search results