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

Public Member Functions

 getModelName ()
 
 getStatusAllowableValues ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getLinks ()
 
 setLinks ($links)
 
 getId ()
 
 setId ($id)
 
 getName ()
 
 setName ($name)
 
 getDescription ()
 
 setDescription ($description)
 
 getCreatedAt ()
 
 setCreatedAt ($created_at)
 
 getUpdatedAt ()
 
 setUpdatedAt ($updated_at)
 
 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 = 'Organization'
 
static $openAPITypes
 
static $openAPIFormats
 
static $attributeMap
 
static $setters
 
static $getters
 

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

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

Member Function Documentation

◆ __toString()

InfluxDB2\Model\Organization::__toString ( )

Gets the string presentation of the object

Returns
string

◆ attributeMap()

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

◆ getCreatedAt()

InfluxDB2\Model\Organization::getCreatedAt ( )

Gets created_at

Returns
\DateTime|null

◆ getDescription()

InfluxDB2\Model\Organization::getDescription ( )

Gets description

Returns
string|null

◆ getId()

InfluxDB2\Model\Organization::getId ( )

Gets id

Returns
string|null

◆ getLinks()

InfluxDB2\Model\Organization::getLinks ( )

Gets links

Returns
\InfluxDB2\Model\OrganizationLinks|null

◆ getModelName()

InfluxDB2\Model\Organization::getModelName ( )

The original name of the model.

Returns
string

Implements InfluxDB2\Model\ModelInterface.

◆ getName()

InfluxDB2\Model\Organization::getName ( )

Gets name

Returns
string

◆ getStatus()

InfluxDB2\Model\Organization::getStatus ( )

Gets status

Returns
string|null

◆ getStatusAllowableValues()

InfluxDB2\Model\Organization::getStatusAllowableValues ( )

Gets allowable values of the enum

Returns
string[]

◆ getters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ getUpdatedAt()

InfluxDB2\Model\Organization::getUpdatedAt ( )

Gets updated_at

Returns
\DateTime|null

◆ listInvalidProperties()

InfluxDB2\Model\Organization::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Implements InfluxDB2\Model\ModelInterface.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

◆ offsetSet()

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

Sets value based on offset.

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

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

◆ openAPIFormats()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ openAPITypes()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setCreatedAt()

InfluxDB2\Model\Organization::setCreatedAt ( $created_at)

Sets created_at

Parameters
\DateTime | null$created_atcreated_at
Returns
$this

◆ setDescription()

InfluxDB2\Model\Organization::setDescription ( $description)

Sets description

Parameters
string | null$descriptiondescription
Returns
$this

◆ setId()

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

Sets id

Parameters
string | null$idid
Returns
$this

◆ setLinks()

InfluxDB2\Model\Organization::setLinks ( $links)

Sets links

Parameters
\InfluxDB2\Model\OrganizationLinks | null$linkslinks
Returns
$this

◆ setName()

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

Sets name

Parameters
string$namename
Returns
$this

◆ setStatus()

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

Sets status

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

◆ setters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setUpdatedAt()

InfluxDB2\Model\Organization::setUpdatedAt ( $updated_at)

Sets updated_at

Parameters
\DateTime | null$updated_atupdated_at
Returns
$this

◆ valid()

InfluxDB2\Model\Organization::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\Organization::$attributeMap
staticprotected
Initial value:
= [
'links' => 'links',
'id' => 'id',
'name' => 'name',
'description' => 'description',
'created_at' => 'createdAt',
'updated_at' => 'updatedAt',
'status' => 'status'
]

◆ $getters

InfluxDB2\Model\Organization::$getters
staticprotected
Initial value:
= [
'links' => 'getLinks',
'id' => 'getId',
'name' => 'getName',
'description' => 'getDescription',
'created_at' => 'getCreatedAt',
'updated_at' => 'getUpdatedAt',
'status' => 'getStatus'
]

◆ $openAPIFormats

InfluxDB2\Model\Organization::$openAPIFormats
staticprotected
Initial value:
= [
'links' => null,
'id' => null,
'name' => null,
'description' => null,
'created_at' => 'date-time',
'updated_at' => 'date-time',
'status' => null
]

◆ $openAPITypes

InfluxDB2\Model\Organization::$openAPITypes
staticprotected
Initial value:
= [
'links' => '\InfluxDB2\Model\OrganizationLinks',
'id' => 'string',
'name' => 'string',
'description' => 'string',
'created_at' => '\DateTime',
'updated_at' => '\DateTime',
'status' => 'string'
]

◆ $setters

InfluxDB2\Model\Organization::$setters
staticprotected
Initial value:
= [
'links' => 'setLinks',
'id' => 'setId',
'name' => 'setName',
'description' => 'setDescription',
'created_at' => 'setCreatedAt',
'updated_at' => 'setUpdatedAt',
'status' => 'setStatus'
]

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