|
const | DISCRIMINATOR = null |
|
const | STATUS_ACTIVE = 'active' |
|
const | STATUS_INACTIVE = 'inactive' |
|
◆ __construct()
InfluxDB2\Model\Organization::__construct |
( |
array | $data = null | ) |
|
Constructor
- Parameters
-
mixed[] | $data | Associated array of property values initializing the model |
◆ __toString()
InfluxDB2\Model\Organization::__toString |
( |
| ) |
|
Gets the string presentation of the object
- Returns
- string
◆ attributeMap()
static InfluxDB2\Model\Organization::attributeMap |
( |
| ) |
|
|
static |
◆ getCreatedAt()
InfluxDB2\Model\Organization::getCreatedAt |
( |
| ) |
|
Gets created_at
- Returns
- \DateTime|null
◆ getDescription()
InfluxDB2\Model\Organization::getDescription |
( |
| ) |
|
Gets description
- Returns
- string|null
◆ getId()
InfluxDB2\Model\Organization::getId |
( |
| ) |
|
Gets id
- Returns
- string|null
◆ getLinks()
InfluxDB2\Model\Organization::getLinks |
( |
| ) |
|
Gets links
- Returns
- \InfluxDB2\Model\OrganizationLinks|null
◆ getModelName()
InfluxDB2\Model\Organization::getModelName |
( |
| ) |
|
◆ getName()
InfluxDB2\Model\Organization::getName |
( |
| ) |
|
◆ getStatus()
InfluxDB2\Model\Organization::getStatus |
( |
| ) |
|
Gets status
- Returns
- string|null
◆ getStatusAllowableValues()
InfluxDB2\Model\Organization::getStatusAllowableValues |
( |
| ) |
|
Gets allowable values of the enum
- Returns
- string[]
◆ getters()
static InfluxDB2\Model\Organization::getters |
( |
| ) |
|
|
static |
◆ getUpdatedAt()
InfluxDB2\Model\Organization::getUpdatedAt |
( |
| ) |
|
Gets updated_at
- Returns
- \DateTime|null
◆ listInvalidProperties()
InfluxDB2\Model\Organization::listInvalidProperties |
( |
| ) |
|
◆ offsetExists()
InfluxDB2\Model\Organization::offsetExists |
( |
| $offset | ) |
|
Returns true if offset exists. False otherwise.
- Parameters
-
- Returns
- boolean
◆ offsetGet()
InfluxDB2\Model\Organization::offsetGet |
( |
| $offset | ) |
|
Gets offset.
- Parameters
-
- Returns
- mixed
◆ offsetSet()
InfluxDB2\Model\Organization::offsetSet |
( |
| $offset, |
|
|
| $value ) |
Sets value based on offset.
- Parameters
-
integer | $offset | Offset |
mixed | $value | Value to be set |
- Returns
- void
◆ offsetUnset()
InfluxDB2\Model\Organization::offsetUnset |
( |
| $offset | ) |
|
Unsets offset.
- Parameters
-
- Returns
- void
◆ openAPIFormats()
static InfluxDB2\Model\Organization::openAPIFormats |
( |
| ) |
|
|
static |
◆ openAPITypes()
static InfluxDB2\Model\Organization::openAPITypes |
( |
| ) |
|
|
static |
◆ setCreatedAt()
InfluxDB2\Model\Organization::setCreatedAt |
( |
| $created_at | ) |
|
Sets created_at
- Parameters
-
\DateTime | null | $created_at | created_at |
- Returns
- $this
◆ setDescription()
InfluxDB2\Model\Organization::setDescription |
( |
| $description | ) |
|
Sets description
- Parameters
-
string | null | $description | description |
- Returns
- $this
◆ setId()
InfluxDB2\Model\Organization::setId |
( |
| $id | ) |
|
Sets id
- Parameters
-
- Returns
- $this
◆ setLinks()
InfluxDB2\Model\Organization::setLinks |
( |
| $links | ) |
|
Sets links
- Parameters
-
\InfluxDB2\Model\OrganizationLinks | null | $links | links |
- Returns
- $this
◆ setName()
InfluxDB2\Model\Organization::setName |
( |
| $name | ) |
|
Sets name
- Parameters
-
- Returns
- $this
◆ setStatus()
InfluxDB2\Model\Organization::setStatus |
( |
| $status | ) |
|
Sets status
- Parameters
-
string | null | $status | If inactive the organization is inactive. |
- Returns
- $this
◆ setters()
static InfluxDB2\Model\Organization::setters |
( |
| ) |
|
|
static |
◆ setUpdatedAt()
InfluxDB2\Model\Organization::setUpdatedAt |
( |
| $updated_at | ) |
|
Sets updated_at
- Parameters
-
\DateTime | null | $updated_at | updated_at |
- Returns
- $this
◆ valid()
InfluxDB2\Model\Organization::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\Organization::$attributeMap |
|
staticprotected |
Initial value:= [
'links' => 'links',
'id' => 'id',
'name' => 'name',
'description' => 'description',
'created_at' => 'createdAt',
'updated_at' => 'updatedAt',
'status' => 'status'
]
◆ $getters
InfluxDB2\Model\Organization::$getters |
|
staticprotected |
Initial value:= [
'links' => 'getLinks',
'id' => 'getId',
'name' => 'getName',
'description' => 'getDescription',
'created_at' => 'getCreatedAt',
'updated_at' => 'getUpdatedAt',
'status' => 'getStatus'
]
◆ $openAPIFormats
InfluxDB2\Model\Organization::$openAPIFormats |
|
staticprotected |
Initial value:= [
'links' => null,
'id' => null,
'name' => null,
'description' => null,
'created_at' => 'date-time',
'updated_at' => 'date-time',
'status' => null
]
◆ $openAPITypes
InfluxDB2\Model\Organization::$openAPITypes |
|
staticprotected |
Initial value:= [
'links' => '\InfluxDB2\Model\OrganizationLinks',
'id' => 'string',
'name' => 'string',
'description' => 'string',
'created_at' => '\DateTime',
'updated_at' => '\DateTime',
'status' => 'string'
]
◆ $setters
InfluxDB2\Model\Organization::$setters |
|
staticprotected |
Initial value:= [
'links' => 'setLinks',
'id' => 'setId',
'name' => 'setName',
'description' => 'setDescription',
'created_at' => 'setCreatedAt',
'updated_at' => 'setUpdatedAt',
'status' => 'setStatus'
]
The documentation for this class was generated from the following file:
- src/InfluxDB2/Model/Organization.php