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/SecretKeys.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/SecretKeys.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/SecretKeys.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/SecretKeys.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/SecretKeys.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/SecretKeys.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/Run.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Run.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/Run.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Run.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/Run.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Run.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/Run.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Run.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/Run.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Run.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/Run.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Run.php | MIT |
public function getStatusAllowableValues()
{
return [
self::STATUS_SCHEDULED,
self::STATUS_STARTED,
self::STATUS_FAILED,
self::STATUS_SUCCESS,
self::STATUS_CANCELED,
];
} | Gets allowable values of the enum
@return string[] | getStatusAllowableValues | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/Run.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Run.php | MIT |
public function __construct(array $data = null)
{
$this->container['id'] = isset($data['id']) ? $data['id'] : null;
$this->container['task_id'] = isset($data['task_id']) ? $data['task_id'] : null;
$this->container['status'] = isset($data['status']) ? $data['status'] : null;
$this->container['scheduled_for'] = isset($data['scheduled_for']) ? $data['scheduled_for'] : null;
$this->container['log'] = isset($data['log']) ? $data['log'] : null;
$this->container['flux'] = isset($data['flux']) ? $data['flux'] : null;
$this->container['started_at'] = isset($data['started_at']) ? $data['started_at'] : null;
$this->container['finished_at'] = isset($data['finished_at']) ? $data['finished_at'] : null;
$this->container['requested_at'] = isset($data['requested_at']) ? $data['requested_at'] : 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/Run.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Run.php | MIT |
public function listInvalidProperties()
{
$invalidProperties = [];
$allowedValues = $this->getStatusAllowableValues();
if (!is_null($this->container['status']) && !in_array($this->container['status'], $allowedValues, true)) {
$invalidProperties[] = sprintf(
"invalid value for 'status', 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/Run.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Run.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/Run.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Run.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/Run.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Run.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/Checks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Checks.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/Checks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Checks.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/Checks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Checks.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/Checks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Checks.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/Checks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Checks.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/Checks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Checks.php | MIT |
public function __construct(array $data = null)
{
$this->container['checks'] = isset($data['checks']) ? $data['checks'] : 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/Checks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Checks.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/Checks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Checks.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/Checks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Checks.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/Checks.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Checks.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/StaticLegend.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StaticLegend.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/StaticLegend.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StaticLegend.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/StaticLegend.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StaticLegend.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/StaticLegend.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StaticLegend.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/StaticLegend.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StaticLegend.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/StaticLegend.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StaticLegend.php | MIT |
public function __construct(array $data = null)
{
$this->container['colorize_rows'] = isset($data['colorize_rows']) ? $data['colorize_rows'] : null;
$this->container['height_ratio'] = isset($data['height_ratio']) ? $data['height_ratio'] : null;
$this->container['show'] = isset($data['show']) ? $data['show'] : null;
$this->container['opacity'] = isset($data['opacity']) ? $data['opacity'] : null;
$this->container['orientation_threshold'] = isset($data['orientation_threshold']) ? $data['orientation_threshold'] : null;
$this->container['value_axis'] = isset($data['value_axis']) ? $data['value_axis'] : null;
$this->container['width_ratio'] = isset($data['width_ratio']) ? $data['width_ratio'] : null;
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/StaticLegend.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StaticLegend.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/StaticLegend.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StaticLegend.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/StaticLegend.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StaticLegend.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/StaticLegend.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/StaticLegend.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/TelegrafPlugin.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafPlugin.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/TelegrafPlugin.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafPlugin.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/TelegrafPlugin.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafPlugin.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/TelegrafPlugin.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafPlugin.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/TelegrafPlugin.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafPlugin.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/TelegrafPlugin.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafPlugin.php | MIT |
public function getTypeAllowableValues()
{
return [
self::TYPE_INPUT,
self::TYPE_OUTPUT,
];
} | Gets allowable values of the enum
@return string[] | getTypeAllowableValues | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/TelegrafPlugin.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafPlugin.php | MIT |
public function __construct(array $data = null)
{
$this->container['type'] = isset($data['type']) ? $data['type'] : null;
$this->container['name'] = isset($data['name']) ? $data['name'] : null;
$this->container['description'] = isset($data['description']) ? $data['description'] : null;
$this->container['config'] = isset($data['config']) ? $data['config'] : null;
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/TelegrafPlugin.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafPlugin.php | MIT |
public function listInvalidProperties()
{
$invalidProperties = [];
$allowedValues = $this->getTypeAllowableValues();
if (!is_null($this->container['type']) && !in_array($this->container['type'], $allowedValues, true)) {
$invalidProperties[] = sprintf(
"invalid value for 'type', must be one of '%s'",
implode("', '", $allowedValues)
);
}
return $invalidProperties;
} | Show all the invalid properties with reasons.
@return array invalid properties with reasons | listInvalidProperties | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/TelegrafPlugin.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafPlugin.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/TelegrafPlugin.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafPlugin.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/TelegrafPlugin.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/TelegrafPlugin.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/Routes.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Routes.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/Routes.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Routes.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/Routes.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Routes.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/Routes.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Routes.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/Routes.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Routes.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/Routes.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Routes.php | MIT |
public function __construct(array $data = null)
{
$this->container['authorizations'] = isset($data['authorizations']) ? $data['authorizations'] : null;
$this->container['buckets'] = isset($data['buckets']) ? $data['buckets'] : null;
$this->container['dashboards'] = isset($data['dashboards']) ? $data['dashboards'] : null;
$this->container['external'] = isset($data['external']) ? $data['external'] : null;
$this->container['variables'] = isset($data['variables']) ? $data['variables'] : null;
$this->container['me'] = isset($data['me']) ? $data['me'] : null;
$this->container['flags'] = isset($data['flags']) ? $data['flags'] : null;
$this->container['orgs'] = isset($data['orgs']) ? $data['orgs'] : null;
$this->container['query'] = isset($data['query']) ? $data['query'] : null;
$this->container['setup'] = isset($data['setup']) ? $data['setup'] : null;
$this->container['signin'] = isset($data['signin']) ? $data['signin'] : null;
$this->container['signout'] = isset($data['signout']) ? $data['signout'] : null;
$this->container['sources'] = isset($data['sources']) ? $data['sources'] : null;
$this->container['system'] = isset($data['system']) ? $data['system'] : null;
$this->container['tasks'] = isset($data['tasks']) ? $data['tasks'] : null;
$this->container['telegrafs'] = isset($data['telegrafs']) ? $data['telegrafs'] : null;
$this->container['users'] = isset($data['users']) ? $data['users'] : null;
$this->container['write'] = isset($data['write']) ? $data['write'] : null;
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/Routes.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Routes.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/Routes.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Routes.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/Routes.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Routes.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/Routes.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Routes.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/RoutesExternal.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesExternal.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/RoutesExternal.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesExternal.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/RoutesExternal.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesExternal.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/RoutesExternal.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesExternal.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/RoutesExternal.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesExternal.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/RoutesExternal.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesExternal.php | MIT |
public function __construct(array $data = null)
{
$this->container['status_feed'] = isset($data['status_feed']) ? $data['status_feed'] : null;
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/RoutesExternal.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesExternal.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/RoutesExternal.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesExternal.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/RoutesExternal.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesExternal.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/RoutesExternal.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RoutesExternal.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/CustomCheck.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CustomCheck.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/CustomCheck.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CustomCheck.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/CustomCheck.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CustomCheck.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/CustomCheck.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CustomCheck.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/CustomCheck.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CustomCheck.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/CustomCheck.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CustomCheck.php | MIT |
public function getTypeAllowableValues()
{
return [
self::TYPE_CUSTOM,
];
} | Gets allowable values of the enum
@return string[] | getTypeAllowableValues | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/CustomCheck.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CustomCheck.php | MIT |
public function __construct(array $data = null)
{
parent::__construct($data);
$this->container['type'] = isset($data['type']) ? $data['type'] : "custom";
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/CustomCheck.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CustomCheck.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)
);
}
return $invalidProperties;
} | Show all the invalid properties with reasons.
@return array invalid properties with reasons | listInvalidProperties | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/CustomCheck.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CustomCheck.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/CustomCheck.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CustomCheck.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/CustomCheck.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/CustomCheck.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/RemoteConnectionCreationRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionCreationRequest.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/RemoteConnectionCreationRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionCreationRequest.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/RemoteConnectionCreationRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionCreationRequest.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/RemoteConnectionCreationRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionCreationRequest.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/RemoteConnectionCreationRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionCreationRequest.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/RemoteConnectionCreationRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionCreationRequest.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['org_id'] = isset($data['org_id']) ? $data['org_id'] : 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/RemoteConnectionCreationRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionCreationRequest.php | MIT |
public function listInvalidProperties()
{
$invalidProperties = [];
if ($this->container['name'] === null) {
$invalidProperties[] = "'name' can't be null";
}
if ($this->container['org_id'] === null) {
$invalidProperties[] = "'org_id' can't be null";
}
if ($this->container['remote_url'] === null) {
$invalidProperties[] = "'remote_url' can't be null";
}
if ($this->container['remote_api_token'] === null) {
$invalidProperties[] = "'remote_api_token' can't be null";
}
if ($this->container['remote_org_id'] === null) {
$invalidProperties[] = "'remote_org_id' can't be null";
}
if ($this->container['allow_insecure_tls'] === null) {
$invalidProperties[] = "'allow_insecure_tls' 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/RemoteConnectionCreationRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionCreationRequest.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/RemoteConnectionCreationRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionCreationRequest.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/RemoteConnectionCreationRequest.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/RemoteConnectionCreationRequest.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/Logs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Logs.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/Logs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Logs.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/Logs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Logs.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/Logs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Logs.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/Logs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Logs.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/Logs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Logs.php | MIT |
public function __construct(array $data = null)
{
$this->container['events'] = isset($data['events']) ? $data['events'] : null;
} | Constructor
@param mixed[] $data Associated array of property values
initializing the model | __construct | php | influxdata/influxdb-client-php | src/InfluxDB2/Model/Logs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Logs.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/Logs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Logs.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/Logs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Logs.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/Logs.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/Logs.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/ShardOwner.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ShardOwner.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/ShardOwner.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ShardOwner.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/ShardOwner.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ShardOwner.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/ShardOwner.php | https://github.com/influxdata/influxdb-client-php/blob/master/src/InfluxDB2/Model/ShardOwner.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.