Documentation

UpdateOrganizationSnmp implements ModelInterface, ArrayAccess

UpdateOrganizationSnmp Class Doc Comment

Tags
category

Class

author

Swagger Codegen team

link
https://github.com/swagger-api/swagger-codegen

Interfaces, Classes and Traits

ModelInterface
Interface abstracting model access.
ArrayAccess

Table of Contents

DISCRIMINATOR  = null
V3_AUTH_MODE_MD5  = 'MD5'
V3_AUTH_MODE_SHA  = 'SHA'
V3_PRIV_MODE_AES128  = 'AES128'
V3_PRIV_MODE_DES  = 'DES'
$attributeMap  : array<string|int, string>
Array of attributes where the key is the local name, and the value is the original name
$container  : array<string|int, mixed>
Associative array for storing property values
$getters  : array<string|int, string>
Array of attributes to getter functions (for serialization of requests)
$setters  : array<string|int, string>
Array of attributes to setter functions (for deserialization of responses)
$swaggerFormats  : array<string|int, string>
Array of property to format mappings. Used for (de)serialization
$swaggerModelName  : string
The original name of the model.
$swaggerTypes  : array<string|int, string>
Array of property to type mappings. Used for (de)serialization
__construct()  : mixed
Constructor
__toString()  : string
Gets the string presentation of the object
attributeMap()  : array<string|int, mixed>
Array of attributes where the key is the local name, and the value is the original name
getModelName()  : string
The original name of the model.
getPeerIps()  : array<string|int, string>
Gets peer_ips
getters()  : array<string|int, mixed>
Array of attributes to getter functions (for serialization of requests)
getV2cEnabled()  : bool
Gets v2c_enabled
getV3AuthMode()  : string
Gets v3_auth_mode
getV3AuthModeAllowableValues()  : array<string|int, string>
Gets allowable values of the enum
getV3AuthPass()  : string
Gets v3_auth_pass
getV3Enabled()  : bool
Gets v3_enabled
getV3PrivMode()  : string
Gets v3_priv_mode
getV3PrivModeAllowableValues()  : array<string|int, string>
Gets allowable values of the enum
getV3PrivPass()  : string
Gets v3_priv_pass
listInvalidProperties()  : array<string|int, mixed>
Show all the invalid properties with reasons.
offsetExists()  : bool
Returns true if offset exists. False otherwise.
offsetGet()  : mixed
Gets offset.
offsetSet()  : void
Sets value based on offset.
offsetUnset()  : void
Unsets offset.
setPeerIps()  : $this
Sets peer_ips
setters()  : array<string|int, mixed>
Array of attributes to setter functions (for deserialization of responses)
setV2cEnabled()  : $this
Sets v2c_enabled
setV3AuthMode()  : $this
Sets v3_auth_mode
setV3AuthPass()  : $this
Sets v3_auth_pass
setV3Enabled()  : $this
Sets v3_enabled
setV3PrivMode()  : $this
Sets v3_priv_mode
setV3PrivPass()  : $this
Sets v3_priv_pass
swaggerFormats()  : array<string|int, mixed>
Array of property to format mappings. Used for (de)serialization
swaggerTypes()  : array<string|int, mixed>
Array of property to type mappings. Used for (de)serialization
valid()  : bool
Validate all the properties in the model return true if all passed

Constants

Properties

$attributeMap

Array of attributes where the key is the local name, and the value is the original name

protected static array<string|int, string> $attributeMap = ['v2c_enabled' => 'v2cEnabled', 'v3_enabled' => 'v3Enabled', 'v3_auth_mode' => 'v3AuthMode', 'v3_auth_pass' => 'v3AuthPass', 'v3_priv_mode' => 'v3PrivMode', 'v3_priv_pass' => 'v3PrivPass', 'peer_ips' => 'peerIps']

$container

Associative array for storing property values

protected array<string|int, mixed> $container = []

$getters

Array of attributes to getter functions (for serialization of requests)

protected static array<string|int, string> $getters = ['v2c_enabled' => 'getV2cEnabled', 'v3_enabled' => 'getV3Enabled', 'v3_auth_mode' => 'getV3AuthMode', 'v3_auth_pass' => 'getV3AuthPass', 'v3_priv_mode' => 'getV3PrivMode', 'v3_priv_pass' => 'getV3PrivPass', 'peer_ips' => 'getPeerIps']

$setters

Array of attributes to setter functions (for deserialization of responses)

protected static array<string|int, string> $setters = ['v2c_enabled' => 'setV2cEnabled', 'v3_enabled' => 'setV3Enabled', 'v3_auth_mode' => 'setV3AuthMode', 'v3_auth_pass' => 'setV3AuthPass', 'v3_priv_mode' => 'setV3PrivMode', 'v3_priv_pass' => 'setV3PrivPass', 'peer_ips' => 'setPeerIps']

$swaggerFormats

Array of property to format mappings. Used for (de)serialization

protected static array<string|int, string> $swaggerFormats = ['v2c_enabled' => null, 'v3_enabled' => null, 'v3_auth_mode' => null, 'v3_auth_pass' => null, 'v3_priv_mode' => null, 'v3_priv_pass' => null, 'peer_ips' => null]

$swaggerModelName

The original name of the model.

protected static string $swaggerModelName = 'updateOrganizationSnmp'

$swaggerTypes

Array of property to type mappings. Used for (de)serialization

protected static array<string|int, string> $swaggerTypes = ['v2c_enabled' => 'bool', 'v3_enabled' => 'bool', 'v3_auth_mode' => 'string', 'v3_auth_pass' => 'string', 'v3_priv_mode' => 'string', 'v3_priv_pass' => 'string', 'peer_ips' => 'string[]']

Methods

__construct()

Constructor

public __construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
$data : array<string|int, mixed> = null

Associated array of property values initializing the model

Return values
mixed

__toString()

Gets the string presentation of the object

public __toString() : string
Return values
string

attributeMap()

Array of attributes where the key is the local name, and the value is the original name

public static attributeMap() : array<string|int, mixed>
Return values
array<string|int, mixed>

getModelName()

The original name of the model.

public getModelName() : string
Return values
string

getPeerIps()

Gets peer_ips

public getPeerIps() : array<string|int, string>
Return values
array<string|int, string>

getters()

Array of attributes to getter functions (for serialization of requests)

public static getters() : array<string|int, mixed>
Return values
array<string|int, mixed>

getV3AuthModeAllowableValues()

Gets allowable values of the enum

public getV3AuthModeAllowableValues() : array<string|int, string>
Return values
array<string|int, string>

getV3PrivModeAllowableValues()

Gets allowable values of the enum

public getV3PrivModeAllowableValues() : array<string|int, string>
Return values
array<string|int, string>

listInvalidProperties()

Show all the invalid properties with reasons.

public listInvalidProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>

invalid properties with reasons

offsetExists()

Returns true if offset exists. False otherwise.

public offsetExists(int $offset) : bool
Parameters
$offset : int

Offset

Return values
bool

offsetGet()

Gets offset.

public offsetGet(int $offset) : mixed
Parameters
$offset : int

Offset

Return values
mixed

offsetSet()

Sets value based on offset.

public offsetSet(int $offset, mixed $value) : void
Parameters
$offset : int

Offset

$value : mixed

Value to be set

Return values
void

offsetUnset()

Unsets offset.

public offsetUnset(int $offset) : void
Parameters
$offset : int

Offset

Return values
void

setPeerIps()

Sets peer_ips

public setPeerIps(array<string|int, string> $peer_ips) : $this
Parameters
$peer_ips : array<string|int, string>

The list of IPv4 addresses that are allowed to access the SNMP server.

Return values
$this

setters()

Array of attributes to setter functions (for deserialization of responses)

public static setters() : array<string|int, mixed>
Return values
array<string|int, mixed>

setV2cEnabled()

Sets v2c_enabled

public setV2cEnabled(bool $v2c_enabled) : $this
Parameters
$v2c_enabled : bool

Boolean indicating whether SNMP version 2c is enabled for the organization.

Return values
$this

setV3AuthMode()

Sets v3_auth_mode

public setV3AuthMode(string $v3_auth_mode) : $this
Parameters
$v3_auth_mode : string

The SNMP version 3 authentication mode. Can be either 'MD5' or 'SHA'.

Return values
$this

setV3AuthPass()

Sets v3_auth_pass

public setV3AuthPass(string $v3_auth_pass) : $this
Parameters
$v3_auth_pass : string

The SNMP version 3 authentication password. Must be at least 8 characters if specified.

Return values
$this

setV3Enabled()

Sets v3_enabled

public setV3Enabled(bool $v3_enabled) : $this
Parameters
$v3_enabled : bool

Boolean indicating whether SNMP version 3 is enabled for the organization.

Return values
$this

setV3PrivMode()

Sets v3_priv_mode

public setV3PrivMode(string $v3_priv_mode) : $this
Parameters
$v3_priv_mode : string

The SNMP version 3 privacy mode. Can be either 'DES' or 'AES128'.

Return values
$this

setV3PrivPass()

Sets v3_priv_pass

public setV3PrivPass(string $v3_priv_pass) : $this
Parameters
$v3_priv_pass : string

The SNMP version 3 privacy password. Must be at least 8 characters if specified.

Return values
$this

swaggerFormats()

Array of property to format mappings. Used for (de)serialization

public static swaggerFormats() : array<string|int, mixed>
Return values
array<string|int, mixed>

swaggerTypes()

Array of property to type mappings. Used for (de)serialization

public static swaggerTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>

valid()

Validate all the properties in the model return true if all passed

public valid() : bool
Return values
bool

True if all properties are valid

Search results