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 __construct(array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; $this->container['user'] = isset($data['user']) ? $data['user'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/AuthorizationLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/AuthorizationLinks.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/AuthorizationLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/AuthorizationLinks.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/AuthorizationLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/AuthorizationLinks.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/AuthorizationLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/AuthorizationLinks.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/NotificationRuleDiscriminator.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRuleDiscriminator.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/NotificationRuleDiscriminator.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRuleDiscriminator.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/NotificationRuleDiscriminator.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRuleDiscriminator.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/NotificationRuleDiscriminator.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRuleDiscriminator.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/NotificationRuleDiscriminator.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRuleDiscriminator.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/NotificationRuleDiscriminator.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRuleDiscriminator.php
MIT
public function __construct(array $data = null) { parent::__construct($data); // Initialize discriminator property with the model name. $discriminator = array_search('type', self::$attributeMap, true); $this->container[$discriminator] = static::$openAPIModelName; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/NotificationRuleDiscriminator.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRuleDiscriminator.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/NotificationRuleDiscriminator.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRuleDiscriminator.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/NotificationRuleDiscriminator.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRuleDiscriminator.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/NotificationRuleDiscriminator.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRuleDiscriminator.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/TemplateSummarySummaryTasks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryTasks.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/TemplateSummarySummaryTasks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryTasks.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/TemplateSummarySummaryTasks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryTasks.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/TemplateSummarySummaryTasks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryTasks.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/TemplateSummarySummaryTasks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryTasks.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/TemplateSummarySummaryTasks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryTasks.php
MIT
public function __construct(array $data = null) { $this->container['kind'] = isset($data['kind']) ? $data['kind'] : null; $this->container['template_meta_name'] = isset($data['template_meta_name']) ? $data['template_meta_name'] : null; $this->container['id'] = isset($data['id']) ? $data['id'] : 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; $this->container['env_references'] = isset($data['env_references']) ? $data['env_references'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TemplateSummarySummaryTasks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryTasks.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/TemplateSummarySummaryTasks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryTasks.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/TemplateSummarySummaryTasks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryTasks.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/TemplateSummarySummaryTasks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryTasks.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/LineProtocolError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolError.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/LineProtocolError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolError.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/LineProtocolError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolError.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/LineProtocolError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolError.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/LineProtocolError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolError.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/LineProtocolError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolError.php
MIT
public function getCodeAllowableValues() { return [ self::CODE_INTERNAL_ERROR, self::CODE_NOT_FOUND, self::CODE_CONFLICT, self::CODE_INVALID, self::CODE_EMPTY_VALUE, self::CODE_UNAVAILABLE, ]; }
Gets allowable values of the enum @return string[]
getCodeAllowableValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/LineProtocolError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolError.php
MIT
public function __construct(array $data = null) { $this->container['code'] = isset($data['code']) ? $data['code'] : null; $this->container['message'] = isset($data['message']) ? $data['message'] : null; $this->container['op'] = isset($data['op']) ? $data['op'] : null; $this->container['err'] = isset($data['err']) ? $data['err'] : null; $this->container['line'] = isset($data['line']) ? $data['line'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/LineProtocolError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolError.php
MIT
public function listInvalidProperties() { $invalidProperties = []; if ($this->container['code'] === null) { $invalidProperties[] = "'code' can't be null"; } $allowedValues = $this->getCodeAllowableValues(); if (!is_null($this->container['code']) && !in_array($this->container['code'], $allowedValues, true)) { $invalidProperties[] = sprintf( "invalid value for 'code', 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/LineProtocolError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolError.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/LineProtocolError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolError.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/LineProtocolError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolError.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/Source.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Source.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/Source.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Source.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/Source.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Source.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/Source.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Source.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/Source.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Source.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/Source.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Source.php
MIT
public function getTypeAllowableValues() { return [ self::TYPE_V1, self::TYPE_V2, self::TYPE_SELF, ]; }
Gets allowable values of the enum @return string[]
getTypeAllowableValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Source.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Source.php
MIT
public function getLanguagesAllowableValues() { return [ self::LANGUAGES_FLUX, self::LANGUAGES_INFLUXQL, ]; }
Gets allowable values of the enum @return string[]
getLanguagesAllowableValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Source.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Source.php
MIT
public function __construct(array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['org_id'] = isset($data['org_id']) ? $data['org_id'] : null; $this->container['default'] = isset($data['default']) ? $data['default'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['url'] = isset($data['url']) ? $data['url'] : null; $this->container['insecure_skip_verify'] = isset($data['insecure_skip_verify']) ? $data['insecure_skip_verify'] : null; $this->container['telegraf'] = isset($data['telegraf']) ? $data['telegraf'] : null; $this->container['token'] = isset($data['token']) ? $data['token'] : null; $this->container['username'] = isset($data['username']) ? $data['username'] : null; $this->container['password'] = isset($data['password']) ? $data['password'] : null; $this->container['shared_secret'] = isset($data['shared_secret']) ? $data['shared_secret'] : null; $this->container['meta_url'] = isset($data['meta_url']) ? $data['meta_url'] : null; $this->container['default_rp'] = isset($data['default_rp']) ? $data['default_rp'] : null; $this->container['languages'] = isset($data['languages']) ? $data['languages'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Source.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Source.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/Source.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Source.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/Source.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Source.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/Source.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Source.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/LineProtocolLengthError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolLengthError.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/LineProtocolLengthError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolLengthError.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/LineProtocolLengthError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolLengthError.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/LineProtocolLengthError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolLengthError.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/LineProtocolLengthError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolLengthError.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/LineProtocolLengthError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolLengthError.php
MIT
public function getCodeAllowableValues() { return [ self::CODE_INVALID, ]; }
Gets allowable values of the enum @return string[]
getCodeAllowableValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/LineProtocolLengthError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolLengthError.php
MIT
public function __construct(array $data = null) { $this->container['code'] = isset($data['code']) ? $data['code'] : CODE_INVALID; $this->container['message'] = isset($data['message']) ? $data['message'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/LineProtocolLengthError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolLengthError.php
MIT
public function listInvalidProperties() { $invalidProperties = []; if ($this->container['code'] === null) { $invalidProperties[] = "'code' can't be null"; } $allowedValues = $this->getCodeAllowableValues(); if (!is_null($this->container['code']) && !in_array($this->container['code'], $allowedValues, true)) { $invalidProperties[] = sprintf( "invalid value for 'code', must be one of '%s'", implode("', '", $allowedValues) ); } if ($this->container['message'] === null) { $invalidProperties[] = "'message' 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/LineProtocolLengthError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolLengthError.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/LineProtocolLengthError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolLengthError.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/LineProtocolLengthError.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LineProtocolLengthError.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/ASTResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ASTResponse.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/ASTResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ASTResponse.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/ASTResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ASTResponse.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/ASTResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ASTResponse.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/ASTResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ASTResponse.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/ASTResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ASTResponse.php
MIT
public function __construct(array $data = null) { $this->container['ast'] = isset($data['ast']) ? $data['ast'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/ASTResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ASTResponse.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/ASTResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ASTResponse.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/ASTResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ASTResponse.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/ASTResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ASTResponse.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/Dialect.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dialect.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/Dialect.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dialect.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/Dialect.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dialect.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/Dialect.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dialect.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/Dialect.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dialect.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/Dialect.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dialect.php
MIT
public function getAnnotationsAllowableValues() { return [ self::ANNOTATIONS_GROUP, self::ANNOTATIONS_DATATYPE, self::ANNOTATIONS__DEFAULT, ]; }
Gets allowable values of the enum @return string[]
getAnnotationsAllowableValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Dialect.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dialect.php
MIT
public function getDateTimeFormatAllowableValues() { return [ self::DATE_TIME_FORMAT_RFC3339, self::DATE_TIME_FORMAT_RFC3339_NANO, ]; }
Gets allowable values of the enum @return string[]
getDateTimeFormatAllowableValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Dialect.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dialect.php
MIT
public function __construct(array $data = null) { $this->container['header'] = isset($data['header']) ? $data['header'] : true; $this->container['delimiter'] = isset($data['delimiter']) ? $data['delimiter'] : ','; $this->container['annotations'] = isset($data['annotations']) ? $data['annotations'] : null; $this->container['comment_prefix'] = isset($data['comment_prefix']) ? $data['comment_prefix'] : '#'; $this->container['date_time_format'] = isset($data['date_time_format']) ? $data['date_time_format'] : 'RFC3339'; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Dialect.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dialect.php
MIT
public function listInvalidProperties() { $invalidProperties = []; if (!is_null($this->container['delimiter']) && (mb_strlen($this->container['delimiter']) > 1)) { $invalidProperties[] = "invalid value for 'delimiter', the character length must be smaller than or equal to 1."; } if (!is_null($this->container['delimiter']) && (mb_strlen($this->container['delimiter']) < 1)) { $invalidProperties[] = "invalid value for 'delimiter', the character length must be bigger than or equal to 1."; } if (!is_null($this->container['comment_prefix']) && (mb_strlen($this->container['comment_prefix']) > 1)) { $invalidProperties[] = "invalid value for 'comment_prefix', the character length must be smaller than or equal to 1."; } if (!is_null($this->container['comment_prefix']) && (mb_strlen($this->container['comment_prefix']) < 0)) { $invalidProperties[] = "invalid value for 'comment_prefix', the character length must be bigger than or equal to 0."; } $allowedValues = $this->getDateTimeFormatAllowableValues(); if (!is_null($this->container['date_time_format']) && !in_array($this->container['date_time_format'], $allowedValues, true)) { $invalidProperties[] = sprintf( "invalid value for 'date_time_format', 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/Dialect.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dialect.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/Dialect.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dialect.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/Dialect.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Dialect.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/Expression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Expression.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/Expression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Expression.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/Expression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Expression.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/Expression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Expression.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/Expression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Expression.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/Expression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Expression.php
MIT
public function __construct(array $data = null) { parent::__construct($data); }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Expression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Expression.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/Expression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Expression.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/Expression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Expression.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/Expression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Expression.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/TemplateApplyTemplate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplate.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/TemplateApplyTemplate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplate.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/TemplateApplyTemplate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplate.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/TemplateApplyTemplate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplate.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/TemplateApplyTemplate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplate.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/TemplateApplyTemplate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplate.php
MIT
public function __construct(array $data = null) { $this->container['content_type'] = isset($data['content_type']) ? $data['content_type'] : null; $this->container['sources'] = isset($data['sources']) ? $data['sources'] : null; $this->container['contents'] = isset($data['contents']) ? $data['contents'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TemplateApplyTemplate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplate.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/TemplateApplyTemplate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplate.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/TemplateApplyTemplate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplate.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/TemplateApplyTemplate.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplate.php
MIT