|
const | DISCRIMINATOR = null |
|
const | ACTION_READ = 'read' |
|
const | ACTION_WRITE = 'write' |
|
◆ __construct()
InfluxDB2\Model\Permission::__construct |
( |
array | $data = null | ) |
|
Constructor
- Parameters
-
mixed[] | $data | Associated array of property values initializing the model |
◆ __toString()
InfluxDB2\Model\Permission::__toString |
( |
| ) |
|
Gets the string presentation of the object
- Returns
- string
◆ attributeMap()
static InfluxDB2\Model\Permission::attributeMap |
( |
| ) |
|
|
static |
◆ getAction()
InfluxDB2\Model\Permission::getAction |
( |
| ) |
|
Gets action
- Returns
- string
◆ getActionAllowableValues()
InfluxDB2\Model\Permission::getActionAllowableValues |
( |
| ) |
|
Gets allowable values of the enum
- Returns
- string[]
◆ getModelName()
InfluxDB2\Model\Permission::getModelName |
( |
| ) |
|
◆ getResource()
InfluxDB2\Model\Permission::getResource |
( |
| ) |
|
Gets resource
- Returns
- \InfluxDB2\Model\PermissionResource
◆ getters()
static InfluxDB2\Model\Permission::getters |
( |
| ) |
|
|
static |
◆ listInvalidProperties()
InfluxDB2\Model\Permission::listInvalidProperties |
( |
| ) |
|
◆ offsetExists()
InfluxDB2\Model\Permission::offsetExists |
( |
| $offset | ) |
|
Returns true if offset exists. False otherwise.
- Parameters
-
- Returns
- boolean
◆ offsetGet()
InfluxDB2\Model\Permission::offsetGet |
( |
| $offset | ) |
|
Gets offset.
- Parameters
-
- Returns
- mixed
◆ offsetSet()
InfluxDB2\Model\Permission::offsetSet |
( |
| $offset, |
|
|
| $value ) |
Sets value based on offset.
- Parameters
-
integer | $offset | Offset |
mixed | $value | Value to be set |
- Returns
- void
◆ offsetUnset()
InfluxDB2\Model\Permission::offsetUnset |
( |
| $offset | ) |
|
Unsets offset.
- Parameters
-
- Returns
- void
◆ openAPIFormats()
static InfluxDB2\Model\Permission::openAPIFormats |
( |
| ) |
|
|
static |
◆ openAPITypes()
static InfluxDB2\Model\Permission::openAPITypes |
( |
| ) |
|
|
static |
◆ setAction()
InfluxDB2\Model\Permission::setAction |
( |
| $action | ) |
|
Sets action
- Parameters
-
- Returns
- $this
◆ setResource()
InfluxDB2\Model\Permission::setResource |
( |
| $resource | ) |
|
Sets resource
- Parameters
-
\InfluxDB2\Model\PermissionResource | $resource | resource |
- Returns
- $this
◆ setters()
static InfluxDB2\Model\Permission::setters |
( |
| ) |
|
|
static |
◆ valid()
InfluxDB2\Model\Permission::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\Permission::$attributeMap |
|
staticprotected |
Initial value:= [
'action' => 'action',
'resource' => 'resource'
]
◆ $getters
InfluxDB2\Model\Permission::$getters |
|
staticprotected |
Initial value:= [
'action' => 'getAction',
'resource' => 'getResource'
]
◆ $openAPIFormats
InfluxDB2\Model\Permission::$openAPIFormats |
|
staticprotected |
Initial value:= [
'action' => null,
'resource' => null
]
◆ $openAPITypes
InfluxDB2\Model\Permission::$openAPITypes |
|
staticprotected |
Initial value:= [
'action' => 'string',
'resource' => '\InfluxDB2\Model\PermissionResource'
]
◆ $setters
InfluxDB2\Model\Permission::$setters |
|
staticprotected |
Initial value:= [
'action' => 'setAction',
'resource' => 'setResource'
]
The documentation for this class was generated from the following file:
- src/InfluxDB2/Model/Permission.php