InfluxDB PHP Client
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | Static Protected Attributes | List of all members
InfluxDB2\Model\RetentionPolicyManifest Class Reference
Inheritance diagram for InfluxDB2\Model\RetentionPolicyManifest:
InfluxDB2\Model\ModelInterface

Public Member Functions

 getModelName ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getName ()
 
 setName ($name)
 
 getReplicaN ()
 
 setReplicaN ($replica_n)
 
 getDuration ()
 
 setDuration ($duration)
 
 getShardGroupDuration ()
 
 setShardGroupDuration ($shard_group_duration)
 
 getShardGroups ()
 
 setShardGroups ($shard_groups)
 
 getSubscriptions ()
 
 setSubscriptions ($subscriptions)
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
 __toString ()
 

Static Public Member Functions

static openAPITypes ()
 
static openAPIFormats ()
 
static attributeMap ()
 
static setters ()
 
static getters ()
 

Public Attributes

const DISCRIMINATOR = null
 

Protected Attributes

 $container = []
 

Static Protected Attributes

static $openAPIModelName = 'RetentionPolicyManifest'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 

Constructor & Destructor Documentation

◆ __construct()

InfluxDB2\Model\RetentionPolicyManifest::__construct ( array $data = null)

Constructor

Parameters
mixed[]$dataAssociated array of property values initializing the model

Member Function Documentation

◆ __toString()

InfluxDB2\Model\RetentionPolicyManifest::__toString ( )

Gets the string presentation of the object

Returns
string

◆ attributeMap()

static InfluxDB2\Model\RetentionPolicyManifest::attributeMap ( )
static

Array of attributes where the key is the local name, and the value is the original name

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ getDuration()

InfluxDB2\Model\RetentionPolicyManifest::getDuration ( )

Gets duration

Returns
int

◆ getModelName()

InfluxDB2\Model\RetentionPolicyManifest::getModelName ( )

The original name of the model.

Returns
string

Implements InfluxDB2\Model\ModelInterface.

◆ getName()

InfluxDB2\Model\RetentionPolicyManifest::getName ( )

Gets name

Returns
string

◆ 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

Array of attributes to getter functions (for serialization of requests)

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ listInvalidProperties()

InfluxDB2\Model\RetentionPolicyManifest::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Implements InfluxDB2\Model\ModelInterface.

◆ offsetExists()

InfluxDB2\Model\RetentionPolicyManifest::offsetExists ( $offset)

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

◆ offsetGet()

InfluxDB2\Model\RetentionPolicyManifest::offsetGet ( $offset)

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

◆ offsetSet()

InfluxDB2\Model\RetentionPolicyManifest::offsetSet ( $offset,
$value )

Sets value based on offset.

Parameters
integer$offsetOffset
mixed$valueValue to be set
Returns
void

◆ offsetUnset()

InfluxDB2\Model\RetentionPolicyManifest::offsetUnset ( $offset)

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

◆ openAPIFormats()

static InfluxDB2\Model\RetentionPolicyManifest::openAPIFormats ( )
static

Array of property to format mappings. Used for (de)serialization

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ openAPITypes()

static InfluxDB2\Model\RetentionPolicyManifest::openAPITypes ( )
static

Array of property to type mappings. Used for (de)serialization

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setDuration()

InfluxDB2\Model\RetentionPolicyManifest::setDuration ( $duration)

Sets duration

Parameters
int$durationduration
Returns
$this

◆ setName()

InfluxDB2\Model\RetentionPolicyManifest::setName ( $name)

Sets name

Parameters
string$namename
Returns
$this

◆ setReplicaN()

InfluxDB2\Model\RetentionPolicyManifest::setReplicaN ( $replica_n)

Sets replica_n

Parameters
int$replica_nreplica_n
Returns
$this

◆ setShardGroupDuration()

InfluxDB2\Model\RetentionPolicyManifest::setShardGroupDuration ( $shard_group_duration)

Sets shard_group_duration

Parameters
int$shard_group_durationshard_group_duration
Returns
$this

◆ setShardGroups()

InfluxDB2\Model\RetentionPolicyManifest::setShardGroups ( $shard_groups)

Sets shard_groups

Parameters
\InfluxDB2\Model\ShardGroupManifest[]$shard_groupsshard_groups
Returns
$this

◆ setSubscriptions()

InfluxDB2\Model\RetentionPolicyManifest::setSubscriptions ( $subscriptions)

Sets subscriptions

Parameters
\InfluxDB2\Model\SubscriptionManifest[]$subscriptionssubscriptions
Returns
$this

◆ setters()

static InfluxDB2\Model\RetentionPolicyManifest::setters ( )
static

Array of attributes to setter functions (for deserialization of responses)

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ 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.

Member Data Documentation

◆ $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: