|
const | DISCRIMINATOR = null |
|
◆ __construct()
InfluxDB2\Model\LabelCreateRequest::__construct |
( |
array | $data = null | ) |
|
Constructor
- Parameters
-
mixed[] | $data | Associated array of property values initializing the model |
◆ __toString()
InfluxDB2\Model\LabelCreateRequest::__toString |
( |
| ) |
|
Gets the string presentation of the object
- Returns
- string
◆ attributeMap()
static InfluxDB2\Model\LabelCreateRequest::attributeMap |
( |
| ) |
|
|
static |
◆ getModelName()
InfluxDB2\Model\LabelCreateRequest::getModelName |
( |
| ) |
|
◆ getName()
InfluxDB2\Model\LabelCreateRequest::getName |
( |
| ) |
|
◆ getOrgId()
InfluxDB2\Model\LabelCreateRequest::getOrgId |
( |
| ) |
|
Gets org_id
- Returns
- string
◆ getProperties()
InfluxDB2\Model\LabelCreateRequest::getProperties |
( |
| ) |
|
Gets properties
- Returns
- map[string,string]|null
◆ getters()
static InfluxDB2\Model\LabelCreateRequest::getters |
( |
| ) |
|
|
static |
◆ listInvalidProperties()
InfluxDB2\Model\LabelCreateRequest::listInvalidProperties |
( |
| ) |
|
◆ offsetExists()
InfluxDB2\Model\LabelCreateRequest::offsetExists |
( |
| $offset | ) |
|
Returns true if offset exists. False otherwise.
- Parameters
-
- Returns
- boolean
◆ offsetGet()
InfluxDB2\Model\LabelCreateRequest::offsetGet |
( |
| $offset | ) |
|
Gets offset.
- Parameters
-
- Returns
- mixed
◆ offsetSet()
InfluxDB2\Model\LabelCreateRequest::offsetSet |
( |
| $offset, |
|
|
| $value ) |
Sets value based on offset.
- Parameters
-
integer | $offset | Offset |
mixed | $value | Value to be set |
- Returns
- void
◆ offsetUnset()
InfluxDB2\Model\LabelCreateRequest::offsetUnset |
( |
| $offset | ) |
|
Unsets offset.
- Parameters
-
- Returns
- void
◆ openAPIFormats()
static InfluxDB2\Model\LabelCreateRequest::openAPIFormats |
( |
| ) |
|
|
static |
◆ openAPITypes()
static InfluxDB2\Model\LabelCreateRequest::openAPITypes |
( |
| ) |
|
|
static |
◆ setName()
InfluxDB2\Model\LabelCreateRequest::setName |
( |
| $name | ) |
|
Sets name
- Parameters
-
- Returns
- $this
◆ setOrgId()
InfluxDB2\Model\LabelCreateRequest::setOrgId |
( |
| $org_id | ) |
|
Sets org_id
- Parameters
-
- Returns
- $this
◆ setProperties()
InfluxDB2\Model\LabelCreateRequest::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\LabelCreateRequest::setters |
( |
| ) |
|
|
static |
◆ valid()
InfluxDB2\Model\LabelCreateRequest::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\LabelCreateRequest::$attributeMap |
|
staticprotected |
Initial value:= [
'org_id' => 'orgID',
'name' => 'name',
'properties' => 'properties'
]
◆ $getters
InfluxDB2\Model\LabelCreateRequest::$getters |
|
staticprotected |
Initial value:= [
'org_id' => 'getOrgId',
'name' => 'getName',
'properties' => 'getProperties'
]
◆ $openAPIFormats
InfluxDB2\Model\LabelCreateRequest::$openAPIFormats |
|
staticprotected |
Initial value:= [
'org_id' => null,
'name' => null,
'properties' => null
]
◆ $openAPITypes
InfluxDB2\Model\LabelCreateRequest::$openAPITypes |
|
staticprotected |
Initial value:= [
'org_id' => 'string',
'name' => 'string',
'properties' => 'map[string,string]'
]
◆ $setters
InfluxDB2\Model\LabelCreateRequest::$setters |
|
staticprotected |
Initial value:= [
'org_id' => 'setOrgId',
'name' => 'setName',
'properties' => 'setProperties'
]
The documentation for this class was generated from the following file:
- src/InfluxDB2/Model/LabelCreateRequest.php