InfluxDB PHP Client
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | Static Protected Attributes | List of all members
InfluxDB2\Model\Label Class Reference
Inheritance diagram for InfluxDB2\Model\Label:
InfluxDB2\Model\ModelInterface

Public Member Functions

 getModelName ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getId ()
 
 setId ($id)
 
 getOrgId ()
 
 setOrgId ($org_id)
 
 getName ()
 
 setName ($name)
 
 getProperties ()
 
 setProperties ($properties)
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
 __toString ()
 

Static Public Member Functions

static openAPITypes ()
 
static openAPIFormats ()
 
static attributeMap ()
 
static setters ()
 
static getters ()
 

Public Attributes

const DISCRIMINATOR = null
 

Protected Attributes

 $container = []
 

Static Protected Attributes

static $openAPIModelName = 'Label'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 

Constructor & Destructor Documentation

◆ __construct()

InfluxDB2\Model\Label::__construct ( array $data = null)

Constructor

Parameters
mixed[]$dataAssociated array of property values initializing the model

Member Function Documentation

◆ __toString()

InfluxDB2\Model\Label::__toString ( )

Gets the string presentation of the object

Returns
string

◆ attributeMap()

static InfluxDB2\Model\Label::attributeMap ( )
static

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ getId()

InfluxDB2\Model\Label::getId ( )

Gets id

Returns
string|null

◆ getModelName()

InfluxDB2\Model\Label::getModelName ( )

The original name of the model.

Returns
string

Implements InfluxDB2\Model\ModelInterface.

◆ getName()

InfluxDB2\Model\Label::getName ( )

Gets name

Returns
string|null

◆ getOrgId()

InfluxDB2\Model\Label::getOrgId ( )

Gets org_id

Returns
string|null

◆ getProperties()

InfluxDB2\Model\Label::getProperties ( )

Gets properties

Returns
map[string,string]|null

◆ getters()

static InfluxDB2\Model\Label::getters ( )
static

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ listInvalidProperties()

InfluxDB2\Model\Label::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Implements InfluxDB2\Model\ModelInterface.

◆ offsetExists()

InfluxDB2\Model\Label::offsetExists ( $offset)

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

◆ offsetGet()

InfluxDB2\Model\Label::offsetGet ( $offset)

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

◆ offsetSet()

InfluxDB2\Model\Label::offsetSet ( $offset,
$value )

Sets value based on offset.

Parameters
integer$offsetOffset
mixed$valueValue to be set
Returns
void

◆ offsetUnset()

InfluxDB2\Model\Label::offsetUnset ( $offset)

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

◆ openAPIFormats()

static InfluxDB2\Model\Label::openAPIFormats ( )
static

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ openAPITypes()

static InfluxDB2\Model\Label::openAPITypes ( )
static

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setId()

InfluxDB2\Model\Label::setId ( $id)

Sets id

Parameters
string | null$idid
Returns
$this

◆ setName()

InfluxDB2\Model\Label::setName ( $name)

Sets name

Parameters
string | null$namename
Returns
$this

◆ setOrgId()

InfluxDB2\Model\Label::setOrgId ( $org_id)

Sets org_id

Parameters
string | null$org_idorg_id
Returns
$this

◆ setProperties()

InfluxDB2\Model\Label::setProperties ( $properties)

Sets properties

Parameters
map[string,string]|null$properties Key-value pairs associated with this label. To remove a property, send an update with an empty value ("") for the key.
Returns
$this

◆ setters()

static InfluxDB2\Model\Label::setters ( )
static

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ valid()

InfluxDB2\Model\Label::valid ( )

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

Returns
bool True if all properties are valid

Implements InfluxDB2\Model\ModelInterface.

Member Data Documentation

◆ $attributeMap

InfluxDB2\Model\Label::$attributeMap
staticprotected
Initial value:
= [
'id' => 'id',
'org_id' => 'orgID',
'name' => 'name',
'properties' => 'properties'
]

◆ $getters

InfluxDB2\Model\Label::$getters
staticprotected
Initial value:
= [
'id' => 'getId',
'org_id' => 'getOrgId',
'name' => 'getName',
'properties' => 'getProperties'
]

◆ $openAPIFormats

InfluxDB2\Model\Label::$openAPIFormats
staticprotected
Initial value:
= [
'id' => null,
'org_id' => null,
'name' => null,
'properties' => null
]

◆ $openAPITypes

InfluxDB2\Model\Label::$openAPITypes
staticprotected
Initial value:
= [
'id' => 'string',
'org_id' => 'string',
'name' => 'string',
'properties' => 'map[string,string]'
]

◆ $setters

InfluxDB2\Model\Label::$setters
staticprotected
Initial value:
= [
'id' => 'setId',
'org_id' => 'setOrgId',
'name' => 'setName',
'properties' => 'setProperties'
]

The documentation for this class was generated from the following file: