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\ResourceOwner Class Reference
Inheritance diagram for InfluxDB2\Model\ResourceOwner:
InfluxDB2\Model\User InfluxDB2\Model\ModelInterface

Public Member Functions

 getModelName ()
 
 getRoleAllowableValues ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getRole ()
 
 setRole ($role)
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
 __toString ()
 
- Public Member Functions inherited from InfluxDB2\Model\User
 getStatusAllowableValues ()
 
 getId ()
 
 setId ($id)
 
 getName ()
 
 setName ($name)
 
 getStatus ()
 
 setStatus ($status)
 
 getLinks ()
 
 setLinks ($links)
 

Static Public Member Functions

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

Public Attributes

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

Static Protected Attributes

static $openAPIModelName = 'ResourceOwner'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 
- Static Protected Attributes inherited from InfluxDB2\Model\User
static $openAPIModelName = 'UserResponse'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

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

Reimplemented from InfluxDB2\Model\User.

Member Function Documentation

◆ __toString()

InfluxDB2\Model\ResourceOwner::__toString ( )

Gets the string presentation of the object

Returns
string

Reimplemented from InfluxDB2\Model\User.

◆ attributeMap()

static InfluxDB2\Model\ResourceOwner::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\User.

◆ getModelName()

InfluxDB2\Model\ResourceOwner::getModelName ( )

The original name of the model.

Returns
string

Reimplemented from InfluxDB2\Model\User.

◆ getRole()

InfluxDB2\Model\ResourceOwner::getRole ( )

Gets role

Returns
string|null

◆ getRoleAllowableValues()

InfluxDB2\Model\ResourceOwner::getRoleAllowableValues ( )

Gets allowable values of the enum

Returns
string[]

◆ getters()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\User.

◆ listInvalidProperties()

InfluxDB2\Model\ResourceOwner::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Reimplemented from InfluxDB2\Model\User.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

Reimplemented from InfluxDB2\Model\User.

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

Reimplemented from InfluxDB2\Model\User.

◆ offsetSet()

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

Sets value based on offset.

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

Reimplemented from InfluxDB2\Model\User.

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

Reimplemented from InfluxDB2\Model\User.

◆ openAPIFormats()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\User.

◆ openAPITypes()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\User.

◆ setRole()

InfluxDB2\Model\ResourceOwner::setRole ( $role)

Sets role

Parameters
string | null$rolerole
Returns
$this

◆ setters()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\User.

◆ valid()

InfluxDB2\Model\ResourceOwner::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\User.

Member Data Documentation

◆ $attributeMap

InfluxDB2\Model\ResourceOwner::$attributeMap
staticprotected
Initial value:
= [
'role' => 'role'
]

◆ $getters

InfluxDB2\Model\ResourceOwner::$getters
staticprotected
Initial value:
= [
'role' => 'getRole'
]

◆ $openAPIFormats

InfluxDB2\Model\ResourceOwner::$openAPIFormats
staticprotected
Initial value:
= [
'role' => null
]

◆ $openAPITypes

InfluxDB2\Model\ResourceOwner::$openAPITypes
staticprotected
Initial value:
= [
'role' => 'string'
]

◆ $setters

InfluxDB2\Model\ResourceOwner::$setters
staticprotected
Initial value:
= [
'role' => 'setRole'
]

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