|
const | DISCRIMINATOR = null |
|
◆ __construct()
InfluxDB2\Model\RetentionPolicyManifest::__construct |
( |
array | $data = null | ) |
|
Constructor
- Parameters
-
mixed[] | $data | Associated array of property values initializing the model |
◆ __toString()
InfluxDB2\Model\RetentionPolicyManifest::__toString |
( |
| ) |
|
Gets the string presentation of the object
- Returns
- string
◆ attributeMap()
static InfluxDB2\Model\RetentionPolicyManifest::attributeMap |
( |
| ) |
|
|
static |
◆ getDuration()
InfluxDB2\Model\RetentionPolicyManifest::getDuration |
( |
| ) |
|
◆ getModelName()
InfluxDB2\Model\RetentionPolicyManifest::getModelName |
( |
| ) |
|
◆ getName()
InfluxDB2\Model\RetentionPolicyManifest::getName |
( |
| ) |
|
◆ getReplicaN()
InfluxDB2\Model\RetentionPolicyManifest::getReplicaN |
( |
| ) |
|
Gets replica_n
- Returns
- int
◆ getShardGroupDuration()
InfluxDB2\Model\RetentionPolicyManifest::getShardGroupDuration |
( |
| ) |
|
Gets shard_group_duration
- Returns
- int
◆ getShardGroups()
InfluxDB2\Model\RetentionPolicyManifest::getShardGroups |
( |
| ) |
|
Gets shard_groups
- Returns
- \InfluxDB2\Model\ShardGroupManifest[]
◆ getSubscriptions()
InfluxDB2\Model\RetentionPolicyManifest::getSubscriptions |
( |
| ) |
|
Gets subscriptions
- Returns
- \InfluxDB2\Model\SubscriptionManifest[]
◆ getters()
static InfluxDB2\Model\RetentionPolicyManifest::getters |
( |
| ) |
|
|
static |
◆ listInvalidProperties()
InfluxDB2\Model\RetentionPolicyManifest::listInvalidProperties |
( |
| ) |
|
◆ offsetExists()
InfluxDB2\Model\RetentionPolicyManifest::offsetExists |
( |
| $offset | ) |
|
Returns true if offset exists. False otherwise.
- Parameters
-
- Returns
- boolean
◆ offsetGet()
InfluxDB2\Model\RetentionPolicyManifest::offsetGet |
( |
| $offset | ) |
|
Gets offset.
- Parameters
-
- Returns
- mixed
◆ offsetSet()
InfluxDB2\Model\RetentionPolicyManifest::offsetSet |
( |
| $offset, |
|
|
| $value ) |
Sets value based on offset.
- Parameters
-
integer | $offset | Offset |
mixed | $value | Value to be set |
- Returns
- void
◆ offsetUnset()
InfluxDB2\Model\RetentionPolicyManifest::offsetUnset |
( |
| $offset | ) |
|
Unsets offset.
- Parameters
-
- Returns
- void
◆ openAPIFormats()
static InfluxDB2\Model\RetentionPolicyManifest::openAPIFormats |
( |
| ) |
|
|
static |
◆ openAPITypes()
static InfluxDB2\Model\RetentionPolicyManifest::openAPITypes |
( |
| ) |
|
|
static |
◆ setDuration()
InfluxDB2\Model\RetentionPolicyManifest::setDuration |
( |
| $duration | ) |
|
Sets duration
- Parameters
-
- Returns
- $this
◆ setName()
InfluxDB2\Model\RetentionPolicyManifest::setName |
( |
| $name | ) |
|
Sets name
- Parameters
-
- Returns
- $this
◆ setReplicaN()
InfluxDB2\Model\RetentionPolicyManifest::setReplicaN |
( |
| $replica_n | ) |
|
Sets replica_n
- Parameters
-
- Returns
- $this
◆ setShardGroupDuration()
InfluxDB2\Model\RetentionPolicyManifest::setShardGroupDuration |
( |
| $shard_group_duration | ) |
|
Sets shard_group_duration
- Parameters
-
int | $shard_group_duration | shard_group_duration |
- Returns
- $this
◆ setShardGroups()
InfluxDB2\Model\RetentionPolicyManifest::setShardGroups |
( |
| $shard_groups | ) |
|
Sets shard_groups
- Parameters
-
\InfluxDB2\Model\ShardGroupManifest[] | $shard_groups | shard_groups |
- Returns
- $this
◆ setSubscriptions()
InfluxDB2\Model\RetentionPolicyManifest::setSubscriptions |
( |
| $subscriptions | ) |
|
Sets subscriptions
- Parameters
-
\InfluxDB2\Model\SubscriptionManifest[] | $subscriptions | subscriptions |
- Returns
- $this
◆ setters()
static InfluxDB2\Model\RetentionPolicyManifest::setters |
( |
| ) |
|
|
static |
◆ valid()
InfluxDB2\Model\RetentionPolicyManifest::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\RetentionPolicyManifest::$attributeMap |
|
staticprotected |
Initial value:= [
'name' => 'name',
'replica_n' => 'replicaN',
'duration' => 'duration',
'shard_group_duration' => 'shardGroupDuration',
'shard_groups' => 'shardGroups',
'subscriptions' => 'subscriptions'
]
◆ $getters
InfluxDB2\Model\RetentionPolicyManifest::$getters |
|
staticprotected |
Initial value:= [
'name' => 'getName',
'replica_n' => 'getReplicaN',
'duration' => 'getDuration',
'shard_group_duration' => 'getShardGroupDuration',
'shard_groups' => 'getShardGroups',
'subscriptions' => 'getSubscriptions'
]
◆ $openAPIFormats
InfluxDB2\Model\RetentionPolicyManifest::$openAPIFormats |
|
staticprotected |
Initial value:= [
'name' => null,
'replica_n' => 'int32',
'duration' => 'int64',
'shard_group_duration' => 'int64',
'shard_groups' => null,
'subscriptions' => null
]
◆ $openAPITypes
InfluxDB2\Model\RetentionPolicyManifest::$openAPITypes |
|
staticprotected |
Initial value:= [
'name' => 'string',
'replica_n' => 'int',
'duration' => 'int',
'shard_group_duration' => 'int',
'shard_groups' => '\InfluxDB2\Model\ShardGroupManifest[]',
'subscriptions' => '\InfluxDB2\Model\SubscriptionManifest[]'
]
◆ $setters
InfluxDB2\Model\RetentionPolicyManifest::$setters |
|
staticprotected |
Initial value:= [
'name' => 'setName',
'replica_n' => 'setReplicaN',
'duration' => 'setDuration',
'shard_group_duration' => 'setShardGroupDuration',
'shard_groups' => 'setShardGroups',
'subscriptions' => 'setSubscriptions'
]
The documentation for this class was generated from the following file:
- src/InfluxDB2/Model/RetentionPolicyManifest.php