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

Public Member Functions

 getModelName ()
 
 getCodeAllowableValues ()
 
 __construct (array $data=null)
 
 listInvalidProperties ()
 
 valid ()
 
 getCode ()
 
 setCode ($code)
 
 getMessage ()
 
 setMessage ($message)
 
 getOp ()
 
 setOp ($op)
 
 getErr ()
 
 setErr ($err)
 
 getLine ()
 
 setLine ($line)
 
 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 CODE_INTERNAL_ERROR = 'internal error'
 
const CODE_NOT_FOUND = 'not found'
 
const CODE_CONFLICT = 'conflict'
 
const CODE_INVALID = 'invalid'
 
const CODE_EMPTY_VALUE = 'empty value'
 
const CODE_UNAVAILABLE = 'unavailable'
 

Protected Attributes

 $container = []
 

Static Protected Attributes

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

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

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

Member Function Documentation

◆ __toString()

InfluxDB2\Model\LineProtocolError::__toString ( )

Gets the string presentation of the object

Returns
string

◆ attributeMap()

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

◆ getCode()

InfluxDB2\Model\LineProtocolError::getCode ( )

Gets code

Returns
string

◆ getCodeAllowableValues()

InfluxDB2\Model\LineProtocolError::getCodeAllowableValues ( )

Gets allowable values of the enum

Returns
string[]

◆ getErr()

InfluxDB2\Model\LineProtocolError::getErr ( )

Gets err

Returns
string|null

◆ getLine()

InfluxDB2\Model\LineProtocolError::getLine ( )

Gets line

Returns
int|null

◆ getMessage()

InfluxDB2\Model\LineProtocolError::getMessage ( )

Gets message

Returns
string|null

◆ getModelName()

InfluxDB2\Model\LineProtocolError::getModelName ( )

The original name of the model.

Returns
string

Implements InfluxDB2\Model\ModelInterface.

◆ getOp()

InfluxDB2\Model\LineProtocolError::getOp ( )

Gets op

Returns
string|null

◆ getters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ listInvalidProperties()

InfluxDB2\Model\LineProtocolError::listInvalidProperties ( )

Show all the invalid properties with reasons.

Returns
array invalid properties with reasons

Implements InfluxDB2\Model\ModelInterface.

◆ offsetExists()

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

Returns true if offset exists. False otherwise.

Parameters
integer$offsetOffset
Returns
boolean

◆ offsetGet()

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

Gets offset.

Parameters
integer$offsetOffset
Returns
mixed

◆ offsetSet()

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

Sets value based on offset.

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

◆ offsetUnset()

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

Unsets offset.

Parameters
integer$offsetOffset
Returns
void

◆ openAPIFormats()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ openAPITypes()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ setCode()

InfluxDB2\Model\LineProtocolError::setCode ( $code)

Sets code

Parameters
string$codeCode is the machine-readable error code.
Returns
$this

◆ setErr()

InfluxDB2\Model\LineProtocolError::setErr ( $err)

Sets err

Parameters
string | null$errStack of errors that occurred during processing of the request. Useful for debugging.
Returns
$this

◆ setLine()

InfluxDB2\Model\LineProtocolError::setLine ( $line)

Sets line

Parameters
int | null$lineFirst line in the request body that contains malformed data.
Returns
$this

◆ setMessage()

InfluxDB2\Model\LineProtocolError::setMessage ( $message)

Sets message

Parameters
string | null$messageHuman-readable message.
Returns
$this

◆ setOp()

InfluxDB2\Model\LineProtocolError::setOp ( $op)

Sets op

Parameters
string | null$opDescribes the logical code operation when the error occurred. Useful for debugging.
Returns
$this

◆ setters()

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

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

Returns
array

Implements InfluxDB2\Model\ModelInterface.

◆ valid()

InfluxDB2\Model\LineProtocolError::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\LineProtocolError::$attributeMap
staticprotected
Initial value:
= [
'code' => 'code',
'message' => 'message',
'op' => 'op',
'err' => 'err',
'line' => 'line'
]

◆ $getters

InfluxDB2\Model\LineProtocolError::$getters
staticprotected
Initial value:
= [
'code' => 'getCode',
'message' => 'getMessage',
'op' => 'getOp',
'err' => 'getErr',
'line' => 'getLine'
]

◆ $openAPIFormats

InfluxDB2\Model\LineProtocolError::$openAPIFormats
staticprotected
Initial value:
= [
'code' => null,
'message' => null,
'op' => null,
'err' => null,
'line' => 'int32'
]

◆ $openAPITypes

InfluxDB2\Model\LineProtocolError::$openAPITypes
staticprotected
Initial value:
= [
'code' => 'string',
'message' => 'string',
'op' => 'string',
'err' => 'string',
'line' => 'int'
]

◆ $setters

InfluxDB2\Model\LineProtocolError::$setters
staticprotected
Initial value:
= [
'code' => 'setCode',
'message' => 'setMessage',
'op' => 'setOp',
'err' => 'setErr',
'line' => 'setLine'
]

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