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

Public Member Functions

 getModelName ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getId ()
 
 setId ($id)
 
 getOrg ()
 
 setOrg ($org)
 
 getBucket ()
 
 setBucket ($bucket)
 
 getLinks ()
 
 setLinks ($links)
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
 __toString ()
 
- Public Member Functions inherited from InfluxDB2\Model\ScraperTargetRequest
 getTypeAllowableValues ()
 
 getName ()
 
 setName ($name)
 
 getType ()
 
 setType ($type)
 
 getUrl ()
 
 setUrl ($url)
 
 getOrgId ()
 
 setOrgId ($org_id)
 
 getBucketId ()
 
 setBucketId ($bucket_id)
 
 getAllowInsecure ()
 
 setAllowInsecure ($allow_insecure)
 

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\ScraperTargetRequest
const DISCRIMINATOR = null
 
const TYPE_PROMETHEUS = 'prometheus'
 

Static Protected Attributes

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

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

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

Reimplemented from InfluxDB2\Model\ScraperTargetRequest.

Member Function Documentation

◆ __toString()

InfluxDB2\Model\ScraperTargetResponse::__toString ( )

Gets the string presentation of the object

Returns
string

Reimplemented from InfluxDB2\Model\ScraperTargetRequest.

◆ attributeMap()

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

◆ getBucket()

InfluxDB2\Model\ScraperTargetResponse::getBucket ( )

Gets bucket

Returns
string|null

◆ getId()

InfluxDB2\Model\ScraperTargetResponse::getId ( )

Gets id

Returns
string|null

◆ getLinks()

InfluxDB2\Model\ScraperTargetResponse::getLinks ( )

Gets links

Returns
\InfluxDB2\Model\ScraperTargetResponseLinks|null

◆ getModelName()

InfluxDB2\Model\ScraperTargetResponse::getModelName ( )

The original name of the model.

Returns
string

Reimplemented from InfluxDB2\Model\ScraperTargetRequest.

◆ getOrg()

InfluxDB2\Model\ScraperTargetResponse::getOrg ( )

Gets org

Returns
string|null

◆ getters()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\ScraperTargetRequest.

◆ listInvalidProperties()

InfluxDB2\Model\ScraperTargetResponse::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Reimplemented from InfluxDB2\Model\ScraperTargetRequest.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

Reimplemented from InfluxDB2\Model\ScraperTargetRequest.

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

Reimplemented from InfluxDB2\Model\ScraperTargetRequest.

◆ offsetSet()

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

Sets value based on offset.

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

Reimplemented from InfluxDB2\Model\ScraperTargetRequest.

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

Reimplemented from InfluxDB2\Model\ScraperTargetRequest.

◆ openAPIFormats()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\ScraperTargetRequest.

◆ openAPITypes()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\ScraperTargetRequest.

◆ setBucket()

InfluxDB2\Model\ScraperTargetResponse::setBucket ( $bucket)

Sets bucket

Parameters
string | null$bucketThe bucket name.
Returns
$this

◆ setId()

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

Sets id

Parameters
string | null$idid
Returns
$this

◆ setLinks()

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

Sets links

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

◆ setOrg()

InfluxDB2\Model\ScraperTargetResponse::setOrg ( $org)

Sets org

Parameters
string | null$orgThe name of the organization.
Returns
$this

◆ setters()

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

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

Returns
array

Reimplemented from InfluxDB2\Model\ScraperTargetRequest.

◆ valid()

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

Member Data Documentation

◆ $attributeMap

InfluxDB2\Model\ScraperTargetResponse::$attributeMap
staticprotected
Initial value:
= [
'id' => 'id',
'org' => 'org',
'bucket' => 'bucket',
'links' => 'links'
]

◆ $getters

InfluxDB2\Model\ScraperTargetResponse::$getters
staticprotected
Initial value:
= [
'id' => 'getId',
'org' => 'getOrg',
'bucket' => 'getBucket',
'links' => 'getLinks'
]

◆ $openAPIFormats

InfluxDB2\Model\ScraperTargetResponse::$openAPIFormats
staticprotected
Initial value:
= [
'id' => null,
'org' => null,
'bucket' => null,
'links' => null
]

◆ $openAPITypes

InfluxDB2\Model\ScraperTargetResponse::$openAPITypes
staticprotected
Initial value:
= [
'id' => 'string',
'org' => 'string',
'bucket' => 'string',
'links' => '\InfluxDB2\Model\ScraperTargetResponseLinks'
]

◆ $setters

InfluxDB2\Model\ScraperTargetResponse::$setters
staticprotected
Initial value:
= [
'id' => 'setId',
'org' => 'setOrg',
'bucket' => 'setBucket',
'links' => 'setLinks'
]

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