|
const | DISCRIMINATOR = null |
|
◆ __construct()
InfluxDB2\Model\Label::__construct |
( |
array | $data = null | ) |
|
Constructor
- Parameters
-
mixed[] | $data | Associated array of property values initializing the model |
◆ __toString()
InfluxDB2\Model\Label::__toString |
( |
| ) |
|
Gets the string presentation of the object
- Returns
- string
◆ attributeMap()
static InfluxDB2\Model\Label::attributeMap |
( |
| ) |
|
|
static |
◆ getId()
InfluxDB2\Model\Label::getId |
( |
| ) |
|
Gets id
- Returns
- string|null
◆ getModelName()
InfluxDB2\Model\Label::getModelName |
( |
| ) |
|
◆ 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 |
◆ listInvalidProperties()
InfluxDB2\Model\Label::listInvalidProperties |
( |
| ) |
|
◆ offsetExists()
InfluxDB2\Model\Label::offsetExists |
( |
| $offset | ) |
|
Returns true if offset exists. False otherwise.
- Parameters
-
- Returns
- boolean
◆ offsetGet()
InfluxDB2\Model\Label::offsetGet |
( |
| $offset | ) |
|
Gets offset.
- Parameters
-
- Returns
- mixed
◆ offsetSet()
InfluxDB2\Model\Label::offsetSet |
( |
| $offset, |
|
|
| $value ) |
Sets value based on offset.
- Parameters
-
integer | $offset | Offset |
mixed | $value | Value to be set |
- Returns
- void
◆ offsetUnset()
InfluxDB2\Model\Label::offsetUnset |
( |
| $offset | ) |
|
Unsets offset.
- Parameters
-
- Returns
- void
◆ openAPIFormats()
static InfluxDB2\Model\Label::openAPIFormats |
( |
| ) |
|
|
static |
◆ openAPITypes()
static InfluxDB2\Model\Label::openAPITypes |
( |
| ) |
|
|
static |
◆ setId()
InfluxDB2\Model\Label::setId |
( |
| $id | ) |
|
Sets id
- Parameters
-
- Returns
- $this
◆ setName()
InfluxDB2\Model\Label::setName |
( |
| $name | ) |
|
Sets name
- Parameters
-
- Returns
- $this
◆ setOrgId()
InfluxDB2\Model\Label::setOrgId |
( |
| $org_id | ) |
|
Sets org_id
- Parameters
-
string | null | $org_id | org_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 |
◆ 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.
◆ $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:
- src/InfluxDB2/Model/Label.php