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 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/UsersLinks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/UsersLinks.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/UsersLinks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/UsersLinks.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/UsersLinks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/UsersLinks.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/TemplateApplyTemplates.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplates.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/TemplateApplyTemplates.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplates.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/TemplateApplyTemplates.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplates.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/TemplateApplyTemplates.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplates.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/TemplateApplyTemplates.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplates.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/TemplateApplyTemplates.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplates.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/TemplateApplyTemplates.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplates.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/TemplateApplyTemplates.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplates.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/TemplateApplyTemplates.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplates.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/TemplateApplyTemplates.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateApplyTemplates.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/TemplateExportByIDOrgIDs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDOrgIDs.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/TemplateExportByIDOrgIDs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDOrgIDs.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/TemplateExportByIDOrgIDs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDOrgIDs.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/TemplateExportByIDOrgIDs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDOrgIDs.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/TemplateExportByIDOrgIDs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDOrgIDs.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/TemplateExportByIDOrgIDs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDOrgIDs.php | MIT |
public function __construct(array $data = null)
{
$this->container['org_id'] = isset($data['org_id']) ? $data['org_id'] : null;
$this->container['resource_filters'] = isset($data['resource_filters']) ? $data['resource_filters'] : null;
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/TemplateExportByIDOrgIDs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDOrgIDs.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/TemplateExportByIDOrgIDs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDOrgIDs.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/TemplateExportByIDOrgIDs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDOrgIDs.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/TemplateExportByIDOrgIDs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateExportByIDOrgIDs.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/ThresholdCheckTags.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ThresholdCheckTags.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/ThresholdCheckTags.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ThresholdCheckTags.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/ThresholdCheckTags.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ThresholdCheckTags.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/ThresholdCheckTags.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ThresholdCheckTags.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/ThresholdCheckTags.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ThresholdCheckTags.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/ThresholdCheckTags.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ThresholdCheckTags.php | MIT |
public function __construct(array $data = null)
{
$this->container['key'] = isset($data['key']) ? $data['key'] : null;
$this->container['value'] = isset($data['value']) ? $data['value'] : null;
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/ThresholdCheckTags.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ThresholdCheckTags.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/ThresholdCheckTags.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ThresholdCheckTags.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/ThresholdCheckTags.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ThresholdCheckTags.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/ThresholdCheckTags.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ThresholdCheckTags.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/ResourceMembers.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMembers.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/ResourceMembers.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMembers.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/ResourceMembers.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMembers.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/ResourceMembers.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMembers.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/ResourceMembers.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMembers.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/ResourceMembers.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMembers.php | MIT |
public function __construct(array $data = null)
{
$this->container['links'] = isset($data['links']) ? $data['links'] : null;
$this->container['users'] = isset($data['users']) ? $data['users'] : null;
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/ResourceMembers.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMembers.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/ResourceMembers.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMembers.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/ResourceMembers.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMembers.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/ResourceMembers.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ResourceMembers.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/DateTimeLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DateTimeLiteral.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/DateTimeLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DateTimeLiteral.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/DateTimeLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DateTimeLiteral.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/DateTimeLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DateTimeLiteral.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/DateTimeLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DateTimeLiteral.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/DateTimeLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DateTimeLiteral.php | MIT |
public function __construct(array $data = null)
{
parent::__construct($data);
$this->container['type'] = isset($data['type']) ? $data['type'] : null;
$this->container['value'] = isset($data['value']) ? $data['value'] : null;
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/DateTimeLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DateTimeLiteral.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/DateTimeLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DateTimeLiteral.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/DateTimeLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DateTimeLiteral.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/DateTimeLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DateTimeLiteral.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/TemplateSummarySummaryBuckets.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryBuckets.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/TemplateSummarySummaryBuckets.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryBuckets.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/TemplateSummarySummaryBuckets.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryBuckets.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/TemplateSummarySummaryBuckets.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryBuckets.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/TemplateSummarySummaryBuckets.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryBuckets.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/TemplateSummarySummaryBuckets.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryBuckets.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['kind'] = isset($data['kind']) ? $data['kind'] : null;
$this->container['template_meta_name'] = isset($data['template_meta_name']) ? $data['template_meta_name'] : null;
$this->container['name'] = isset($data['name']) ? $data['name'] : null;
$this->container['description'] = isset($data['description']) ? $data['description'] : null;
$this->container['retention_period'] = isset($data['retention_period']) ? $data['retention_period'] : null;
$this->container['label_associations'] = isset($data['label_associations']) ? $data['label_associations'] : 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/TemplateSummarySummaryBuckets.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryBuckets.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/TemplateSummarySummaryBuckets.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryBuckets.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/TemplateSummarySummaryBuckets.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryBuckets.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/TemplateSummarySummaryBuckets.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TemplateSummarySummaryBuckets.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/GaugeViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/GaugeViewProperties.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/GaugeViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/GaugeViewProperties.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/GaugeViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/GaugeViewProperties.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/GaugeViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/GaugeViewProperties.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/GaugeViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/GaugeViewProperties.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/GaugeViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/GaugeViewProperties.php | MIT |
public function getTypeAllowableValues()
{
return [
self::TYPE_GAUGE,
];
} | Gets allowable values of the enum
@return string[] | getTypeAllowableValues | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/GaugeViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/GaugeViewProperties.php | MIT |
public function getShapeAllowableValues()
{
return [
self::SHAPE_CHRONOGRAF_V2,
];
} | Gets allowable values of the enum
@return string[] | getShapeAllowableValues | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/GaugeViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/GaugeViewProperties.php | MIT |
public function __construct(array $data = null)
{
parent::__construct($data);
$this->container['type'] = isset($data['type']) ? $data['type'] : TYPE_GAUGE;
$this->container['queries'] = isset($data['queries']) ? $data['queries'] : null;
$this->container['colors'] = isset($data['colors']) ? $data['colors'] : null;
$this->container['shape'] = isset($data['shape']) ? $data['shape'] : SHAPE_CHRONOGRAF_V2;
$this->container['note'] = isset($data['note']) ? $data['note'] : null;
$this->container['show_note_when_empty'] = isset($data['show_note_when_empty']) ? $data['show_note_when_empty'] : null;
$this->container['prefix'] = isset($data['prefix']) ? $data['prefix'] : null;
$this->container['tick_prefix'] = isset($data['tick_prefix']) ? $data['tick_prefix'] : null;
$this->container['suffix'] = isset($data['suffix']) ? $data['suffix'] : null;
$this->container['tick_suffix'] = isset($data['tick_suffix']) ? $data['tick_suffix'] : null;
$this->container['decimal_places'] = isset($data['decimal_places']) ? $data['decimal_places'] : null;
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/GaugeViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/GaugeViewProperties.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['queries'] === null) {
$invalidProperties[] = "'queries' can't be null";
}
if ($this->container['colors'] === null) {
$invalidProperties[] = "'colors' can't be null";
}
if ($this->container['shape'] === null) {
$invalidProperties[] = "'shape' can't be null";
}
$allowedValues = $this->getShapeAllowableValues();
if (!is_null($this->container['shape']) && !in_array($this->container['shape'], $allowedValues, true)) {
$invalidProperties[] = sprintf(
"invalid value for 'shape', must be one of '%s'",
implode("', '", $allowedValues)
);
}
if ($this->container['note'] === null) {
$invalidProperties[] = "'note' can't be null";
}
if ($this->container['show_note_when_empty'] === null) {
$invalidProperties[] = "'show_note_when_empty' can't be null";
}
if ($this->container['prefix'] === null) {
$invalidProperties[] = "'prefix' can't be null";
}
if ($this->container['tick_prefix'] === null) {
$invalidProperties[] = "'tick_prefix' can't be null";
}
if ($this->container['suffix'] === null) {
$invalidProperties[] = "'suffix' can't be null";
}
if ($this->container['tick_suffix'] === null) {
$invalidProperties[] = "'tick_suffix' can't be null";
}
if ($this->container['decimal_places'] === null) {
$invalidProperties[] = "'decimal_places' 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/GaugeViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/GaugeViewProperties.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/GaugeViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/GaugeViewProperties.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/GaugeViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/GaugeViewProperties.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/ScriptCreateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScriptCreateRequest.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/ScriptCreateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScriptCreateRequest.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/ScriptCreateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScriptCreateRequest.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/ScriptCreateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScriptCreateRequest.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/ScriptCreateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScriptCreateRequest.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/ScriptCreateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScriptCreateRequest.php | MIT |
public function __construct(array $data = null)
{
$this->container['name'] = isset($data['name']) ? $data['name'] : null;
$this->container['description'] = isset($data['description']) ? $data['description'] : null;
$this->container['script'] = isset($data['script']) ? $data['script'] : null;
$this->container['language'] = isset($data['language']) ? $data['language'] : null;
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/ScriptCreateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScriptCreateRequest.php | MIT |
public function listInvalidProperties()
{
$invalidProperties = [];
if ($this->container['name'] === null) {
$invalidProperties[] = "'name' can't be null";
}
if ($this->container['description'] === null) {
$invalidProperties[] = "'description' can't be null";
}
if ($this->container['script'] === null) {
$invalidProperties[] = "'script' can't be null";
}
if ($this->container['language'] === null) {
$invalidProperties[] = "'language' 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/ScriptCreateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScriptCreateRequest.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/ScriptCreateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScriptCreateRequest.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/ScriptCreateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScriptCreateRequest.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/RemoteConnectionUpdateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionUpdateRequest.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/RemoteConnectionUpdateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionUpdateRequest.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/RemoteConnectionUpdateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionUpdateRequest.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/RemoteConnectionUpdateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionUpdateRequest.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/RemoteConnectionUpdateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionUpdateRequest.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/RemoteConnectionUpdateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionUpdateRequest.php | MIT |
public function __construct(array $data = null)
{
$this->container['name'] = isset($data['name']) ? $data['name'] : null;
$this->container['description'] = isset($data['description']) ? $data['description'] : null;
$this->container['remote_url'] = isset($data['remote_url']) ? $data['remote_url'] : null;
$this->container['remote_api_token'] = isset($data['remote_api_token']) ? $data['remote_api_token'] : null;
$this->container['remote_org_id'] = isset($data['remote_org_id']) ? $data['remote_org_id'] : null;
$this->container['allow_insecure_tls'] = isset($data['allow_insecure_tls']) ? $data['allow_insecure_tls'] : false;
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/RemoteConnectionUpdateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionUpdateRequest.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/RemoteConnectionUpdateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionUpdateRequest.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/RemoteConnectionUpdateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionUpdateRequest.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/RemoteConnectionUpdateRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionUpdateRequest.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/RoutesSystem.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesSystem.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/RoutesSystem.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesSystem.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/RoutesSystem.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesSystem.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/RoutesSystem.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesSystem.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/RoutesSystem.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesSystem.php | MIT |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.