Documentation

ModifyNetworkSmDevicesTags implements ModelInterface, ArrayAccess

ModifyNetworkSmDevicesTags 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
$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
getIds()  : array<string|int, string>
Gets ids
getModelName()  : string
The original name of the model.
getScope()  : array<string|int, string>
Gets scope
getSerials()  : array<string|int, string>
Gets serials
getTags()  : array<string|int, string>
Gets tags
getters()  : array<string|int, mixed>
Array of attributes to getter functions (for serialization of requests)
getUpdateAction()  : string
Gets update_action
getWifiMacs()  : array<string|int, string>
Gets wifi_macs
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.
setIds()  : $this
Sets ids
setScope()  : $this
Sets scope
setSerials()  : $this
Sets serials
setTags()  : $this
Sets tags
setters()  : array<string|int, mixed>
Array of attributes to setter functions (for deserialization of responses)
setUpdateAction()  : $this
Sets update_action
setWifiMacs()  : $this
Sets wifi_macs
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 = ['wifi_macs' => 'wifiMacs', 'ids' => 'ids', 'serials' => 'serials', 'scope' => 'scope', 'tags' => 'tags', 'update_action' => 'updateAction']

$getters

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

protected static array<string|int, string> $getters = ['wifi_macs' => 'getWifiMacs', 'ids' => 'getIds', 'serials' => 'getSerials', 'scope' => 'getScope', 'tags' => 'getTags', 'update_action' => 'getUpdateAction']

$setters

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

protected static array<string|int, string> $setters = ['wifi_macs' => 'setWifiMacs', 'ids' => 'setIds', 'serials' => 'setSerials', 'scope' => 'setScope', 'tags' => 'setTags', 'update_action' => 'setUpdateAction']

$swaggerFormats

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

protected static array<string|int, string> $swaggerFormats = ['wifi_macs' => null, 'ids' => null, 'serials' => null, 'scope' => null, 'tags' => null, 'update_action' => null]

$swaggerModelName

The original name of the model.

protected static string $swaggerModelName = 'modifyNetworkSmDevicesTags'

$swaggerTypes

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

protected static array<string|int, string> $swaggerTypes = ['wifi_macs' => 'string[]', 'ids' => 'string[]', 'serials' => 'string[]', 'scope' => 'string[]', 'tags' => 'string[]', 'update_action' => '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

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>

getScope()

Gets scope

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

getSerials()

Gets serials

public getSerials() : 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>

getWifiMacs()

Gets wifi_macs

public getWifiMacs() : 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

setIds()

Sets ids

public setIds(array<string|int, string> $ids) : $this
Parameters
$ids : array<string|int, string>

The ids of the devices to be modified.

Return values
$this

setScope()

Sets scope

public setScope(array<string|int, string> $scope) : $this
Parameters
$scope : array<string|int, string>

The scope (one of all, none, withAny, withAll, withoutAny, or withoutAll) and a set of tags of the devices to be modified.

Return values
$this

setSerials()

Sets serials

public setSerials(array<string|int, string> $serials) : $this
Parameters
$serials : array<string|int, string>

The serials of the devices to be modified.

Return values
$this

setTags()

Sets tags

public setTags(array<string|int, string> $tags) : $this
Parameters
$tags : array<string|int, string>

The tags to be added, deleted, or updated.

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>

setUpdateAction()

Sets update_action

public setUpdateAction(string $update_action) : $this
Parameters
$update_action : string

One of add, delete, or update. Only devices that have been modified will be returned.

Return values
$this

setWifiMacs()

Sets wifi_macs

public setWifiMacs(array<string|int, string> $wifi_macs) : $this
Parameters
$wifi_macs : array<string|int, string>

The wifiMacs of the devices to be modified.

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