|
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' |
|
◆ __construct()
InfluxDB2\Model\LineProtocolError::__construct |
( |
array | $data = null | ) |
|
Constructor
- Parameters
-
mixed[] | $data | Associated array of property values initializing the model |
◆ __toString()
InfluxDB2\Model\LineProtocolError::__toString |
( |
| ) |
|
Gets the string presentation of the object
- Returns
- string
◆ attributeMap()
static InfluxDB2\Model\LineProtocolError::attributeMap |
( |
| ) |
|
|
static |
◆ getCode()
InfluxDB2\Model\LineProtocolError::getCode |
( |
| ) |
|
◆ 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 |
( |
| ) |
|
◆ getOp()
InfluxDB2\Model\LineProtocolError::getOp |
( |
| ) |
|
Gets op
- Returns
- string|null
◆ getters()
static InfluxDB2\Model\LineProtocolError::getters |
( |
| ) |
|
|
static |
◆ listInvalidProperties()
InfluxDB2\Model\LineProtocolError::listInvalidProperties |
( |
| ) |
|
◆ offsetExists()
InfluxDB2\Model\LineProtocolError::offsetExists |
( |
| $offset | ) |
|
Returns true if offset exists. False otherwise.
- Parameters
-
- Returns
- boolean
◆ offsetGet()
InfluxDB2\Model\LineProtocolError::offsetGet |
( |
| $offset | ) |
|
Gets offset.
- Parameters
-
- Returns
- mixed
◆ offsetSet()
InfluxDB2\Model\LineProtocolError::offsetSet |
( |
| $offset, |
|
|
| $value ) |
Sets value based on offset.
- Parameters
-
integer | $offset | Offset |
mixed | $value | Value to be set |
- Returns
- void
◆ offsetUnset()
InfluxDB2\Model\LineProtocolError::offsetUnset |
( |
| $offset | ) |
|
Unsets offset.
- Parameters
-
- Returns
- void
◆ openAPIFormats()
static InfluxDB2\Model\LineProtocolError::openAPIFormats |
( |
| ) |
|
|
static |
◆ openAPITypes()
static InfluxDB2\Model\LineProtocolError::openAPITypes |
( |
| ) |
|
|
static |
◆ setCode()
InfluxDB2\Model\LineProtocolError::setCode |
( |
| $code | ) |
|
Sets code
- Parameters
-
string | $code | Code is the machine-readable error code. |
- Returns
- $this
◆ setErr()
InfluxDB2\Model\LineProtocolError::setErr |
( |
| $err | ) |
|
Sets err
- Parameters
-
string | null | $err | Stack 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 | $line | First line in the request body that contains malformed data. |
- Returns
- $this
◆ setMessage()
InfluxDB2\Model\LineProtocolError::setMessage |
( |
| $message | ) |
|
Sets message
- Parameters
-
string | null | $message | Human-readable message. |
- Returns
- $this
◆ setOp()
InfluxDB2\Model\LineProtocolError::setOp |
( |
| $op | ) |
|
Sets op
- Parameters
-
string | null | $op | Describes the logical code operation when the error occurred. Useful for debugging. |
- Returns
- $this
◆ setters()
static InfluxDB2\Model\LineProtocolError::setters |
( |
| ) |
|
|
static |
◆ 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.
◆ $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:
- src/InfluxDB2/Model/LineProtocolError.php