InfluxDB PHP Client
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Protected Attributes | List of all members
InfluxDB2\Model\AuthorizationPostRequest Class Reference
Inheritance diagram for InfluxDB2\Model\AuthorizationPostRequest:
InfluxDB2\Model\AuthorizationUpdateRequest InfluxDB2\Model\ModelInterface

Public Member Functions

 getModelName ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getOrgId ()
 
 setOrgId ($org_id)
 
 getUserId ()
 
 setUserId ($user_id)
 
 getPermissions ()
 
 setPermissions ($permissions)
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
 __toString ()
 
- Public Member Functions inherited from InfluxDB2\Model\AuthorizationUpdateRequest
 getStatusAllowableValues ()
 
 getStatus ()
 
 setStatus ($status)
 
 getDescription ()
 
 setDescription ($description)
 

Static Public Member Functions

static openAPITypes ()
 
static openAPIFormats ()
 
static attributeMap ()
 
static setters ()
 
static getters ()
 

Public Attributes

const DISCRIMINATOR = null
 
- Public Attributes inherited from InfluxDB2\Model\AuthorizationUpdateRequest
const DISCRIMINATOR = null
 
const STATUS_ACTIVE = 'active'
 
const STATUS_INACTIVE = 'inactive'
 

Static Protected Attributes

static $openAPIModelName = 'AuthorizationPostRequest'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 
- Static Protected Attributes inherited from InfluxDB2\Model\AuthorizationUpdateRequest
static $openAPIModelName = 'AuthorizationUpdateRequest'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 

Additional Inherited Members

- Protected Attributes inherited from InfluxDB2\Model\AuthorizationUpdateRequest
 $container = []
 

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

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

Reimplemented from InfluxDB2\Model\AuthorizationUpdateRequest.

Member Function Documentation

◆ __toString()

InfluxDB2\Model\AuthorizationPostRequest::__toString ( )

Gets the string presentation of the object

Returns
string

Reimplemented from InfluxDB2\Model\AuthorizationUpdateRequest.

◆ attributeMap()

static InfluxDB2\Model\AuthorizationPostRequest::attributeMap ( )
static

Array of attributes where the key is the local name, and the value is the original name

Returns
array

Reimplemented from InfluxDB2\Model\AuthorizationUpdateRequest.

◆ getModelName()

InfluxDB2\Model\AuthorizationPostRequest::getModelName ( )

The original name of the model.

Returns
string

Reimplemented from InfluxDB2\Model\AuthorizationUpdateRequest.

◆ getOrgId()

InfluxDB2\Model\AuthorizationPostRequest::getOrgId ( )

Gets org_id

Returns
string|null

◆ getPermissions()

InfluxDB2\Model\AuthorizationPostRequest::getPermissions ( )

Gets permissions

Returns
\InfluxDB2\Model\Permission[]|null

◆ getters()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\AuthorizationUpdateRequest.

◆ getUserId()

InfluxDB2\Model\AuthorizationPostRequest::getUserId ( )

Gets user_id

Returns
string|null

◆ listInvalidProperties()

InfluxDB2\Model\AuthorizationPostRequest::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Reimplemented from InfluxDB2\Model\AuthorizationUpdateRequest.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

Reimplemented from InfluxDB2\Model\AuthorizationUpdateRequest.

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

Reimplemented from InfluxDB2\Model\AuthorizationUpdateRequest.

◆ offsetSet()

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

Sets value based on offset.

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

Reimplemented from InfluxDB2\Model\AuthorizationUpdateRequest.

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

Reimplemented from InfluxDB2\Model\AuthorizationUpdateRequest.

◆ openAPIFormats()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\AuthorizationUpdateRequest.

◆ openAPITypes()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\AuthorizationUpdateRequest.

◆ setOrgId()

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

Sets org_id

Parameters
string | null$org_idThe ID of the organization that owns the authorization.
Returns
$this

◆ setPermissions()

InfluxDB2\Model\AuthorizationPostRequest::setPermissions ( $permissions)

Sets permissions

Parameters
\InfluxDB2\Model\Permission[] | null$permissionsA list of permissions for an authorization. An authorization must have at least one permission.
Returns
$this

◆ setters()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\AuthorizationUpdateRequest.

◆ setUserId()

InfluxDB2\Model\AuthorizationPostRequest::setUserId ( $user_id)

Sets user_id

Parameters
string | null$user_idThe ID of the user that the authorization is scoped to.
Returns
$this

◆ valid()

InfluxDB2\Model\AuthorizationPostRequest::valid ( )

Validate all the properties in the model return true if all passed

Returns
bool True if all properties are valid

Reimplemented from InfluxDB2\Model\AuthorizationUpdateRequest.

Member Data Documentation

◆ $attributeMap

InfluxDB2\Model\AuthorizationPostRequest::$attributeMap
staticprotected
Initial value:
= [
'org_id' => 'orgID',
'user_id' => 'userID',
'permissions' => 'permissions'
]

◆ $getters

InfluxDB2\Model\AuthorizationPostRequest::$getters
staticprotected
Initial value:
= [
'org_id' => 'getOrgId',
'user_id' => 'getUserId',
'permissions' => 'getPermissions'
]

◆ $openAPIFormats

InfluxDB2\Model\AuthorizationPostRequest::$openAPIFormats
staticprotected
Initial value:
= [
'org_id' => null,
'user_id' => null,
'permissions' => null
]

◆ $openAPITypes

InfluxDB2\Model\AuthorizationPostRequest::$openAPITypes
staticprotected
Initial value:
= [
'org_id' => 'string',
'user_id' => 'string',
'permissions' => '\InfluxDB2\Model\Permission[]'
]

◆ $setters

InfluxDB2\Model\AuthorizationPostRequest::$setters
staticprotected
Initial value:
= [
'org_id' => 'setOrgId',
'user_id' => 'setUserId',
'permissions' => 'setPermissions'
]

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