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

Public Member Functions

 getModelName ()
 
 getTypeAllowableValues ()
 
 getLanguagesAllowableValues ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getLinks ()
 
 setLinks ($links)
 
 getId ()
 
 setId ($id)
 
 getOrgId ()
 
 setOrgId ($org_id)
 
 getDefault ()
 
 setDefault ($default)
 
 getName ()
 
 setName ($name)
 
 getType ()
 
 setType ($type)
 
 getUrl ()
 
 setUrl ($url)
 
 getInsecureSkipVerify ()
 
 setInsecureSkipVerify ($insecure_skip_verify)
 
 getTelegraf ()
 
 setTelegraf ($telegraf)
 
 getToken ()
 
 setToken ($token)
 
 getUsername ()
 
 setUsername ($username)
 
 getPassword ()
 
 setPassword ($password)
 
 getSharedSecret ()
 
 setSharedSecret ($shared_secret)
 
 getMetaUrl ()
 
 setMetaUrl ($meta_url)
 
 getDefaultRp ()
 
 setDefaultRp ($default_rp)
 
 getLanguages ()
 
 setLanguages ($languages)
 
 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 TYPE_V1 = 'v1'
 
const TYPE_V2 = 'v2'
 
const TYPE_SELF = 'self'
 
const LANGUAGES_FLUX = 'flux'
 
const LANGUAGES_INFLUXQL = 'influxql'
 

Protected Attributes

 $container = []
 

Static Protected Attributes

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

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

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

Member Function Documentation

◆ __toString()

InfluxDB2\Model\Source::__toString ( )

Gets the string presentation of the object

Returns
string

◆ attributeMap()

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

◆ getDefault()

InfluxDB2\Model\Source::getDefault ( )

Gets default

Returns
bool|null

◆ getDefaultRp()

InfluxDB2\Model\Source::getDefaultRp ( )

Gets default_rp

Returns
string|null

◆ getId()

InfluxDB2\Model\Source::getId ( )

Gets id

Returns
string|null

◆ getInsecureSkipVerify()

InfluxDB2\Model\Source::getInsecureSkipVerify ( )

Gets insecure_skip_verify

Returns
bool|null

◆ getLanguages()

InfluxDB2\Model\Source::getLanguages ( )

Gets languages

Returns
string[]|null

◆ getLanguagesAllowableValues()

InfluxDB2\Model\Source::getLanguagesAllowableValues ( )

Gets allowable values of the enum

Returns
string[]

◆ getLinks()

InfluxDB2\Model\Source::getLinks ( )

Gets links

Returns
\InfluxDB2\Model\SourceLinks|null

◆ getMetaUrl()

InfluxDB2\Model\Source::getMetaUrl ( )

Gets meta_url

Returns
string|null

◆ getModelName()

InfluxDB2\Model\Source::getModelName ( )

The original name of the model.

Returns
string

Implements InfluxDB2\Model\ModelInterface.

◆ getName()

InfluxDB2\Model\Source::getName ( )

Gets name

Returns
string|null

◆ getOrgId()

InfluxDB2\Model\Source::getOrgId ( )

Gets org_id

Returns
string|null

◆ getPassword()

InfluxDB2\Model\Source::getPassword ( )

Gets password

Returns
string|null

◆ getSharedSecret()

InfluxDB2\Model\Source::getSharedSecret ( )

Gets shared_secret

Returns
string|null

◆ getTelegraf()

InfluxDB2\Model\Source::getTelegraf ( )

Gets telegraf

Returns
string|null

◆ getters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ getToken()

InfluxDB2\Model\Source::getToken ( )

Gets token

Returns
string|null

◆ getType()

InfluxDB2\Model\Source::getType ( )

Gets type

Returns
string|null

◆ getTypeAllowableValues()

InfluxDB2\Model\Source::getTypeAllowableValues ( )

Gets allowable values of the enum

Returns
string[]

◆ getUrl()

InfluxDB2\Model\Source::getUrl ( )

Gets url

Returns
string|null

◆ getUsername()

InfluxDB2\Model\Source::getUsername ( )

Gets username

Returns
string|null

◆ listInvalidProperties()

InfluxDB2\Model\Source::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Implements InfluxDB2\Model\ModelInterface.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

◆ offsetSet()

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

Sets value based on offset.

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

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

◆ openAPIFormats()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ openAPITypes()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setDefault()

InfluxDB2\Model\Source::setDefault ( $default)

Sets default

Parameters
bool | null$defaultdefault
Returns
$this

◆ setDefaultRp()

InfluxDB2\Model\Source::setDefaultRp ( $default_rp)

Sets default_rp

Parameters
string | null$default_rpdefault_rp
Returns
$this

◆ setId()

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

Sets id

Parameters
string | null$idid
Returns
$this

◆ setInsecureSkipVerify()

InfluxDB2\Model\Source::setInsecureSkipVerify ( $insecure_skip_verify)

Sets insecure_skip_verify

Parameters
bool | null$insecure_skip_verifyinsecure_skip_verify
Returns
$this

◆ setLanguages()

InfluxDB2\Model\Source::setLanguages ( $languages)

Sets languages

Parameters
string[] | null$languageslanguages
Returns
$this

◆ setLinks()

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

Sets links

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

◆ setMetaUrl()

InfluxDB2\Model\Source::setMetaUrl ( $meta_url)

Sets meta_url

Parameters
string | null$meta_urlmeta_url
Returns
$this

◆ setName()

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

Sets name

Parameters
string | null$namename
Returns
$this

◆ setOrgId()

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

Sets org_id

Parameters
string | null$org_idorg_id
Returns
$this

◆ setPassword()

InfluxDB2\Model\Source::setPassword ( $password)

Sets password

Parameters
string | null$passwordpassword
Returns
$this

◆ setSharedSecret()

InfluxDB2\Model\Source::setSharedSecret ( $shared_secret)

Sets shared_secret

Parameters
string | null$shared_secretshared_secret
Returns
$this

◆ setTelegraf()

InfluxDB2\Model\Source::setTelegraf ( $telegraf)

Sets telegraf

Parameters
string | null$telegraftelegraf
Returns
$this

◆ setters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setToken()

InfluxDB2\Model\Source::setToken ( $token)

Sets token

Parameters
string | null$tokentoken
Returns
$this

◆ setType()

InfluxDB2\Model\Source::setType ( $type)

Sets type

Parameters
string | null$typetype
Returns
$this

◆ setUrl()

InfluxDB2\Model\Source::setUrl ( $url)

Sets url

Parameters
string | null$urlurl
Returns
$this

◆ setUsername()

InfluxDB2\Model\Source::setUsername ( $username)

Sets username

Parameters
string | null$usernameusername
Returns
$this

◆ valid()

InfluxDB2\Model\Source::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\Source::$attributeMap
staticprotected
Initial value:
= [
'links' => 'links',
'id' => 'id',
'org_id' => 'orgID',
'default' => 'default',
'name' => 'name',
'type' => 'type',
'url' => 'url',
'insecure_skip_verify' => 'insecureSkipVerify',
'telegraf' => 'telegraf',
'token' => 'token',
'username' => 'username',
'password' => 'password',
'shared_secret' => 'sharedSecret',
'meta_url' => 'metaUrl',
'default_rp' => 'defaultRP',
'languages' => 'languages'
]

◆ $getters

InfluxDB2\Model\Source::$getters
staticprotected
Initial value:
= [
'links' => 'getLinks',
'id' => 'getId',
'org_id' => 'getOrgId',
'default' => 'getDefault',
'name' => 'getName',
'type' => 'getType',
'url' => 'getUrl',
'insecure_skip_verify' => 'getInsecureSkipVerify',
'telegraf' => 'getTelegraf',
'token' => 'getToken',
'username' => 'getUsername',
'password' => 'getPassword',
'shared_secret' => 'getSharedSecret',
'meta_url' => 'getMetaUrl',
'default_rp' => 'getDefaultRp',
'languages' => 'getLanguages'
]

◆ $openAPIFormats

InfluxDB2\Model\Source::$openAPIFormats
staticprotected
Initial value:
= [
'links' => null,
'id' => null,
'org_id' => null,
'default' => null,
'name' => null,
'type' => null,
'url' => 'uri',
'insecure_skip_verify' => null,
'telegraf' => null,
'token' => null,
'username' => null,
'password' => null,
'shared_secret' => null,
'meta_url' => 'uri',
'default_rp' => null,
'languages' => null
]

◆ $openAPITypes

InfluxDB2\Model\Source::$openAPITypes
staticprotected
Initial value:
= [
'links' => '\InfluxDB2\Model\SourceLinks',
'id' => 'string',
'org_id' => 'string',
'default' => 'bool',
'name' => 'string',
'type' => 'string',
'url' => 'string',
'insecure_skip_verify' => 'bool',
'telegraf' => 'string',
'token' => 'string',
'username' => 'string',
'password' => 'string',
'shared_secret' => 'string',
'meta_url' => 'string',
'default_rp' => 'string',
'languages' => 'string[]'
]

◆ $setters

InfluxDB2\Model\Source::$setters
staticprotected
Initial value:
= [
'links' => 'setLinks',
'id' => 'setId',
'org_id' => 'setOrgId',
'default' => 'setDefault',
'name' => 'setName',
'type' => 'setType',
'url' => 'setUrl',
'insecure_skip_verify' => 'setInsecureSkipVerify',
'telegraf' => 'setTelegraf',
'token' => 'setToken',
'username' => 'setUsername',
'password' => 'setPassword',
'shared_secret' => 'setSharedSecret',
'meta_url' => 'setMetaUrl',
'default_rp' => 'setDefaultRp',
'languages' => 'setLanguages'
]

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