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

Public Member Functions

 getModelName ()
 
 getStatusAllowableValues ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getId ()
 
 setId ($id)
 
 getOauthId ()
 
 setOauthId ($oauth_id)
 
 getName ()
 
 setName ($name)
 
 getStatus ()
 
 setStatus ($status)
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
 __toString ()
 

Static Public Member Functions

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

Public Attributes

const DISCRIMINATOR = null
 
const STATUS_ACTIVE = 'active'
 
const STATUS_INACTIVE = 'inactive'
 

Protected Attributes

 $container = []
 

Static Protected Attributes

static $openAPIModelName = 'User'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

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

Member Function Documentation

◆ __toString()

InfluxDB2\Model\PostUser::__toString ( )

Gets the string presentation of the object

Returns
string

◆ attributeMap()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ getId()

InfluxDB2\Model\PostUser::getId ( )

Gets id

Returns
string|null

◆ getModelName()

InfluxDB2\Model\PostUser::getModelName ( )

The original name of the model.

Returns
string

Implements InfluxDB2\Model\ModelInterface.

◆ getName()

InfluxDB2\Model\PostUser::getName ( )

Gets name

Returns
string

◆ getOauthId()

InfluxDB2\Model\PostUser::getOauthId ( )

Gets oauth_id

Returns
string|null

◆ getStatus()

InfluxDB2\Model\PostUser::getStatus ( )

Gets status

Returns
string|null

◆ getStatusAllowableValues()

InfluxDB2\Model\PostUser::getStatusAllowableValues ( )

Gets allowable values of the enum

Returns
string[]

◆ getters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ listInvalidProperties()

InfluxDB2\Model\PostUser::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Implements InfluxDB2\Model\ModelInterface.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

◆ offsetSet()

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

Sets value based on offset.

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

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

◆ openAPIFormats()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ openAPITypes()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setId()

InfluxDB2\Model\PostUser::setId ( $id)

Sets id

Parameters
string | null$idid
Returns
$this

◆ setName()

InfluxDB2\Model\PostUser::setName ( $name)

Sets name

Parameters
string$namename
Returns
$this

◆ setOauthId()

InfluxDB2\Model\PostUser::setOauthId ( $oauth_id)

Sets oauth_id

Parameters
string | null$oauth_idoauth_id
Returns
$this

◆ setStatus()

InfluxDB2\Model\PostUser::setStatus ( $status)

Sets status

Parameters
string | null$statusIf inactive the user is inactive.
Returns
$this

◆ setters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ valid()

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

Member Data Documentation

◆ $attributeMap

InfluxDB2\Model\PostUser::$attributeMap
staticprotected
Initial value:
= [
'id' => 'id',
'oauth_id' => 'oauthID',
'name' => 'name',
'status' => 'status'
]

◆ $getters

InfluxDB2\Model\PostUser::$getters
staticprotected
Initial value:
= [
'id' => 'getId',
'oauth_id' => 'getOauthId',
'name' => 'getName',
'status' => 'getStatus'
]

◆ $openAPIFormats

InfluxDB2\Model\PostUser::$openAPIFormats
staticprotected
Initial value:
= [
'id' => null,
'oauth_id' => null,
'name' => null,
'status' => null
]

◆ $openAPITypes

InfluxDB2\Model\PostUser::$openAPITypes
staticprotected
Initial value:
= [
'id' => 'string',
'oauth_id' => 'string',
'name' => 'string',
'status' => 'string'
]

◆ $setters

InfluxDB2\Model\PostUser::$setters
staticprotected
Initial value:
= [
'id' => 'setId',
'oauth_id' => 'setOauthId',
'name' => 'setName',
'status' => 'setStatus'
]

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