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 static function getAllowableEnumValues() { return [ self::UNKNOWN, self::OK, self::INFO, self::CRIT, self::WARN, self::ANY, ]; }
Gets allowable values of the enum @return string[]
getAllowableEnumValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/RuleStatusLevel.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RuleStatusLevel.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/NotificationEndpointUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationEndpointUpdate.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/NotificationEndpointUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationEndpointUpdate.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/NotificationEndpointUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationEndpointUpdate.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/NotificationEndpointUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationEndpointUpdate.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/NotificationEndpointUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationEndpointUpdate.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/NotificationEndpointUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationEndpointUpdate.php
MIT
public function getStatusAllowableValues() { return [ self::STATUS_ACTIVE, self::STATUS_INACTIVE, ]; }
Gets allowable values of the enum @return string[]
getStatusAllowableValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/NotificationEndpointUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationEndpointUpdate.php
MIT
public function __construct(array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; $this->container['status'] = isset($data['status']) ? $data['status'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/NotificationEndpointUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationEndpointUpdate.php
MIT
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/NotificationEndpointUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationEndpointUpdate.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/NotificationEndpointUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationEndpointUpdate.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/NotificationEndpointUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationEndpointUpdate.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/CheckViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CheckViewProperties.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/CheckViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CheckViewProperties.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/CheckViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CheckViewProperties.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/CheckViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CheckViewProperties.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/CheckViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CheckViewProperties.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/CheckViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CheckViewProperties.php
MIT
public function getTypeAllowableValues() { return [ self::TYPE_CHECK, ]; }
Gets allowable values of the enum @return string[]
getTypeAllowableValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/CheckViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CheckViewProperties.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/CheckViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CheckViewProperties.php
MIT
public function __construct(array $data = null) { parent::__construct($data); $this->container['adaptive_zoom_hide'] = isset($data['adaptive_zoom_hide']) ? $data['adaptive_zoom_hide'] : null; $this->container['type'] = isset($data['type']) ? $data['type'] : TYPE_CHECK; $this->container['shape'] = isset($data['shape']) ? $data['shape'] : SHAPE_CHRONOGRAF_V2; $this->container['check_id'] = isset($data['check_id']) ? $data['check_id'] : null; $this->container['check'] = isset($data['check']) ? $data['check'] : null; $this->container['queries'] = isset($data['queries']) ? $data['queries'] : null; $this->container['colors'] = isset($data['colors']) ? $data['colors'] : 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/CheckViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CheckViewProperties.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['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['check_id'] === null) { $invalidProperties[] = "'check_id' can't be null"; } if ($this->container['queries'] === null) { $invalidProperties[] = "'queries' can't be null"; } if ($this->container['colors'] === null) { $invalidProperties[] = "'colors' 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/CheckViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CheckViewProperties.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/CheckViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CheckViewProperties.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/CheckViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CheckViewProperties.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/CheckViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CheckViewProperties.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/CheckViewProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CheckViewProperties.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/PackageClause.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PackageClause.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/PackageClause.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PackageClause.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/PackageClause.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PackageClause.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/PackageClause.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PackageClause.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/PackageClause.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PackageClause.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/PackageClause.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PackageClause.php
MIT
public function __construct(array $data = null) { $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/PackageClause.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PackageClause.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/PackageClause.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PackageClause.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/PackageClause.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PackageClause.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/PackageClause.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PackageClause.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/VariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/VariableProperties.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/VariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/VariableProperties.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/VariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/VariableProperties.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/VariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/VariableProperties.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/VariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/VariableProperties.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/VariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/VariableProperties.php
MIT
public function __construct(array $data = null) { }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/VariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/VariableProperties.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/VariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/VariableProperties.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/VariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/VariableProperties.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/VariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/VariableProperties.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/LabelUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelUpdate.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/LabelUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelUpdate.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/LabelUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelUpdate.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/LabelUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelUpdate.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/LabelUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelUpdate.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/LabelUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelUpdate.php
MIT
public function __construct(array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['properties'] = isset($data['properties']) ? $data['properties'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/LabelUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelUpdate.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/LabelUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelUpdate.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/LabelUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelUpdate.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/LabelUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelUpdate.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/MapVariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MapVariableProperties.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/MapVariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MapVariableProperties.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/MapVariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MapVariableProperties.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/MapVariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MapVariableProperties.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/MapVariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MapVariableProperties.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/MapVariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MapVariableProperties.php
MIT
public function getTypeAllowableValues() { return [ self::TYPE_MAP, ]; }
Gets allowable values of the enum @return string[]
getTypeAllowableValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/MapVariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MapVariableProperties.php
MIT
public function __construct(array $data = null) { parent::__construct($data); $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['values'] = isset($data['values']) ? $data['values'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/MapVariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MapVariableProperties.php
MIT
public function listInvalidProperties() { $invalidProperties = parent::listInvalidProperties(); $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) ); } return $invalidProperties; }
Show all the invalid properties with reasons. @return array invalid properties with reasons
listInvalidProperties
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/MapVariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MapVariableProperties.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/MapVariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MapVariableProperties.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/MapVariableProperties.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/MapVariableProperties.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/Links.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Links.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/Links.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Links.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/Links.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Links.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/Links.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Links.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/Links.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Links.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/Links.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Links.php
MIT
public function __construct(array $data = null) { $this->container['next'] = isset($data['next']) ? $data['next'] : null; $this->container['self'] = isset($data['self']) ? $data['self'] : null; $this->container['prev'] = isset($data['prev']) ? $data['prev'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Links.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Links.php
MIT
public function listInvalidProperties() { $invalidProperties = []; if ($this->container['self'] === null) { $invalidProperties[] = "'self' 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/Links.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Links.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/Links.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Links.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/Links.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Links.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/Field.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Field.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/Field.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Field.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/Field.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Field.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/Field.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Field.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/Field.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Field.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/Field.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Field.php
MIT
public function getTypeAllowableValues() { return [ self::TYPE_FUNC, self::TYPE_FIELD, self::TYPE_INTEGER, self::TYPE_NUMBER, self::TYPE_REGEX, self::TYPE_WILDCARD, ]; }
Gets allowable values of the enum @return string[]
getTypeAllowableValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Field.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Field.php
MIT
public function __construct(array $data = null) { $this->container['value'] = isset($data['value']) ? $data['value'] : null; $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['alias'] = isset($data['alias']) ? $data['alias'] : null; $this->container['args'] = isset($data['args']) ? $data['args'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Field.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Field.php
MIT
public function listInvalidProperties() { $invalidProperties = []; $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) ); } return $invalidProperties; }
Show all the invalid properties with reasons. @return array invalid properties with reasons
listInvalidProperties
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Field.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Field.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/Field.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Field.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/Field.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Field.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/TemplateSummary.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummary.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/TemplateSummary.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummary.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/TemplateSummary.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummary.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/TemplateSummary.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummary.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/TemplateSummary.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummary.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/TemplateSummary.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummary.php
MIT
public function __construct(array $data = null) { $this->container['sources'] = isset($data['sources']) ? $data['sources'] : null; $this->container['stack_id'] = isset($data['stack_id']) ? $data['stack_id'] : null; $this->container['summary'] = isset($data['summary']) ? $data['summary'] : null; $this->container['diff'] = isset($data['diff']) ? $data['diff'] : null; $this->container['errors'] = isset($data['errors']) ? $data['errors'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TemplateSummary.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummary.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/TemplateSummary.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummary.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/TemplateSummary.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummary.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/TemplateSummary.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummary.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/TemplateSummaryDiffBuckets.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffBuckets.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/TemplateSummaryDiffBuckets.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffBuckets.php
MIT