|
const | DISCRIMINATOR = null |
|
◆ __construct()
InfluxDB2\Model\DocumentCreate::__construct |
( |
array |
$data = null | ) |
|
Constructor
- Parameters
-
mixed[] | $data | Associated array of property values initializing the model |
◆ __toString()
InfluxDB2\Model\DocumentCreate::__toString |
( |
| ) |
|
Gets the string presentation of the object
- Returns
- string
◆ attributeMap()
static InfluxDB2\Model\DocumentCreate::attributeMap |
( |
| ) |
|
|
static |
◆ getContent()
InfluxDB2\Model\DocumentCreate::getContent |
( |
| ) |
|
Gets content
- Returns
- object
◆ getLabels()
InfluxDB2\Model\DocumentCreate::getLabels |
( |
| ) |
|
Gets labels
- Returns
- string[]|null
◆ getMeta()
InfluxDB2\Model\DocumentCreate::getMeta |
( |
| ) |
|
Gets meta
- Returns
- \InfluxDB2\Model\DocumentMeta
◆ getModelName()
InfluxDB2\Model\DocumentCreate::getModelName |
( |
| ) |
|
◆ getOrg()
InfluxDB2\Model\DocumentCreate::getOrg |
( |
| ) |
|
Gets org
- Returns
- string|null
◆ getOrgId()
InfluxDB2\Model\DocumentCreate::getOrgId |
( |
| ) |
|
Gets org_id
- Returns
- string|null
◆ getters()
static InfluxDB2\Model\DocumentCreate::getters |
( |
| ) |
|
|
static |
◆ listInvalidProperties()
InfluxDB2\Model\DocumentCreate::listInvalidProperties |
( |
| ) |
|
◆ offsetExists()
InfluxDB2\Model\DocumentCreate::offsetExists |
( |
|
$offset | ) |
|
Returns true if offset exists. False otherwise.
- Parameters
-
- Returns
- boolean
◆ offsetGet()
InfluxDB2\Model\DocumentCreate::offsetGet |
( |
|
$offset | ) |
|
Gets offset.
- Parameters
-
- Returns
- mixed
◆ offsetSet()
InfluxDB2\Model\DocumentCreate::offsetSet |
( |
|
$offset, |
|
|
|
$value |
|
) |
| |
Sets value based on offset.
- Parameters
-
integer | $offset | Offset |
mixed | $value | Value to be set |
- Returns
- void
◆ offsetUnset()
InfluxDB2\Model\DocumentCreate::offsetUnset |
( |
|
$offset | ) |
|
Unsets offset.
- Parameters
-
- Returns
- void
◆ openAPIFormats()
static InfluxDB2\Model\DocumentCreate::openAPIFormats |
( |
| ) |
|
|
static |
◆ openAPITypes()
static InfluxDB2\Model\DocumentCreate::openAPITypes |
( |
| ) |
|
|
static |
◆ setContent()
InfluxDB2\Model\DocumentCreate::setContent |
( |
|
$content | ) |
|
Sets content
- Parameters
-
- Returns
- $this
◆ setLabels()
InfluxDB2\Model\DocumentCreate::setLabels |
( |
|
$labels | ) |
|
Sets labels
- Parameters
-
string[] | null | $labels | An array of label IDs to be added as labels to the document. |
- Returns
- $this
◆ setMeta()
InfluxDB2\Model\DocumentCreate::setMeta |
( |
|
$meta | ) |
|
Sets meta
- Parameters
-
\InfluxDB2\Model\DocumentMeta | $meta | meta |
- Returns
- $this
◆ setOrg()
InfluxDB2\Model\DocumentCreate::setOrg |
( |
|
$org | ) |
|
Sets org
- Parameters
-
string | null | $org | The organization Name. Specify either orgID or org . |
- Returns
- $this
◆ setOrgId()
InfluxDB2\Model\DocumentCreate::setOrgId |
( |
|
$org_id | ) |
|
Sets org_id
- Parameters
-
string | null | $org_id | The organization Name. Specify either orgID or org . |
- Returns
- $this
◆ setters()
static InfluxDB2\Model\DocumentCreate::setters |
( |
| ) |
|
|
static |
◆ valid()
InfluxDB2\Model\DocumentCreate::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\DocumentCreate::$attributeMap |
|
staticprotected |
Initial value:= [
'meta' => 'meta',
'content' => 'content',
'org' => 'org',
'org_id' => 'orgID',
'labels' => 'labels'
]
◆ $getters
InfluxDB2\Model\DocumentCreate::$getters |
|
staticprotected |
Initial value:= [
'meta' => 'getMeta',
'content' => 'getContent',
'org' => 'getOrg',
'org_id' => 'getOrgId',
'labels' => 'getLabels'
]
◆ $openAPITypes
InfluxDB2\Model\DocumentCreate::$openAPITypes |
|
staticprotected |
Initial value:= [
'meta' => '\InfluxDB2\Model\DocumentMeta',
'content' => 'object',
'org' => 'string',
'org_id' => 'string',
'labels' => 'string[]'
];
protected static $openAPIFormats = [
'meta' => null,
'content' => null,
'org' => null,
'org_id' => null,
'labels' => null
]
◆ $setters
InfluxDB2\Model\DocumentCreate::$setters |
|
staticprotected |
Initial value:= [
'meta' => 'setMeta',
'content' => 'setContent',
'org' => 'setOrg',
'org_id' => 'setOrgId',
'labels' => 'setLabels'
]
The documentation for this class was generated from the following file:
- src/InfluxDB2/Model/DocumentCreate.php