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::IMPLICIT, self::EXPLICIT, ]; }
Gets allowable values of the enum @return string[]
getAllowableEnumValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/SchemaType.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/SchemaType.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/TemplateExportByIDResourceFilters.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDResourceFilters.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/TemplateExportByIDResourceFilters.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDResourceFilters.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/TemplateExportByIDResourceFilters.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDResourceFilters.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/TemplateExportByIDResourceFilters.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDResourceFilters.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/TemplateExportByIDResourceFilters.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDResourceFilters.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/TemplateExportByIDResourceFilters.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDResourceFilters.php
MIT
public function __construct(array $data = null) { $this->container['by_label'] = isset($data['by_label']) ? $data['by_label'] : null; $this->container['by_resource_kind'] = isset($data['by_resource_kind']) ? $data['by_resource_kind'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TemplateExportByIDResourceFilters.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDResourceFilters.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/TemplateExportByIDResourceFilters.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDResourceFilters.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/TemplateExportByIDResourceFilters.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDResourceFilters.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/TemplateExportByIDResourceFilters.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDResourceFilters.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/UserLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/UserLinks.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/UserLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/UserLinks.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/UserLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/UserLinks.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/UserLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/UserLinks.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/UserLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/UserLinks.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/UserLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/UserLinks.php
MIT
public function __construct(array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/UserLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/UserLinks.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/UserLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/UserLinks.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/UserLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/UserLinks.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/UserLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/UserLinks.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/OrganizationLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/OrganizationLinks.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/OrganizationLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/OrganizationLinks.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/OrganizationLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/OrganizationLinks.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/OrganizationLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/OrganizationLinks.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/OrganizationLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/OrganizationLinks.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/OrganizationLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/OrganizationLinks.php
MIT
public function __construct(array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; $this->container['members'] = isset($data['members']) ? $data['members'] : null; $this->container['owners'] = isset($data['owners']) ? $data['owners'] : null; $this->container['labels'] = isset($data['labels']) ? $data['labels'] : null; $this->container['secrets'] = isset($data['secrets']) ? $data['secrets'] : null; $this->container['buckets'] = isset($data['buckets']) ? $data['buckets'] : null; $this->container['tasks'] = isset($data['tasks']) ? $data['tasks'] : null; $this->container['dashboards'] = isset($data['dashboards']) ? $data['dashboards'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/OrganizationLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/OrganizationLinks.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/OrganizationLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/OrganizationLinks.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/OrganizationLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/OrganizationLinks.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/OrganizationLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/OrganizationLinks.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/SlackNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/SlackNotificationRuleBase.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/SlackNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/SlackNotificationRuleBase.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/SlackNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/SlackNotificationRuleBase.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/SlackNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/SlackNotificationRuleBase.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/SlackNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/SlackNotificationRuleBase.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/SlackNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/SlackNotificationRuleBase.php
MIT
public function getTypeAllowableValues() { return [ self::TYPE_SLACK, ]; }
Gets allowable values of the enum @return string[]
getTypeAllowableValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/SlackNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/SlackNotificationRuleBase.php
MIT
public function __construct(array $data = null) { parent::__construct($data); $this->container['type'] = isset($data['type']) ? $data['type'] : TYPE_SLACK; $this->container['channel'] = isset($data['channel']) ? $data['channel'] : null; $this->container['message_template'] = isset($data['message_template']) ? $data['message_template'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/SlackNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/SlackNotificationRuleBase.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['message_template'] === null) { $invalidProperties[] = "'message_template' 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/SlackNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/SlackNotificationRuleBase.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/SlackNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/SlackNotificationRuleBase.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/SlackNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/SlackNotificationRuleBase.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/FluxResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/FluxResponse.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/FluxResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/FluxResponse.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/FluxResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/FluxResponse.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/FluxResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/FluxResponse.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/FluxResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/FluxResponse.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/FluxResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/FluxResponse.php
MIT
public function __construct(array $data = null) { $this->container['flux'] = isset($data['flux']) ? $data['flux'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/FluxResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/FluxResponse.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/FluxResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/FluxResponse.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/FluxResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/FluxResponse.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/FluxResponse.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/FluxResponse.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/ScraperTargetResponses.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponses.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/ScraperTargetResponses.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponses.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/ScraperTargetResponses.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponses.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/ScraperTargetResponses.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponses.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/ScraperTargetResponses.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponses.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/ScraperTargetResponses.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponses.php
MIT
public function __construct(array $data = null) { $this->container['configurations'] = isset($data['configurations']) ? $data['configurations'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/ScraperTargetResponses.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponses.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/ScraperTargetResponses.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponses.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/ScraperTargetResponses.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponses.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/ScraperTargetResponses.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponses.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/PostBucketRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PostBucketRequest.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/PostBucketRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PostBucketRequest.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/PostBucketRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PostBucketRequest.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/PostBucketRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PostBucketRequest.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/PostBucketRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PostBucketRequest.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/PostBucketRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PostBucketRequest.php
MIT
public function __construct(array $data = null) { $this->container['org_id'] = isset($data['org_id']) ? $data['org_id'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; $this->container['rp'] = isset($data['rp']) ? $data['rp'] : '0'; $this->container['retention_rules'] = isset($data['retention_rules']) ? $data['retention_rules'] : null; $this->container['schema_type'] = isset($data['schema_type']) ? $data['schema_type'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/PostBucketRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PostBucketRequest.php
MIT
public function listInvalidProperties() { $invalidProperties = []; if ($this->container['org_id'] === null) { $invalidProperties[] = "'org_id' can't be null"; } if ($this->container['name'] === null) { $invalidProperties[] = "'name' 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/PostBucketRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PostBucketRequest.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/PostBucketRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PostBucketRequest.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/PostBucketRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PostBucketRequest.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/ResourceMember.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMember.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/ResourceMember.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMember.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/ResourceMember.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMember.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/ResourceMember.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMember.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/ResourceMember.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMember.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/ResourceMember.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMember.php
MIT
public function getRoleAllowableValues() { return [ self::ROLE_MEMBER, ]; }
Gets allowable values of the enum @return string[]
getRoleAllowableValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/ResourceMember.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMember.php
MIT
public function __construct(array $data = null) { parent::__construct($data); $this->container['role'] = isset($data['role']) ? $data['role'] : 'member'; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/ResourceMember.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMember.php
MIT
public function listInvalidProperties() { $invalidProperties = parent::listInvalidProperties(); $allowedValues = $this->getRoleAllowableValues(); if (!is_null($this->container['role']) && !in_array($this->container['role'], $allowedValues, true)) { $invalidProperties[] = sprintf( "invalid value for 'role', 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/ResourceMember.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMember.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/ResourceMember.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMember.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/ResourceMember.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMember.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/TemplateSummaryDiffTelegrafConfigs.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTelegrafConfigs.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/TemplateSummaryDiffTelegrafConfigs.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTelegrafConfigs.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/TemplateSummaryDiffTelegrafConfigs.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTelegrafConfigs.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/TemplateSummaryDiffTelegrafConfigs.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTelegrafConfigs.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/TemplateSummaryDiffTelegrafConfigs.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTelegrafConfigs.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/TemplateSummaryDiffTelegrafConfigs.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTelegrafConfigs.php
MIT
public function __construct(array $data = null) { $this->container['kind'] = isset($data['kind']) ? $data['kind'] : null; $this->container['state_status'] = isset($data['state_status']) ? $data['state_status'] : null; $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['template_meta_name'] = isset($data['template_meta_name']) ? $data['template_meta_name'] : null; $this->container['new'] = isset($data['new']) ? $data['new'] : null; $this->container['old'] = isset($data['old']) ? $data['old'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TemplateSummaryDiffTelegrafConfigs.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTelegrafConfigs.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/TemplateSummaryDiffTelegrafConfigs.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTelegrafConfigs.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/TemplateSummaryDiffTelegrafConfigs.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTelegrafConfigs.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/TemplateSummaryDiffTelegrafConfigs.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummaryDiffTelegrafConfigs.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/PipeExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PipeExpression.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/PipeExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PipeExpression.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/PipeExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PipeExpression.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/PipeExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PipeExpression.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/PipeExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PipeExpression.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/PipeExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PipeExpression.php
MIT
public function __construct(array $data = null) { parent::__construct($data); $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['argument'] = isset($data['argument']) ? $data['argument'] : null; $this->container['call'] = isset($data['call']) ? $data['call'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/PipeExpression.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/PipeExpression.php
MIT