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 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/Buckets.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Buckets.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/Buckets.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Buckets.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/Buckets.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Buckets.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/Buckets.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Buckets.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/Buckets.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Buckets.php
MIT
public function __construct(array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['buckets'] = isset($data['buckets']) ? $data['buckets'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Buckets.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Buckets.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/Buckets.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Buckets.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/Buckets.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Buckets.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/Buckets.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Buckets.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/NotificationRules.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRules.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/NotificationRules.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRules.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/NotificationRules.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRules.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/NotificationRules.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRules.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/NotificationRules.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRules.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/NotificationRules.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRules.php
MIT
public function __construct(array $data = null) { $this->container['notification_rules'] = isset($data['notification_rules']) ? $data['notification_rules'] : null; $this->container['links'] = isset($data['links']) ? $data['links'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/NotificationRules.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRules.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/NotificationRules.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRules.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/NotificationRules.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRules.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/NotificationRules.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/NotificationRules.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/Organizations.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Organizations.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/Organizations.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Organizations.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/Organizations.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Organizations.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/Organizations.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Organizations.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/Organizations.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Organizations.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/Organizations.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Organizations.php
MIT
public function __construct(array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['orgs'] = isset($data['orgs']) ? $data['orgs'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/Organizations.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Organizations.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/Organizations.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Organizations.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/Organizations.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Organizations.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/Organizations.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Organizations.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/ShardManifest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ShardManifest.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/ShardManifest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ShardManifest.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/ShardManifest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ShardManifest.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/ShardManifest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ShardManifest.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/ShardManifest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ShardManifest.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/ShardManifest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ShardManifest.php
MIT
public function __construct(array $data = null) { $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['shard_owners'] = isset($data['shard_owners']) ? $data['shard_owners'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/ShardManifest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ShardManifest.php
MIT
public function listInvalidProperties() { $invalidProperties = []; if ($this->container['id'] === null) { $invalidProperties[] = "'id' can't be null"; } if ($this->container['shard_owners'] === null) { $invalidProperties[] = "'shard_owners' 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/ShardManifest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ShardManifest.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/ShardManifest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ShardManifest.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/ShardManifest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ShardManifest.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/DBRP.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRP.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/DBRP.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRP.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/DBRP.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRP.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/DBRP.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRP.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/DBRP.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRP.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/DBRP.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRP.php
MIT
public function __construct(array $data = null) { $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['org_id'] = isset($data['org_id']) ? $data['org_id'] : null; $this->container['bucket_id'] = isset($data['bucket_id']) ? $data['bucket_id'] : null; $this->container['database'] = isset($data['database']) ? $data['database'] : null; $this->container['retention_policy'] = isset($data['retention_policy']) ? $data['retention_policy'] : null; $this->container['default'] = isset($data['default']) ? $data['default'] : null; $this->container['virtual'] = isset($data['virtual']) ? $data['virtual'] : null; $this->container['links'] = isset($data['links']) ? $data['links'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DBRP.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRP.php
MIT
public function listInvalidProperties() { $invalidProperties = []; if ($this->container['id'] === null) { $invalidProperties[] = "'id' can't be null"; } if ($this->container['org_id'] === null) { $invalidProperties[] = "'org_id' can't be null"; } if ($this->container['bucket_id'] === null) { $invalidProperties[] = "'bucket_id' can't be null"; } if ($this->container['database'] === null) { $invalidProperties[] = "'database' can't be null"; } if ($this->container['retention_policy'] === null) { $invalidProperties[] = "'retention_policy' can't be null"; } if ($this->container['default'] === null) { $invalidProperties[] = "'default' 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/DBRP.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRP.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/DBRP.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRP.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/DBRP.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRP.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/LanguageRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LanguageRequest.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/LanguageRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LanguageRequest.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/LanguageRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LanguageRequest.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/LanguageRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LanguageRequest.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/LanguageRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LanguageRequest.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/LanguageRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LanguageRequest.php
MIT
public function __construct(array $data = null) { $this->container['query'] = isset($data['query']) ? $data['query'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/LanguageRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LanguageRequest.php
MIT
public function listInvalidProperties() { $invalidProperties = []; if ($this->container['query'] === null) { $invalidProperties[] = "'query' 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/LanguageRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LanguageRequest.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/LanguageRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LanguageRequest.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/LanguageRequest.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LanguageRequest.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/TelegramNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegramNotificationRuleBase.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/TelegramNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegramNotificationRuleBase.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/TelegramNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegramNotificationRuleBase.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/TelegramNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegramNotificationRuleBase.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/TelegramNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegramNotificationRuleBase.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/TelegramNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegramNotificationRuleBase.php
MIT
public function getTypeAllowableValues() { return [ self::TYPE_TELEGRAM, ]; }
Gets allowable values of the enum @return string[]
getTypeAllowableValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TelegramNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegramNotificationRuleBase.php
MIT
public function getParseModeAllowableValues() { return [ self::PARSE_MODE_MARKDOWN_V2, self::PARSE_MODE_HTML, self::PARSE_MODE_MARKDOWN, ]; }
Gets allowable values of the enum @return string[]
getParseModeAllowableValues
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TelegramNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegramNotificationRuleBase.php
MIT
public function __construct(array $data = null) { parent::__construct($data); $this->container['type'] = isset($data['type']) ? $data['type'] : TYPE_TELEGRAM; $this->container['message_template'] = isset($data['message_template']) ? $data['message_template'] : null; $this->container['parse_mode'] = isset($data['parse_mode']) ? $data['parse_mode'] : null; $this->container['disable_web_page_preview'] = isset($data['disable_web_page_preview']) ? $data['disable_web_page_preview'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TelegramNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegramNotificationRuleBase.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"; } $allowedValues = $this->getParseModeAllowableValues(); if (!is_null($this->container['parse_mode']) && !in_array($this->container['parse_mode'], $allowedValues, true)) { $invalidProperties[] = sprintf( "invalid value for 'parse_mode', 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/TelegramNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegramNotificationRuleBase.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/TelegramNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegramNotificationRuleBase.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/TelegramNotificationRuleBase.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegramNotificationRuleBase.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/DictItem.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DictItem.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/DictItem.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DictItem.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/DictItem.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DictItem.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/DictItem.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DictItem.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/DictItem.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DictItem.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/DictItem.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DictItem.php
MIT
public function __construct(array $data = null) { $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['key'] = isset($data['key']) ? $data['key'] : null; $this->container['val'] = isset($data['val']) ? $data['val'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/DictItem.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DictItem.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/DictItem.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DictItem.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/DictItem.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DictItem.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/DictItem.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DictItem.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/TelegrafRequestMetadata.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafRequestMetadata.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/TelegrafRequestMetadata.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafRequestMetadata.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/TelegrafRequestMetadata.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafRequestMetadata.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/TelegrafRequestMetadata.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafRequestMetadata.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/TelegrafRequestMetadata.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafRequestMetadata.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/TelegrafRequestMetadata.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafRequestMetadata.php
MIT
public function __construct(array $data = null) { $this->container['buckets'] = isset($data['buckets']) ? $data['buckets'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/TelegrafRequestMetadata.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafRequestMetadata.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/TelegrafRequestMetadata.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafRequestMetadata.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/TelegrafRequestMetadata.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafRequestMetadata.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/TelegrafRequestMetadata.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafRequestMetadata.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/ScraperTargetResponseLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponseLinks.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/ScraperTargetResponseLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponseLinks.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/ScraperTargetResponseLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponseLinks.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/ScraperTargetResponseLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponseLinks.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/ScraperTargetResponseLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponseLinks.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/ScraperTargetResponseLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponseLinks.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['bucket'] = isset($data['bucket']) ? $data['bucket'] : null; $this->container['organization'] = isset($data['organization']) ? $data['organization'] : null; }
Constructor @param mixed[] $data Associated array of property values initializing the model
__construct
php
influxdata/influxdb-client-php
src/InfluxDB2/Model/ScraperTargetResponseLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponseLinks.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/ScraperTargetResponseLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponseLinks.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/ScraperTargetResponseLinks.php
https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponseLinks.php
MIT