code
stringlengths
17
296k
docstring
stringlengths
30
30.3k
func_name
stringlengths
1
89
language
stringclasses
1 value
repo
stringlengths
7
63
path
stringlengths
7
153
url
stringlengths
51
209
license
stringclasses
4 values
public function listInvalidProperties() { $invalidProperties = []; $allowedValues = $this->getStatusAllowableValues(); if (!is_null($this->container['status']) && !in_array($this->container['status'], $allowedValues, true)) { $invalidProperties[] = sprintf( "invalid value for 'status', must be one of '%s'", implode("', '", $allowedValues) ); } return $invalidProperties; }
Show all the invalid properties with reasons. @return array invalid properties with reasons
listInvalidProperties
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/AuthorizationUpdateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/AuthorizationUpdateRequest.php
MIT
public function valid() { return count($this->listInvalidProperties()) === 0; }
Validate all the properties in the model return true if all passed @return bool True if all properties are valid
valid
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/AuthorizationUpdateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/AuthorizationUpdateRequest.php
MIT
public function __toString() { return json_encode( ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT ); }
Gets the string presentation of the object @return string
__toString
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/AuthorizationUpdateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/AuthorizationUpdateRequest.php
MIT
public static function openAPITypes() { return self::$openAPITypes; }
Array of property to type mappings. Used for (de)serialization @return array
openAPITypes
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TaskUpdateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TaskUpdateRequest.php
MIT
public static function openAPIFormats() { return self::$openAPIFormats; }
Array of property to format mappings. Used for (de)serialization @return array
openAPIFormats
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TaskUpdateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TaskUpdateRequest.php
MIT
public static function attributeMap() { return self::$attributeMap; }
Array of attributes where the key is the local name, and the value is the original name @return array
attributeMap
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TaskUpdateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TaskUpdateRequest.php
MIT
public static function setters() { return self::$setters; }
Array of attributes to setter functions (for deserialization of responses) @return array
setters
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TaskUpdateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TaskUpdateRequest.php
MIT
public static function getters() { return self::$getters; }
Array of attributes to getter functions (for serialization of requests) @return array
getters
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TaskUpdateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TaskUpdateRequest.php
MIT
public function getModelName() { return self::$openAPIModelName; }
The original name of the model. @return string
getModelName
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TaskUpdateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TaskUpdateRequest.php
MIT
public function __construct(array $data = null) { $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['flux'] = isset($data['flux']) ? $data['flux'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['every'] = isset($data['every']) ? $data['every'] : null; $this->container['cron'] = isset($data['cron']) ? $data['cron'] : null; $this->container['offset'] = isset($data['offset']) ? $data['offset'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TaskUpdateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TaskUpdateRequest.php
MIT
public function listInvalidProperties() { $invalidProperties = []; return $invalidProperties; }
Show all the invalid properties with reasons. @return array invalid properties with reasons
listInvalidProperties
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TaskUpdateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TaskUpdateRequest.php
MIT
public function valid() { return count($this->listInvalidProperties()) === 0; }
Validate all the properties in the model return true if all passed @return bool True if all properties are valid
valid
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TaskUpdateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TaskUpdateRequest.php
MIT
public function __toString() { return json_encode( ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT ); }
Gets the string presentation of the object @return string
__toString
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TaskUpdateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TaskUpdateRequest.php
MIT
public static function openAPITypes() { return self::$openAPITypes; }
Array of property to type mappings. Used for (de)serialization @return array
openAPITypes
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Axis.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Axis.php
MIT
public static function openAPIFormats() { return self::$openAPIFormats; }
Array of property to format mappings. Used for (de)serialization @return array
openAPIFormats
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Axis.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Axis.php
MIT
public static function attributeMap() { return self::$attributeMap; }
Array of attributes where the key is the local name, and the value is the original name @return array
attributeMap
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Axis.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Axis.php
MIT
public static function setters() { return self::$setters; }
Array of attributes to setter functions (for deserialization of responses) @return array
setters
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Axis.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Axis.php
MIT
public static function getters() { return self::$getters; }
Array of attributes to getter functions (for serialization of requests) @return array
getters
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Axis.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Axis.php
MIT
public function getModelName() { return self::$openAPIModelName; }
The original name of the model. @return string
getModelName
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Axis.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Axis.php
MIT
public function getBaseAllowableValues() { return [ self::BASE_EMPTY, self::BASE__2, self::BASE__10, ]; }
Gets allowable values of the enum @return string[]
getBaseAllowableValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Axis.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Axis.php
MIT
public function __construct(array $data = null) { $this->container['bounds'] = isset($data['bounds']) ? $data['bounds'] : null; $this->container['label'] = isset($data['label']) ? $data['label'] : null; $this->container['prefix'] = isset($data['prefix']) ? $data['prefix'] : null; $this->container['suffix'] = isset($data['suffix']) ? $data['suffix'] : null; $this->container['base'] = isset($data['base']) ? $data['base'] : null; $this->container['scale'] = isset($data['scale']) ? $data['scale'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Axis.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Axis.php
MIT
public function listInvalidProperties() { $invalidProperties = []; $allowedValues = $this->getBaseAllowableValues(); if (!is_null($this->container['base']) && !in_array($this->container['base'], $allowedValues, true)) { $invalidProperties[] = sprintf( "invalid value for 'base', must be one of '%s'", implode("', '", $allowedValues) ); } return $invalidProperties; }
Show all the invalid properties with reasons. @return array invalid properties with reasons
listInvalidProperties
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Axis.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Axis.php
MIT
public function valid() { return count($this->listInvalidProperties()) === 0; }
Validate all the properties in the model return true if all passed @return bool True if all properties are valid
valid
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Axis.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Axis.php
MIT
public function __toString() { return json_encode( ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT ); }
Gets the string presentation of the object @return string
__toString
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Axis.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Axis.php
MIT
public static function openAPITypes() { return self::$openAPITypes; }
Array of property to type mappings. Used for (de)serialization @return array
openAPITypes
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
MIT
public static function openAPIFormats() { return self::$openAPIFormats; }
Array of property to format mappings. Used for (de)serialization @return array
openAPIFormats
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
MIT
public static function attributeMap() { return self::$attributeMap; }
Array of attributes where the key is the local name, and the value is the original name @return array
attributeMap
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
MIT
public static function setters() { return self::$setters; }
Array of attributes to setter functions (for deserialization of responses) @return array
setters
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
MIT
public static function getters() { return self::$getters; }
Array of attributes to getter functions (for serialization of requests) @return array
getters
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
MIT
public function getModelName() { return self::$openAPIModelName; }
The original name of the model. @return string
getModelName
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
MIT
public function __construct(array $data = null) { $this->container['kind'] = isset($data['kind']) ? $data['kind'] : null; $this->container['state_status'] = isset($data['state_status']) ? $data['state_status'] : null; $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['template_meta_name'] = isset($data['template_meta_name']) ? $data['template_meta_name'] : null; $this->container['new'] = isset($data['new']) ? $data['new'] : null; $this->container['old'] = isset($data['old']) ? $data['old'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
MIT
public function listInvalidProperties() { $invalidProperties = []; return $invalidProperties; }
Show all the invalid properties with reasons. @return array invalid properties with reasons
listInvalidProperties
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
MIT
public function valid() { return count($this->listInvalidProperties()) === 0; }
Validate all the properties in the model return true if all passed @return bool True if all properties are valid
valid
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
MIT
public function __toString() { return json_encode( ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT ); }
Gets the string presentation of the object @return string
__toString
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffVariables.php
MIT
public static function openAPITypes() { return self::$openAPITypes + parent::openAPITypes(); }
Array of property to type mappings. Used for (de)serialization @return array
openAPITypes
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DashboardWithViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DashboardWithViewProperties.php
MIT
public static function openAPIFormats() { return self::$openAPIFormats + parent::openAPIFormats(); }
Array of property to format mappings. Used for (de)serialization @return array
openAPIFormats
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DashboardWithViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DashboardWithViewProperties.php
MIT
public static function attributeMap() { return parent::attributeMap() + self::$attributeMap; }
Array of attributes where the key is the local name, and the value is the original name @return array
attributeMap
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DashboardWithViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DashboardWithViewProperties.php
MIT
public static function setters() { return parent::setters() + self::$setters; }
Array of attributes to setter functions (for deserialization of responses) @return array
setters
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DashboardWithViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DashboardWithViewProperties.php
MIT
public static function getters() { return parent::getters() + self::$getters; }
Array of attributes to getter functions (for serialization of requests) @return array
getters
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DashboardWithViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DashboardWithViewProperties.php
MIT
public function getModelName() { return self::$openAPIModelName; }
The original name of the model. @return string
getModelName
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DashboardWithViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DashboardWithViewProperties.php
MIT
public function __construct(array $data = null) { parent::__construct($data); $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['meta'] = isset($data['meta']) ? $data['meta'] : null; $this->container['cells'] = isset($data['cells']) ? $data['cells'] : null; $this->container['labels'] = isset($data['labels']) ? $data['labels'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DashboardWithViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DashboardWithViewProperties.php
MIT
public function listInvalidProperties() { $invalidProperties = parent::listInvalidProperties(); return $invalidProperties; }
Show all the invalid properties with reasons. @return array invalid properties with reasons
listInvalidProperties
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DashboardWithViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DashboardWithViewProperties.php
MIT
public function valid() { return count($this->listInvalidProperties()) === 0; }
Validate all the properties in the model return true if all passed @return bool True if all properties are valid
valid
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DashboardWithViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DashboardWithViewProperties.php
MIT
public function __toString() { return json_encode( ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT ); }
Gets the string presentation of the object @return string
__toString
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DashboardWithViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DashboardWithViewProperties.php
MIT
public static function openAPITypes() { return self::$openAPITypes + parent::openAPITypes(); }
Array of property to type mappings. Used for (de)serialization @return array
openAPITypes
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/ArrayExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ArrayExpression.php
MIT
public static function openAPIFormats() { return self::$openAPIFormats + parent::openAPIFormats(); }
Array of property to format mappings. Used for (de)serialization @return array
openAPIFormats
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/ArrayExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ArrayExpression.php
MIT
public static function attributeMap() { return parent::attributeMap() + self::$attributeMap; }
Array of attributes where the key is the local name, and the value is the original name @return array
attributeMap
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/ArrayExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ArrayExpression.php
MIT
public static function setters() { return parent::setters() + self::$setters; }
Array of attributes to setter functions (for deserialization of responses) @return array
setters
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/ArrayExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ArrayExpression.php
MIT
public static function getters() { return parent::getters() + self::$getters; }
Array of attributes to getter functions (for serialization of requests) @return array
getters
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/ArrayExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ArrayExpression.php
MIT
public function getModelName() { return self::$openAPIModelName; }
The original name of the model. @return string
getModelName
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/ArrayExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ArrayExpression.php
MIT
public function __construct(array $data = null) { parent::__construct($data); $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['elements'] = isset($data['elements']) ? $data['elements'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/ArrayExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ArrayExpression.php
MIT
public function listInvalidProperties() { $invalidProperties = parent::listInvalidProperties(); return $invalidProperties; }
Show all the invalid properties with reasons. @return array invalid properties with reasons
listInvalidProperties
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/ArrayExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ArrayExpression.php
MIT
public function valid() { return count($this->listInvalidProperties()) === 0; }
Validate all the properties in the model return true if all passed @return bool True if all properties are valid
valid
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/ArrayExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ArrayExpression.php
MIT
public function __toString() { return json_encode( ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT ); }
Gets the string presentation of the object @return string
__toString
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/ArrayExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ArrayExpression.php
MIT
public static function getAllowableEnumValues() { return [ self::BUCKET, self::CHECK, self::CHECK_DEADMAN, self::CHECK_THRESHOLD, self::DASHBOARD, self::LABEL, self::NOTIFICATION_ENDPOINT, self::NOTIFICATION_ENDPOINT_HTTP, self::NOTIFICATION_ENDPOINT_PAGER_DUTY, self::NOTIFICATION_ENDPOINT_SLACK, self::NOTIFICATION_RULE, self::TASK, self::TELEGRAF, self::VARIABLE, ]; }
Gets allowable values of the enum @return string[]
getAllowableEnumValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TemplateKind.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateKind.php
MIT
public static function openAPITypes() { return self::$openAPITypes; }
Array of property to type mappings. Used for (de)serialization @return array
openAPITypes
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DBRPGet.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPGet.php
MIT
public static function openAPIFormats() { return self::$openAPIFormats; }
Array of property to format mappings. Used for (de)serialization @return array
openAPIFormats
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DBRPGet.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPGet.php
MIT
public static function attributeMap() { return self::$attributeMap; }
Array of attributes where the key is the local name, and the value is the original name @return array
attributeMap
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DBRPGet.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPGet.php
MIT
public static function setters() { return self::$setters; }
Array of attributes to setter functions (for deserialization of responses) @return array
setters
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DBRPGet.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPGet.php
MIT
public static function getters() { return self::$getters; }
Array of attributes to getter functions (for serialization of requests) @return array
getters
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DBRPGet.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPGet.php
MIT
public function getModelName() { return self::$openAPIModelName; }
The original name of the model. @return string
getModelName
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DBRPGet.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPGet.php
MIT
public function __construct(array $data = null) { $this->container['content'] = isset($data['content']) ? $data['content'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DBRPGet.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPGet.php
MIT
public function listInvalidProperties() { $invalidProperties = []; return $invalidProperties; }
Show all the invalid properties with reasons. @return array invalid properties with reasons
listInvalidProperties
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DBRPGet.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPGet.php
MIT
public function valid() { return count($this->listInvalidProperties()) === 0; }
Validate all the properties in the model return true if all passed @return bool True if all properties are valid
valid
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DBRPGet.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPGet.php
MIT
public function __toString() { return json_encode( ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT ); }
Gets the string presentation of the object @return string
__toString
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DBRPGet.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPGet.php
MIT
public static function openAPITypes() { return self::$openAPITypes; }
Array of property to type mappings. Used for (de)serialization @return array
openAPITypes
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Dashboards.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dashboards.php
MIT
public static function openAPIFormats() { return self::$openAPIFormats; }
Array of property to format mappings. Used for (de)serialization @return array
openAPIFormats
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Dashboards.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dashboards.php
MIT
public static function attributeMap() { return self::$attributeMap; }
Array of attributes where the key is the local name, and the value is the original name @return array
attributeMap
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Dashboards.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dashboards.php
MIT
public static function setters() { return self::$setters; }
Array of attributes to setter functions (for deserialization of responses) @return array
setters
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Dashboards.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dashboards.php
MIT
public static function getters() { return self::$getters; }
Array of attributes to getter functions (for serialization of requests) @return array
getters
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Dashboards.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dashboards.php
MIT
public function getModelName() { return self::$openAPIModelName; }
The original name of the model. @return string
getModelName
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Dashboards.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dashboards.php
MIT
public function __construct(array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['dashboards'] = isset($data['dashboards']) ? $data['dashboards'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Dashboards.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dashboards.php
MIT
public function listInvalidProperties() { $invalidProperties = []; return $invalidProperties; }
Show all the invalid properties with reasons. @return array invalid properties with reasons
listInvalidProperties
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Dashboards.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dashboards.php
MIT
public function valid() { return count($this->listInvalidProperties()) === 0; }
Validate all the properties in the model return true if all passed @return bool True if all properties are valid
valid
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Dashboards.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dashboards.php
MIT
public function __toString() { return json_encode( ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT ); }
Gets the string presentation of the object @return string
__toString
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Dashboards.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dashboards.php
MIT
public static function openAPITypes() { return self::$openAPITypes + parent::openAPITypes(); }
Array of property to type mappings. Used for (de)serialization @return array
openAPITypes
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/MosaicViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MosaicViewProperties.php
MIT
public static function openAPIFormats() { return self::$openAPIFormats + parent::openAPIFormats(); }
Array of property to format mappings. Used for (de)serialization @return array
openAPIFormats
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/MosaicViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MosaicViewProperties.php
MIT
public static function attributeMap() { return parent::attributeMap() + self::$attributeMap; }
Array of attributes where the key is the local name, and the value is the original name @return array
attributeMap
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/MosaicViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MosaicViewProperties.php
MIT
public static function setters() { return parent::setters() + self::$setters; }
Array of attributes to setter functions (for deserialization of responses) @return array
setters
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/MosaicViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MosaicViewProperties.php
MIT
public static function getters() { return parent::getters() + self::$getters; }
Array of attributes to getter functions (for serialization of requests) @return array
getters
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/MosaicViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MosaicViewProperties.php
MIT
public function getModelName() { return self::$openAPIModelName; }
The original name of the model. @return string
getModelName
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/MosaicViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MosaicViewProperties.php
MIT
public function getTypeAllowableValues() { return [ self::TYPE_MOSAIC, ]; }
Gets allowable values of the enum @return string[]
getTypeAllowableValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/MosaicViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MosaicViewProperties.php
MIT
public function getShapeAllowableValues() { return [ self::SHAPE_CHRONOGRAF_V2, ]; }
Gets allowable values of the enum @return string[]
getShapeAllowableValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/MosaicViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MosaicViewProperties.php
MIT
public function getHoverDimensionAllowableValues() { return [ self::HOVER_DIMENSION_AUTO, self::HOVER_DIMENSION_X, self::HOVER_DIMENSION_Y, self::HOVER_DIMENSION_XY, ]; }
Gets allowable values of the enum @return string[]
getHoverDimensionAllowableValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/MosaicViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MosaicViewProperties.php
MIT
public function __construct(array $data = null) { parent::__construct($data); $this->container['time_format'] = isset($data['time_format']) ? $data['time_format'] : null; $this->container['type'] = isset($data['type']) ? $data['type'] : TYPE_MOSAIC; $this->container['queries'] = isset($data['queries']) ? $data['queries'] : null; $this->container['colors'] = isset($data['colors']) ? $data['colors'] : null; $this->container['shape'] = isset($data['shape']) ? $data['shape'] : SHAPE_CHRONOGRAF_V2; $this->container['note'] = isset($data['note']) ? $data['note'] : null; $this->container['show_note_when_empty'] = isset($data['show_note_when_empty']) ? $data['show_note_when_empty'] : null; $this->container['x_column'] = isset($data['x_column']) ? $data['x_column'] : null; $this->container['generate_x_axis_ticks'] = isset($data['generate_x_axis_ticks']) ? $data['generate_x_axis_ticks'] : null; $this->container['x_total_ticks'] = isset($data['x_total_ticks']) ? $data['x_total_ticks'] : null; $this->container['x_tick_start'] = isset($data['x_tick_start']) ? $data['x_tick_start'] : null; $this->container['x_tick_step'] = isset($data['x_tick_step']) ? $data['x_tick_step'] : null; $this->container['y_label_column_separator'] = isset($data['y_label_column_separator']) ? $data['y_label_column_separator'] : null; $this->container['y_label_columns'] = isset($data['y_label_columns']) ? $data['y_label_columns'] : null; $this->container['y_series_columns'] = isset($data['y_series_columns']) ? $data['y_series_columns'] : null; $this->container['fill_columns'] = isset($data['fill_columns']) ? $data['fill_columns'] : null; $this->container['x_domain'] = isset($data['x_domain']) ? $data['x_domain'] : null; $this->container['y_domain'] = isset($data['y_domain']) ? $data['y_domain'] : null; $this->container['x_axis_label'] = isset($data['x_axis_label']) ? $data['x_axis_label'] : null; $this->container['y_axis_label'] = isset($data['y_axis_label']) ? $data['y_axis_label'] : null; $this->container['x_prefix'] = isset($data['x_prefix']) ? $data['x_prefix'] : null; $this->container['x_suffix'] = isset($data['x_suffix']) ? $data['x_suffix'] : null; $this->container['y_prefix'] = isset($data['y_prefix']) ? $data['y_prefix'] : null; $this->container['y_suffix'] = isset($data['y_suffix']) ? $data['y_suffix'] : null; $this->container['hover_dimension'] = isset($data['hover_dimension']) ? $data['hover_dimension'] : null; $this->container['legend_colorize_rows'] = isset($data['legend_colorize_rows']) ? $data['legend_colorize_rows'] : null; $this->container['legend_hide'] = isset($data['legend_hide']) ? $data['legend_hide'] : null; $this->container['legend_opacity'] = isset($data['legend_opacity']) ? $data['legend_opacity'] : null; $this->container['legend_orientation_threshold'] = isset($data['legend_orientation_threshold']) ? $data['legend_orientation_threshold'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/MosaicViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MosaicViewProperties.php
MIT
public function listInvalidProperties() { $invalidProperties = parent::listInvalidProperties(); if ($this->container['type'] === null) { $invalidProperties[] = "'type' can't be null"; } $allowedValues = $this->getTypeAllowableValues(); if (!is_null($this->container['type']) && !in_array($this->container['type'], $allowedValues, true)) { $invalidProperties[] = sprintf( "invalid value for 'type', must be one of '%s'", implode("', '", $allowedValues) ); } if ($this->container['queries'] === null) { $invalidProperties[] = "'queries' can't be null"; } if ($this->container['colors'] === null) { $invalidProperties[] = "'colors' can't be null"; } if ($this->container['shape'] === null) { $invalidProperties[] = "'shape' can't be null"; } $allowedValues = $this->getShapeAllowableValues(); if (!is_null($this->container['shape']) && !in_array($this->container['shape'], $allowedValues, true)) { $invalidProperties[] = sprintf( "invalid value for 'shape', must be one of '%s'", implode("', '", $allowedValues) ); } if ($this->container['note'] === null) { $invalidProperties[] = "'note' can't be null"; } if ($this->container['show_note_when_empty'] === null) { $invalidProperties[] = "'show_note_when_empty' can't be null"; } if ($this->container['x_column'] === null) { $invalidProperties[] = "'x_column' can't be null"; } if ($this->container['y_series_columns'] === null) { $invalidProperties[] = "'y_series_columns' can't be null"; } if ($this->container['fill_columns'] === null) { $invalidProperties[] = "'fill_columns' can't be null"; } if ($this->container['x_domain'] === null) { $invalidProperties[] = "'x_domain' can't be null"; } if ($this->container['y_domain'] === null) { $invalidProperties[] = "'y_domain' can't be null"; } if ($this->container['x_axis_label'] === null) { $invalidProperties[] = "'x_axis_label' can't be null"; } if ($this->container['y_axis_label'] === null) { $invalidProperties[] = "'y_axis_label' can't be null"; } if ($this->container['x_prefix'] === null) { $invalidProperties[] = "'x_prefix' can't be null"; } if ($this->container['x_suffix'] === null) { $invalidProperties[] = "'x_suffix' can't be null"; } if ($this->container['y_prefix'] === null) { $invalidProperties[] = "'y_prefix' can't be null"; } if ($this->container['y_suffix'] === null) { $invalidProperties[] = "'y_suffix' can't be null"; } $allowedValues = $this->getHoverDimensionAllowableValues(); if (!is_null($this->container['hover_dimension']) && !in_array($this->container['hover_dimension'], $allowedValues, true)) { $invalidProperties[] = sprintf( "invalid value for 'hover_dimension', must be one of '%s'", implode("', '", $allowedValues) ); } return $invalidProperties; }
Show all the invalid properties with reasons. @return array invalid properties with reasons
listInvalidProperties
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/MosaicViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MosaicViewProperties.php
MIT
public function valid() { return count($this->listInvalidProperties()) === 0; }
Validate all the properties in the model return true if all passed @return bool True if all properties are valid
valid
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/MosaicViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MosaicViewProperties.php
MIT
public function getLegendOrientationThreshold() { return $this->container['legend_orientation_threshold']; }
Gets legend_orientation_threshold @return int|null
getLegendOrientationThreshold
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/MosaicViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MosaicViewProperties.php
MIT
public function setLegendOrientationThreshold($legend_orientation_threshold) { $this->container['legend_orientation_threshold'] = $legend_orientation_threshold; return $this; }
Sets legend_orientation_threshold @param int|null $legend_orientation_threshold legend_orientation_threshold @return $this
setLegendOrientationThreshold
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/MosaicViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MosaicViewProperties.php
MIT
public function __toString() { return json_encode( ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT ); }
Gets the string presentation of the object @return string
__toString
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/MosaicViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MosaicViewProperties.php
MIT
public static function openAPITypes() { return self::$openAPITypes; }
Array of property to type mappings. Used for (de)serialization @return array
openAPITypes
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DeletePredicateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DeletePredicateRequest.php
MIT
public static function openAPIFormats() { return self::$openAPIFormats; }
Array of property to format mappings. Used for (de)serialization @return array
openAPIFormats
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DeletePredicateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DeletePredicateRequest.php
MIT
public static function attributeMap() { return self::$attributeMap; }
Array of attributes where the key is the local name, and the value is the original name @return array
attributeMap
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DeletePredicateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DeletePredicateRequest.php
MIT
public static function setters() { return self::$setters; }
Array of attributes to setter functions (for deserialization of responses) @return array
setters
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DeletePredicateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DeletePredicateRequest.php
MIT
public static function getters() { return self::$getters; }
Array of attributes to getter functions (for serialization of requests) @return array
getters
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DeletePredicateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DeletePredicateRequest.php
MIT
public function getModelName() { return self::$openAPIModelName; }
The original name of the model. @return string
getModelName
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DeletePredicateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DeletePredicateRequest.php
MIT
public function __construct(array $data = null) { $this->container['start'] = isset($data['start']) ? $data['start'] : null; $this->container['stop'] = isset($data['stop']) ? $data['stop'] : null; $this->container['predicate'] = isset($data['predicate']) ? $data['predicate'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DeletePredicateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DeletePredicateRequest.php
MIT
public function listInvalidProperties() { $invalidProperties = []; if ($this->container['start'] === null) { $invalidProperties[] = "'start' can't be null"; } if ($this->container['stop'] === null) { $invalidProperties[] = "'stop' can't be null"; } return $invalidProperties; }
Show all the invalid properties with reasons. @return array invalid properties with reasons
listInvalidProperties
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DeletePredicateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DeletePredicateRequest.php
MIT
public function valid() { return count($this->listInvalidProperties()) === 0; }
Validate all the properties in the model return true if all passed @return bool True if all properties are valid
valid
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DeletePredicateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DeletePredicateRequest.php
MIT
public function __toString() { return json_encode( ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT ); }
Gets the string presentation of the object @return string
__toString
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DeletePredicateRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DeletePredicateRequest.php
MIT