|
const | DISCRIMINATOR = null |
|
const | DISCRIMINATOR = null |
|
const | STATUS_ACTIVE = 'active' |
|
const | STATUS_INACTIVE = 'inactive' |
|
◆ __construct()
InfluxDB2\Model\Authorization::__construct |
( |
array | $data = null | ) |
|
◆ __toString()
InfluxDB2\Model\Authorization::__toString |
( |
| ) |
|
◆ attributeMap()
static InfluxDB2\Model\Authorization::attributeMap |
( |
| ) |
|
|
static |
◆ getCreatedAt()
InfluxDB2\Model\Authorization::getCreatedAt |
( |
| ) |
|
Gets created_at
- Returns
- \DateTime|null
◆ getId()
InfluxDB2\Model\Authorization::getId |
( |
| ) |
|
Gets id
- Returns
- string|null
◆ getLinks()
InfluxDB2\Model\Authorization::getLinks |
( |
| ) |
|
Gets links
- Returns
- \InfluxDB2\Model\AuthorizationLinks|null
◆ getModelName()
InfluxDB2\Model\Authorization::getModelName |
( |
| ) |
|
◆ getOrg()
InfluxDB2\Model\Authorization::getOrg |
( |
| ) |
|
Gets org
- Returns
- string|null
◆ getOrgId()
InfluxDB2\Model\Authorization::getOrgId |
( |
| ) |
|
Gets org_id
- Returns
- string|null
◆ getPermissions()
InfluxDB2\Model\Authorization::getPermissions |
( |
| ) |
|
Gets permissions
- Returns
- \InfluxDB2\Model\Permission[]|null
◆ getters()
static InfluxDB2\Model\Authorization::getters |
( |
| ) |
|
|
static |
◆ getToken()
InfluxDB2\Model\Authorization::getToken |
( |
| ) |
|
Gets token
- Returns
- string|null
◆ getUpdatedAt()
InfluxDB2\Model\Authorization::getUpdatedAt |
( |
| ) |
|
Gets updated_at
- Returns
- \DateTime|null
◆ getUser()
InfluxDB2\Model\Authorization::getUser |
( |
| ) |
|
Gets user
- Returns
- string|null
◆ getUserId()
InfluxDB2\Model\Authorization::getUserId |
( |
| ) |
|
Gets user_id
- Returns
- string|null
◆ listInvalidProperties()
InfluxDB2\Model\Authorization::listInvalidProperties |
( |
| ) |
|
◆ offsetExists()
InfluxDB2\Model\Authorization::offsetExists |
( |
| $offset | ) |
|
◆ offsetGet()
InfluxDB2\Model\Authorization::offsetGet |
( |
| $offset | ) |
|
◆ offsetSet()
InfluxDB2\Model\Authorization::offsetSet |
( |
| $offset, |
|
|
| $value ) |
◆ offsetUnset()
InfluxDB2\Model\Authorization::offsetUnset |
( |
| $offset | ) |
|
◆ openAPIFormats()
static InfluxDB2\Model\Authorization::openAPIFormats |
( |
| ) |
|
|
static |
◆ openAPITypes()
static InfluxDB2\Model\Authorization::openAPITypes |
( |
| ) |
|
|
static |
◆ setCreatedAt()
InfluxDB2\Model\Authorization::setCreatedAt |
( |
| $created_at | ) |
|
Sets created_at
- Parameters
-
\DateTime | null | $created_at | created_at |
- Returns
- $this
◆ setId()
InfluxDB2\Model\Authorization::setId |
( |
| $id | ) |
|
Sets id
- Parameters
-
- Returns
- $this
◆ setLinks()
InfluxDB2\Model\Authorization::setLinks |
( |
| $links | ) |
|
Sets links
- Parameters
-
\InfluxDB2\Model\AuthorizationLinks | null | $links | links |
- Returns
- $this
◆ setOrg()
InfluxDB2\Model\Authorization::setOrg |
( |
| $org | ) |
|
Sets org
- Parameters
-
string | null | $org | The name of the organization that the token is scoped to. |
- Returns
- $this
◆ setOrgId()
InfluxDB2\Model\Authorization::setOrgId |
( |
| $org_id | ) |
|
Sets org_id
- Parameters
-
string | null | $org_id | The ID of the organization. |
- Returns
- $this
◆ setPermissions()
InfluxDB2\Model\Authorization::setPermissions |
( |
| $permissions | ) |
|
Sets permissions
- Parameters
-
\InfluxDB2\Model\Permission[] | null | $permissions | A list of permissions for an authorization. An authorization must have at least one permission. |
- Returns
- $this
◆ setters()
static InfluxDB2\Model\Authorization::setters |
( |
| ) |
|
|
static |
◆ setToken()
InfluxDB2\Model\Authorization::setToken |
( |
| $token | ) |
|
Sets token
- Parameters
-
string | null | $token | The API token for authenticating InfluxDB API and CLI requests. |
- Returns
- $this
◆ setUpdatedAt()
InfluxDB2\Model\Authorization::setUpdatedAt |
( |
| $updated_at | ) |
|
Sets updated_at
- Parameters
-
\DateTime | null | $updated_at | updated_at |
- Returns
- $this
◆ setUser()
InfluxDB2\Model\Authorization::setUser |
( |
| $user | ) |
|
Sets user
- Parameters
-
string | null | $user | The name of the user that created and owns the token. |
- Returns
- $this
◆ setUserId()
InfluxDB2\Model\Authorization::setUserId |
( |
| $user_id | ) |
|
Sets user_id
- Parameters
-
string | null | $user_id | The ID of the user that created and owns the token. |
- Returns
- $this
◆ valid()
InfluxDB2\Model\Authorization::valid |
( |
| ) |
|
◆ $attributeMap
InfluxDB2\Model\Authorization::$attributeMap |
|
staticprotected |
Initial value:= [
'created_at' => 'createdAt',
'updated_at' => 'updatedAt',
'org_id' => 'orgID',
'permissions' => 'permissions',
'id' => 'id',
'token' => 'token',
'user_id' => 'userID',
'user' => 'user',
'org' => 'org',
'links' => 'links'
]
◆ $getters
InfluxDB2\Model\Authorization::$getters |
|
staticprotected |
Initial value:= [
'created_at' => 'getCreatedAt',
'updated_at' => 'getUpdatedAt',
'org_id' => 'getOrgId',
'permissions' => 'getPermissions',
'id' => 'getId',
'token' => 'getToken',
'user_id' => 'getUserId',
'user' => 'getUser',
'org' => 'getOrg',
'links' => 'getLinks'
]
◆ $openAPIFormats
InfluxDB2\Model\Authorization::$openAPIFormats |
|
staticprotected |
Initial value:= [
'created_at' => 'date-time',
'updated_at' => 'date-time',
'org_id' => null,
'permissions' => null,
'id' => null,
'token' => null,
'user_id' => null,
'user' => null,
'org' => null,
'links' => null
]
◆ $openAPITypes
InfluxDB2\Model\Authorization::$openAPITypes |
|
staticprotected |
Initial value:= [
'created_at' => '\DateTime',
'updated_at' => '\DateTime',
'org_id' => 'string',
'permissions' => '\InfluxDB2\Model\Permission[]',
'id' => 'string',
'token' => 'string',
'user_id' => 'string',
'user' => 'string',
'org' => 'string',
'links' => '\InfluxDB2\Model\AuthorizationLinks'
]
◆ $setters
InfluxDB2\Model\Authorization::$setters |
|
staticprotected |
Initial value:= [
'created_at' => 'setCreatedAt',
'updated_at' => 'setUpdatedAt',
'org_id' => 'setOrgId',
'permissions' => 'setPermissions',
'id' => 'setId',
'token' => 'setToken',
'user_id' => 'setUserId',
'user' => 'setUser',
'org' => 'setOrg',
'links' => 'setLinks'
]
The documentation for this class was generated from the following file:
- src/InfluxDB2/Model/Authorization.php