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\Replication Class Reference
Inheritance diagram for InfluxDB2\Model\Replication:
InfluxDB2\Model\ModelInterface

Public Member Functions

 getModelName ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getId ()
 
 setId ($id)
 
 getName ()
 
 setName ($name)
 
 getDescription ()
 
 setDescription ($description)
 
 getOrgId ()
 
 setOrgId ($org_id)
 
 getRemoteId ()
 
 setRemoteId ($remote_id)
 
 getLocalBucketId ()
 
 setLocalBucketId ($local_bucket_id)
 
 getRemoteBucketId ()
 
 setRemoteBucketId ($remote_bucket_id)
 
 getRemoteBucketName ()
 
 setRemoteBucketName ($remote_bucket_name)
 
 getMaxQueueSizeBytes ()
 
 setMaxQueueSizeBytes ($max_queue_size_bytes)
 
 getCurrentQueueSizeBytes ()
 
 setCurrentQueueSizeBytes ($current_queue_size_bytes)
 
 getLatestResponseCode ()
 
 setLatestResponseCode ($latest_response_code)
 
 getLatestErrorMessage ()
 
 setLatestErrorMessage ($latest_error_message)
 
 getDropNonRetryableData ()
 
 setDropNonRetryableData ($drop_non_retryable_data)
 
 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 = 'Replication'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

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

Member Function Documentation

◆ __toString()

InfluxDB2\Model\Replication::__toString ( )

Gets the string presentation of the object

Returns
string

◆ attributeMap()

static InfluxDB2\Model\Replication::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.

◆ getCurrentQueueSizeBytes()

InfluxDB2\Model\Replication::getCurrentQueueSizeBytes ( )

Gets current_queue_size_bytes

Returns
int

◆ getDescription()

InfluxDB2\Model\Replication::getDescription ( )

Gets description

Returns
string|null

◆ getDropNonRetryableData()

InfluxDB2\Model\Replication::getDropNonRetryableData ( )

Gets drop_non_retryable_data

Returns
bool|null

◆ getId()

InfluxDB2\Model\Replication::getId ( )

Gets id

Returns
string

◆ getLatestErrorMessage()

InfluxDB2\Model\Replication::getLatestErrorMessage ( )

Gets latest_error_message

Returns
string|null

◆ getLatestResponseCode()

InfluxDB2\Model\Replication::getLatestResponseCode ( )

Gets latest_response_code

Returns
int|null

◆ getLocalBucketId()

InfluxDB2\Model\Replication::getLocalBucketId ( )

Gets local_bucket_id

Returns
string

◆ getMaxQueueSizeBytes()

InfluxDB2\Model\Replication::getMaxQueueSizeBytes ( )

Gets max_queue_size_bytes

Returns
int

◆ getModelName()

InfluxDB2\Model\Replication::getModelName ( )

The original name of the model.

Returns
string

Implements InfluxDB2\Model\ModelInterface.

◆ getName()

InfluxDB2\Model\Replication::getName ( )

Gets name

Returns
string

◆ getOrgId()

InfluxDB2\Model\Replication::getOrgId ( )

Gets org_id

Returns
string

◆ getRemoteBucketId()

InfluxDB2\Model\Replication::getRemoteBucketId ( )

Gets remote_bucket_id

Returns
string|null

◆ getRemoteBucketName()

InfluxDB2\Model\Replication::getRemoteBucketName ( )

Gets remote_bucket_name

Returns
string|null

◆ getRemoteId()

InfluxDB2\Model\Replication::getRemoteId ( )

Gets remote_id

Returns
string

◆ getters()

static InfluxDB2\Model\Replication::getters ( )
static

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ listInvalidProperties()

InfluxDB2\Model\Replication::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Implements InfluxDB2\Model\ModelInterface.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

◆ offsetSet()

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

Sets value based on offset.

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

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

◆ openAPIFormats()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ openAPITypes()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setCurrentQueueSizeBytes()

InfluxDB2\Model\Replication::setCurrentQueueSizeBytes ( $current_queue_size_bytes)

Sets current_queue_size_bytes

Parameters
int$current_queue_size_bytescurrent_queue_size_bytes
Returns
$this

◆ setDescription()

InfluxDB2\Model\Replication::setDescription ( $description)

Sets description

Parameters
string | null$descriptiondescription
Returns
$this

◆ setDropNonRetryableData()

InfluxDB2\Model\Replication::setDropNonRetryableData ( $drop_non_retryable_data)

Sets drop_non_retryable_data

Parameters
bool | null$drop_non_retryable_datadrop_non_retryable_data
Returns
$this

◆ setId()

InfluxDB2\Model\Replication::setId ( $id)

Sets id

Parameters
string$idid
Returns
$this

◆ setLatestErrorMessage()

InfluxDB2\Model\Replication::setLatestErrorMessage ( $latest_error_message)

Sets latest_error_message

Parameters
string | null$latest_error_messagelatest_error_message
Returns
$this

◆ setLatestResponseCode()

InfluxDB2\Model\Replication::setLatestResponseCode ( $latest_response_code)

Sets latest_response_code

Parameters
int | null$latest_response_codelatest_response_code
Returns
$this

◆ setLocalBucketId()

InfluxDB2\Model\Replication::setLocalBucketId ( $local_bucket_id)

Sets local_bucket_id

Parameters
string$local_bucket_idlocal_bucket_id
Returns
$this

◆ setMaxQueueSizeBytes()

InfluxDB2\Model\Replication::setMaxQueueSizeBytes ( $max_queue_size_bytes)

Sets max_queue_size_bytes

Parameters
int$max_queue_size_bytesmax_queue_size_bytes
Returns
$this

◆ setName()

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

Sets name

Parameters
string$namename
Returns
$this

◆ setOrgId()

InfluxDB2\Model\Replication::setOrgId ( $org_id)

Sets org_id

Parameters
string$org_idorg_id
Returns
$this

◆ setRemoteBucketId()

InfluxDB2\Model\Replication::setRemoteBucketId ( $remote_bucket_id)

Sets remote_bucket_id

Parameters
string | null$remote_bucket_idremote_bucket_id
Returns
$this

◆ setRemoteBucketName()

InfluxDB2\Model\Replication::setRemoteBucketName ( $remote_bucket_name)

Sets remote_bucket_name

Parameters
string | null$remote_bucket_nameremote_bucket_name
Returns
$this

◆ setRemoteId()

InfluxDB2\Model\Replication::setRemoteId ( $remote_id)

Sets remote_id

Parameters
string$remote_idremote_id
Returns
$this

◆ setters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ valid()

InfluxDB2\Model\Replication::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\Replication::$attributeMap
staticprotected
Initial value:
= [
'id' => 'id',
'name' => 'name',
'description' => 'description',
'org_id' => 'orgID',
'remote_id' => 'remoteID',
'local_bucket_id' => 'localBucketID',
'remote_bucket_id' => 'remoteBucketID',
'remote_bucket_name' => 'remoteBucketName',
'max_queue_size_bytes' => 'maxQueueSizeBytes',
'current_queue_size_bytes' => 'currentQueueSizeBytes',
'latest_response_code' => 'latestResponseCode',
'latest_error_message' => 'latestErrorMessage',
'drop_non_retryable_data' => 'dropNonRetryableData'
]

◆ $getters

InfluxDB2\Model\Replication::$getters
staticprotected
Initial value:
= [
'id' => 'getId',
'name' => 'getName',
'description' => 'getDescription',
'org_id' => 'getOrgId',
'remote_id' => 'getRemoteId',
'local_bucket_id' => 'getLocalBucketId',
'remote_bucket_id' => 'getRemoteBucketId',
'remote_bucket_name' => 'getRemoteBucketName',
'max_queue_size_bytes' => 'getMaxQueueSizeBytes',
'current_queue_size_bytes' => 'getCurrentQueueSizeBytes',
'latest_response_code' => 'getLatestResponseCode',
'latest_error_message' => 'getLatestErrorMessage',
'drop_non_retryable_data' => 'getDropNonRetryableData'
]

◆ $openAPIFormats

InfluxDB2\Model\Replication::$openAPIFormats
staticprotected
Initial value:
= [
'id' => null,
'name' => null,
'description' => null,
'org_id' => null,
'remote_id' => null,
'local_bucket_id' => null,
'remote_bucket_id' => null,
'remote_bucket_name' => null,
'max_queue_size_bytes' => 'int64',
'current_queue_size_bytes' => 'int64',
'latest_response_code' => 'int32',
'latest_error_message' => null,
'drop_non_retryable_data' => null
]

◆ $openAPITypes

InfluxDB2\Model\Replication::$openAPITypes
staticprotected
Initial value:
= [
'id' => 'string',
'name' => 'string',
'description' => 'string',
'org_id' => 'string',
'remote_id' => 'string',
'local_bucket_id' => 'string',
'remote_bucket_id' => 'string',
'remote_bucket_name' => 'string',
'max_queue_size_bytes' => 'int',
'current_queue_size_bytes' => 'int',
'latest_response_code' => 'int',
'latest_error_message' => 'string',
'drop_non_retryable_data' => 'bool'
]

◆ $setters

InfluxDB2\Model\Replication::$setters
staticprotected
Initial value:
= [
'id' => 'setId',
'name' => 'setName',
'description' => 'setDescription',
'org_id' => 'setOrgId',
'remote_id' => 'setRemoteId',
'local_bucket_id' => 'setLocalBucketId',
'remote_bucket_id' => 'setRemoteBucketId',
'remote_bucket_name' => 'setRemoteBucketName',
'max_queue_size_bytes' => 'setMaxQueueSizeBytes',
'current_queue_size_bytes' => 'setCurrentQueueSizeBytes',
'latest_response_code' => 'setLatestResponseCode',
'latest_error_message' => 'setLatestErrorMessage',
'drop_non_retryable_data' => 'setDropNonRetryableData'
]

The documentation for this class was generated from the following file: