|
const | DISCRIMINATOR = null |
|
◆ __construct()
InfluxDB2\Model\DBRPCreate::__construct |
( |
array |
$data = null | ) |
|
Constructor
- Parameters
-
mixed[] | $data | Associated array of property values initializing the model |
◆ __toString()
InfluxDB2\Model\DBRPCreate::__toString |
( |
| ) |
|
Gets the string presentation of the object
- Returns
- string
◆ attributeMap()
static InfluxDB2\Model\DBRPCreate::attributeMap |
( |
| ) |
|
|
static |
◆ getBucketId()
InfluxDB2\Model\DBRPCreate::getBucketId |
( |
| ) |
|
Gets bucket_id
- Returns
- string
◆ getDatabase()
InfluxDB2\Model\DBRPCreate::getDatabase |
( |
| ) |
|
Gets database
- Returns
- string
◆ getDefault()
InfluxDB2\Model\DBRPCreate::getDefault |
( |
| ) |
|
Gets default
- Returns
- bool|null
◆ getModelName()
InfluxDB2\Model\DBRPCreate::getModelName |
( |
| ) |
|
◆ getOrg()
InfluxDB2\Model\DBRPCreate::getOrg |
( |
| ) |
|
Gets org
- Returns
- string|null
◆ getOrgId()
InfluxDB2\Model\DBRPCreate::getOrgId |
( |
| ) |
|
Gets org_id
- Returns
- string|null
◆ getRetentionPolicy()
InfluxDB2\Model\DBRPCreate::getRetentionPolicy |
( |
| ) |
|
Gets retention_policy
- Returns
- string
◆ getters()
static InfluxDB2\Model\DBRPCreate::getters |
( |
| ) |
|
|
static |
◆ listInvalidProperties()
InfluxDB2\Model\DBRPCreate::listInvalidProperties |
( |
| ) |
|
◆ offsetExists()
InfluxDB2\Model\DBRPCreate::offsetExists |
( |
|
$offset | ) |
|
Returns true if offset exists. False otherwise.
- Parameters
-
- Returns
- boolean
◆ offsetGet()
InfluxDB2\Model\DBRPCreate::offsetGet |
( |
|
$offset | ) |
|
Gets offset.
- Parameters
-
- Returns
- mixed
◆ offsetSet()
InfluxDB2\Model\DBRPCreate::offsetSet |
( |
|
$offset, |
|
|
|
$value |
|
) |
| |
Sets value based on offset.
- Parameters
-
integer | $offset | Offset |
mixed | $value | Value to be set |
- Returns
- void
◆ offsetUnset()
InfluxDB2\Model\DBRPCreate::offsetUnset |
( |
|
$offset | ) |
|
Unsets offset.
- Parameters
-
- Returns
- void
◆ openAPIFormats()
static InfluxDB2\Model\DBRPCreate::openAPIFormats |
( |
| ) |
|
|
static |
◆ openAPITypes()
static InfluxDB2\Model\DBRPCreate::openAPITypes |
( |
| ) |
|
|
static |
◆ setBucketId()
InfluxDB2\Model\DBRPCreate::setBucketId |
( |
|
$bucket_id | ) |
|
Sets bucket_id
- Parameters
-
string | $bucket_id | The ID of the bucket used as the target for the translation. |
- Returns
- $this
◆ setDatabase()
InfluxDB2\Model\DBRPCreate::setDatabase |
( |
|
$database | ) |
|
Sets database
- Parameters
-
string | $database | InfluxDB v1 database |
- Returns
- $this
◆ setDefault()
InfluxDB2\Model\DBRPCreate::setDefault |
( |
|
$default | ) |
|
Sets default
- Parameters
-
bool | null | $default | Mapping represents the default retention policy for the database specified. |
- Returns
- $this
◆ setOrg()
InfluxDB2\Model\DBRPCreate::setOrg |
( |
|
$org | ) |
|
Sets org
- Parameters
-
string | null | $org | The name of the organization that owns this mapping. |
- Returns
- $this
◆ setOrgId()
InfluxDB2\Model\DBRPCreate::setOrgId |
( |
|
$org_id | ) |
|
Sets org_id
- Parameters
-
string | null | $org_id | The ID of the organization. |
- Returns
- $this
◆ setRetentionPolicy()
InfluxDB2\Model\DBRPCreate::setRetentionPolicy |
( |
|
$retention_policy | ) |
|
Sets retention_policy
- Parameters
-
string | $retention_policy | InfluxDB v1 retention policy |
- Returns
- $this
◆ setters()
static InfluxDB2\Model\DBRPCreate::setters |
( |
| ) |
|
|
static |
◆ valid()
InfluxDB2\Model\DBRPCreate::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\DBRPCreate::$attributeMap |
|
staticprotected |
Initial value:= [
'org_id' => 'orgID',
'org' => 'org',
'bucket_id' => 'bucketID',
'database' => 'database',
'retention_policy' => 'retention_policy',
'default' => 'default'
]
◆ $getters
InfluxDB2\Model\DBRPCreate::$getters |
|
staticprotected |
Initial value:= [
'org_id' => 'getOrgId',
'org' => 'getOrg',
'bucket_id' => 'getBucketId',
'database' => 'getDatabase',
'retention_policy' => 'getRetentionPolicy',
'default' => 'getDefault'
]
◆ $openAPIFormats
InfluxDB2\Model\DBRPCreate::$openAPIFormats |
|
staticprotected |
Initial value:= [
'org_id' => null,
'org' => null,
'bucket_id' => null,
'database' => null,
'retention_policy' => null,
'default' => null
]
◆ $openAPITypes
InfluxDB2\Model\DBRPCreate::$openAPITypes |
|
staticprotected |
Initial value:= [
'org_id' => 'string',
'org' => 'string',
'bucket_id' => 'string',
'database' => 'string',
'retention_policy' => 'string',
'default' => 'bool'
]
◆ $setters
InfluxDB2\Model\DBRPCreate::$setters |
|
staticprotected |
Initial value:= [
'org_id' => 'setOrgId',
'org' => 'setOrg',
'bucket_id' => 'setBucketId',
'database' => 'setDatabase',
'retention_policy' => 'setRetentionPolicy',
'default' => 'setDefault'
]
The documentation for this class was generated from the following file:
- src/InfluxDB2/Model/DBRPCreate.php