|
const | DISCRIMINATOR = null |
|
◆ __construct()
InfluxDB2\Model\PatchBucketRequest::__construct |
( |
array | $data = null | ) |
|
Constructor
- Parameters
-
mixed[] | $data | Associated array of property values initializing the model |
◆ __toString()
InfluxDB2\Model\PatchBucketRequest::__toString |
( |
| ) |
|
Gets the string presentation of the object
- Returns
- string
◆ attributeMap()
static InfluxDB2\Model\PatchBucketRequest::attributeMap |
( |
| ) |
|
|
static |
◆ getDescription()
InfluxDB2\Model\PatchBucketRequest::getDescription |
( |
| ) |
|
Gets description
- Returns
- string|null
◆ getModelName()
InfluxDB2\Model\PatchBucketRequest::getModelName |
( |
| ) |
|
◆ getName()
InfluxDB2\Model\PatchBucketRequest::getName |
( |
| ) |
|
Gets name
- Returns
- string|null
◆ getRetentionRules()
InfluxDB2\Model\PatchBucketRequest::getRetentionRules |
( |
| ) |
|
Gets retention_rules
- Returns
- \InfluxDB2\Model\PatchRetentionRule[]|null
◆ getters()
static InfluxDB2\Model\PatchBucketRequest::getters |
( |
| ) |
|
|
static |
◆ listInvalidProperties()
InfluxDB2\Model\PatchBucketRequest::listInvalidProperties |
( |
| ) |
|
◆ offsetExists()
InfluxDB2\Model\PatchBucketRequest::offsetExists |
( |
| $offset | ) |
|
Returns true if offset exists. False otherwise.
- Parameters
-
- Returns
- boolean
◆ offsetGet()
InfluxDB2\Model\PatchBucketRequest::offsetGet |
( |
| $offset | ) |
|
Gets offset.
- Parameters
-
- Returns
- mixed
◆ offsetSet()
InfluxDB2\Model\PatchBucketRequest::offsetSet |
( |
| $offset, |
|
|
| $value ) |
Sets value based on offset.
- Parameters
-
integer | $offset | Offset |
mixed | $value | Value to be set |
- Returns
- void
◆ offsetUnset()
InfluxDB2\Model\PatchBucketRequest::offsetUnset |
( |
| $offset | ) |
|
Unsets offset.
- Parameters
-
- Returns
- void
◆ openAPIFormats()
static InfluxDB2\Model\PatchBucketRequest::openAPIFormats |
( |
| ) |
|
|
static |
◆ openAPITypes()
static InfluxDB2\Model\PatchBucketRequest::openAPITypes |
( |
| ) |
|
|
static |
◆ setDescription()
InfluxDB2\Model\PatchBucketRequest::setDescription |
( |
| $description | ) |
|
Sets description
- Parameters
-
string | null | $description | A description of the bucket. |
- Returns
- $this
◆ setName()
InfluxDB2\Model\PatchBucketRequest::setName |
( |
| $name | ) |
|
Sets name
- Parameters
-
string | null | $name | The name of the bucket. |
- Returns
- $this
◆ setRetentionRules()
InfluxDB2\Model\PatchBucketRequest::setRetentionRules |
( |
| $retention_rules | ) |
|
Sets retention_rules
- Parameters
-
\InfluxDB2\Model\PatchRetentionRule[] | null | $retention_rules | Updates to rules to expire or retain data. No rules means no updates. |
- Returns
- $this
◆ setters()
static InfluxDB2\Model\PatchBucketRequest::setters |
( |
| ) |
|
|
static |
◆ valid()
InfluxDB2\Model\PatchBucketRequest::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\PatchBucketRequest::$attributeMap |
|
staticprotected |
Initial value:= [
'name' => 'name',
'description' => 'description',
'retention_rules' => 'retentionRules'
]
◆ $getters
InfluxDB2\Model\PatchBucketRequest::$getters |
|
staticprotected |
Initial value:= [
'name' => 'getName',
'description' => 'getDescription',
'retention_rules' => 'getRetentionRules'
]
◆ $openAPIFormats
InfluxDB2\Model\PatchBucketRequest::$openAPIFormats |
|
staticprotected |
Initial value:= [
'name' => null,
'description' => null,
'retention_rules' => null
]
◆ $openAPITypes
InfluxDB2\Model\PatchBucketRequest::$openAPITypes |
|
staticprotected |
Initial value:= [
'name' => 'string',
'description' => 'string',
'retention_rules' => '\InfluxDB2\Model\PatchRetentionRule[]'
]
◆ $setters
InfluxDB2\Model\PatchBucketRequest::$setters |
|
staticprotected |
Initial value:= [
'name' => 'setName',
'description' => 'setDescription',
'retention_rules' => 'setRetentionRules'
]
The documentation for this class was generated from the following file:
- src/InfluxDB2/Model/PatchBucketRequest.php