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 getModelName() { return self::$openAPIModelName; }
The original name of the model. @return string
getModelName
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/NotificationRuleUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRuleUpdate.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/NotificationRuleUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRuleUpdate.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/NotificationRuleUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRuleUpdate.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/NotificationRuleUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRuleUpdate.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/NotificationRuleUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRuleUpdate.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/NotificationRuleUpdate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRuleUpdate.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/StringLiteral.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StringLiteral.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/StringLiteral.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StringLiteral.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/StringLiteral.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StringLiteral.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/StringLiteral.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StringLiteral.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/StringLiteral.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StringLiteral.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/StringLiteral.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StringLiteral.php
MIT
public function __construct(array $data = null) { parent::__construct($data); $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['value'] = isset($data['value']) ? $data['value'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/StringLiteral.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StringLiteral.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/StringLiteral.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StringLiteral.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/StringLiteral.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StringLiteral.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/StringLiteral.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StringLiteral.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/TemplateSummaryErrors.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryErrors.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/TemplateSummaryErrors.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryErrors.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/TemplateSummaryErrors.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryErrors.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/TemplateSummaryErrors.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryErrors.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/TemplateSummaryErrors.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryErrors.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/TemplateSummaryErrors.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryErrors.php
MIT
public function __construct(array $data = null) { $this->container['kind'] = isset($data['kind']) ? $data['kind'] : null; $this->container['reason'] = isset($data['reason']) ? $data['reason'] : null; $this->container['fields'] = isset($data['fields']) ? $data['fields'] : null; $this->container['indexes'] = isset($data['indexes']) ? $data['indexes'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TemplateSummaryErrors.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryErrors.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/TemplateSummaryErrors.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryErrors.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/TemplateSummaryErrors.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryErrors.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/TemplateSummaryErrors.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryErrors.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/BuilderFunctionsType.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/BuilderFunctionsType.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/BuilderFunctionsType.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/BuilderFunctionsType.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/BuilderFunctionsType.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/BuilderFunctionsType.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/BuilderFunctionsType.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/BuilderFunctionsType.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/BuilderFunctionsType.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/BuilderFunctionsType.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/BuilderFunctionsType.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/BuilderFunctionsType.php
MIT
public function __construct(array $data = 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/BuilderFunctionsType.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/BuilderFunctionsType.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/BuilderFunctionsType.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/BuilderFunctionsType.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/BuilderFunctionsType.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/BuilderFunctionsType.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/BuilderFunctionsType.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/BuilderFunctionsType.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/CreateCell.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CreateCell.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/CreateCell.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CreateCell.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/CreateCell.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CreateCell.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/CreateCell.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CreateCell.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/CreateCell.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CreateCell.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/CreateCell.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CreateCell.php
MIT
public function __construct(array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['x'] = isset($data['x']) ? $data['x'] : null; $this->container['y'] = isset($data['y']) ? $data['y'] : null; $this->container['w'] = isset($data['w']) ? $data['w'] : null; $this->container['h'] = isset($data['h']) ? $data['h'] : null; $this->container['using_view'] = isset($data['using_view']) ? $data['using_view'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/CreateCell.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CreateCell.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/CreateCell.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CreateCell.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/CreateCell.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CreateCell.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/CreateCell.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CreateCell.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/PasswordResetBody.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PasswordResetBody.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/PasswordResetBody.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PasswordResetBody.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/PasswordResetBody.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PasswordResetBody.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/PasswordResetBody.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PasswordResetBody.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/PasswordResetBody.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PasswordResetBody.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/PasswordResetBody.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PasswordResetBody.php
MIT
public function __construct(array $data = null) { $this->container['password'] = isset($data['password']) ? $data['password'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/PasswordResetBody.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PasswordResetBody.php
MIT
public function listInvalidProperties() { $invalidProperties = []; if ($this->container['password'] === null) { $invalidProperties[] = "'password' 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/PasswordResetBody.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PasswordResetBody.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/PasswordResetBody.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PasswordResetBody.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/PasswordResetBody.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PasswordResetBody.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/TemplateSummaryDiffTasksNewOld.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTasksNewOld.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/TemplateSummaryDiffTasksNewOld.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTasksNewOld.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/TemplateSummaryDiffTasksNewOld.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTasksNewOld.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/TemplateSummaryDiffTasksNewOld.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTasksNewOld.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/TemplateSummaryDiffTasksNewOld.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTasksNewOld.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/TemplateSummaryDiffTasksNewOld.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTasksNewOld.php
MIT
public function __construct(array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['cron'] = isset($data['cron']) ? $data['cron'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; $this->container['every'] = isset($data['every']) ? $data['every'] : null; $this->container['offset'] = isset($data['offset']) ? $data['offset'] : null; $this->container['query'] = isset($data['query']) ? $data['query'] : 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/TemplateSummaryDiffTasksNewOld.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTasksNewOld.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/TemplateSummaryDiffTasksNewOld.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTasksNewOld.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/TemplateSummaryDiffTasksNewOld.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTasksNewOld.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/TemplateSummaryDiffTasksNewOld.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTasksNewOld.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/IndexExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/IndexExpression.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/IndexExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/IndexExpression.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/IndexExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/IndexExpression.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/IndexExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/IndexExpression.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/IndexExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/IndexExpression.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/IndexExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/IndexExpression.php
MIT
public function __construct(array $data = null) { parent::__construct($data); $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['array'] = isset($data['array']) ? $data['array'] : null; $this->container['index'] = isset($data['index']) ? $data['index'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/IndexExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/IndexExpression.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/IndexExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/IndexExpression.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/IndexExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/IndexExpression.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/IndexExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/IndexExpression.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/RangeThreshold.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RangeThreshold.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/RangeThreshold.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RangeThreshold.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/RangeThreshold.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RangeThreshold.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/RangeThreshold.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RangeThreshold.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/RangeThreshold.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RangeThreshold.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/RangeThreshold.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RangeThreshold.php
MIT
public function getTypeAllowableValues() { return [ self::TYPE_RANGE, ]; }
Gets allowable values of the enum @return string[]
getTypeAllowableValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/RangeThreshold.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RangeThreshold.php
MIT
public function __construct(array $data = null) { parent::__construct($data); $this->container['type'] = isset($data['type']) ? $data['type'] : "range"; $this->container['min'] = isset($data['min']) ? $data['min'] : null; $this->container['max'] = isset($data['max']) ? $data['max'] : null; $this->container['within'] = isset($data['within']) ? $data['within'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/RangeThreshold.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RangeThreshold.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['min'] === null) { $invalidProperties[] = "'min' can't be null"; } if ($this->container['max'] === null) { $invalidProperties[] = "'max' can't be null"; } if ($this->container['within'] === null) { $invalidProperties[] = "'within' 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/RangeThreshold.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RangeThreshold.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/RangeThreshold.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RangeThreshold.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/RangeThreshold.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RangeThreshold.php
MIT
public static function getAllowableEnumValues() { return [ self::FILTER, self::GROUP, ]; }
Gets allowable values of the enum @return string[]
getAllowableEnumValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/BuilderAggregateFunctionType.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/BuilderAggregateFunctionType.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/RemoteConnection.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnection.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/RemoteConnection.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnection.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/RemoteConnection.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnection.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/RemoteConnection.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnection.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/RemoteConnection.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnection.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/RemoteConnection.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnection.php
MIT
public function __construct(array $data = null) { $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['org_id'] = isset($data['org_id']) ? $data['org_id'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; $this->container['remote_url'] = isset($data['remote_url']) ? $data['remote_url'] : null; $this->container['remote_org_id'] = isset($data['remote_org_id']) ? $data['remote_org_id'] : null; $this->container['allow_insecure_tls'] = isset($data['allow_insecure_tls']) ? $data['allow_insecure_tls'] : false; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/RemoteConnection.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnection.php
MIT
public function listInvalidProperties() { $invalidProperties = []; if ($this->container['id'] === null) { $invalidProperties[] = "'id' can't be null"; } if ($this->container['name'] === null) { $invalidProperties[] = "'name' can't be null"; } if ($this->container['org_id'] === null) { $invalidProperties[] = "'org_id' can't be null"; } if ($this->container['remote_url'] === null) { $invalidProperties[] = "'remote_url' can't be null"; } if ($this->container['remote_org_id'] === null) { $invalidProperties[] = "'remote_org_id' can't be null"; } if ($this->container['allow_insecure_tls'] === null) { $invalidProperties[] = "'allow_insecure_tls' 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/RemoteConnection.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnection.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/RemoteConnection.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnection.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/RemoteConnection.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnection.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/BuilderConfig.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/BuilderConfig.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/BuilderConfig.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/BuilderConfig.php
MIT