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 __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/ScraperTargetResponseLinks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ScraperTargetResponseLinks.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/RetentionPolicyManifest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RetentionPolicyManifest.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/RetentionPolicyManifest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RetentionPolicyManifest.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/RetentionPolicyManifest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RetentionPolicyManifest.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/RetentionPolicyManifest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RetentionPolicyManifest.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/RetentionPolicyManifest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RetentionPolicyManifest.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/RetentionPolicyManifest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RetentionPolicyManifest.php | MIT |
public function __construct(array $data = null)
{
$this->container['name'] = isset($data['name']) ? $data['name'] : null;
$this->container['replica_n'] = isset($data['replica_n']) ? $data['replica_n'] : null;
$this->container['duration'] = isset($data['duration']) ? $data['duration'] : null;
$this->container['shard_group_duration'] = isset($data['shard_group_duration']) ? $data['shard_group_duration'] : null;
$this->container['shard_groups'] = isset($data['shard_groups']) ? $data['shard_groups'] : null;
$this->container['subscriptions'] = isset($data['subscriptions']) ? $data['subscriptions'] : null;
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/RetentionPolicyManifest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RetentionPolicyManifest.php | MIT |
public function listInvalidProperties()
{
$invalidProperties = [];
if ($this->container['name'] === null) {
$invalidProperties[] = "'name' can't be null";
}
if ($this->container['replica_n'] === null) {
$invalidProperties[] = "'replica_n' can't be null";
}
if ($this->container['duration'] === null) {
$invalidProperties[] = "'duration' can't be null";
}
if ($this->container['shard_group_duration'] === null) {
$invalidProperties[] = "'shard_group_duration' can't be null";
}
if ($this->container['shard_groups'] === null) {
$invalidProperties[] = "'shard_groups' can't be null";
}
if ($this->container['subscriptions'] === null) {
$invalidProperties[] = "'subscriptions' 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/RetentionPolicyManifest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RetentionPolicyManifest.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/RetentionPolicyManifest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RetentionPolicyManifest.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/RetentionPolicyManifest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RetentionPolicyManifest.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/LabelsResponse.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelsResponse.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/LabelsResponse.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelsResponse.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/LabelsResponse.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelsResponse.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/LabelsResponse.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelsResponse.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/LabelsResponse.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelsResponse.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/LabelsResponse.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelsResponse.php | MIT |
public function __construct(array $data = null)
{
$this->container['labels'] = isset($data['labels']) ? $data['labels'] : 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/LabelsResponse.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelsResponse.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/LabelsResponse.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelsResponse.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/LabelsResponse.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelsResponse.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/LabelsResponse.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/LabelsResponse.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/TagRule.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TagRule.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/TagRule.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TagRule.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/TagRule.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TagRule.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/TagRule.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TagRule.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/TagRule.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TagRule.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/TagRule.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TagRule.php | MIT |
public function getOperatorAllowableValues()
{
return [
self::OPERATOR_EQUAL,
self::OPERATOR_NOTEQUAL,
self::OPERATOR_EQUALREGEX,
self::OPERATOR_NOTEQUALREGEX,
];
} | Gets allowable values of the enum
@return string[] | getOperatorAllowableValues | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/TagRule.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TagRule.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;
$this->container['operator'] = isset($data['operator']) ? $data['operator'] : null;
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/TagRule.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TagRule.php | MIT |
public function listInvalidProperties()
{
$invalidProperties = [];
$allowedValues = $this->getOperatorAllowableValues();
if (!is_null($this->container['operator']) && !in_array($this->container['operator'], $allowedValues, true)) {
$invalidProperties[] = sprintf(
"invalid value for 'operator', 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/TagRule.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TagRule.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/TagRule.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TagRule.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/TagRule.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TagRule.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/DBRPCreate.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPCreate.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/DBRPCreate.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPCreate.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/DBRPCreate.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPCreate.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/DBRPCreate.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPCreate.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/DBRPCreate.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPCreate.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/DBRPCreate.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPCreate.php | MIT |
public function __construct(array $data = null)
{
$this->container['org_id'] = isset($data['org_id']) ? $data['org_id'] : null;
$this->container['org'] = isset($data['org']) ? $data['org'] : 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;
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/DBRPCreate.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPCreate.php | MIT |
public function listInvalidProperties()
{
$invalidProperties = [];
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";
}
return $invalidProperties;
} | Show all the invalid properties with reasons.
@return array invalid properties with reasons | listInvalidProperties | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/DBRPCreate.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPCreate.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/DBRPCreate.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPCreate.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/DBRPCreate.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DBRPCreate.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/TableViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TableViewProperties.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/TableViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TableViewProperties.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/TableViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TableViewProperties.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/TableViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TableViewProperties.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/TableViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TableViewProperties.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/TableViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TableViewProperties.php | MIT |
public function getTypeAllowableValues()
{
return [
self::TYPE_TABLE,
];
} | Gets allowable values of the enum
@return string[] | getTypeAllowableValues | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/TableViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TableViewProperties.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/TableViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TableViewProperties.php | MIT |
public function __construct(array $data = null)
{
parent::__construct($data);
$this->container['type'] = isset($data['type']) ? $data['type'] : TYPE_TABLE;
$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['table_options'] = isset($data['table_options']) ? $data['table_options'] : null;
$this->container['field_options'] = isset($data['field_options']) ? $data['field_options'] : null;
$this->container['time_format'] = isset($data['time_format']) ? $data['time_format'] : 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/TableViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TableViewProperties.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['table_options'] === null) {
$invalidProperties[] = "'table_options' can't be null";
}
if ($this->container['field_options'] === null) {
$invalidProperties[] = "'field_options' can't be null";
}
if ($this->container['time_format'] === null) {
$invalidProperties[] = "'time_format' 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/TableViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TableViewProperties.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/TableViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TableViewProperties.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/TableViewProperties.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TableViewProperties.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/RoutesQuery.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesQuery.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/RoutesQuery.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesQuery.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/RoutesQuery.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesQuery.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/RoutesQuery.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesQuery.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/RoutesQuery.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesQuery.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/RoutesQuery.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesQuery.php | MIT |
public function __construct(array $data = null)
{
$this->container['self'] = isset($data['self']) ? $data['self'] : null;
$this->container['ast'] = isset($data['ast']) ? $data['ast'] : null;
$this->container['analyze'] = isset($data['analyze']) ? $data['analyze'] : null;
$this->container['suggestions'] = isset($data['suggestions']) ? $data['suggestions'] : null;
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/RoutesQuery.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesQuery.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/RoutesQuery.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesQuery.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/RoutesQuery.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesQuery.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/RoutesQuery.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesQuery.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/ConditionalExpression.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ConditionalExpression.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/ConditionalExpression.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ConditionalExpression.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/ConditionalExpression.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ConditionalExpression.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/ConditionalExpression.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ConditionalExpression.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/ConditionalExpression.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ConditionalExpression.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/ConditionalExpression.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ConditionalExpression.php | MIT |
public function __construct(array $data = null)
{
parent::__construct($data);
$this->container['type'] = isset($data['type']) ? $data['type'] : null;
$this->container['test'] = isset($data['test']) ? $data['test'] : null;
$this->container['alternate'] = isset($data['alternate']) ? $data['alternate'] : null;
$this->container['consequent'] = isset($data['consequent']) ? $data['consequent'] : null;
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/ConditionalExpression.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ConditionalExpression.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/ConditionalExpression.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ConditionalExpression.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/ConditionalExpression.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ConditionalExpression.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/ConditionalExpression.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ConditionalExpression.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/RunManually.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RunManually.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/RunManually.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RunManually.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/RunManually.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RunManually.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/RunManually.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RunManually.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/RunManually.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RunManually.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/RunManually.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RunManually.php | MIT |
public function __construct(array $data = null)
{
$this->container['scheduled_for'] = isset($data['scheduled_for']) ? $data['scheduled_for'] : null;
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/RunManually.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RunManually.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/RunManually.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RunManually.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/RunManually.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RunManually.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/RunManually.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RunManually.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/DurationLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DurationLiteral.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/DurationLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DurationLiteral.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/DurationLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DurationLiteral.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/DurationLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DurationLiteral.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/DurationLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DurationLiteral.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/DurationLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DurationLiteral.php | MIT |
public function __construct(array $data = null)
{
parent::__construct($data);
$this->container['type'] = isset($data['type']) ? $data['type'] : null;
$this->container['values'] = isset($data['values']) ? $data['values'] : null;
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/DurationLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DurationLiteral.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/DurationLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DurationLiteral.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/DurationLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DurationLiteral.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/DurationLiteral.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/DurationLiteral.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/AuthorizationLinks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/AuthorizationLinks.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/AuthorizationLinks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/AuthorizationLinks.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/AuthorizationLinks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/AuthorizationLinks.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/AuthorizationLinks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/AuthorizationLinks.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/AuthorizationLinks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/AuthorizationLinks.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/AuthorizationLinks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/AuthorizationLinks.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.