diff --git a/CHANGELOG.md b/CHANGELOG.md index abbc3557..0027cadc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## 3.8.0 [unreleased] +### Bug Fixes +1. [#166](https://github.com/influxdata/influxdb-client-php/pull/166): Fix PHP 8.4 deprecated implicit nullable arguments. PHP minimum version is still PHP 7.2. + ## 3.7.0 [2025-02-21] ### Bug Fixes diff --git a/src/InfluxDB2/Client.php b/src/InfluxDB2/Client.php index 7ec7b904..613cb6f8 100644 --- a/src/InfluxDB2/Client.php +++ b/src/InfluxDB2/Client.php @@ -73,7 +73,7 @@ public function __construct(array $options) * @param array|null $pointSettings Array of default tags * @return WriteApi */ - public function createWriteApi(array $writeOptions = null, array $pointSettings = null): WriteApi + public function createWriteApi(?array $writeOptions = null, ?array $pointSettings = null): WriteApi { $writeApi = new WriteApi($this->options, $writeOptions, $pointSettings); $this->autoCloseable[] = $writeApi; diff --git a/src/InfluxDB2/InvokableScriptsApi.php b/src/InfluxDB2/InvokableScriptsApi.php index 08881bfd..7545b14c 100644 --- a/src/InfluxDB2/InvokableScriptsApi.php +++ b/src/InfluxDB2/InvokableScriptsApi.php @@ -75,7 +75,7 @@ public function deleteScript(string $scriptId) * * @return Script[] */ - public function findScripts(int $limit = null, int $offset = null): array + public function findScripts(?int $limit = null, ?int $offset = null): array { return $this->service->getScripts($limit, $offset)->getScripts(); } @@ -87,7 +87,7 @@ public function findScripts(int $limit = null, int $offset = null): array * @param array|null $params Represent key/value pairs parameters to be injected into script * @return FluxTable[] */ - public function invokeScript(string $scriptId, array $params = null): ?array + public function invokeScript(string $scriptId, ?array $params = null): ?array { $response = $this->invokeScriptRaw($scriptId, $params); @@ -104,7 +104,7 @@ public function invokeScript(string $scriptId, array $params = null): ?array * @param array|null $params Represent key/value pairs parameters to be injected into script * @return FluxCsvParser generator of FluxRecords */ - public function invokeScriptStream(string $scriptId, array $params = null): FluxCsvParser + public function invokeScriptStream(string $scriptId, ?array $params = null): FluxCsvParser { $invocation_params = new ScriptInvocationParams(); $invocation_params->setParams($params); @@ -121,7 +121,7 @@ public function invokeScriptStream(string $scriptId, array $params = null): Flux * @param array|null $params Represent key/value pairs parameters to be injected into script * @return string */ - public function invokeScriptRaw(string $scriptId, array $params = null): ?string + public function invokeScriptRaw(string $scriptId, ?array $params = null): ?string { $invocation_params = new ScriptInvocationParams(); $invocation_params->setParams($params); diff --git a/src/InfluxDB2/Model/ASTResponse.php b/src/InfluxDB2/Model/ASTResponse.php index d9f42d70..796349d9 100644 --- a/src/InfluxDB2/Model/ASTResponse.php +++ b/src/InfluxDB2/Model/ASTResponse.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -159,9 +159,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -176,7 +176,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['ast'] = isset($data['ast']) ? $data['ast'] : null; } diff --git a/src/InfluxDB2/Model/AddResourceMemberRequestBody.php b/src/InfluxDB2/Model/AddResourceMemberRequestBody.php index 8bb5d26e..b3066598 100644 --- a/src/InfluxDB2/Model/AddResourceMemberRequestBody.php +++ b/src/InfluxDB2/Model/AddResourceMemberRequestBody.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; diff --git a/src/InfluxDB2/Model/AnalyzeQueryResponse.php b/src/InfluxDB2/Model/AnalyzeQueryResponse.php index b050690c..7da81265 100644 --- a/src/InfluxDB2/Model/AnalyzeQueryResponse.php +++ b/src/InfluxDB2/Model/AnalyzeQueryResponse.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['errors'] = isset($data['errors']) ? $data['errors'] : null; } diff --git a/src/InfluxDB2/Model/AnalyzeQueryResponseErrors.php b/src/InfluxDB2/Model/AnalyzeQueryResponseErrors.php index 47594200..561a20e0 100644 --- a/src/InfluxDB2/Model/AnalyzeQueryResponseErrors.php +++ b/src/InfluxDB2/Model/AnalyzeQueryResponseErrors.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -173,9 +173,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['line'] = isset($data['line']) ? $data['line'] : null; $this->container['column'] = isset($data['column']) ? $data['column'] : null; diff --git a/src/InfluxDB2/Model/ArrayExpression.php b/src/InfluxDB2/Model/ArrayExpression.php index ea1723a3..fd326452 100644 --- a/src/InfluxDB2/Model/ArrayExpression.php +++ b/src/InfluxDB2/Model/ArrayExpression.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class ArrayExpression extends Expression +class ArrayExpression extends Expression { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/Authorization.php b/src/InfluxDB2/Model/Authorization.php index 25abb865..e53d59f1 100644 --- a/src/InfluxDB2/Model/Authorization.php +++ b/src/InfluxDB2/Model/Authorization.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class Authorization extends AuthorizationUpdateRequest +class Authorization extends AuthorizationUpdateRequest { const DISCRIMINATOR = null; @@ -201,9 +201,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -212,7 +212,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/AuthorizationLinks.php b/src/InfluxDB2/Model/AuthorizationLinks.php index ee9acd52..dc0d5685 100644 --- a/src/InfluxDB2/Model/AuthorizationLinks.php +++ b/src/InfluxDB2/Model/AuthorizationLinks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; $this->container['user'] = isset($data['user']) ? $data['user'] : null; diff --git a/src/InfluxDB2/Model/AuthorizationPostRequest.php b/src/InfluxDB2/Model/AuthorizationPostRequest.php index 09233925..9cdfb3e7 100644 --- a/src/InfluxDB2/Model/AuthorizationPostRequest.php +++ b/src/InfluxDB2/Model/AuthorizationPostRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class AuthorizationPostRequest extends AuthorizationUpdateRequest +class AuthorizationPostRequest extends AuthorizationUpdateRequest { const DISCRIMINATOR = null; @@ -166,9 +166,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -177,7 +177,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/AuthorizationUpdateRequest.php b/src/InfluxDB2/Model/AuthorizationUpdateRequest.php index 511f70f5..01e56722 100644 --- a/src/InfluxDB2/Model/AuthorizationUpdateRequest.php +++ b/src/InfluxDB2/Model/AuthorizationUpdateRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -165,9 +165,9 @@ public function getModelName() const STATUS_ACTIVE = 'active'; const STATUS_INACTIVE = 'inactive'; - - + + /** * Gets allowable values of the enum * @@ -180,7 +180,7 @@ public function getStatusAllowableValues() self::STATUS_INACTIVE, ]; } - + /** * Associative array for storing property values @@ -195,7 +195,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = isset($data['status']) ? $data['status'] : 'active'; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/Authorizations.php b/src/InfluxDB2/Model/Authorizations.php index 5ebd0b0b..b34b78c5 100644 --- a/src/InfluxDB2/Model/Authorizations.php +++ b/src/InfluxDB2/Model/Authorizations.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['authorizations'] = isset($data['authorizations']) ? $data['authorizations'] : null; diff --git a/src/InfluxDB2/Model/Axes.php b/src/InfluxDB2/Model/Axes.php index 91b3438e..819d0b16 100644 --- a/src/InfluxDB2/Model/Axes.php +++ b/src/InfluxDB2/Model/Axes.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -164,9 +164,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -181,7 +181,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['x'] = isset($data['x']) ? $data['x'] : null; $this->container['y'] = isset($data['y']) ? $data['y'] : null; diff --git a/src/InfluxDB2/Model/Axis.php b/src/InfluxDB2/Model/Axis.php index 8bf216da..95cf7f29 100644 --- a/src/InfluxDB2/Model/Axis.php +++ b/src/InfluxDB2/Model/Axis.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -187,9 +187,9 @@ public function getModelName() const BASE_EMPTY = ''; const BASE__2 = '2'; const BASE__10 = '10'; - - + + /** * Gets allowable values of the enum * @@ -203,7 +203,7 @@ public function getBaseAllowableValues() self::BASE__10, ]; } - + /** * Associative array for storing property values @@ -218,7 +218,7 @@ public function getBaseAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['bounds'] = isset($data['bounds']) ? $data['bounds'] : null; $this->container['label'] = isset($data['label']) ? $data['label'] : null; diff --git a/src/InfluxDB2/Model/BadStatement.php b/src/InfluxDB2/Model/BadStatement.php index b254edeb..79d61bcf 100644 --- a/src/InfluxDB2/Model/BadStatement.php +++ b/src/InfluxDB2/Model/BadStatement.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class BadStatement extends Statement +class BadStatement extends Statement { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/BandViewProperties.php b/src/InfluxDB2/Model/BandViewProperties.php index 31ddb1f2..1e3bee59 100644 --- a/src/InfluxDB2/Model/BandViewProperties.php +++ b/src/InfluxDB2/Model/BandViewProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class BandViewProperties extends ViewProperties +class BandViewProperties extends ViewProperties { const DISCRIMINATOR = null; @@ -302,9 +302,9 @@ public function getModelName() const HOVER_DIMENSION_X = 'x'; const HOVER_DIMENSION_Y = 'y'; const HOVER_DIMENSION_XY = 'xy'; - - + + /** * Gets allowable values of the enum * @@ -316,7 +316,7 @@ public function getTypeAllowableValues() self::TYPE_BAND, ]; } - + /** * Gets allowable values of the enum * @@ -328,7 +328,7 @@ public function getShapeAllowableValues() self::SHAPE_CHRONOGRAF_V2, ]; } - + /** * Gets allowable values of the enum * @@ -343,7 +343,7 @@ public function getHoverDimensionAllowableValues() self::HOVER_DIMENSION_XY, ]; } - + /** @@ -352,7 +352,7 @@ public function getHoverDimensionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/BinaryExpression.php b/src/InfluxDB2/Model/BinaryExpression.php index 1142ac14..7459b748 100644 --- a/src/InfluxDB2/Model/BinaryExpression.php +++ b/src/InfluxDB2/Model/BinaryExpression.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class BinaryExpression extends Expression +class BinaryExpression extends Expression { const DISCRIMINATOR = null; @@ -172,9 +172,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -183,7 +183,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/Block.php b/src/InfluxDB2/Model/Block.php index 87393ed0..530e96b0 100644 --- a/src/InfluxDB2/Model/Block.php +++ b/src/InfluxDB2/Model/Block.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class Block extends Node +class Block extends Node { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/BooleanLiteral.php b/src/InfluxDB2/Model/BooleanLiteral.php index 22e9e0cc..457ea4f7 100644 --- a/src/InfluxDB2/Model/BooleanLiteral.php +++ b/src/InfluxDB2/Model/BooleanLiteral.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class BooleanLiteral extends Expression +class BooleanLiteral extends Expression { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/Bucket.php b/src/InfluxDB2/Model/Bucket.php index 1f87337d..eb17ef73 100644 --- a/src/InfluxDB2/Model/Bucket.php +++ b/src/InfluxDB2/Model/Bucket.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -215,9 +215,9 @@ public function getModelName() const TYPE_USER = 'user'; const TYPE_SYSTEM = 'system'; - - + + /** * Gets allowable values of the enum * @@ -230,7 +230,7 @@ public function getTypeAllowableValues() self::TYPE_SYSTEM, ]; } - + /** * Associative array for storing property values @@ -245,7 +245,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['id'] = isset($data['id']) ? $data['id'] : null; diff --git a/src/InfluxDB2/Model/BucketLinks.php b/src/InfluxDB2/Model/BucketLinks.php index 43988814..3364f434 100644 --- a/src/InfluxDB2/Model/BucketLinks.php +++ b/src/InfluxDB2/Model/BucketLinks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['labels'] = isset($data['labels']) ? $data['labels'] : null; $this->container['members'] = isset($data['members']) ? $data['members'] : null; diff --git a/src/InfluxDB2/Model/BucketMetadataManifest.php b/src/InfluxDB2/Model/BucketMetadataManifest.php index 755efc4f..922981b0 100644 --- a/src/InfluxDB2/Model/BucketMetadataManifest.php +++ b/src/InfluxDB2/Model/BucketMetadataManifest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -188,9 +188,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -205,7 +205,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['organization_id'] = isset($data['organization_id']) ? $data['organization_id'] : null; $this->container['organization_name'] = isset($data['organization_name']) ? $data['organization_name'] : null; diff --git a/src/InfluxDB2/Model/BucketRetentionRules.php b/src/InfluxDB2/Model/BucketRetentionRules.php index 7d85d588..ef22e474 100644 --- a/src/InfluxDB2/Model/BucketRetentionRules.php +++ b/src/InfluxDB2/Model/BucketRetentionRules.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -169,9 +169,9 @@ public function getModelName() } const TYPE_EXPIRE = 'expire'; - - + + /** * Gets allowable values of the enum * @@ -183,7 +183,7 @@ public function getTypeAllowableValues() self::TYPE_EXPIRE, ]; } - + /** * Associative array for storing property values @@ -198,7 +198,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = isset($data['type']) ? $data['type'] : 'expire'; $this->container['every_seconds'] = isset($data['every_seconds']) ? $data['every_seconds'] : 2592000; diff --git a/src/InfluxDB2/Model/BucketShardMapping.php b/src/InfluxDB2/Model/BucketShardMapping.php index 1371d53b..b6fc3a7a 100644 --- a/src/InfluxDB2/Model/BucketShardMapping.php +++ b/src/InfluxDB2/Model/BucketShardMapping.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['old_id'] = isset($data['old_id']) ? $data['old_id'] : null; $this->container['new_id'] = isset($data['new_id']) ? $data['new_id'] : null; diff --git a/src/InfluxDB2/Model/Buckets.php b/src/InfluxDB2/Model/Buckets.php index 62b6bc36..7318f761 100644 --- a/src/InfluxDB2/Model/Buckets.php +++ b/src/InfluxDB2/Model/Buckets.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['buckets'] = isset($data['buckets']) ? $data['buckets'] : null; diff --git a/src/InfluxDB2/Model/BuilderConfig.php b/src/InfluxDB2/Model/BuilderConfig.php index 92374711..195537b0 100644 --- a/src/InfluxDB2/Model/BuilderConfig.php +++ b/src/InfluxDB2/Model/BuilderConfig.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -173,9 +173,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['buckets'] = isset($data['buckets']) ? $data['buckets'] : null; $this->container['tags'] = isset($data['tags']) ? $data['tags'] : null; diff --git a/src/InfluxDB2/Model/BuilderConfigAggregateWindow.php b/src/InfluxDB2/Model/BuilderConfigAggregateWindow.php index 9670cb32..a2385ec7 100644 --- a/src/InfluxDB2/Model/BuilderConfigAggregateWindow.php +++ b/src/InfluxDB2/Model/BuilderConfigAggregateWindow.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['period'] = isset($data['period']) ? $data['period'] : null; $this->container['fill_values'] = isset($data['fill_values']) ? $data['fill_values'] : null; diff --git a/src/InfluxDB2/Model/BuilderFunctionsType.php b/src/InfluxDB2/Model/BuilderFunctionsType.php index 1581e12e..a23282bf 100644 --- a/src/InfluxDB2/Model/BuilderFunctionsType.php +++ b/src/InfluxDB2/Model/BuilderFunctionsType.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; } diff --git a/src/InfluxDB2/Model/BuilderTagsType.php b/src/InfluxDB2/Model/BuilderTagsType.php index d24264a1..6c8d136f 100644 --- a/src/InfluxDB2/Model/BuilderTagsType.php +++ b/src/InfluxDB2/Model/BuilderTagsType.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['key'] = isset($data['key']) ? $data['key'] : null; $this->container['values'] = isset($data['values']) ? $data['values'] : null; diff --git a/src/InfluxDB2/Model/BuiltinStatement.php b/src/InfluxDB2/Model/BuiltinStatement.php index b4102bac..167c93f1 100644 --- a/src/InfluxDB2/Model/BuiltinStatement.php +++ b/src/InfluxDB2/Model/BuiltinStatement.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class BuiltinStatement extends Statement +class BuiltinStatement extends Statement { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/CallExpression.php b/src/InfluxDB2/Model/CallExpression.php index ca557625..0347093b 100644 --- a/src/InfluxDB2/Model/CallExpression.php +++ b/src/InfluxDB2/Model/CallExpression.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class CallExpression extends Expression +class CallExpression extends Expression { const DISCRIMINATOR = null; @@ -167,9 +167,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -178,7 +178,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/Cell.php b/src/InfluxDB2/Model/Cell.php index 4a54aa59..4bfdb598 100644 --- a/src/InfluxDB2/Model/Cell.php +++ b/src/InfluxDB2/Model/Cell.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -188,9 +188,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -205,7 +205,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['links'] = isset($data['links']) ? $data['links'] : null; diff --git a/src/InfluxDB2/Model/CellLinks.php b/src/InfluxDB2/Model/CellLinks.php index b2d54508..75478366 100644 --- a/src/InfluxDB2/Model/CellLinks.php +++ b/src/InfluxDB2/Model/CellLinks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; $this->container['view'] = isset($data['view']) ? $data['view'] : null; diff --git a/src/InfluxDB2/Model/CellUpdate.php b/src/InfluxDB2/Model/CellUpdate.php index 57d58066..71052415 100644 --- a/src/InfluxDB2/Model/CellUpdate.php +++ b/src/InfluxDB2/Model/CellUpdate.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -173,9 +173,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['x'] = isset($data['x']) ? $data['x'] : null; $this->container['y'] = isset($data['y']) ? $data['y'] : null; diff --git a/src/InfluxDB2/Model/CellWithViewProperties.php b/src/InfluxDB2/Model/CellWithViewProperties.php index f0d1cc64..ff8b4f6c 100644 --- a/src/InfluxDB2/Model/CellWithViewProperties.php +++ b/src/InfluxDB2/Model/CellWithViewProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class CellWithViewProperties extends Cell +class CellWithViewProperties extends Cell { const DISCRIMINATOR = null; @@ -161,9 +161,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -172,7 +172,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/Check.php b/src/InfluxDB2/Model/Check.php index b3e509b2..c15eb31d 100644 --- a/src/InfluxDB2/Model/Check.php +++ b/src/InfluxDB2/Model/Check.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class Check extends CheckDiscriminator +class Check extends CheckDiscriminator { const DISCRIMINATOR = 'type'; @@ -55,7 +55,7 @@ class Check extends CheckDiscriminator * @var string[] */ protected static $openAPITypes = [ - + ]; /** @@ -64,7 +64,7 @@ class Check extends CheckDiscriminator * @var string[] */ protected static $openAPIFormats = [ - + ]; /** @@ -94,7 +94,7 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - + ]; /** @@ -103,7 +103,7 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - + ]; /** @@ -112,7 +112,7 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - + ]; /** @@ -156,9 +156,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -167,7 +167,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/CheckBase.php b/src/InfluxDB2/Model/CheckBase.php index f2507368..39c5736a 100644 --- a/src/InfluxDB2/Model/CheckBase.php +++ b/src/InfluxDB2/Model/CheckBase.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -231,9 +231,9 @@ public function getModelName() const LAST_RUN_STATUS_FAILED = 'failed'; const LAST_RUN_STATUS_SUCCESS = 'success'; const LAST_RUN_STATUS_CANCELED = 'canceled'; - - + + /** * Gets allowable values of the enum * @@ -247,7 +247,7 @@ public function getLastRunStatusAllowableValues() self::LAST_RUN_STATUS_CANCELED, ]; } - + /** * Associative array for storing property values @@ -262,7 +262,7 @@ public function getLastRunStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; diff --git a/src/InfluxDB2/Model/CheckBaseLinks.php b/src/InfluxDB2/Model/CheckBaseLinks.php index 9ac124b2..9b0a58e1 100644 --- a/src/InfluxDB2/Model/CheckBaseLinks.php +++ b/src/InfluxDB2/Model/CheckBaseLinks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -178,9 +178,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -195,7 +195,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; $this->container['labels'] = isset($data['labels']) ? $data['labels'] : null; diff --git a/src/InfluxDB2/Model/CheckDiscriminator.php b/src/InfluxDB2/Model/CheckDiscriminator.php index 4b48b38a..c806fd38 100644 --- a/src/InfluxDB2/Model/CheckDiscriminator.php +++ b/src/InfluxDB2/Model/CheckDiscriminator.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class CheckDiscriminator extends CheckBase +class CheckDiscriminator extends CheckBase { const DISCRIMINATOR = 'type'; @@ -55,7 +55,7 @@ class CheckDiscriminator extends CheckBase * @var string[] */ protected static $openAPITypes = [ - + ]; /** @@ -64,7 +64,7 @@ class CheckDiscriminator extends CheckBase * @var string[] */ protected static $openAPIFormats = [ - + ]; /** @@ -94,7 +94,7 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - + ]; /** @@ -103,7 +103,7 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - + ]; /** @@ -112,7 +112,7 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - + ]; /** @@ -156,9 +156,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -167,7 +167,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/CheckPatch.php b/src/InfluxDB2/Model/CheckPatch.php index 43629332..915b4fc3 100644 --- a/src/InfluxDB2/Model/CheckPatch.php +++ b/src/InfluxDB2/Model/CheckPatch.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -170,9 +170,9 @@ public function getModelName() const STATUS_ACTIVE = 'active'; const STATUS_INACTIVE = 'inactive'; - - + + /** * Gets allowable values of the enum * @@ -185,7 +185,7 @@ public function getStatusAllowableValues() self::STATUS_INACTIVE, ]; } - + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/CheckViewProperties.php b/src/InfluxDB2/Model/CheckViewProperties.php index 7e3dda83..90fb9dc2 100644 --- a/src/InfluxDB2/Model/CheckViewProperties.php +++ b/src/InfluxDB2/Model/CheckViewProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class CheckViewProperties extends ViewProperties +class CheckViewProperties extends ViewProperties { const DISCRIMINATOR = null; @@ -208,9 +208,9 @@ public function getModelName() const TYPE_CHECK = 'check'; const SHAPE_CHRONOGRAF_V2 = 'chronograf-v2'; - - + + /** * Gets allowable values of the enum * @@ -222,7 +222,7 @@ public function getTypeAllowableValues() self::TYPE_CHECK, ]; } - + /** * Gets allowable values of the enum * @@ -234,7 +234,7 @@ public function getShapeAllowableValues() self::SHAPE_CHRONOGRAF_V2, ]; } - + /** @@ -243,7 +243,7 @@ public function getShapeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/Checks.php b/src/InfluxDB2/Model/Checks.php index ffd4ca1a..18a345d9 100644 --- a/src/InfluxDB2/Model/Checks.php +++ b/src/InfluxDB2/Model/Checks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['checks'] = isset($data['checks']) ? $data['checks'] : null; $this->container['links'] = isset($data['links']) ? $data['links'] : null; diff --git a/src/InfluxDB2/Model/ConditionalExpression.php b/src/InfluxDB2/Model/ConditionalExpression.php index f71cf528..4bb1e444 100644 --- a/src/InfluxDB2/Model/ConditionalExpression.php +++ b/src/InfluxDB2/Model/ConditionalExpression.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class ConditionalExpression extends Expression +class ConditionalExpression extends Expression { const DISCRIMINATOR = null; @@ -172,9 +172,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -183,7 +183,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/Config.php b/src/InfluxDB2/Model/Config.php index f6171ef2..b9571538 100644 --- a/src/InfluxDB2/Model/Config.php +++ b/src/InfluxDB2/Model/Config.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['config'] = isset($data['config']) ? $data['config'] : null; } diff --git a/src/InfluxDB2/Model/ConstantVariableProperties.php b/src/InfluxDB2/Model/ConstantVariableProperties.php index e8958ae5..aff2b4b4 100644 --- a/src/InfluxDB2/Model/ConstantVariableProperties.php +++ b/src/InfluxDB2/Model/ConstantVariableProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class ConstantVariableProperties extends VariableProperties +class ConstantVariableProperties extends VariableProperties { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() } const TYPE_CONSTANT = 'constant'; - - + + /** * Gets allowable values of the enum * @@ -176,7 +176,7 @@ public function getTypeAllowableValues() self::TYPE_CONSTANT, ]; } - + /** @@ -185,7 +185,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/CreateCell.php b/src/InfluxDB2/Model/CreateCell.php index 20f44d11..fc4ff851 100644 --- a/src/InfluxDB2/Model/CreateCell.php +++ b/src/InfluxDB2/Model/CreateCell.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['x'] = isset($data['x']) ? $data['x'] : null; diff --git a/src/InfluxDB2/Model/CreateDashboardRequest.php b/src/InfluxDB2/Model/CreateDashboardRequest.php index db305ec6..2278d741 100644 --- a/src/InfluxDB2/Model/CreateDashboardRequest.php +++ b/src/InfluxDB2/Model/CreateDashboardRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['org_id'] = isset($data['org_id']) ? $data['org_id'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; diff --git a/src/InfluxDB2/Model/CustomCheck.php b/src/InfluxDB2/Model/CustomCheck.php index 830ad433..7b98a91d 100644 --- a/src/InfluxDB2/Model/CustomCheck.php +++ b/src/InfluxDB2/Model/CustomCheck.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class CustomCheck extends Check +class CustomCheck extends Check { const DISCRIMINATOR = null; @@ -157,9 +157,9 @@ public function getModelName() } const TYPE_CUSTOM = 'custom'; - - + + /** * Gets allowable values of the enum * @@ -171,7 +171,7 @@ public function getTypeAllowableValues() self::TYPE_CUSTOM, ]; } - + /** @@ -180,7 +180,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/DBRP.php b/src/InfluxDB2/Model/DBRP.php index 138ccc1a..45d70d8c 100644 --- a/src/InfluxDB2/Model/DBRP.php +++ b/src/InfluxDB2/Model/DBRP.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -193,9 +193,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -210,7 +210,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + 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; diff --git a/src/InfluxDB2/Model/DBRPCreate.php b/src/InfluxDB2/Model/DBRPCreate.php index 700041b0..75b38a61 100644 --- a/src/InfluxDB2/Model/DBRPCreate.php +++ b/src/InfluxDB2/Model/DBRPCreate.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + 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; diff --git a/src/InfluxDB2/Model/DBRPGet.php b/src/InfluxDB2/Model/DBRPGet.php index be16e79b..3552ec43 100644 --- a/src/InfluxDB2/Model/DBRPGet.php +++ b/src/InfluxDB2/Model/DBRPGet.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['content'] = isset($data['content']) ? $data['content'] : null; } diff --git a/src/InfluxDB2/Model/DBRPUpdate.php b/src/InfluxDB2/Model/DBRPUpdate.php index 9ba93b77..693834ca 100644 --- a/src/InfluxDB2/Model/DBRPUpdate.php +++ b/src/InfluxDB2/Model/DBRPUpdate.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['retention_policy'] = isset($data['retention_policy']) ? $data['retention_policy'] : null; $this->container['default'] = isset($data['default']) ? $data['default'] : null; diff --git a/src/InfluxDB2/Model/DBRPs.php b/src/InfluxDB2/Model/DBRPs.php index 3b970f1a..cd13e029 100644 --- a/src/InfluxDB2/Model/DBRPs.php +++ b/src/InfluxDB2/Model/DBRPs.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['content'] = isset($data['content']) ? $data['content'] : null; } diff --git a/src/InfluxDB2/Model/Dashboard.php b/src/InfluxDB2/Model/Dashboard.php index c83f17f3..4ca79a6c 100644 --- a/src/InfluxDB2/Model/Dashboard.php +++ b/src/InfluxDB2/Model/Dashboard.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class Dashboard extends CreateDashboardRequest +class Dashboard extends CreateDashboardRequest { const DISCRIMINATOR = null; @@ -176,9 +176,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -187,7 +187,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/DashboardColor.php b/src/InfluxDB2/Model/DashboardColor.php index f3bf3e77..0b335a05 100644 --- a/src/InfluxDB2/Model/DashboardColor.php +++ b/src/InfluxDB2/Model/DashboardColor.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -185,9 +185,9 @@ public function getModelName() const TYPE_SCALE = 'scale'; const TYPE_TEXT = 'text'; const TYPE_BACKGROUND = 'background'; - - + + /** * Gets allowable values of the enum * @@ -204,7 +204,7 @@ public function getTypeAllowableValues() self::TYPE_BACKGROUND, ]; } - + /** * Associative array for storing property values @@ -219,7 +219,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['type'] = isset($data['type']) ? $data['type'] : null; diff --git a/src/InfluxDB2/Model/DashboardQuery.php b/src/InfluxDB2/Model/DashboardQuery.php index 898f760a..c4dbcd50 100644 --- a/src/InfluxDB2/Model/DashboardQuery.php +++ b/src/InfluxDB2/Model/DashboardQuery.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -173,9 +173,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['text'] = isset($data['text']) ? $data['text'] : null; $this->container['edit_mode'] = isset($data['edit_mode']) ? $data['edit_mode'] : null; diff --git a/src/InfluxDB2/Model/DashboardWithViewProperties.php b/src/InfluxDB2/Model/DashboardWithViewProperties.php index 0969ee3e..8118a9bc 100644 --- a/src/InfluxDB2/Model/DashboardWithViewProperties.php +++ b/src/InfluxDB2/Model/DashboardWithViewProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class DashboardWithViewProperties extends CreateDashboardRequest +class DashboardWithViewProperties extends CreateDashboardRequest { const DISCRIMINATOR = null; @@ -176,9 +176,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -187,7 +187,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/DashboardWithViewPropertiesLinks.php b/src/InfluxDB2/Model/DashboardWithViewPropertiesLinks.php index 891b3d95..426ebc46 100644 --- a/src/InfluxDB2/Model/DashboardWithViewPropertiesLinks.php +++ b/src/InfluxDB2/Model/DashboardWithViewPropertiesLinks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; $this->container['cells'] = isset($data['cells']) ? $data['cells'] : null; diff --git a/src/InfluxDB2/Model/DashboardWithViewPropertiesMeta.php b/src/InfluxDB2/Model/DashboardWithViewPropertiesMeta.php index f3c65737..22fd34a8 100644 --- a/src/InfluxDB2/Model/DashboardWithViewPropertiesMeta.php +++ b/src/InfluxDB2/Model/DashboardWithViewPropertiesMeta.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['created_at'] = isset($data['created_at']) ? $data['created_at'] : null; $this->container['updated_at'] = isset($data['updated_at']) ? $data['updated_at'] : null; diff --git a/src/InfluxDB2/Model/Dashboards.php b/src/InfluxDB2/Model/Dashboards.php index f9c8a579..1c68b89c 100644 --- a/src/InfluxDB2/Model/Dashboards.php +++ b/src/InfluxDB2/Model/Dashboards.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['dashboards'] = isset($data['dashboards']) ? $data['dashboards'] : null; diff --git a/src/InfluxDB2/Model/DateTimeLiteral.php b/src/InfluxDB2/Model/DateTimeLiteral.php index c6744005..58c61bb9 100644 --- a/src/InfluxDB2/Model/DateTimeLiteral.php +++ b/src/InfluxDB2/Model/DateTimeLiteral.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class DateTimeLiteral extends Expression +class DateTimeLiteral extends Expression { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/DeadmanCheck.php b/src/InfluxDB2/Model/DeadmanCheck.php index 7277dc7c..48ace9c2 100644 --- a/src/InfluxDB2/Model/DeadmanCheck.php +++ b/src/InfluxDB2/Model/DeadmanCheck.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class DeadmanCheck extends Check +class DeadmanCheck extends Check { const DISCRIMINATOR = null; @@ -197,9 +197,9 @@ public function getModelName() } const TYPE_DEADMAN = 'deadman'; - - + + /** * Gets allowable values of the enum * @@ -211,7 +211,7 @@ public function getTypeAllowableValues() self::TYPE_DEADMAN, ]; } - + /** @@ -220,7 +220,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/DecimalPlaces.php b/src/InfluxDB2/Model/DecimalPlaces.php index ef094f67..56beb9d4 100644 --- a/src/InfluxDB2/Model/DecimalPlaces.php +++ b/src/InfluxDB2/Model/DecimalPlaces.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -164,9 +164,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -181,7 +181,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['is_enforced'] = isset($data['is_enforced']) ? $data['is_enforced'] : null; $this->container['digits'] = isset($data['digits']) ? $data['digits'] : null; diff --git a/src/InfluxDB2/Model/DeletePredicateRequest.php b/src/InfluxDB2/Model/DeletePredicateRequest.php index c748bc94..8da1a6a2 100644 --- a/src/InfluxDB2/Model/DeletePredicateRequest.php +++ b/src/InfluxDB2/Model/DeletePredicateRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -169,9 +169,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -186,7 +186,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['start'] = isset($data['start']) ? $data['start'] : null; $this->container['stop'] = isset($data['stop']) ? $data['stop'] : null; diff --git a/src/InfluxDB2/Model/Dialect.php b/src/InfluxDB2/Model/Dialect.php index 25d3d8af..191190e8 100644 --- a/src/InfluxDB2/Model/Dialect.php +++ b/src/InfluxDB2/Model/Dialect.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -184,9 +184,9 @@ public function getModelName() const ANNOTATIONS__DEFAULT = 'default'; const DATE_TIME_FORMAT_RFC3339 = 'RFC3339'; const DATE_TIME_FORMAT_RFC3339_NANO = 'RFC3339Nano'; - - + + /** * Gets allowable values of the enum * @@ -200,7 +200,7 @@ public function getAnnotationsAllowableValues() self::ANNOTATIONS__DEFAULT, ]; } - + /** * Gets allowable values of the enum * @@ -213,7 +213,7 @@ public function getDateTimeFormatAllowableValues() self::DATE_TIME_FORMAT_RFC3339_NANO, ]; } - + /** * Associative array for storing property values @@ -228,7 +228,7 @@ public function getDateTimeFormatAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['header'] = isset($data['header']) ? $data['header'] : true; $this->container['delimiter'] = isset($data['delimiter']) ? $data['delimiter'] : ','; diff --git a/src/InfluxDB2/Model/DictExpression.php b/src/InfluxDB2/Model/DictExpression.php index 46e45fed..df453bee 100644 --- a/src/InfluxDB2/Model/DictExpression.php +++ b/src/InfluxDB2/Model/DictExpression.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class DictExpression extends Expression +class DictExpression extends Expression { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/DictItem.php b/src/InfluxDB2/Model/DictItem.php index 26aa389d..618d20df 100644 --- a/src/InfluxDB2/Model/DictItem.php +++ b/src/InfluxDB2/Model/DictItem.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -169,9 +169,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -186,7 +186,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['key'] = isset($data['key']) ? $data['key'] : null; diff --git a/src/InfluxDB2/Model/Duration.php b/src/InfluxDB2/Model/Duration.php index 6875ef17..348b2afb 100644 --- a/src/InfluxDB2/Model/Duration.php +++ b/src/InfluxDB2/Model/Duration.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -169,9 +169,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -186,7 +186,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['magnitude'] = isset($data['magnitude']) ? $data['magnitude'] : null; diff --git a/src/InfluxDB2/Model/DurationLiteral.php b/src/InfluxDB2/Model/DurationLiteral.php index b5e27e04..1f258595 100644 --- a/src/InfluxDB2/Model/DurationLiteral.php +++ b/src/InfluxDB2/Model/DurationLiteral.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class DurationLiteral extends Expression +class DurationLiteral extends Expression { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/Error.php b/src/InfluxDB2/Model/Error.php index ff959e64..5826ec7e 100644 --- a/src/InfluxDB2/Model/Error.php +++ b/src/InfluxDB2/Model/Error.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -186,9 +186,9 @@ public function getModelName() const CODE_METHOD_NOT_ALLOWED = 'method not allowed'; const CODE_REQUEST_TOO_LARGE = 'request too large'; const CODE_UNSUPPORTED_MEDIA_TYPE = 'unsupported media type'; - - + + /** * Gets allowable values of the enum * @@ -212,7 +212,7 @@ public function getCodeAllowableValues() self::CODE_UNSUPPORTED_MEDIA_TYPE, ]; } - + /** * Associative array for storing property values @@ -227,7 +227,7 @@ public function getCodeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['code'] = isset($data['code']) ? $data['code'] : null; $this->container['message'] = isset($data['message']) ? $data['message'] : null; diff --git a/src/InfluxDB2/Model/Expression.php b/src/InfluxDB2/Model/Expression.php index 224410ad..633ad406 100644 --- a/src/InfluxDB2/Model/Expression.php +++ b/src/InfluxDB2/Model/Expression.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class Expression extends Node +class Expression extends Node { const DISCRIMINATOR = null; @@ -55,7 +55,7 @@ class Expression extends Node * @var string[] */ protected static $openAPITypes = [ - + ]; /** @@ -64,7 +64,7 @@ class Expression extends Node * @var string[] */ protected static $openAPIFormats = [ - + ]; /** @@ -94,7 +94,7 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - + ]; /** @@ -103,7 +103,7 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - + ]; /** @@ -112,7 +112,7 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - + ]; /** @@ -156,9 +156,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -167,7 +167,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/ExpressionStatement.php b/src/InfluxDB2/Model/ExpressionStatement.php index ea8a1202..d3e5b7e6 100644 --- a/src/InfluxDB2/Model/ExpressionStatement.php +++ b/src/InfluxDB2/Model/ExpressionStatement.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class ExpressionStatement extends Statement +class ExpressionStatement extends Statement { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/Field.php b/src/InfluxDB2/Model/Field.php index 8b402199..44fc2146 100644 --- a/src/InfluxDB2/Model/Field.php +++ b/src/InfluxDB2/Model/Field.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -179,9 +179,9 @@ public function getModelName() const TYPE_NUMBER = 'number'; const TYPE_REGEX = 'regex'; const TYPE_WILDCARD = 'wildcard'; - - + + /** * Gets allowable values of the enum * @@ -198,7 +198,7 @@ public function getTypeAllowableValues() self::TYPE_WILDCARD, ]; } - + /** * Associative array for storing property values @@ -213,7 +213,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = isset($data['value']) ? $data['value'] : null; $this->container['type'] = isset($data['type']) ? $data['type'] : null; diff --git a/src/InfluxDB2/Model/File.php b/src/InfluxDB2/Model/File.php index 3ac2b31b..81e80d54 100644 --- a/src/InfluxDB2/Model/File.php +++ b/src/InfluxDB2/Model/File.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -179,9 +179,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -196,7 +196,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; diff --git a/src/InfluxDB2/Model/FloatLiteral.php b/src/InfluxDB2/Model/FloatLiteral.php index 3f890be9..abeb8295 100644 --- a/src/InfluxDB2/Model/FloatLiteral.php +++ b/src/InfluxDB2/Model/FloatLiteral.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class FloatLiteral extends Expression +class FloatLiteral extends Expression { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/FluxResponse.php b/src/InfluxDB2/Model/FluxResponse.php index 552510d4..a1d0ab83 100644 --- a/src/InfluxDB2/Model/FluxResponse.php +++ b/src/InfluxDB2/Model/FluxResponse.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -159,9 +159,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -176,7 +176,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['flux'] = isset($data['flux']) ? $data['flux'] : null; } diff --git a/src/InfluxDB2/Model/FluxSuggestion.php b/src/InfluxDB2/Model/FluxSuggestion.php index b6bd9d49..ecc22e04 100644 --- a/src/InfluxDB2/Model/FluxSuggestion.php +++ b/src/InfluxDB2/Model/FluxSuggestion.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['params'] = isset($data['params']) ? $data['params'] : null; diff --git a/src/InfluxDB2/Model/FluxSuggestions.php b/src/InfluxDB2/Model/FluxSuggestions.php index dfcc1508..fe6e7385 100644 --- a/src/InfluxDB2/Model/FluxSuggestions.php +++ b/src/InfluxDB2/Model/FluxSuggestions.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['funcs'] = isset($data['funcs']) ? $data['funcs'] : null; } diff --git a/src/InfluxDB2/Model/FunctionExpression.php b/src/InfluxDB2/Model/FunctionExpression.php index 4707cfd9..2196fda9 100644 --- a/src/InfluxDB2/Model/FunctionExpression.php +++ b/src/InfluxDB2/Model/FunctionExpression.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class FunctionExpression extends Expression +class FunctionExpression extends Expression { const DISCRIMINATOR = null; @@ -167,9 +167,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -178,7 +178,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/GaugeViewProperties.php b/src/InfluxDB2/Model/GaugeViewProperties.php index 371d78c2..b133893c 100644 --- a/src/InfluxDB2/Model/GaugeViewProperties.php +++ b/src/InfluxDB2/Model/GaugeViewProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class GaugeViewProperties extends ViewProperties +class GaugeViewProperties extends ViewProperties { const DISCRIMINATOR = null; @@ -208,9 +208,9 @@ public function getModelName() const TYPE_GAUGE = 'gauge'; const SHAPE_CHRONOGRAF_V2 = 'chronograf-v2'; - - + + /** * Gets allowable values of the enum * @@ -222,7 +222,7 @@ public function getTypeAllowableValues() self::TYPE_GAUGE, ]; } - + /** * Gets allowable values of the enum * @@ -234,7 +234,7 @@ public function getShapeAllowableValues() self::SHAPE_CHRONOGRAF_V2, ]; } - + /** @@ -243,7 +243,7 @@ public function getShapeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/GreaterThreshold.php b/src/InfluxDB2/Model/GreaterThreshold.php index 3ea92226..a890d638 100644 --- a/src/InfluxDB2/Model/GreaterThreshold.php +++ b/src/InfluxDB2/Model/GreaterThreshold.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class GreaterThreshold extends Threshold +class GreaterThreshold extends Threshold { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() } const TYPE_GREATER = 'greater'; - - + + /** * Gets allowable values of the enum * @@ -176,7 +176,7 @@ public function getTypeAllowableValues() self::TYPE_GREATER, ]; } - + /** @@ -185,7 +185,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/HTTPNotificationEndpoint.php b/src/InfluxDB2/Model/HTTPNotificationEndpoint.php index 32103c5e..1796a4dd 100644 --- a/src/InfluxDB2/Model/HTTPNotificationEndpoint.php +++ b/src/InfluxDB2/Model/HTTPNotificationEndpoint.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class HTTPNotificationEndpoint extends NotificationEndpoint +class HTTPNotificationEndpoint extends NotificationEndpoint { const DISCRIMINATOR = null; @@ -197,9 +197,9 @@ public function getModelName() const AUTH_METHOD_NONE = 'none'; const AUTH_METHOD_BASIC = 'basic'; const AUTH_METHOD_BEARER = 'bearer'; - - + + /** * Gets allowable values of the enum * @@ -213,7 +213,7 @@ public function getMethodAllowableValues() self::METHOD_PUT, ]; } - + /** * Gets allowable values of the enum * @@ -227,7 +227,7 @@ public function getAuthMethodAllowableValues() self::AUTH_METHOD_BEARER, ]; } - + /** @@ -236,7 +236,7 @@ public function getAuthMethodAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/HTTPNotificationRule.php b/src/InfluxDB2/Model/HTTPNotificationRule.php index 050f5edf..9ad5a6fa 100644 --- a/src/InfluxDB2/Model/HTTPNotificationRule.php +++ b/src/InfluxDB2/Model/HTTPNotificationRule.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class HTTPNotificationRule extends HTTPNotificationRuleBase +class HTTPNotificationRule extends HTTPNotificationRuleBase { const DISCRIMINATOR = null; @@ -55,7 +55,7 @@ class HTTPNotificationRule extends HTTPNotificationRuleBase * @var string[] */ protected static $openAPITypes = [ - + ]; /** @@ -64,7 +64,7 @@ class HTTPNotificationRule extends HTTPNotificationRuleBase * @var string[] */ protected static $openAPIFormats = [ - + ]; /** @@ -94,7 +94,7 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - + ]; /** @@ -103,7 +103,7 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - + ]; /** @@ -112,7 +112,7 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - + ]; /** @@ -156,9 +156,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -167,7 +167,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/HTTPNotificationRuleBase.php b/src/InfluxDB2/Model/HTTPNotificationRuleBase.php index a33e94c8..ac40a32c 100644 --- a/src/InfluxDB2/Model/HTTPNotificationRuleBase.php +++ b/src/InfluxDB2/Model/HTTPNotificationRuleBase.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class HTTPNotificationRuleBase extends NotificationRule +class HTTPNotificationRuleBase extends NotificationRule { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() } const TYPE_HTTP = 'http'; - - + + /** * Gets allowable values of the enum * @@ -176,7 +176,7 @@ public function getTypeAllowableValues() self::TYPE_HTTP, ]; } - + /** @@ -185,7 +185,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/HealthCheck.php b/src/InfluxDB2/Model/HealthCheck.php index c9b7001a..602dc660 100644 --- a/src/InfluxDB2/Model/HealthCheck.php +++ b/src/InfluxDB2/Model/HealthCheck.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -185,9 +185,9 @@ public function getModelName() const STATUS_PASS = 'pass'; const STATUS_FAIL = 'fail'; - - + + /** * Gets allowable values of the enum * @@ -200,7 +200,7 @@ public function getStatusAllowableValues() self::STATUS_FAIL, ]; } - + /** * Associative array for storing property values @@ -215,7 +215,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['message'] = isset($data['message']) ? $data['message'] : null; diff --git a/src/InfluxDB2/Model/HeatmapViewProperties.php b/src/InfluxDB2/Model/HeatmapViewProperties.php index 39a604b9..4c8939ee 100644 --- a/src/InfluxDB2/Model/HeatmapViewProperties.php +++ b/src/InfluxDB2/Model/HeatmapViewProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class HeatmapViewProperties extends ViewProperties +class HeatmapViewProperties extends ViewProperties { const DISCRIMINATOR = null; @@ -308,9 +308,9 @@ public function getModelName() const TYPE_HEATMAP = 'heatmap'; const SHAPE_CHRONOGRAF_V2 = 'chronograf-v2'; - - + + /** * Gets allowable values of the enum * @@ -322,7 +322,7 @@ public function getTypeAllowableValues() self::TYPE_HEATMAP, ]; } - + /** * Gets allowable values of the enum * @@ -334,7 +334,7 @@ public function getShapeAllowableValues() self::SHAPE_CHRONOGRAF_V2, ]; } - + /** @@ -343,7 +343,7 @@ public function getShapeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/HistogramViewProperties.php b/src/InfluxDB2/Model/HistogramViewProperties.php index 2a45ee69..890adc8e 100644 --- a/src/InfluxDB2/Model/HistogramViewProperties.php +++ b/src/InfluxDB2/Model/HistogramViewProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class HistogramViewProperties extends ViewProperties +class HistogramViewProperties extends ViewProperties { const DISCRIMINATOR = null; @@ -235,9 +235,9 @@ public function getModelName() const SHAPE_CHRONOGRAF_V2 = 'chronograf-v2'; const POSITION_OVERLAID = 'overlaid'; const POSITION_STACKED = 'stacked'; - - + + /** * Gets allowable values of the enum * @@ -249,7 +249,7 @@ public function getTypeAllowableValues() self::TYPE_HISTOGRAM, ]; } - + /** * Gets allowable values of the enum * @@ -261,7 +261,7 @@ public function getShapeAllowableValues() self::SHAPE_CHRONOGRAF_V2, ]; } - + /** * Gets allowable values of the enum * @@ -274,7 +274,7 @@ public function getPositionAllowableValues() self::POSITION_STACKED, ]; } - + /** @@ -283,7 +283,7 @@ public function getPositionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/Identifier.php b/src/InfluxDB2/Model/Identifier.php index 8e626475..693a20b7 100644 --- a/src/InfluxDB2/Model/Identifier.php +++ b/src/InfluxDB2/Model/Identifier.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class Identifier extends PropertyKey +class Identifier extends PropertyKey { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/ImportDeclaration.php b/src/InfluxDB2/Model/ImportDeclaration.php index 87296159..fc420b4f 100644 --- a/src/InfluxDB2/Model/ImportDeclaration.php +++ b/src/InfluxDB2/Model/ImportDeclaration.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -169,9 +169,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -186,7 +186,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['as'] = isset($data['as']) ? $data['as'] : null; diff --git a/src/InfluxDB2/Model/IndexExpression.php b/src/InfluxDB2/Model/IndexExpression.php index 8ab6ea2b..62a3d0b5 100644 --- a/src/InfluxDB2/Model/IndexExpression.php +++ b/src/InfluxDB2/Model/IndexExpression.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class IndexExpression extends Expression +class IndexExpression extends Expression { const DISCRIMINATOR = null; @@ -167,9 +167,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -178,7 +178,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/IntegerLiteral.php b/src/InfluxDB2/Model/IntegerLiteral.php index ea4f454e..41f3d462 100644 --- a/src/InfluxDB2/Model/IntegerLiteral.php +++ b/src/InfluxDB2/Model/IntegerLiteral.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class IntegerLiteral extends Expression +class IntegerLiteral extends Expression { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/IsOnboarding.php b/src/InfluxDB2/Model/IsOnboarding.php index 45b6385f..38bcb3a7 100644 --- a/src/InfluxDB2/Model/IsOnboarding.php +++ b/src/InfluxDB2/Model/IsOnboarding.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['allowed'] = isset($data['allowed']) ? $data['allowed'] : null; } diff --git a/src/InfluxDB2/Model/Label.php b/src/InfluxDB2/Model/Label.php index 4b970fb7..6ff4786a 100644 --- a/src/InfluxDB2/Model/Label.php +++ b/src/InfluxDB2/Model/Label.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -173,9 +173,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + 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; diff --git a/src/InfluxDB2/Model/LabelCreateRequest.php b/src/InfluxDB2/Model/LabelCreateRequest.php index a89b4871..213efe9f 100644 --- a/src/InfluxDB2/Model/LabelCreateRequest.php +++ b/src/InfluxDB2/Model/LabelCreateRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['org_id'] = isset($data['org_id']) ? $data['org_id'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; diff --git a/src/InfluxDB2/Model/LabelMapping.php b/src/InfluxDB2/Model/LabelMapping.php index de4f9a76..af35b6fb 100644 --- a/src/InfluxDB2/Model/LabelMapping.php +++ b/src/InfluxDB2/Model/LabelMapping.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label_id'] = isset($data['label_id']) ? $data['label_id'] : null; } diff --git a/src/InfluxDB2/Model/LabelResponse.php b/src/InfluxDB2/Model/LabelResponse.php index e1a62e9f..0bba45bd 100644 --- a/src/InfluxDB2/Model/LabelResponse.php +++ b/src/InfluxDB2/Model/LabelResponse.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = isset($data['label']) ? $data['label'] : null; $this->container['links'] = isset($data['links']) ? $data['links'] : null; diff --git a/src/InfluxDB2/Model/LabelUpdate.php b/src/InfluxDB2/Model/LabelUpdate.php index 3e16d09a..020e51cc 100644 --- a/src/InfluxDB2/Model/LabelUpdate.php +++ b/src/InfluxDB2/Model/LabelUpdate.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['properties'] = isset($data['properties']) ? $data['properties'] : null; diff --git a/src/InfluxDB2/Model/LabelsResponse.php b/src/InfluxDB2/Model/LabelsResponse.php index 13984321..3e747517 100644 --- a/src/InfluxDB2/Model/LabelsResponse.php +++ b/src/InfluxDB2/Model/LabelsResponse.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['labels'] = isset($data['labels']) ? $data['labels'] : null; $this->container['links'] = isset($data['links']) ? $data['links'] : null; diff --git a/src/InfluxDB2/Model/LanguageRequest.php b/src/InfluxDB2/Model/LanguageRequest.php index 2d37a596..ffcaa4bd 100644 --- a/src/InfluxDB2/Model/LanguageRequest.php +++ b/src/InfluxDB2/Model/LanguageRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -159,9 +159,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -176,7 +176,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['query'] = isset($data['query']) ? $data['query'] : null; } diff --git a/src/InfluxDB2/Model/LesserThreshold.php b/src/InfluxDB2/Model/LesserThreshold.php index f29a0b23..f695282e 100644 --- a/src/InfluxDB2/Model/LesserThreshold.php +++ b/src/InfluxDB2/Model/LesserThreshold.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class LesserThreshold extends Threshold +class LesserThreshold extends Threshold { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() } const TYPE_LESSER = 'lesser'; - - + + /** * Gets allowable values of the enum * @@ -176,7 +176,7 @@ public function getTypeAllowableValues() self::TYPE_LESSER, ]; } - + /** @@ -185,7 +185,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/LinePlusSingleStatProperties.php b/src/InfluxDB2/Model/LinePlusSingleStatProperties.php index 088ef80f..2dbf49ec 100644 --- a/src/InfluxDB2/Model/LinePlusSingleStatProperties.php +++ b/src/InfluxDB2/Model/LinePlusSingleStatProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class LinePlusSingleStatProperties extends ViewProperties +class LinePlusSingleStatProperties extends ViewProperties { const DISCRIMINATOR = null; @@ -309,9 +309,9 @@ public function getModelName() const HOVER_DIMENSION_XY = 'xy'; const POSITION_OVERLAID = 'overlaid'; const POSITION_STACKED = 'stacked'; - - + + /** * Gets allowable values of the enum * @@ -323,7 +323,7 @@ public function getTypeAllowableValues() self::TYPE_LINE_PLUS_SINGLE_STAT, ]; } - + /** * Gets allowable values of the enum * @@ -335,7 +335,7 @@ public function getShapeAllowableValues() self::SHAPE_CHRONOGRAF_V2, ]; } - + /** * Gets allowable values of the enum * @@ -350,7 +350,7 @@ public function getHoverDimensionAllowableValues() self::HOVER_DIMENSION_XY, ]; } - + /** * Gets allowable values of the enum * @@ -363,7 +363,7 @@ public function getPositionAllowableValues() self::POSITION_STACKED, ]; } - + /** @@ -372,7 +372,7 @@ public function getPositionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/LineProtocolError.php b/src/InfluxDB2/Model/LineProtocolError.php index 9bc8f0ec..b76db7c8 100644 --- a/src/InfluxDB2/Model/LineProtocolError.php +++ b/src/InfluxDB2/Model/LineProtocolError.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -184,9 +184,9 @@ public function getModelName() const CODE_INVALID = 'invalid'; const CODE_EMPTY_VALUE = 'empty value'; const CODE_UNAVAILABLE = 'unavailable'; - - + + /** * Gets allowable values of the enum * @@ -203,7 +203,7 @@ public function getCodeAllowableValues() self::CODE_UNAVAILABLE, ]; } - + /** * Associative array for storing property values @@ -218,7 +218,7 @@ public function getCodeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['code'] = isset($data['code']) ? $data['code'] : null; $this->container['message'] = isset($data['message']) ? $data['message'] : null; diff --git a/src/InfluxDB2/Model/LineProtocolLengthError.php b/src/InfluxDB2/Model/LineProtocolLengthError.php index 5e17ead7..c53e3202 100644 --- a/src/InfluxDB2/Model/LineProtocolLengthError.php +++ b/src/InfluxDB2/Model/LineProtocolLengthError.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -164,9 +164,9 @@ public function getModelName() } const CODE_INVALID = 'invalid'; - - + + /** * Gets allowable values of the enum * @@ -178,7 +178,7 @@ public function getCodeAllowableValues() self::CODE_INVALID, ]; } - + /** * Associative array for storing property values @@ -193,7 +193,7 @@ public function getCodeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['code'] = isset($data['code']) ? $data['code'] : CODE_INVALID; $this->container['message'] = isset($data['message']) ? $data['message'] : null; diff --git a/src/InfluxDB2/Model/Links.php b/src/InfluxDB2/Model/Links.php index 354186e8..c6d3b96e 100644 --- a/src/InfluxDB2/Model/Links.php +++ b/src/InfluxDB2/Model/Links.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -169,9 +169,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -186,7 +186,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = isset($data['next']) ? $data['next'] : null; $this->container['self'] = isset($data['self']) ? $data['self'] : null; diff --git a/src/InfluxDB2/Model/ListStacksResponse.php b/src/InfluxDB2/Model/ListStacksResponse.php index 4cfeb76d..accc7936 100644 --- a/src/InfluxDB2/Model/ListStacksResponse.php +++ b/src/InfluxDB2/Model/ListStacksResponse.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['stacks'] = isset($data['stacks']) ? $data['stacks'] : null; } diff --git a/src/InfluxDB2/Model/LogEvent.php b/src/InfluxDB2/Model/LogEvent.php index 5604987f..90c11098 100644 --- a/src/InfluxDB2/Model/LogEvent.php +++ b/src/InfluxDB2/Model/LogEvent.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['time'] = isset($data['time']) ? $data['time'] : null; $this->container['message'] = isset($data['message']) ? $data['message'] : null; diff --git a/src/InfluxDB2/Model/LogicalExpression.php b/src/InfluxDB2/Model/LogicalExpression.php index 42bef15f..062a5284 100644 --- a/src/InfluxDB2/Model/LogicalExpression.php +++ b/src/InfluxDB2/Model/LogicalExpression.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class LogicalExpression extends Expression +class LogicalExpression extends Expression { const DISCRIMINATOR = null; @@ -172,9 +172,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -183,7 +183,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/Logs.php b/src/InfluxDB2/Model/Logs.php index c55b102b..984c8335 100644 --- a/src/InfluxDB2/Model/Logs.php +++ b/src/InfluxDB2/Model/Logs.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['events'] = isset($data['events']) ? $data['events'] : null; } diff --git a/src/InfluxDB2/Model/MapVariableProperties.php b/src/InfluxDB2/Model/MapVariableProperties.php index 49929346..9592ab97 100644 --- a/src/InfluxDB2/Model/MapVariableProperties.php +++ b/src/InfluxDB2/Model/MapVariableProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class MapVariableProperties extends VariableProperties +class MapVariableProperties extends VariableProperties { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() } const TYPE_MAP = 'map'; - - + + /** * Gets allowable values of the enum * @@ -176,7 +176,7 @@ public function getTypeAllowableValues() self::TYPE_MAP, ]; } - + /** @@ -185,7 +185,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/MarkdownViewProperties.php b/src/InfluxDB2/Model/MarkdownViewProperties.php index d5af0910..0af4ce01 100644 --- a/src/InfluxDB2/Model/MarkdownViewProperties.php +++ b/src/InfluxDB2/Model/MarkdownViewProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class MarkdownViewProperties extends ViewProperties +class MarkdownViewProperties extends ViewProperties { const DISCRIMINATOR = null; @@ -168,9 +168,9 @@ public function getModelName() const TYPE_MARKDOWN = 'markdown'; const SHAPE_CHRONOGRAF_V2 = 'chronograf-v2'; - - + + /** * Gets allowable values of the enum * @@ -182,7 +182,7 @@ public function getTypeAllowableValues() self::TYPE_MARKDOWN, ]; } - + /** * Gets allowable values of the enum * @@ -194,7 +194,7 @@ public function getShapeAllowableValues() self::SHAPE_CHRONOGRAF_V2, ]; } - + /** @@ -203,7 +203,7 @@ public function getShapeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/MemberAssignment.php b/src/InfluxDB2/Model/MemberAssignment.php index 33246cc0..e0519a54 100644 --- a/src/InfluxDB2/Model/MemberAssignment.php +++ b/src/InfluxDB2/Model/MemberAssignment.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class MemberAssignment extends Statement +class MemberAssignment extends Statement { const DISCRIMINATOR = null; @@ -167,9 +167,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -178,7 +178,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/MemberExpression.php b/src/InfluxDB2/Model/MemberExpression.php index 9a350805..03c7c53a 100644 --- a/src/InfluxDB2/Model/MemberExpression.php +++ b/src/InfluxDB2/Model/MemberExpression.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class MemberExpression extends Expression +class MemberExpression extends Expression { const DISCRIMINATOR = null; @@ -167,9 +167,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -178,7 +178,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/MetadataBackup.php b/src/InfluxDB2/Model/MetadataBackup.php index ae33120d..019d97b1 100644 --- a/src/InfluxDB2/Model/MetadataBackup.php +++ b/src/InfluxDB2/Model/MetadataBackup.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['kv'] = isset($data['kv']) ? $data['kv'] : null; $this->container['sql'] = isset($data['sql']) ? $data['sql'] : null; diff --git a/src/InfluxDB2/Model/MosaicViewProperties.php b/src/InfluxDB2/Model/MosaicViewProperties.php index 0fbbd0dc..6ebd68dc 100644 --- a/src/InfluxDB2/Model/MosaicViewProperties.php +++ b/src/InfluxDB2/Model/MosaicViewProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class MosaicViewProperties extends ViewProperties +class MosaicViewProperties extends ViewProperties { const DISCRIMINATOR = null; @@ -302,9 +302,9 @@ public function getModelName() const HOVER_DIMENSION_X = 'x'; const HOVER_DIMENSION_Y = 'y'; const HOVER_DIMENSION_XY = 'xy'; - - + + /** * Gets allowable values of the enum * @@ -316,7 +316,7 @@ public function getTypeAllowableValues() self::TYPE_MOSAIC, ]; } - + /** * Gets allowable values of the enum * @@ -328,7 +328,7 @@ public function getShapeAllowableValues() self::SHAPE_CHRONOGRAF_V2, ]; } - + /** * Gets allowable values of the enum * @@ -343,7 +343,7 @@ public function getHoverDimensionAllowableValues() self::HOVER_DIMENSION_XY, ]; } - + /** @@ -352,7 +352,7 @@ public function getHoverDimensionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/Node.php b/src/InfluxDB2/Model/Node.php index 5f753f5b..8fbef984 100644 --- a/src/InfluxDB2/Model/Node.php +++ b/src/InfluxDB2/Model/Node.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -57,7 +57,7 @@ class Node implements ModelInterface, ArrayAccess * @var string[] */ protected static $openAPITypes = [ - + ]; /** @@ -66,7 +66,7 @@ class Node implements ModelInterface, ArrayAccess * @var string[] */ protected static $openAPIFormats = [ - + ]; /** @@ -96,7 +96,7 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - + ]; /** @@ -105,7 +105,7 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - + ]; /** @@ -114,7 +114,7 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - + ]; /** @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { } diff --git a/src/InfluxDB2/Model/NotificationEndpoint.php b/src/InfluxDB2/Model/NotificationEndpoint.php index 5a63cf9e..fb70a19d 100644 --- a/src/InfluxDB2/Model/NotificationEndpoint.php +++ b/src/InfluxDB2/Model/NotificationEndpoint.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class NotificationEndpoint extends NotificationEndpointDiscriminator +class NotificationEndpoint extends NotificationEndpointDiscriminator { const DISCRIMINATOR = 'type'; @@ -55,7 +55,7 @@ class NotificationEndpoint extends NotificationEndpointDiscriminator * @var string[] */ protected static $openAPITypes = [ - + ]; /** @@ -64,7 +64,7 @@ class NotificationEndpoint extends NotificationEndpointDiscriminator * @var string[] */ protected static $openAPIFormats = [ - + ]; /** @@ -94,7 +94,7 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - + ]; /** @@ -103,7 +103,7 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - + ]; /** @@ -112,7 +112,7 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - + ]; /** @@ -156,9 +156,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -167,7 +167,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/NotificationEndpointBase.php b/src/InfluxDB2/Model/NotificationEndpointBase.php index 4f1f5e9f..b4344a84 100644 --- a/src/InfluxDB2/Model/NotificationEndpointBase.php +++ b/src/InfluxDB2/Model/NotificationEndpointBase.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -210,9 +210,9 @@ public function getModelName() const STATUS_ACTIVE = 'active'; const STATUS_INACTIVE = 'inactive'; - - + + /** * Gets allowable values of the enum * @@ -225,7 +225,7 @@ public function getStatusAllowableValues() self::STATUS_INACTIVE, ]; } - + /** * Associative array for storing property values @@ -240,7 +240,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + 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; diff --git a/src/InfluxDB2/Model/NotificationEndpointBaseLinks.php b/src/InfluxDB2/Model/NotificationEndpointBaseLinks.php index 54828a06..a14d4cc7 100644 --- a/src/InfluxDB2/Model/NotificationEndpointBaseLinks.php +++ b/src/InfluxDB2/Model/NotificationEndpointBaseLinks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -173,9 +173,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; $this->container['labels'] = isset($data['labels']) ? $data['labels'] : null; diff --git a/src/InfluxDB2/Model/NotificationEndpointDiscriminator.php b/src/InfluxDB2/Model/NotificationEndpointDiscriminator.php index 9cf492c8..4df7a868 100644 --- a/src/InfluxDB2/Model/NotificationEndpointDiscriminator.php +++ b/src/InfluxDB2/Model/NotificationEndpointDiscriminator.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class NotificationEndpointDiscriminator extends NotificationEndpointBase +class NotificationEndpointDiscriminator extends NotificationEndpointBase { const DISCRIMINATOR = 'type'; @@ -55,7 +55,7 @@ class NotificationEndpointDiscriminator extends NotificationEndpointBase * @var string[] */ protected static $openAPITypes = [ - + ]; /** @@ -64,7 +64,7 @@ class NotificationEndpointDiscriminator extends NotificationEndpointBase * @var string[] */ protected static $openAPIFormats = [ - + ]; /** @@ -94,7 +94,7 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - + ]; /** @@ -103,7 +103,7 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - + ]; /** @@ -112,7 +112,7 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - + ]; /** @@ -156,9 +156,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -167,7 +167,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/NotificationEndpointUpdate.php b/src/InfluxDB2/Model/NotificationEndpointUpdate.php index 8345ab08..cde47397 100644 --- a/src/InfluxDB2/Model/NotificationEndpointUpdate.php +++ b/src/InfluxDB2/Model/NotificationEndpointUpdate.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -170,9 +170,9 @@ public function getModelName() const STATUS_ACTIVE = 'active'; const STATUS_INACTIVE = 'inactive'; - - + + /** * Gets allowable values of the enum * @@ -185,7 +185,7 @@ public function getStatusAllowableValues() self::STATUS_INACTIVE, ]; } - + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/NotificationEndpoints.php b/src/InfluxDB2/Model/NotificationEndpoints.php index 850d3365..9fe92479 100644 --- a/src/InfluxDB2/Model/NotificationEndpoints.php +++ b/src/InfluxDB2/Model/NotificationEndpoints.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['notification_endpoints'] = isset($data['notification_endpoints']) ? $data['notification_endpoints'] : null; $this->container['links'] = isset($data['links']) ? $data['links'] : null; diff --git a/src/InfluxDB2/Model/NotificationRule.php b/src/InfluxDB2/Model/NotificationRule.php index d00283a4..91b37535 100644 --- a/src/InfluxDB2/Model/NotificationRule.php +++ b/src/InfluxDB2/Model/NotificationRule.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class NotificationRule extends NotificationRuleDiscriminator +class NotificationRule extends NotificationRuleDiscriminator { const DISCRIMINATOR = 'type'; @@ -55,7 +55,7 @@ class NotificationRule extends NotificationRuleDiscriminator * @var string[] */ protected static $openAPITypes = [ - + ]; /** @@ -64,7 +64,7 @@ class NotificationRule extends NotificationRuleDiscriminator * @var string[] */ protected static $openAPIFormats = [ - + ]; /** @@ -94,7 +94,7 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - + ]; /** @@ -103,7 +103,7 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - + ]; /** @@ -112,7 +112,7 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - + ]; /** @@ -156,9 +156,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -167,7 +167,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/NotificationRuleBase.php b/src/InfluxDB2/Model/NotificationRuleBase.php index 90c3c83a..f7d41dfa 100644 --- a/src/InfluxDB2/Model/NotificationRuleBase.php +++ b/src/InfluxDB2/Model/NotificationRuleBase.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -271,9 +271,9 @@ public function getModelName() const LAST_RUN_STATUS_FAILED = 'failed'; const LAST_RUN_STATUS_SUCCESS = 'success'; const LAST_RUN_STATUS_CANCELED = 'canceled'; - - + + /** * Gets allowable values of the enum * @@ -287,7 +287,7 @@ public function getLastRunStatusAllowableValues() self::LAST_RUN_STATUS_CANCELED, ]; } - + /** * Associative array for storing property values @@ -302,7 +302,7 @@ public function getLastRunStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['latest_completed'] = isset($data['latest_completed']) ? $data['latest_completed'] : null; $this->container['last_run_status'] = isset($data['last_run_status']) ? $data['last_run_status'] : null; diff --git a/src/InfluxDB2/Model/NotificationRuleBaseLinks.php b/src/InfluxDB2/Model/NotificationRuleBaseLinks.php index bec8fb87..7c3e7207 100644 --- a/src/InfluxDB2/Model/NotificationRuleBaseLinks.php +++ b/src/InfluxDB2/Model/NotificationRuleBaseLinks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -178,9 +178,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -195,7 +195,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; $this->container['labels'] = isset($data['labels']) ? $data['labels'] : null; diff --git a/src/InfluxDB2/Model/NotificationRuleDiscriminator.php b/src/InfluxDB2/Model/NotificationRuleDiscriminator.php index 03a6048f..590801b7 100644 --- a/src/InfluxDB2/Model/NotificationRuleDiscriminator.php +++ b/src/InfluxDB2/Model/NotificationRuleDiscriminator.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class NotificationRuleDiscriminator extends NotificationRuleBase +class NotificationRuleDiscriminator extends NotificationRuleBase { const DISCRIMINATOR = 'type'; @@ -55,7 +55,7 @@ class NotificationRuleDiscriminator extends NotificationRuleBase * @var string[] */ protected static $openAPITypes = [ - + ]; /** @@ -64,7 +64,7 @@ class NotificationRuleDiscriminator extends NotificationRuleBase * @var string[] */ protected static $openAPIFormats = [ - + ]; /** @@ -94,7 +94,7 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - + ]; /** @@ -103,7 +103,7 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - + ]; /** @@ -112,7 +112,7 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - + ]; /** @@ -156,9 +156,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -167,7 +167,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/NotificationRuleUpdate.php b/src/InfluxDB2/Model/NotificationRuleUpdate.php index 2ff7cc58..1a8189db 100644 --- a/src/InfluxDB2/Model/NotificationRuleUpdate.php +++ b/src/InfluxDB2/Model/NotificationRuleUpdate.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -170,9 +170,9 @@ public function getModelName() const STATUS_ACTIVE = 'active'; const STATUS_INACTIVE = 'inactive'; - - + + /** * Gets allowable values of the enum * @@ -185,7 +185,7 @@ public function getStatusAllowableValues() self::STATUS_INACTIVE, ]; } - + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/NotificationRules.php b/src/InfluxDB2/Model/NotificationRules.php index 670abea6..08fecf57 100644 --- a/src/InfluxDB2/Model/NotificationRules.php +++ b/src/InfluxDB2/Model/NotificationRules.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['notification_rules'] = isset($data['notification_rules']) ? $data['notification_rules'] : null; $this->container['links'] = isset($data['links']) ? $data['links'] : null; diff --git a/src/InfluxDB2/Model/ObjectExpression.php b/src/InfluxDB2/Model/ObjectExpression.php index bcca2c7b..dbdaf34a 100644 --- a/src/InfluxDB2/Model/ObjectExpression.php +++ b/src/InfluxDB2/Model/ObjectExpression.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class ObjectExpression extends Expression +class ObjectExpression extends Expression { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/OnboardingRequest.php b/src/InfluxDB2/Model/OnboardingRequest.php index c822a98c..18565445 100644 --- a/src/InfluxDB2/Model/OnboardingRequest.php +++ b/src/InfluxDB2/Model/OnboardingRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -188,9 +188,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -205,7 +205,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['username'] = isset($data['username']) ? $data['username'] : null; $this->container['password'] = isset($data['password']) ? $data['password'] : null; diff --git a/src/InfluxDB2/Model/OnboardingResponse.php b/src/InfluxDB2/Model/OnboardingResponse.php index 63af415b..82904514 100644 --- a/src/InfluxDB2/Model/OnboardingResponse.php +++ b/src/InfluxDB2/Model/OnboardingResponse.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -173,9 +173,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['user'] = isset($data['user']) ? $data['user'] : null; $this->container['org'] = isset($data['org']) ? $data['org'] : null; diff --git a/src/InfluxDB2/Model/OptionStatement.php b/src/InfluxDB2/Model/OptionStatement.php index 0cc88f11..827182ca 100644 --- a/src/InfluxDB2/Model/OptionStatement.php +++ b/src/InfluxDB2/Model/OptionStatement.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class OptionStatement extends Statement +class OptionStatement extends Statement { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/Organization.php b/src/InfluxDB2/Model/Organization.php index 2e50da78..e0aa2802 100644 --- a/src/InfluxDB2/Model/Organization.php +++ b/src/InfluxDB2/Model/Organization.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -190,9 +190,9 @@ public function getModelName() const STATUS_ACTIVE = 'active'; const STATUS_INACTIVE = 'inactive'; - - + + /** * Gets allowable values of the enum * @@ -205,7 +205,7 @@ public function getStatusAllowableValues() self::STATUS_INACTIVE, ]; } - + /** * Associative array for storing property values @@ -220,7 +220,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['id'] = isset($data['id']) ? $data['id'] : null; diff --git a/src/InfluxDB2/Model/OrganizationLinks.php b/src/InfluxDB2/Model/OrganizationLinks.php index 195508cc..6a376e0d 100644 --- a/src/InfluxDB2/Model/OrganizationLinks.php +++ b/src/InfluxDB2/Model/OrganizationLinks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -193,9 +193,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -210,7 +210,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; $this->container['members'] = isset($data['members']) ? $data['members'] : null; diff --git a/src/InfluxDB2/Model/Organizations.php b/src/InfluxDB2/Model/Organizations.php index 5aeee269..832c1cae 100644 --- a/src/InfluxDB2/Model/Organizations.php +++ b/src/InfluxDB2/Model/Organizations.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['orgs'] = isset($data['orgs']) ? $data['orgs'] : null; diff --git a/src/InfluxDB2/Model/Package.php b/src/InfluxDB2/Model/Package.php index bd4c6fe4..ce331ab9 100644 --- a/src/InfluxDB2/Model/Package.php +++ b/src/InfluxDB2/Model/Package.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -174,9 +174,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -191,7 +191,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['path'] = isset($data['path']) ? $data['path'] : null; diff --git a/src/InfluxDB2/Model/PackageClause.php b/src/InfluxDB2/Model/PackageClause.php index 69bf33c7..55b67b8c 100644 --- a/src/InfluxDB2/Model/PackageClause.php +++ b/src/InfluxDB2/Model/PackageClause.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -164,9 +164,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -181,7 +181,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; diff --git a/src/InfluxDB2/Model/PagerDutyNotificationEndpoint.php b/src/InfluxDB2/Model/PagerDutyNotificationEndpoint.php index 2fd24076..b31a0ccc 100644 --- a/src/InfluxDB2/Model/PagerDutyNotificationEndpoint.php +++ b/src/InfluxDB2/Model/PagerDutyNotificationEndpoint.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class PagerDutyNotificationEndpoint extends NotificationEndpoint +class PagerDutyNotificationEndpoint extends NotificationEndpoint { const DISCRIMINATOR = null; @@ -161,9 +161,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -172,7 +172,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/PagerDutyNotificationRule.php b/src/InfluxDB2/Model/PagerDutyNotificationRule.php index 2a61a1f5..b09dab3a 100644 --- a/src/InfluxDB2/Model/PagerDutyNotificationRule.php +++ b/src/InfluxDB2/Model/PagerDutyNotificationRule.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class PagerDutyNotificationRule extends PagerDutyNotificationRuleBase +class PagerDutyNotificationRule extends PagerDutyNotificationRuleBase { const DISCRIMINATOR = null; @@ -55,7 +55,7 @@ class PagerDutyNotificationRule extends PagerDutyNotificationRuleBase * @var string[] */ protected static $openAPITypes = [ - + ]; /** @@ -64,7 +64,7 @@ class PagerDutyNotificationRule extends PagerDutyNotificationRuleBase * @var string[] */ protected static $openAPIFormats = [ - + ]; /** @@ -94,7 +94,7 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - + ]; /** @@ -103,7 +103,7 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - + ]; /** @@ -112,7 +112,7 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - + ]; /** @@ -156,9 +156,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -167,7 +167,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/PagerDutyNotificationRuleBase.php b/src/InfluxDB2/Model/PagerDutyNotificationRuleBase.php index c0f50050..981ef852 100644 --- a/src/InfluxDB2/Model/PagerDutyNotificationRuleBase.php +++ b/src/InfluxDB2/Model/PagerDutyNotificationRuleBase.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class PagerDutyNotificationRuleBase extends NotificationRule +class PagerDutyNotificationRuleBase extends NotificationRule { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() } const TYPE_PAGERDUTY = 'pagerduty'; - - + + /** * Gets allowable values of the enum * @@ -176,7 +176,7 @@ public function getTypeAllowableValues() self::TYPE_PAGERDUTY, ]; } - + /** @@ -185,7 +185,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/ParenExpression.php b/src/InfluxDB2/Model/ParenExpression.php index 01916efd..22e3cf37 100644 --- a/src/InfluxDB2/Model/ParenExpression.php +++ b/src/InfluxDB2/Model/ParenExpression.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class ParenExpression extends Expression +class ParenExpression extends Expression { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/PasswordResetBody.php b/src/InfluxDB2/Model/PasswordResetBody.php index bf5690b1..21f5fe90 100644 --- a/src/InfluxDB2/Model/PasswordResetBody.php +++ b/src/InfluxDB2/Model/PasswordResetBody.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['password'] = isset($data['password']) ? $data['password'] : null; } diff --git a/src/InfluxDB2/Model/PatchBucketRequest.php b/src/InfluxDB2/Model/PatchBucketRequest.php index 22dd48ec..595c1b37 100644 --- a/src/InfluxDB2/Model/PatchBucketRequest.php +++ b/src/InfluxDB2/Model/PatchBucketRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -169,9 +169,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -186,7 +186,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/PatchDashboardRequest.php b/src/InfluxDB2/Model/PatchDashboardRequest.php index 367f97c3..70d320b0 100644 --- a/src/InfluxDB2/Model/PatchDashboardRequest.php +++ b/src/InfluxDB2/Model/PatchDashboardRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/PatchOrganizationRequest.php b/src/InfluxDB2/Model/PatchOrganizationRequest.php index f31ff32c..e0ddd1ee 100644 --- a/src/InfluxDB2/Model/PatchOrganizationRequest.php +++ b/src/InfluxDB2/Model/PatchOrganizationRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/PatchRetentionRule.php b/src/InfluxDB2/Model/PatchRetentionRule.php index ffd116d9..5c350d84 100644 --- a/src/InfluxDB2/Model/PatchRetentionRule.php +++ b/src/InfluxDB2/Model/PatchRetentionRule.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -169,9 +169,9 @@ public function getModelName() } const TYPE_EXPIRE = 'expire'; - - + + /** * Gets allowable values of the enum * @@ -183,7 +183,7 @@ public function getTypeAllowableValues() self::TYPE_EXPIRE, ]; } - + /** * Associative array for storing property values @@ -198,7 +198,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = isset($data['type']) ? $data['type'] : 'expire'; $this->container['every_seconds'] = isset($data['every_seconds']) ? $data['every_seconds'] : 2592000; diff --git a/src/InfluxDB2/Model/PatchStackRequest.php b/src/InfluxDB2/Model/PatchStackRequest.php index 90473433..7a873211 100644 --- a/src/InfluxDB2/Model/PatchStackRequest.php +++ b/src/InfluxDB2/Model/PatchStackRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -173,9 +173,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/PatchStackRequest1.php b/src/InfluxDB2/Model/PatchStackRequest1.php index f24c1908..00967fcc 100644 --- a/src/InfluxDB2/Model/PatchStackRequest1.php +++ b/src/InfluxDB2/Model/PatchStackRequest1.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -173,9 +173,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/PatchStackRequestAdditionalResources.php b/src/InfluxDB2/Model/PatchStackRequestAdditionalResources.php index 8b8ca7de..d3c59855 100644 --- a/src/InfluxDB2/Model/PatchStackRequestAdditionalResources.php +++ b/src/InfluxDB2/Model/PatchStackRequestAdditionalResources.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['resource_id'] = isset($data['resource_id']) ? $data['resource_id'] : null; $this->container['kind'] = isset($data['kind']) ? $data['kind'] : null; diff --git a/src/InfluxDB2/Model/Permission.php b/src/InfluxDB2/Model/Permission.php index 4fe92ce0..07c07ba7 100644 --- a/src/InfluxDB2/Model/Permission.php +++ b/src/InfluxDB2/Model/Permission.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -165,9 +165,9 @@ public function getModelName() const ACTION_READ = 'read'; const ACTION_WRITE = 'write'; - - + + /** * Gets allowable values of the enum * @@ -180,7 +180,7 @@ public function getActionAllowableValues() self::ACTION_WRITE, ]; } - + /** * Associative array for storing property values @@ -195,7 +195,7 @@ public function getActionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['action'] = isset($data['action']) ? $data['action'] : null; $this->container['resource'] = isset($data['resource']) ? $data['resource'] : null; diff --git a/src/InfluxDB2/Model/PermissionResource.php b/src/InfluxDB2/Model/PermissionResource.php index c0ccf192..c12f79b1 100644 --- a/src/InfluxDB2/Model/PermissionResource.php +++ b/src/InfluxDB2/Model/PermissionResource.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -203,9 +203,9 @@ public function getModelName() const TYPE_INSTANCE = 'instance'; const TYPE_FLOWS = 'flows'; const TYPE_FUNCTIONS = 'functions'; - - + + /** * Gets allowable values of the enum * @@ -241,7 +241,7 @@ public function getTypeAllowableValues() self::TYPE_FUNCTIONS, ]; } - + /** * Associative array for storing property values @@ -256,7 +256,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['id'] = isset($data['id']) ? $data['id'] : null; diff --git a/src/InfluxDB2/Model/PipeExpression.php b/src/InfluxDB2/Model/PipeExpression.php index bb6cfbf2..30453a16 100644 --- a/src/InfluxDB2/Model/PipeExpression.php +++ b/src/InfluxDB2/Model/PipeExpression.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class PipeExpression extends Expression +class PipeExpression extends Expression { const DISCRIMINATOR = null; @@ -167,9 +167,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -178,7 +178,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/PipeLiteral.php b/src/InfluxDB2/Model/PipeLiteral.php index 1afba473..2af0bf06 100644 --- a/src/InfluxDB2/Model/PipeLiteral.php +++ b/src/InfluxDB2/Model/PipeLiteral.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class PipeLiteral extends Expression +class PipeLiteral extends Expression { const DISCRIMINATOR = null; @@ -157,9 +157,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -168,7 +168,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/PostBucketRequest.php b/src/InfluxDB2/Model/PostBucketRequest.php index 436c5056..1ffdc1ea 100644 --- a/src/InfluxDB2/Model/PostBucketRequest.php +++ b/src/InfluxDB2/Model/PostBucketRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['org_id'] = isset($data['org_id']) ? $data['org_id'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; diff --git a/src/InfluxDB2/Model/PostOrganizationRequest.php b/src/InfluxDB2/Model/PostOrganizationRequest.php index 405d3078..37a72731 100644 --- a/src/InfluxDB2/Model/PostOrganizationRequest.php +++ b/src/InfluxDB2/Model/PostOrganizationRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/PostRestoreKVResponse.php b/src/InfluxDB2/Model/PostRestoreKVResponse.php index 437a0e06..fd8e8e37 100644 --- a/src/InfluxDB2/Model/PostRestoreKVResponse.php +++ b/src/InfluxDB2/Model/PostRestoreKVResponse.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['token'] = isset($data['token']) ? $data['token'] : null; } diff --git a/src/InfluxDB2/Model/PostStackRequest.php b/src/InfluxDB2/Model/PostStackRequest.php index 53a0eb01..c4cfe3a5 100644 --- a/src/InfluxDB2/Model/PostStackRequest.php +++ b/src/InfluxDB2/Model/PostStackRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -173,9 +173,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['org_id'] = isset($data['org_id']) ? $data['org_id'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; diff --git a/src/InfluxDB2/Model/PostStackRequest1.php b/src/InfluxDB2/Model/PostStackRequest1.php index 7dc53300..7b78a275 100644 --- a/src/InfluxDB2/Model/PostStackRequest1.php +++ b/src/InfluxDB2/Model/PostStackRequest1.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -173,9 +173,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['org_id'] = isset($data['org_id']) ? $data['org_id'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; diff --git a/src/InfluxDB2/Model/PostUser.php b/src/InfluxDB2/Model/PostUser.php index cdbb7421..f2cfc7fc 100644 --- a/src/InfluxDB2/Model/PostUser.php +++ b/src/InfluxDB2/Model/PostUser.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -175,9 +175,9 @@ public function getModelName() const STATUS_ACTIVE = 'active'; const STATUS_INACTIVE = 'inactive'; - - + + /** * Gets allowable values of the enum * @@ -190,7 +190,7 @@ public function getStatusAllowableValues() self::STATUS_INACTIVE, ]; } - + /** * Associative array for storing property values @@ -205,7 +205,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['oauth_id'] = isset($data['oauth_id']) ? $data['oauth_id'] : null; diff --git a/src/InfluxDB2/Model/Property.php b/src/InfluxDB2/Model/Property.php index b4e8c529..cc3503d9 100644 --- a/src/InfluxDB2/Model/Property.php +++ b/src/InfluxDB2/Model/Property.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -169,9 +169,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -186,7 +186,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['key'] = isset($data['key']) ? $data['key'] : null; diff --git a/src/InfluxDB2/Model/PropertyKey.php b/src/InfluxDB2/Model/PropertyKey.php index c7a2950b..abcb906e 100644 --- a/src/InfluxDB2/Model/PropertyKey.php +++ b/src/InfluxDB2/Model/PropertyKey.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class PropertyKey extends Expression +class PropertyKey extends Expression { const DISCRIMINATOR = null; @@ -55,7 +55,7 @@ class PropertyKey extends Expression * @var string[] */ protected static $openAPITypes = [ - + ]; /** @@ -64,7 +64,7 @@ class PropertyKey extends Expression * @var string[] */ protected static $openAPIFormats = [ - + ]; /** @@ -94,7 +94,7 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - + ]; /** @@ -103,7 +103,7 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - + ]; /** @@ -112,7 +112,7 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - + ]; /** @@ -156,9 +156,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -167,7 +167,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/Query.php b/src/InfluxDB2/Model/Query.php index 46c72190..d280aefe 100644 --- a/src/InfluxDB2/Model/Query.php +++ b/src/InfluxDB2/Model/Query.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -185,9 +185,9 @@ public function getModelName() } const TYPE_FLUX = 'flux'; - - + + /** * Gets allowable values of the enum * @@ -199,7 +199,7 @@ public function getTypeAllowableValues() self::TYPE_FLUX, ]; } - + /** * Associative array for storing property values @@ -214,7 +214,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['extern'] = isset($data['extern']) ? $data['extern'] : null; $this->container['query'] = isset($data['query']) ? $data['query'] : null; diff --git a/src/InfluxDB2/Model/QueryVariableProperties.php b/src/InfluxDB2/Model/QueryVariableProperties.php index 70ef3ca9..d4a08d66 100644 --- a/src/InfluxDB2/Model/QueryVariableProperties.php +++ b/src/InfluxDB2/Model/QueryVariableProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class QueryVariableProperties extends VariableProperties +class QueryVariableProperties extends VariableProperties { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() } const TYPE_QUERY = 'query'; - - + + /** * Gets allowable values of the enum * @@ -176,7 +176,7 @@ public function getTypeAllowableValues() self::TYPE_QUERY, ]; } - + /** @@ -185,7 +185,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/QueryVariablePropertiesValues.php b/src/InfluxDB2/Model/QueryVariablePropertiesValues.php index 30606e6f..5aabbdc2 100644 --- a/src/InfluxDB2/Model/QueryVariablePropertiesValues.php +++ b/src/InfluxDB2/Model/QueryVariablePropertiesValues.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['query'] = isset($data['query']) ? $data['query'] : null; $this->container['language'] = isset($data['language']) ? $data['language'] : null; diff --git a/src/InfluxDB2/Model/RangeThreshold.php b/src/InfluxDB2/Model/RangeThreshold.php index c9b328bd..bb79e7b5 100644 --- a/src/InfluxDB2/Model/RangeThreshold.php +++ b/src/InfluxDB2/Model/RangeThreshold.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class RangeThreshold extends Threshold +class RangeThreshold extends Threshold { const DISCRIMINATOR = null; @@ -172,9 +172,9 @@ public function getModelName() } const TYPE_RANGE = 'range'; - - + + /** * Gets allowable values of the enum * @@ -186,7 +186,7 @@ public function getTypeAllowableValues() self::TYPE_RANGE, ]; } - + /** @@ -195,7 +195,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/Ready.php b/src/InfluxDB2/Model/Ready.php index 1f664df1..f9a0615e 100644 --- a/src/InfluxDB2/Model/Ready.php +++ b/src/InfluxDB2/Model/Ready.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -169,9 +169,9 @@ public function getModelName() } const STATUS_READY = 'ready'; - - + + /** * Gets allowable values of the enum * @@ -183,7 +183,7 @@ public function getStatusAllowableValues() self::STATUS_READY, ]; } - + /** * Associative array for storing property values @@ -198,7 +198,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['started'] = isset($data['started']) ? $data['started'] : null; diff --git a/src/InfluxDB2/Model/RegexpLiteral.php b/src/InfluxDB2/Model/RegexpLiteral.php index 75e5b882..d6621ee2 100644 --- a/src/InfluxDB2/Model/RegexpLiteral.php +++ b/src/InfluxDB2/Model/RegexpLiteral.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class RegexpLiteral extends Expression +class RegexpLiteral extends Expression { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/RemoteConnection.php b/src/InfluxDB2/Model/RemoteConnection.php index b321dd99..f9dc85b7 100644 --- a/src/InfluxDB2/Model/RemoteConnection.php +++ b/src/InfluxDB2/Model/RemoteConnection.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -188,9 +188,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -205,7 +205,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; diff --git a/src/InfluxDB2/Model/RemoteConnectionCreationRequest.php b/src/InfluxDB2/Model/RemoteConnectionCreationRequest.php index ca523024..2bbd85b5 100644 --- a/src/InfluxDB2/Model/RemoteConnectionCreationRequest.php +++ b/src/InfluxDB2/Model/RemoteConnectionCreationRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -188,9 +188,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -205,7 +205,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/RemoteConnectionUpdateRequest.php b/src/InfluxDB2/Model/RemoteConnectionUpdateRequest.php index 5fcb4fbf..b1b84d3a 100644 --- a/src/InfluxDB2/Model/RemoteConnectionUpdateRequest.php +++ b/src/InfluxDB2/Model/RemoteConnectionUpdateRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/RemoteConnections.php b/src/InfluxDB2/Model/RemoteConnections.php index c69bf286..e526072b 100644 --- a/src/InfluxDB2/Model/RemoteConnections.php +++ b/src/InfluxDB2/Model/RemoteConnections.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['remotes'] = isset($data['remotes']) ? $data['remotes'] : null; } diff --git a/src/InfluxDB2/Model/RenamableField.php b/src/InfluxDB2/Model/RenamableField.php index 478c65f8..246f560c 100644 --- a/src/InfluxDB2/Model/RenamableField.php +++ b/src/InfluxDB2/Model/RenamableField.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -169,9 +169,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -186,7 +186,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['internal_name'] = isset($data['internal_name']) ? $data['internal_name'] : null; $this->container['display_name'] = isset($data['display_name']) ? $data['display_name'] : null; diff --git a/src/InfluxDB2/Model/Replication.php b/src/InfluxDB2/Model/Replication.php index cd3c5cf1..ad3e0914 100644 --- a/src/InfluxDB2/Model/Replication.php +++ b/src/InfluxDB2/Model/Replication.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -218,9 +218,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; diff --git a/src/InfluxDB2/Model/ReplicationCreationRequest.php b/src/InfluxDB2/Model/ReplicationCreationRequest.php index 57055bab..fb472f63 100644 --- a/src/InfluxDB2/Model/ReplicationCreationRequest.php +++ b/src/InfluxDB2/Model/ReplicationCreationRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -203,9 +203,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -220,7 +220,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/ReplicationUpdateRequest.php b/src/InfluxDB2/Model/ReplicationUpdateRequest.php index b15d0cbf..f05c842e 100644 --- a/src/InfluxDB2/Model/ReplicationUpdateRequest.php +++ b/src/InfluxDB2/Model/ReplicationUpdateRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -193,9 +193,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -210,7 +210,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/Replications.php b/src/InfluxDB2/Model/Replications.php index b0efacee..b77ba5aa 100644 --- a/src/InfluxDB2/Model/Replications.php +++ b/src/InfluxDB2/Model/Replications.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['replications'] = isset($data['replications']) ? $data['replications'] : null; } diff --git a/src/InfluxDB2/Model/ResourceMember.php b/src/InfluxDB2/Model/ResourceMember.php index 2218faa7..5e7c1537 100644 --- a/src/InfluxDB2/Model/ResourceMember.php +++ b/src/InfluxDB2/Model/ResourceMember.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class ResourceMember extends User +class ResourceMember extends User { const DISCRIMINATOR = null; @@ -157,9 +157,9 @@ public function getModelName() } const ROLE_MEMBER = 'member'; - - + + /** * Gets allowable values of the enum * @@ -171,7 +171,7 @@ public function getRoleAllowableValues() self::ROLE_MEMBER, ]; } - + /** @@ -180,7 +180,7 @@ public function getRoleAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/ResourceMembers.php b/src/InfluxDB2/Model/ResourceMembers.php index 8ded54e8..8ced4dca 100644 --- a/src/InfluxDB2/Model/ResourceMembers.php +++ b/src/InfluxDB2/Model/ResourceMembers.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['users'] = isset($data['users']) ? $data['users'] : null; diff --git a/src/InfluxDB2/Model/ResourceOwner.php b/src/InfluxDB2/Model/ResourceOwner.php index ad8a0e22..5c52e780 100644 --- a/src/InfluxDB2/Model/ResourceOwner.php +++ b/src/InfluxDB2/Model/ResourceOwner.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class ResourceOwner extends User +class ResourceOwner extends User { const DISCRIMINATOR = null; @@ -157,9 +157,9 @@ public function getModelName() } const ROLE_OWNER = 'owner'; - - + + /** * Gets allowable values of the enum * @@ -171,7 +171,7 @@ public function getRoleAllowableValues() self::ROLE_OWNER, ]; } - + /** @@ -180,7 +180,7 @@ public function getRoleAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/ResourceOwners.php b/src/InfluxDB2/Model/ResourceOwners.php index 981e5651..364a3816 100644 --- a/src/InfluxDB2/Model/ResourceOwners.php +++ b/src/InfluxDB2/Model/ResourceOwners.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['users'] = isset($data['users']) ? $data['users'] : null; diff --git a/src/InfluxDB2/Model/RestoredBucketMappings.php b/src/InfluxDB2/Model/RestoredBucketMappings.php index 8eb8120c..7578c69c 100644 --- a/src/InfluxDB2/Model/RestoredBucketMappings.php +++ b/src/InfluxDB2/Model/RestoredBucketMappings.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; diff --git a/src/InfluxDB2/Model/RetentionPolicyManifest.php b/src/InfluxDB2/Model/RetentionPolicyManifest.php index ee5db4c4..5ba89269 100644 --- a/src/InfluxDB2/Model/RetentionPolicyManifest.php +++ b/src/InfluxDB2/Model/RetentionPolicyManifest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + 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; diff --git a/src/InfluxDB2/Model/ReturnStatement.php b/src/InfluxDB2/Model/ReturnStatement.php index cd70edd4..7c7645db 100644 --- a/src/InfluxDB2/Model/ReturnStatement.php +++ b/src/InfluxDB2/Model/ReturnStatement.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class ReturnStatement extends Statement +class ReturnStatement extends Statement { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/Routes.php b/src/InfluxDB2/Model/Routes.php index d4c282cf..f873f96d 100644 --- a/src/InfluxDB2/Model/Routes.php +++ b/src/InfluxDB2/Model/Routes.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -243,9 +243,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -260,7 +260,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['authorizations'] = isset($data['authorizations']) ? $data['authorizations'] : null; $this->container['buckets'] = isset($data['buckets']) ? $data['buckets'] : null; diff --git a/src/InfluxDB2/Model/RoutesExternal.php b/src/InfluxDB2/Model/RoutesExternal.php index 61a7e100..ea099841 100644 --- a/src/InfluxDB2/Model/RoutesExternal.php +++ b/src/InfluxDB2/Model/RoutesExternal.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status_feed'] = isset($data['status_feed']) ? $data['status_feed'] : null; } diff --git a/src/InfluxDB2/Model/RoutesQuery.php b/src/InfluxDB2/Model/RoutesQuery.php index 61cae178..60e92156 100644 --- a/src/InfluxDB2/Model/RoutesQuery.php +++ b/src/InfluxDB2/Model/RoutesQuery.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -173,9 +173,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; $this->container['ast'] = isset($data['ast']) ? $data['ast'] : null; diff --git a/src/InfluxDB2/Model/RoutesSystem.php b/src/InfluxDB2/Model/RoutesSystem.php index 271a1c84..4242da33 100644 --- a/src/InfluxDB2/Model/RoutesSystem.php +++ b/src/InfluxDB2/Model/RoutesSystem.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['metrics'] = isset($data['metrics']) ? $data['metrics'] : null; $this->container['debug'] = isset($data['debug']) ? $data['debug'] : null; diff --git a/src/InfluxDB2/Model/Run.php b/src/InfluxDB2/Model/Run.php index 6df874ec..b0a1aaa6 100644 --- a/src/InfluxDB2/Model/Run.php +++ b/src/InfluxDB2/Model/Run.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -208,9 +208,9 @@ public function getModelName() const STATUS_FAILED = 'failed'; const STATUS_SUCCESS = 'success'; const STATUS_CANCELED = 'canceled'; - - + + /** * Gets allowable values of the enum * @@ -226,7 +226,7 @@ public function getStatusAllowableValues() self::STATUS_CANCELED, ]; } - + /** * Associative array for storing property values @@ -241,7 +241,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + 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; diff --git a/src/InfluxDB2/Model/RunLinks.php b/src/InfluxDB2/Model/RunLinks.php index a88da387..0b3ccc77 100644 --- a/src/InfluxDB2/Model/RunLinks.php +++ b/src/InfluxDB2/Model/RunLinks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; $this->container['task'] = isset($data['task']) ? $data['task'] : null; diff --git a/src/InfluxDB2/Model/RunManually.php b/src/InfluxDB2/Model/RunManually.php index 8d5f6729..d9aa0430 100644 --- a/src/InfluxDB2/Model/RunManually.php +++ b/src/InfluxDB2/Model/RunManually.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['scheduled_for'] = isset($data['scheduled_for']) ? $data['scheduled_for'] : null; } diff --git a/src/InfluxDB2/Model/Runs.php b/src/InfluxDB2/Model/Runs.php index a5669201..70d3b0c2 100644 --- a/src/InfluxDB2/Model/Runs.php +++ b/src/InfluxDB2/Model/Runs.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['runs'] = isset($data['runs']) ? $data['runs'] : null; diff --git a/src/InfluxDB2/Model/SMTPNotificationRule.php b/src/InfluxDB2/Model/SMTPNotificationRule.php index 2d5584c2..a23ad18a 100644 --- a/src/InfluxDB2/Model/SMTPNotificationRule.php +++ b/src/InfluxDB2/Model/SMTPNotificationRule.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class SMTPNotificationRule extends SMTPNotificationRuleBase +class SMTPNotificationRule extends SMTPNotificationRuleBase { const DISCRIMINATOR = null; @@ -55,7 +55,7 @@ class SMTPNotificationRule extends SMTPNotificationRuleBase * @var string[] */ protected static $openAPITypes = [ - + ]; /** @@ -64,7 +64,7 @@ class SMTPNotificationRule extends SMTPNotificationRuleBase * @var string[] */ protected static $openAPIFormats = [ - + ]; /** @@ -94,7 +94,7 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - + ]; /** @@ -103,7 +103,7 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - + ]; /** @@ -112,7 +112,7 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - + ]; /** @@ -156,9 +156,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -167,7 +167,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/SMTPNotificationRuleBase.php b/src/InfluxDB2/Model/SMTPNotificationRuleBase.php index 7b8d8c05..69a334b9 100644 --- a/src/InfluxDB2/Model/SMTPNotificationRuleBase.php +++ b/src/InfluxDB2/Model/SMTPNotificationRuleBase.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class SMTPNotificationRuleBase extends NotificationRule +class SMTPNotificationRuleBase extends NotificationRule { const DISCRIMINATOR = null; @@ -172,9 +172,9 @@ public function getModelName() } const TYPE_SMTP = 'smtp'; - - + + /** * Gets allowable values of the enum * @@ -186,7 +186,7 @@ public function getTypeAllowableValues() self::TYPE_SMTP, ]; } - + /** @@ -195,7 +195,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/ScatterViewProperties.php b/src/InfluxDB2/Model/ScatterViewProperties.php index b397f17a..12e5a752 100644 --- a/src/InfluxDB2/Model/ScatterViewProperties.php +++ b/src/InfluxDB2/Model/ScatterViewProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class ScatterViewProperties extends ViewProperties +class ScatterViewProperties extends ViewProperties { const DISCRIMINATOR = null; @@ -313,9 +313,9 @@ public function getModelName() const TYPE_SCATTER = 'scatter'; const SHAPE_CHRONOGRAF_V2 = 'chronograf-v2'; - - + + /** * Gets allowable values of the enum * @@ -327,7 +327,7 @@ public function getTypeAllowableValues() self::TYPE_SCATTER, ]; } - + /** * Gets allowable values of the enum * @@ -339,7 +339,7 @@ public function getShapeAllowableValues() self::SHAPE_CHRONOGRAF_V2, ]; } - + /** @@ -348,7 +348,7 @@ public function getShapeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/ScraperTargetRequest.php b/src/InfluxDB2/Model/ScraperTargetRequest.php index 4f0bfe23..62129998 100644 --- a/src/InfluxDB2/Model/ScraperTargetRequest.php +++ b/src/InfluxDB2/Model/ScraperTargetRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -184,9 +184,9 @@ public function getModelName() } const TYPE_PROMETHEUS = 'prometheus'; - - + + /** * Gets allowable values of the enum * @@ -198,7 +198,7 @@ public function getTypeAllowableValues() self::TYPE_PROMETHEUS, ]; } - + /** * Associative array for storing property values @@ -213,7 +213,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['type'] = isset($data['type']) ? $data['type'] : null; diff --git a/src/InfluxDB2/Model/ScraperTargetResponse.php b/src/InfluxDB2/Model/ScraperTargetResponse.php index 0925ccfa..d4f78752 100644 --- a/src/InfluxDB2/Model/ScraperTargetResponse.php +++ b/src/InfluxDB2/Model/ScraperTargetResponse.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class ScraperTargetResponse extends ScraperTargetRequest +class ScraperTargetResponse extends ScraperTargetRequest { const DISCRIMINATOR = null; @@ -171,9 +171,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -182,7 +182,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/ScraperTargetResponseLinks.php b/src/InfluxDB2/Model/ScraperTargetResponseLinks.php index b8bd4026..f2a6400c 100644 --- a/src/InfluxDB2/Model/ScraperTargetResponseLinks.php +++ b/src/InfluxDB2/Model/ScraperTargetResponseLinks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -178,9 +178,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -195,7 +195,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; $this->container['members'] = isset($data['members']) ? $data['members'] : null; diff --git a/src/InfluxDB2/Model/ScraperTargetResponses.php b/src/InfluxDB2/Model/ScraperTargetResponses.php index 677c0f7b..88faed45 100644 --- a/src/InfluxDB2/Model/ScraperTargetResponses.php +++ b/src/InfluxDB2/Model/ScraperTargetResponses.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['configurations'] = isset($data['configurations']) ? $data['configurations'] : null; } diff --git a/src/InfluxDB2/Model/Script.php b/src/InfluxDB2/Model/Script.php index 19d6ac8e..ffc82b42 100644 --- a/src/InfluxDB2/Model/Script.php +++ b/src/InfluxDB2/Model/Script.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -203,9 +203,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -220,7 +220,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; diff --git a/src/InfluxDB2/Model/ScriptCreateRequest.php b/src/InfluxDB2/Model/ScriptCreateRequest.php index ba2ffb5c..e4324365 100644 --- a/src/InfluxDB2/Model/ScriptCreateRequest.php +++ b/src/InfluxDB2/Model/ScriptCreateRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -173,9 +173,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/ScriptInvocationParams.php b/src/InfluxDB2/Model/ScriptInvocationParams.php index c6a3f0a1..6623eadf 100644 --- a/src/InfluxDB2/Model/ScriptInvocationParams.php +++ b/src/InfluxDB2/Model/ScriptInvocationParams.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['params'] = isset($data['params']) ? $data['params'] : null; } diff --git a/src/InfluxDB2/Model/ScriptUpdateRequest.php b/src/InfluxDB2/Model/ScriptUpdateRequest.php index 88450ac1..28593576 100644 --- a/src/InfluxDB2/Model/ScriptUpdateRequest.php +++ b/src/InfluxDB2/Model/ScriptUpdateRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/Scripts.php b/src/InfluxDB2/Model/Scripts.php index 3baabbc0..080e147e 100644 --- a/src/InfluxDB2/Model/Scripts.php +++ b/src/InfluxDB2/Model/Scripts.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['scripts'] = isset($data['scripts']) ? $data['scripts'] : null; } diff --git a/src/InfluxDB2/Model/SecretKeys.php b/src/InfluxDB2/Model/SecretKeys.php index f688adf6..5dff9cb8 100644 --- a/src/InfluxDB2/Model/SecretKeys.php +++ b/src/InfluxDB2/Model/SecretKeys.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['secrets'] = isset($data['secrets']) ? $data['secrets'] : null; } diff --git a/src/InfluxDB2/Model/SecretKeysResponse.php b/src/InfluxDB2/Model/SecretKeysResponse.php index 36dc298b..8be57ef7 100644 --- a/src/InfluxDB2/Model/SecretKeysResponse.php +++ b/src/InfluxDB2/Model/SecretKeysResponse.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class SecretKeysResponse extends SecretKeys +class SecretKeysResponse extends SecretKeys { const DISCRIMINATOR = null; @@ -156,9 +156,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -167,7 +167,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/SecretKeysResponseLinks.php b/src/InfluxDB2/Model/SecretKeysResponseLinks.php index 6c7a6e42..2b79634b 100644 --- a/src/InfluxDB2/Model/SecretKeysResponseLinks.php +++ b/src/InfluxDB2/Model/SecretKeysResponseLinks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; $this->container['org'] = isset($data['org']) ? $data['org'] : null; diff --git a/src/InfluxDB2/Model/ShardGroupManifest.php b/src/InfluxDB2/Model/ShardGroupManifest.php index 242714e8..cf7f14f1 100644 --- a/src/InfluxDB2/Model/ShardGroupManifest.php +++ b/src/InfluxDB2/Model/ShardGroupManifest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['start_time'] = isset($data['start_time']) ? $data['start_time'] : null; diff --git a/src/InfluxDB2/Model/ShardManifest.php b/src/InfluxDB2/Model/ShardManifest.php index 38a3694f..736bd20f 100644 --- a/src/InfluxDB2/Model/ShardManifest.php +++ b/src/InfluxDB2/Model/ShardManifest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['shard_owners'] = isset($data['shard_owners']) ? $data['shard_owners'] : null; diff --git a/src/InfluxDB2/Model/ShardOwner.php b/src/InfluxDB2/Model/ShardOwner.php index 00962895..860aea16 100644 --- a/src/InfluxDB2/Model/ShardOwner.php +++ b/src/InfluxDB2/Model/ShardOwner.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['node_id'] = isset($data['node_id']) ? $data['node_id'] : null; } diff --git a/src/InfluxDB2/Model/SimpleTableViewProperties.php b/src/InfluxDB2/Model/SimpleTableViewProperties.php index 9e94321c..070b8898 100644 --- a/src/InfluxDB2/Model/SimpleTableViewProperties.php +++ b/src/InfluxDB2/Model/SimpleTableViewProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class SimpleTableViewProperties extends ViewProperties +class SimpleTableViewProperties extends ViewProperties { const DISCRIMINATOR = null; @@ -183,9 +183,9 @@ public function getModelName() const TYPE_SIMPLE_TABLE = 'simple-table'; const SHAPE_CHRONOGRAF_V2 = 'chronograf-v2'; - - + + /** * Gets allowable values of the enum * @@ -197,7 +197,7 @@ public function getTypeAllowableValues() self::TYPE_SIMPLE_TABLE, ]; } - + /** * Gets allowable values of the enum * @@ -209,7 +209,7 @@ public function getShapeAllowableValues() self::SHAPE_CHRONOGRAF_V2, ]; } - + /** @@ -218,7 +218,7 @@ public function getShapeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/SingleStatViewProperties.php b/src/InfluxDB2/Model/SingleStatViewProperties.php index 56870068..05a6b5e8 100644 --- a/src/InfluxDB2/Model/SingleStatViewProperties.php +++ b/src/InfluxDB2/Model/SingleStatViewProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class SingleStatViewProperties extends ViewProperties +class SingleStatViewProperties extends ViewProperties { const DISCRIMINATOR = null; @@ -213,9 +213,9 @@ public function getModelName() const TYPE_SINGLE_STAT = 'single-stat'; const SHAPE_CHRONOGRAF_V2 = 'chronograf-v2'; - - + + /** * Gets allowable values of the enum * @@ -227,7 +227,7 @@ public function getTypeAllowableValues() self::TYPE_SINGLE_STAT, ]; } - + /** * Gets allowable values of the enum * @@ -239,7 +239,7 @@ public function getShapeAllowableValues() self::SHAPE_CHRONOGRAF_V2, ]; } - + /** @@ -248,7 +248,7 @@ public function getShapeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/SlackNotificationEndpoint.php b/src/InfluxDB2/Model/SlackNotificationEndpoint.php index 90824b3e..a91450fb 100644 --- a/src/InfluxDB2/Model/SlackNotificationEndpoint.php +++ b/src/InfluxDB2/Model/SlackNotificationEndpoint.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class SlackNotificationEndpoint extends NotificationEndpoint +class SlackNotificationEndpoint extends NotificationEndpoint { const DISCRIMINATOR = null; @@ -161,9 +161,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -172,7 +172,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/SlackNotificationRule.php b/src/InfluxDB2/Model/SlackNotificationRule.php index 60e183b7..d426d50c 100644 --- a/src/InfluxDB2/Model/SlackNotificationRule.php +++ b/src/InfluxDB2/Model/SlackNotificationRule.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class SlackNotificationRule extends SlackNotificationRuleBase +class SlackNotificationRule extends SlackNotificationRuleBase { const DISCRIMINATOR = null; @@ -55,7 +55,7 @@ class SlackNotificationRule extends SlackNotificationRuleBase * @var string[] */ protected static $openAPITypes = [ - + ]; /** @@ -64,7 +64,7 @@ class SlackNotificationRule extends SlackNotificationRuleBase * @var string[] */ protected static $openAPIFormats = [ - + ]; /** @@ -94,7 +94,7 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - + ]; /** @@ -103,7 +103,7 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - + ]; /** @@ -112,7 +112,7 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - + ]; /** @@ -156,9 +156,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -167,7 +167,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/SlackNotificationRuleBase.php b/src/InfluxDB2/Model/SlackNotificationRuleBase.php index aa49d5a2..a9219f29 100644 --- a/src/InfluxDB2/Model/SlackNotificationRuleBase.php +++ b/src/InfluxDB2/Model/SlackNotificationRuleBase.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class SlackNotificationRuleBase extends NotificationRule +class SlackNotificationRuleBase extends NotificationRule { const DISCRIMINATOR = null; @@ -167,9 +167,9 @@ public function getModelName() } const TYPE_SLACK = 'slack'; - - + + /** * Gets allowable values of the enum * @@ -181,7 +181,7 @@ public function getTypeAllowableValues() self::TYPE_SLACK, ]; } - + /** @@ -190,7 +190,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/Source.php b/src/InfluxDB2/Model/Source.php index d744649b..44507df3 100644 --- a/src/InfluxDB2/Model/Source.php +++ b/src/InfluxDB2/Model/Source.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -238,9 +238,9 @@ public function getModelName() const TYPE_SELF = 'self'; const LANGUAGES_FLUX = 'flux'; const LANGUAGES_INFLUXQL = 'influxql'; - - + + /** * Gets allowable values of the enum * @@ -254,7 +254,7 @@ public function getTypeAllowableValues() self::TYPE_SELF, ]; } - + /** * Gets allowable values of the enum * @@ -267,7 +267,7 @@ public function getLanguagesAllowableValues() self::LANGUAGES_INFLUXQL, ]; } - + /** * Associative array for storing property values @@ -282,7 +282,7 @@ public function getLanguagesAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['id'] = isset($data['id']) ? $data['id'] : null; diff --git a/src/InfluxDB2/Model/SourceLinks.php b/src/InfluxDB2/Model/SourceLinks.php index bf72dee9..bd68768b 100644 --- a/src/InfluxDB2/Model/SourceLinks.php +++ b/src/InfluxDB2/Model/SourceLinks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -173,9 +173,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; $this->container['query'] = isset($data['query']) ? $data['query'] : null; diff --git a/src/InfluxDB2/Model/Sources.php b/src/InfluxDB2/Model/Sources.php index 357be5eb..4f503301 100644 --- a/src/InfluxDB2/Model/Sources.php +++ b/src/InfluxDB2/Model/Sources.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['sources'] = isset($data['sources']) ? $data['sources'] : null; diff --git a/src/InfluxDB2/Model/Stack.php b/src/InfluxDB2/Model/Stack.php index 295cf2f5..0f395d55 100644 --- a/src/InfluxDB2/Model/Stack.php +++ b/src/InfluxDB2/Model/Stack.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -173,9 +173,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + 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; diff --git a/src/InfluxDB2/Model/StackAssociations.php b/src/InfluxDB2/Model/StackAssociations.php index aa668f1c..93a91220 100644 --- a/src/InfluxDB2/Model/StackAssociations.php +++ b/src/InfluxDB2/Model/StackAssociations.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['kind'] = isset($data['kind']) ? $data['kind'] : null; $this->container['meta_name'] = isset($data['meta_name']) ? $data['meta_name'] : null; diff --git a/src/InfluxDB2/Model/StackEvents.php b/src/InfluxDB2/Model/StackEvents.php index 014c452f..94f1f357 100644 --- a/src/InfluxDB2/Model/StackEvents.php +++ b/src/InfluxDB2/Model/StackEvents.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -188,9 +188,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -205,7 +205,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['event_type'] = isset($data['event_type']) ? $data['event_type'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; diff --git a/src/InfluxDB2/Model/StackLinks.php b/src/InfluxDB2/Model/StackLinks.php index cc5a7b83..326145c0 100644 --- a/src/InfluxDB2/Model/StackLinks.php +++ b/src/InfluxDB2/Model/StackLinks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; } diff --git a/src/InfluxDB2/Model/StackResources.php b/src/InfluxDB2/Model/StackResources.php index 4ca09f2e..21002a90 100644 --- a/src/InfluxDB2/Model/StackResources.php +++ b/src/InfluxDB2/Model/StackResources.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['api_version'] = isset($data['api_version']) ? $data['api_version'] : null; $this->container['resource_id'] = isset($data['resource_id']) ? $data['resource_id'] : null; diff --git a/src/InfluxDB2/Model/Statement.php b/src/InfluxDB2/Model/Statement.php index 1cbd0e6d..d579b369 100644 --- a/src/InfluxDB2/Model/Statement.php +++ b/src/InfluxDB2/Model/Statement.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -57,7 +57,7 @@ class Statement implements ModelInterface, ArrayAccess * @var string[] */ protected static $openAPITypes = [ - + ]; /** @@ -66,7 +66,7 @@ class Statement implements ModelInterface, ArrayAccess * @var string[] */ protected static $openAPIFormats = [ - + ]; /** @@ -96,7 +96,7 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - + ]; /** @@ -105,7 +105,7 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - + ]; /** @@ -114,7 +114,7 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - + ]; /** @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { } diff --git a/src/InfluxDB2/Model/StaticLegend.php b/src/InfluxDB2/Model/StaticLegend.php index 5588e2f6..8f589d9f 100644 --- a/src/InfluxDB2/Model/StaticLegend.php +++ b/src/InfluxDB2/Model/StaticLegend.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -189,9 +189,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -206,7 +206,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + 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; diff --git a/src/InfluxDB2/Model/StatusRule.php b/src/InfluxDB2/Model/StatusRule.php index fd916211..77dc38c3 100644 --- a/src/InfluxDB2/Model/StatusRule.php +++ b/src/InfluxDB2/Model/StatusRule.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -173,9 +173,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['current_level'] = isset($data['current_level']) ? $data['current_level'] : null; $this->container['previous_level'] = isset($data['previous_level']) ? $data['previous_level'] : null; diff --git a/src/InfluxDB2/Model/StringLiteral.php b/src/InfluxDB2/Model/StringLiteral.php index 0ece5ff5..e61c25f4 100644 --- a/src/InfluxDB2/Model/StringLiteral.php +++ b/src/InfluxDB2/Model/StringLiteral.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class StringLiteral extends PropertyKey +class StringLiteral extends PropertyKey { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/SubscriptionManifest.php b/src/InfluxDB2/Model/SubscriptionManifest.php index 24fe2ee4..9b51c909 100644 --- a/src/InfluxDB2/Model/SubscriptionManifest.php +++ b/src/InfluxDB2/Model/SubscriptionManifest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['mode'] = isset($data['mode']) ? $data['mode'] : null; diff --git a/src/InfluxDB2/Model/TableViewProperties.php b/src/InfluxDB2/Model/TableViewProperties.php index 10863fa3..3d0cb019 100644 --- a/src/InfluxDB2/Model/TableViewProperties.php +++ b/src/InfluxDB2/Model/TableViewProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class TableViewProperties extends ViewProperties +class TableViewProperties extends ViewProperties { const DISCRIMINATOR = null; @@ -203,9 +203,9 @@ public function getModelName() const TYPE_TABLE = 'table'; const SHAPE_CHRONOGRAF_V2 = 'chronograf-v2'; - - + + /** * Gets allowable values of the enum * @@ -217,7 +217,7 @@ public function getTypeAllowableValues() self::TYPE_TABLE, ]; } - + /** * Gets allowable values of the enum * @@ -229,7 +229,7 @@ public function getShapeAllowableValues() self::SHAPE_CHRONOGRAF_V2, ]; } - + /** @@ -238,7 +238,7 @@ public function getShapeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/TableViewPropertiesTableOptions.php b/src/InfluxDB2/Model/TableViewPropertiesTableOptions.php index c97112cb..8a16a839 100644 --- a/src/InfluxDB2/Model/TableViewPropertiesTableOptions.php +++ b/src/InfluxDB2/Model/TableViewPropertiesTableOptions.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -176,9 +176,9 @@ public function getModelName() const WRAPPING_TRUNCATE = 'truncate'; const WRAPPING_WRAP = 'wrap'; const WRAPPING_SINGLE_LINE = 'single-line'; - - + + /** * Gets allowable values of the enum * @@ -192,7 +192,7 @@ public function getWrappingAllowableValues() self::WRAPPING_SINGLE_LINE, ]; } - + /** * Associative array for storing property values @@ -207,7 +207,7 @@ public function getWrappingAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['vertical_time_axis'] = isset($data['vertical_time_axis']) ? $data['vertical_time_axis'] : null; $this->container['sort_by'] = isset($data['sort_by']) ? $data['sort_by'] : null; diff --git a/src/InfluxDB2/Model/TagRule.php b/src/InfluxDB2/Model/TagRule.php index 35d1758d..acc73fc6 100644 --- a/src/InfluxDB2/Model/TagRule.php +++ b/src/InfluxDB2/Model/TagRule.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -172,9 +172,9 @@ public function getModelName() const OPERATOR_NOTEQUAL = 'notequal'; const OPERATOR_EQUALREGEX = 'equalregex'; const OPERATOR_NOTEQUALREGEX = 'notequalregex'; - - + + /** * Gets allowable values of the enum * @@ -189,7 +189,7 @@ public function getOperatorAllowableValues() self::OPERATOR_NOTEQUALREGEX, ]; } - + /** * Associative array for storing property values @@ -204,7 +204,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['key'] = isset($data['key']) ? $data['key'] : null; $this->container['value'] = isset($data['value']) ? $data['value'] : null; diff --git a/src/InfluxDB2/Model/Task.php b/src/InfluxDB2/Model/Task.php index 2725e4bc..d514aa7f 100644 --- a/src/InfluxDB2/Model/Task.php +++ b/src/InfluxDB2/Model/Task.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -251,9 +251,9 @@ public function getModelName() const LAST_RUN_STATUS_FAILED = 'failed'; const LAST_RUN_STATUS_SUCCESS = 'success'; const LAST_RUN_STATUS_CANCELED = 'canceled'; - - + + /** * Gets allowable values of the enum * @@ -267,7 +267,7 @@ public function getLastRunStatusAllowableValues() self::LAST_RUN_STATUS_CANCELED, ]; } - + /** * Associative array for storing property values @@ -282,7 +282,7 @@ public function getLastRunStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + 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; diff --git a/src/InfluxDB2/Model/TaskCreateRequest.php b/src/InfluxDB2/Model/TaskCreateRequest.php index c89fbcde..72d6070b 100644 --- a/src/InfluxDB2/Model/TaskCreateRequest.php +++ b/src/InfluxDB2/Model/TaskCreateRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -178,9 +178,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -195,7 +195,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + 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; diff --git a/src/InfluxDB2/Model/TaskLinks.php b/src/InfluxDB2/Model/TaskLinks.php index 9d31ba03..2d23f722 100644 --- a/src/InfluxDB2/Model/TaskLinks.php +++ b/src/InfluxDB2/Model/TaskLinks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; $this->container['owners'] = isset($data['owners']) ? $data['owners'] : null; diff --git a/src/InfluxDB2/Model/TaskUpdateRequest.php b/src/InfluxDB2/Model/TaskUpdateRequest.php index 36e3749b..990d50c8 100644 --- a/src/InfluxDB2/Model/TaskUpdateRequest.php +++ b/src/InfluxDB2/Model/TaskUpdateRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -188,9 +188,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -205,7 +205,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['flux'] = isset($data['flux']) ? $data['flux'] : null; diff --git a/src/InfluxDB2/Model/Tasks.php b/src/InfluxDB2/Model/Tasks.php index d90708f4..831ed011 100644 --- a/src/InfluxDB2/Model/Tasks.php +++ b/src/InfluxDB2/Model/Tasks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['tasks'] = isset($data['tasks']) ? $data['tasks'] : null; diff --git a/src/InfluxDB2/Model/Telegraf.php b/src/InfluxDB2/Model/Telegraf.php index 498a3c42..9389fac8 100644 --- a/src/InfluxDB2/Model/Telegraf.php +++ b/src/InfluxDB2/Model/Telegraf.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class Telegraf extends TelegrafRequest +class Telegraf extends TelegrafRequest { const DISCRIMINATOR = null; @@ -166,9 +166,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -177,7 +177,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/TelegrafLinks.php b/src/InfluxDB2/Model/TelegrafLinks.php index 1ed89b90..b2965dae 100644 --- a/src/InfluxDB2/Model/TelegrafLinks.php +++ b/src/InfluxDB2/Model/TelegrafLinks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -173,9 +173,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; $this->container['labels'] = isset($data['labels']) ? $data['labels'] : null; diff --git a/src/InfluxDB2/Model/TelegrafPlugin.php b/src/InfluxDB2/Model/TelegrafPlugin.php index 129312b4..743e45bd 100644 --- a/src/InfluxDB2/Model/TelegrafPlugin.php +++ b/src/InfluxDB2/Model/TelegrafPlugin.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -175,9 +175,9 @@ public function getModelName() const TYPE_INPUT = 'input'; const TYPE_OUTPUT = 'output'; - - + + /** * Gets allowable values of the enum * @@ -190,7 +190,7 @@ public function getTypeAllowableValues() self::TYPE_OUTPUT, ]; } - + /** * Associative array for storing property values @@ -205,7 +205,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; diff --git a/src/InfluxDB2/Model/TelegrafPluginRequest.php b/src/InfluxDB2/Model/TelegrafPluginRequest.php index 4b142a1e..b649bd0c 100644 --- a/src/InfluxDB2/Model/TelegrafPluginRequest.php +++ b/src/InfluxDB2/Model/TelegrafPluginRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/TelegrafPluginRequestPlugins.php b/src/InfluxDB2/Model/TelegrafPluginRequestPlugins.php index 84cefaa1..4d663c96 100644 --- a/src/InfluxDB2/Model/TelegrafPluginRequestPlugins.php +++ b/src/InfluxDB2/Model/TelegrafPluginRequestPlugins.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -178,9 +178,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -195,7 +195,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; diff --git a/src/InfluxDB2/Model/TelegrafPlugins.php b/src/InfluxDB2/Model/TelegrafPlugins.php index cf3d4eed..b036e604 100644 --- a/src/InfluxDB2/Model/TelegrafPlugins.php +++ b/src/InfluxDB2/Model/TelegrafPlugins.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['version'] = isset($data['version']) ? $data['version'] : null; $this->container['os'] = isset($data['os']) ? $data['os'] : null; diff --git a/src/InfluxDB2/Model/TelegrafRequest.php b/src/InfluxDB2/Model/TelegrafRequest.php index e2eb6c95..f5ad6659 100644 --- a/src/InfluxDB2/Model/TelegrafRequest.php +++ b/src/InfluxDB2/Model/TelegrafRequest.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -178,9 +178,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -195,7 +195,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/TelegrafRequestMetadata.php b/src/InfluxDB2/Model/TelegrafRequestMetadata.php index 840a650e..ab151df9 100644 --- a/src/InfluxDB2/Model/TelegrafRequestMetadata.php +++ b/src/InfluxDB2/Model/TelegrafRequestMetadata.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['buckets'] = isset($data['buckets']) ? $data['buckets'] : null; } diff --git a/src/InfluxDB2/Model/Telegrafs.php b/src/InfluxDB2/Model/Telegrafs.php index 077a8f65..2607fd3a 100644 --- a/src/InfluxDB2/Model/Telegrafs.php +++ b/src/InfluxDB2/Model/Telegrafs.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['configurations'] = isset($data['configurations']) ? $data['configurations'] : null; } diff --git a/src/InfluxDB2/Model/TelegramNotificationEndpoint.php b/src/InfluxDB2/Model/TelegramNotificationEndpoint.php index edb9fe03..e1d0cdb4 100644 --- a/src/InfluxDB2/Model/TelegramNotificationEndpoint.php +++ b/src/InfluxDB2/Model/TelegramNotificationEndpoint.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class TelegramNotificationEndpoint extends NotificationEndpoint +class TelegramNotificationEndpoint extends NotificationEndpoint { const DISCRIMINATOR = null; @@ -161,9 +161,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -172,7 +172,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/TelegramNotificationRule.php b/src/InfluxDB2/Model/TelegramNotificationRule.php index fe72a9e0..1dba5916 100644 --- a/src/InfluxDB2/Model/TelegramNotificationRule.php +++ b/src/InfluxDB2/Model/TelegramNotificationRule.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class TelegramNotificationRule extends TelegramNotificationRuleBase +class TelegramNotificationRule extends TelegramNotificationRuleBase { const DISCRIMINATOR = null; @@ -55,7 +55,7 @@ class TelegramNotificationRule extends TelegramNotificationRuleBase * @var string[] */ protected static $openAPITypes = [ - + ]; /** @@ -64,7 +64,7 @@ class TelegramNotificationRule extends TelegramNotificationRuleBase * @var string[] */ protected static $openAPIFormats = [ - + ]; /** @@ -94,7 +94,7 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - + ]; /** @@ -103,7 +103,7 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - + ]; /** @@ -112,7 +112,7 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - + ]; /** @@ -156,9 +156,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -167,7 +167,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/TelegramNotificationRuleBase.php b/src/InfluxDB2/Model/TelegramNotificationRuleBase.php index 52a28542..ebe27dcb 100644 --- a/src/InfluxDB2/Model/TelegramNotificationRuleBase.php +++ b/src/InfluxDB2/Model/TelegramNotificationRuleBase.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class TelegramNotificationRuleBase extends NotificationRule +class TelegramNotificationRuleBase extends NotificationRule { const DISCRIMINATOR = null; @@ -175,9 +175,9 @@ public function getModelName() const PARSE_MODE_MARKDOWN_V2 = 'MarkdownV2'; const PARSE_MODE_HTML = 'HTML'; const PARSE_MODE_MARKDOWN = 'Markdown'; - - + + /** * Gets allowable values of the enum * @@ -189,7 +189,7 @@ public function getTypeAllowableValues() self::TYPE_TELEGRAM, ]; } - + /** * Gets allowable values of the enum * @@ -203,7 +203,7 @@ public function getParseModeAllowableValues() self::PARSE_MODE_MARKDOWN, ]; } - + /** @@ -212,7 +212,7 @@ public function getParseModeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/TemplateApply.php b/src/InfluxDB2/Model/TemplateApply.php index 9a0a14fd..fef2e2ff 100644 --- a/src/InfluxDB2/Model/TemplateApply.php +++ b/src/InfluxDB2/Model/TemplateApply.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -198,9 +198,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -215,7 +215,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['dry_run'] = isset($data['dry_run']) ? $data['dry_run'] : null; $this->container['org_id'] = isset($data['org_id']) ? $data['org_id'] : null; diff --git a/src/InfluxDB2/Model/TemplateApplyRemotes.php b/src/InfluxDB2/Model/TemplateApplyRemotes.php index a1b438f6..922a322a 100644 --- a/src/InfluxDB2/Model/TemplateApplyRemotes.php +++ b/src/InfluxDB2/Model/TemplateApplyRemotes.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['url'] = isset($data['url']) ? $data['url'] : null; $this->container['content_type'] = isset($data['content_type']) ? $data['content_type'] : null; diff --git a/src/InfluxDB2/Model/TemplateApplyTemplate.php b/src/InfluxDB2/Model/TemplateApplyTemplate.php index f2a4f946..0d40f45f 100644 --- a/src/InfluxDB2/Model/TemplateApplyTemplate.php +++ b/src/InfluxDB2/Model/TemplateApplyTemplate.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -169,9 +169,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -186,7 +186,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + 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; diff --git a/src/InfluxDB2/Model/TemplateApplyTemplates.php b/src/InfluxDB2/Model/TemplateApplyTemplates.php index 21d7ebc0..07dcf124 100644 --- a/src/InfluxDB2/Model/TemplateApplyTemplates.php +++ b/src/InfluxDB2/Model/TemplateApplyTemplates.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + 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; diff --git a/src/InfluxDB2/Model/TemplateChart.php b/src/InfluxDB2/Model/TemplateChart.php index 89892a48..7cae66a0 100644 --- a/src/InfluxDB2/Model/TemplateChart.php +++ b/src/InfluxDB2/Model/TemplateChart.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -178,9 +178,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -195,7 +195,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['x_pos'] = isset($data['x_pos']) ? $data['x_pos'] : null; $this->container['y_pos'] = isset($data['y_pos']) ? $data['y_pos'] : null; diff --git a/src/InfluxDB2/Model/TemplateExportByID.php b/src/InfluxDB2/Model/TemplateExportByID.php index c2a5991c..26cc3adb 100644 --- a/src/InfluxDB2/Model/TemplateExportByID.php +++ b/src/InfluxDB2/Model/TemplateExportByID.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['stack_id'] = isset($data['stack_id']) ? $data['stack_id'] : null; $this->container['org_i_ds'] = isset($data['org_i_ds']) ? $data['org_i_ds'] : null; diff --git a/src/InfluxDB2/Model/TemplateExportByIDOrgIDs.php b/src/InfluxDB2/Model/TemplateExportByIDOrgIDs.php index b9fcf093..987a27df 100644 --- a/src/InfluxDB2/Model/TemplateExportByIDOrgIDs.php +++ b/src/InfluxDB2/Model/TemplateExportByIDOrgIDs.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + 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; diff --git a/src/InfluxDB2/Model/TemplateExportByIDResourceFilters.php b/src/InfluxDB2/Model/TemplateExportByIDResourceFilters.php index 2a6d0b52..58c7daef 100644 --- a/src/InfluxDB2/Model/TemplateExportByIDResourceFilters.php +++ b/src/InfluxDB2/Model/TemplateExportByIDResourceFilters.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['by_label'] = isset($data['by_label']) ? $data['by_label'] : null; $this->container['by_resource_kind'] = isset($data['by_resource_kind']) ? $data['by_resource_kind'] : null; diff --git a/src/InfluxDB2/Model/TemplateExportByIDResources.php b/src/InfluxDB2/Model/TemplateExportByIDResources.php index 07daf245..f2a754db 100644 --- a/src/InfluxDB2/Model/TemplateExportByIDResources.php +++ b/src/InfluxDB2/Model/TemplateExportByIDResources.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['kind'] = isset($data['kind']) ? $data['kind'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummary.php b/src/InfluxDB2/Model/TemplateSummary.php index 60bc9431..99469006 100644 --- a/src/InfluxDB2/Model/TemplateSummary.php +++ b/src/InfluxDB2/Model/TemplateSummary.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -178,9 +178,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -195,7 +195,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sources'] = isset($data['sources']) ? $data['sources'] : null; $this->container['stack_id'] = isset($data['stack_id']) ? $data['stack_id'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummaryDiff.php b/src/InfluxDB2/Model/TemplateSummaryDiff.php index e279dc9a..6025424b 100644 --- a/src/InfluxDB2/Model/TemplateSummaryDiff.php +++ b/src/InfluxDB2/Model/TemplateSummaryDiff.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -203,9 +203,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -220,7 +220,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['buckets'] = isset($data['buckets']) ? $data['buckets'] : null; $this->container['checks'] = isset($data['checks']) ? $data['checks'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummaryDiffBuckets.php b/src/InfluxDB2/Model/TemplateSummaryDiffBuckets.php index c83e7c0a..8c70f13c 100644 --- a/src/InfluxDB2/Model/TemplateSummaryDiffBuckets.php +++ b/src/InfluxDB2/Model/TemplateSummaryDiffBuckets.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['kind'] = isset($data['kind']) ? $data['kind'] : null; $this->container['state_status'] = isset($data['state_status']) ? $data['state_status'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummaryDiffBucketsNewOld.php b/src/InfluxDB2/Model/TemplateSummaryDiffBucketsNewOld.php index 0572467b..15af990f 100644 --- a/src/InfluxDB2/Model/TemplateSummaryDiffBucketsNewOld.php +++ b/src/InfluxDB2/Model/TemplateSummaryDiffBucketsNewOld.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummaryDiffChecks.php b/src/InfluxDB2/Model/TemplateSummaryDiffChecks.php index 7bfde59c..7ab31772 100644 --- a/src/InfluxDB2/Model/TemplateSummaryDiffChecks.php +++ b/src/InfluxDB2/Model/TemplateSummaryDiffChecks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['kind'] = isset($data['kind']) ? $data['kind'] : null; $this->container['state_status'] = isset($data['state_status']) ? $data['state_status'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummaryDiffDashboards.php b/src/InfluxDB2/Model/TemplateSummaryDiffDashboards.php index 7fadb862..b7b8f916 100644 --- a/src/InfluxDB2/Model/TemplateSummaryDiffDashboards.php +++ b/src/InfluxDB2/Model/TemplateSummaryDiffDashboards.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['state_status'] = isset($data['state_status']) ? $data['state_status'] : null; $this->container['id'] = isset($data['id']) ? $data['id'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummaryDiffDashboardsNewOld.php b/src/InfluxDB2/Model/TemplateSummaryDiffDashboardsNewOld.php index 6ba20e14..4f9f6568 100644 --- a/src/InfluxDB2/Model/TemplateSummaryDiffDashboardsNewOld.php +++ b/src/InfluxDB2/Model/TemplateSummaryDiffDashboardsNewOld.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummaryDiffLabelMappings.php b/src/InfluxDB2/Model/TemplateSummaryDiffLabelMappings.php index 46d7603f..50fb8e44 100644 --- a/src/InfluxDB2/Model/TemplateSummaryDiffLabelMappings.php +++ b/src/InfluxDB2/Model/TemplateSummaryDiffLabelMappings.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -193,9 +193,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -210,7 +210,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['resource_type'] = isset($data['resource_type']) ? $data['resource_type'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummaryDiffLabels.php b/src/InfluxDB2/Model/TemplateSummaryDiffLabels.php index 2a18ea26..a4c8b7b3 100644 --- a/src/InfluxDB2/Model/TemplateSummaryDiffLabels.php +++ b/src/InfluxDB2/Model/TemplateSummaryDiffLabels.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['state_status'] = isset($data['state_status']) ? $data['state_status'] : null; $this->container['kind'] = isset($data['kind']) ? $data['kind'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummaryDiffLabelsNewOld.php b/src/InfluxDB2/Model/TemplateSummaryDiffLabelsNewOld.php index 01aa8d18..3879109d 100644 --- a/src/InfluxDB2/Model/TemplateSummaryDiffLabelsNewOld.php +++ b/src/InfluxDB2/Model/TemplateSummaryDiffLabelsNewOld.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['color'] = isset($data['color']) ? $data['color'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummaryDiffNotificationEndpoints.php b/src/InfluxDB2/Model/TemplateSummaryDiffNotificationEndpoints.php index 49b955b3..791744bf 100644 --- a/src/InfluxDB2/Model/TemplateSummaryDiffNotificationEndpoints.php +++ b/src/InfluxDB2/Model/TemplateSummaryDiffNotificationEndpoints.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['kind'] = isset($data['kind']) ? $data['kind'] : null; $this->container['state_status'] = isset($data['state_status']) ? $data['state_status'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummaryDiffNotificationRules.php b/src/InfluxDB2/Model/TemplateSummaryDiffNotificationRules.php index 6062dbac..16b871fa 100644 --- a/src/InfluxDB2/Model/TemplateSummaryDiffNotificationRules.php +++ b/src/InfluxDB2/Model/TemplateSummaryDiffNotificationRules.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['kind'] = isset($data['kind']) ? $data['kind'] : null; $this->container['state_status'] = isset($data['state_status']) ? $data['state_status'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummaryDiffNotificationRulesNewOld.php b/src/InfluxDB2/Model/TemplateSummaryDiffNotificationRulesNewOld.php index 5ae546b4..0d71be18 100644 --- a/src/InfluxDB2/Model/TemplateSummaryDiffNotificationRulesNewOld.php +++ b/src/InfluxDB2/Model/TemplateSummaryDiffNotificationRulesNewOld.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -208,9 +208,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -225,7 +225,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummaryDiffTasks.php b/src/InfluxDB2/Model/TemplateSummaryDiffTasks.php index 5e3be0c2..63fd22a3 100644 --- a/src/InfluxDB2/Model/TemplateSummaryDiffTasks.php +++ b/src/InfluxDB2/Model/TemplateSummaryDiffTasks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['kind'] = isset($data['kind']) ? $data['kind'] : null; $this->container['state_status'] = isset($data['state_status']) ? $data['state_status'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummaryDiffTasksNewOld.php b/src/InfluxDB2/Model/TemplateSummaryDiffTasksNewOld.php index 42b1fbec..4ac1dfdd 100644 --- a/src/InfluxDB2/Model/TemplateSummaryDiffTasksNewOld.php +++ b/src/InfluxDB2/Model/TemplateSummaryDiffTasksNewOld.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -188,9 +188,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -205,7 +205,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['cron'] = isset($data['cron']) ? $data['cron'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummaryDiffTelegrafConfigs.php b/src/InfluxDB2/Model/TemplateSummaryDiffTelegrafConfigs.php index 2ef0d18c..dced62b2 100644 --- a/src/InfluxDB2/Model/TemplateSummaryDiffTelegrafConfigs.php +++ b/src/InfluxDB2/Model/TemplateSummaryDiffTelegrafConfigs.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['kind'] = isset($data['kind']) ? $data['kind'] : null; $this->container['state_status'] = isset($data['state_status']) ? $data['state_status'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummaryDiffVariables.php b/src/InfluxDB2/Model/TemplateSummaryDiffVariables.php index 3e45ffe8..0344d382 100644 --- a/src/InfluxDB2/Model/TemplateSummaryDiffVariables.php +++ b/src/InfluxDB2/Model/TemplateSummaryDiffVariables.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -183,9 +183,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['kind'] = isset($data['kind']) ? $data['kind'] : null; $this->container['state_status'] = isset($data['state_status']) ? $data['state_status'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummaryDiffVariablesNewOld.php b/src/InfluxDB2/Model/TemplateSummaryDiffVariablesNewOld.php index 81e47d48..b113a67d 100644 --- a/src/InfluxDB2/Model/TemplateSummaryDiffVariablesNewOld.php +++ b/src/InfluxDB2/Model/TemplateSummaryDiffVariablesNewOld.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = isset($data['name']) ? $data['name'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummaryErrors.php b/src/InfluxDB2/Model/TemplateSummaryErrors.php index f372502d..d1fb5661 100644 --- a/src/InfluxDB2/Model/TemplateSummaryErrors.php +++ b/src/InfluxDB2/Model/TemplateSummaryErrors.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -173,9 +173,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['kind'] = isset($data['kind']) ? $data['kind'] : null; $this->container['reason'] = isset($data['reason']) ? $data['reason'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummaryLabel.php b/src/InfluxDB2/Model/TemplateSummaryLabel.php index d3c38751..04e758dc 100644 --- a/src/InfluxDB2/Model/TemplateSummaryLabel.php +++ b/src/InfluxDB2/Model/TemplateSummaryLabel.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -188,9 +188,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -205,7 +205,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + 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; diff --git a/src/InfluxDB2/Model/TemplateSummaryLabelProperties.php b/src/InfluxDB2/Model/TemplateSummaryLabelProperties.php index fdecb13b..63f8319d 100644 --- a/src/InfluxDB2/Model/TemplateSummaryLabelProperties.php +++ b/src/InfluxDB2/Model/TemplateSummaryLabelProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['color'] = isset($data['color']) ? $data['color'] : null; $this->container['description'] = isset($data['description']) ? $data['description'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummarySummary.php b/src/InfluxDB2/Model/TemplateSummarySummary.php index 5d98c0f6..eab2c312 100644 --- a/src/InfluxDB2/Model/TemplateSummarySummary.php +++ b/src/InfluxDB2/Model/TemplateSummarySummary.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -213,9 +213,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -230,7 +230,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['buckets'] = isset($data['buckets']) ? $data['buckets'] : null; $this->container['checks'] = isset($data['checks']) ? $data['checks'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummarySummaryBuckets.php b/src/InfluxDB2/Model/TemplateSummarySummaryBuckets.php index 3a57eeb5..8011953e 100644 --- a/src/InfluxDB2/Model/TemplateSummarySummaryBuckets.php +++ b/src/InfluxDB2/Model/TemplateSummarySummaryBuckets.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -198,9 +198,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -215,7 +215,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + 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; diff --git a/src/InfluxDB2/Model/TemplateSummarySummaryDashboards.php b/src/InfluxDB2/Model/TemplateSummarySummaryDashboards.php index 152d514b..fbfea94e 100644 --- a/src/InfluxDB2/Model/TemplateSummarySummaryDashboards.php +++ b/src/InfluxDB2/Model/TemplateSummarySummaryDashboards.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -198,9 +198,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -215,7 +215,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + 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; diff --git a/src/InfluxDB2/Model/TemplateSummarySummaryLabelMappings.php b/src/InfluxDB2/Model/TemplateSummarySummaryLabelMappings.php index fcd6e161..585d77c5 100644 --- a/src/InfluxDB2/Model/TemplateSummarySummaryLabelMappings.php +++ b/src/InfluxDB2/Model/TemplateSummarySummaryLabelMappings.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -193,9 +193,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -210,7 +210,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = isset($data['status']) ? $data['status'] : null; $this->container['resource_template_meta_name'] = isset($data['resource_template_meta_name']) ? $data['resource_template_meta_name'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummarySummaryNotificationRules.php b/src/InfluxDB2/Model/TemplateSummarySummaryNotificationRules.php index 345486a2..b711a395 100644 --- a/src/InfluxDB2/Model/TemplateSummarySummaryNotificationRules.php +++ b/src/InfluxDB2/Model/TemplateSummarySummaryNotificationRules.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -228,9 +228,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -245,7 +245,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = 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; diff --git a/src/InfluxDB2/Model/TemplateSummarySummaryStatusRules.php b/src/InfluxDB2/Model/TemplateSummarySummaryStatusRules.php index 884bbcb9..9279064c 100644 --- a/src/InfluxDB2/Model/TemplateSummarySummaryStatusRules.php +++ b/src/InfluxDB2/Model/TemplateSummarySummaryStatusRules.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['current_level'] = isset($data['current_level']) ? $data['current_level'] : null; $this->container['previous_level'] = isset($data['previous_level']) ? $data['previous_level'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummarySummaryTagRules.php b/src/InfluxDB2/Model/TemplateSummarySummaryTagRules.php index 5e68cc4b..92b68edc 100644 --- a/src/InfluxDB2/Model/TemplateSummarySummaryTagRules.php +++ b/src/InfluxDB2/Model/TemplateSummarySummaryTagRules.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['key'] = isset($data['key']) ? $data['key'] : null; $this->container['value'] = isset($data['value']) ? $data['value'] : null; diff --git a/src/InfluxDB2/Model/TemplateSummarySummaryTasks.php b/src/InfluxDB2/Model/TemplateSummarySummaryTasks.php index 621acae2..884d0f3d 100644 --- a/src/InfluxDB2/Model/TemplateSummarySummaryTasks.php +++ b/src/InfluxDB2/Model/TemplateSummarySummaryTasks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -208,9 +208,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -225,7 +225,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = 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; diff --git a/src/InfluxDB2/Model/TemplateSummarySummaryVariables.php b/src/InfluxDB2/Model/TemplateSummarySummaryVariables.php index 2b218640..785de75f 100644 --- a/src/InfluxDB2/Model/TemplateSummarySummaryVariables.php +++ b/src/InfluxDB2/Model/TemplateSummarySummaryVariables.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -198,9 +198,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -215,7 +215,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = 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; diff --git a/src/InfluxDB2/Model/TestStatement.php b/src/InfluxDB2/Model/TestStatement.php index c236cdb2..7a212243 100644 --- a/src/InfluxDB2/Model/TestStatement.php +++ b/src/InfluxDB2/Model/TestStatement.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class TestStatement extends Statement +class TestStatement extends Statement { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/Threshold.php b/src/InfluxDB2/Model/Threshold.php index ab96e201..6d60fd46 100644 --- a/src/InfluxDB2/Model/Threshold.php +++ b/src/InfluxDB2/Model/Threshold.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class Threshold extends ThresholdBase +class Threshold extends ThresholdBase { const DISCRIMINATOR = 'type'; @@ -55,7 +55,7 @@ class Threshold extends ThresholdBase * @var string[] */ protected static $openAPITypes = [ - + ]; /** @@ -64,7 +64,7 @@ class Threshold extends ThresholdBase * @var string[] */ protected static $openAPIFormats = [ - + ]; /** @@ -94,7 +94,7 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - + ]; /** @@ -103,7 +103,7 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - + ]; /** @@ -112,7 +112,7 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - + ]; /** @@ -156,9 +156,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -167,7 +167,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/ThresholdBase.php b/src/InfluxDB2/Model/ThresholdBase.php index e25b8a04..78d5c24c 100644 --- a/src/InfluxDB2/Model/ThresholdBase.php +++ b/src/InfluxDB2/Model/ThresholdBase.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['level'] = isset($data['level']) ? $data['level'] : null; $this->container['all_values'] = isset($data['all_values']) ? $data['all_values'] : null; diff --git a/src/InfluxDB2/Model/ThresholdCheck.php b/src/InfluxDB2/Model/ThresholdCheck.php index 8672fc20..c6d4e4d8 100644 --- a/src/InfluxDB2/Model/ThresholdCheck.php +++ b/src/InfluxDB2/Model/ThresholdCheck.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class ThresholdCheck extends Check +class ThresholdCheck extends Check { const DISCRIMINATOR = null; @@ -182,9 +182,9 @@ public function getModelName() } const TYPE_THRESHOLD = 'threshold'; - - + + /** * Gets allowable values of the enum * @@ -196,7 +196,7 @@ public function getTypeAllowableValues() self::TYPE_THRESHOLD, ]; } - + /** @@ -205,7 +205,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/ThresholdCheckTags.php b/src/InfluxDB2/Model/ThresholdCheckTags.php index a689e64f..adbba8d9 100644 --- a/src/InfluxDB2/Model/ThresholdCheckTags.php +++ b/src/InfluxDB2/Model/ThresholdCheckTags.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['key'] = isset($data['key']) ? $data['key'] : null; $this->container['value'] = isset($data['value']) ? $data['value'] : null; diff --git a/src/InfluxDB2/Model/UnaryExpression.php b/src/InfluxDB2/Model/UnaryExpression.php index 6f7fcd41..b2ed2b1f 100644 --- a/src/InfluxDB2/Model/UnaryExpression.php +++ b/src/InfluxDB2/Model/UnaryExpression.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class UnaryExpression extends Expression +class UnaryExpression extends Expression { const DISCRIMINATOR = null; @@ -167,9 +167,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -178,7 +178,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/UnsignedIntegerLiteral.php b/src/InfluxDB2/Model/UnsignedIntegerLiteral.php index cac06cca..1ed61ae9 100644 --- a/src/InfluxDB2/Model/UnsignedIntegerLiteral.php +++ b/src/InfluxDB2/Model/UnsignedIntegerLiteral.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class UnsignedIntegerLiteral extends Expression +class UnsignedIntegerLiteral extends Expression { const DISCRIMINATOR = null; @@ -162,9 +162,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -173,7 +173,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/User.php b/src/InfluxDB2/Model/User.php index 8f0b8f50..cb769dcc 100644 --- a/src/InfluxDB2/Model/User.php +++ b/src/InfluxDB2/Model/User.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -175,9 +175,9 @@ public function getModelName() const STATUS_ACTIVE = 'active'; const STATUS_INACTIVE = 'inactive'; - - + + /** * Gets allowable values of the enum * @@ -190,7 +190,7 @@ public function getStatusAllowableValues() self::STATUS_INACTIVE, ]; } - + /** * Associative array for storing property values @@ -205,7 +205,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = isset($data['id']) ? $data['id'] : null; $this->container['name'] = isset($data['name']) ? $data['name'] : null; diff --git a/src/InfluxDB2/Model/UserLinks.php b/src/InfluxDB2/Model/UserLinks.php index c6cd8ae9..d1b36417 100644 --- a/src/InfluxDB2/Model/UserLinks.php +++ b/src/InfluxDB2/Model/UserLinks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; } diff --git a/src/InfluxDB2/Model/Users.php b/src/InfluxDB2/Model/Users.php index 5a1fe0f0..b46805b1 100644 --- a/src/InfluxDB2/Model/Users.php +++ b/src/InfluxDB2/Model/Users.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['users'] = isset($data['users']) ? $data['users'] : null; diff --git a/src/InfluxDB2/Model/UsersLinks.php b/src/InfluxDB2/Model/UsersLinks.php index 3986b314..d33a90c6 100644 --- a/src/InfluxDB2/Model/UsersLinks.php +++ b/src/InfluxDB2/Model/UsersLinks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; } diff --git a/src/InfluxDB2/Model/Variable.php b/src/InfluxDB2/Model/Variable.php index 12157245..0476434e 100644 --- a/src/InfluxDB2/Model/Variable.php +++ b/src/InfluxDB2/Model/Variable.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -203,9 +203,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -220,7 +220,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['id'] = isset($data['id']) ? $data['id'] : null; diff --git a/src/InfluxDB2/Model/VariableAssignment.php b/src/InfluxDB2/Model/VariableAssignment.php index e344e6aa..0869a8e3 100644 --- a/src/InfluxDB2/Model/VariableAssignment.php +++ b/src/InfluxDB2/Model/VariableAssignment.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -39,7 +39,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class VariableAssignment extends Statement +class VariableAssignment extends Statement { const DISCRIMINATOR = null; @@ -167,9 +167,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** @@ -178,7 +178,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/Model/VariableLinks.php b/src/InfluxDB2/Model/VariableLinks.php index e1dab67a..2475d4e2 100644 --- a/src/InfluxDB2/Model/VariableLinks.php +++ b/src/InfluxDB2/Model/VariableLinks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -168,9 +168,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; $this->container['org'] = isset($data['org']) ? $data['org'] : null; diff --git a/src/InfluxDB2/Model/VariableProperties.php b/src/InfluxDB2/Model/VariableProperties.php index 951661a5..46254148 100644 --- a/src/InfluxDB2/Model/VariableProperties.php +++ b/src/InfluxDB2/Model/VariableProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -57,7 +57,7 @@ class VariableProperties implements ModelInterface, ArrayAccess * @var string[] */ protected static $openAPITypes = [ - + ]; /** @@ -66,7 +66,7 @@ class VariableProperties implements ModelInterface, ArrayAccess * @var string[] */ protected static $openAPIFormats = [ - + ]; /** @@ -96,7 +96,7 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - + ]; /** @@ -105,7 +105,7 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - + ]; /** @@ -114,7 +114,7 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - + ]; /** @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { } diff --git a/src/InfluxDB2/Model/Variables.php b/src/InfluxDB2/Model/Variables.php index 8d2f9cbb..e902fefd 100644 --- a/src/InfluxDB2/Model/Variables.php +++ b/src/InfluxDB2/Model/Variables.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['variables'] = isset($data['variables']) ? $data['variables'] : null; } diff --git a/src/InfluxDB2/Model/View.php b/src/InfluxDB2/Model/View.php index 8c7490e6..9bf3d3de 100644 --- a/src/InfluxDB2/Model/View.php +++ b/src/InfluxDB2/Model/View.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -173,9 +173,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['id'] = isset($data['id']) ? $data['id'] : null; diff --git a/src/InfluxDB2/Model/ViewLinks.php b/src/InfluxDB2/Model/ViewLinks.php index f912d025..c2cac2de 100644 --- a/src/InfluxDB2/Model/ViewLinks.php +++ b/src/InfluxDB2/Model/ViewLinks.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['self'] = isset($data['self']) ? $data['self'] : null; } diff --git a/src/InfluxDB2/Model/ViewProperties.php b/src/InfluxDB2/Model/ViewProperties.php index 13c7a8b4..d519e389 100644 --- a/src/InfluxDB2/Model/ViewProperties.php +++ b/src/InfluxDB2/Model/ViewProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -57,7 +57,7 @@ class ViewProperties implements ModelInterface, ArrayAccess * @var string[] */ protected static $openAPITypes = [ - + ]; /** @@ -66,7 +66,7 @@ class ViewProperties implements ModelInterface, ArrayAccess * @var string[] */ protected static $openAPIFormats = [ - + ]; /** @@ -96,7 +96,7 @@ public static function openAPIFormats() * @var string[] */ protected static $attributeMap = [ - + ]; /** @@ -105,7 +105,7 @@ public static function openAPIFormats() * @var string[] */ protected static $setters = [ - + ]; /** @@ -114,7 +114,7 @@ public static function openAPIFormats() * @var string[] */ protected static $getters = [ - + ]; /** @@ -158,9 +158,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { } diff --git a/src/InfluxDB2/Model/Views.php b/src/InfluxDB2/Model/Views.php index 6ed7f530..e4e0eb26 100644 --- a/src/InfluxDB2/Model/Views.php +++ b/src/InfluxDB2/Model/Views.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -163,9 +163,9 @@ public function getModelName() return self::$openAPIModelName; } - - + + /** * Associative array for storing property values @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['links'] = isset($data['links']) ? $data['links'] : null; $this->container['views'] = isset($data['views']) ? $data['views'] : null; diff --git a/src/InfluxDB2/Model/XYViewProperties.php b/src/InfluxDB2/Model/XYViewProperties.php index 126e25bf..a594257e 100644 --- a/src/InfluxDB2/Model/XYViewProperties.php +++ b/src/InfluxDB2/Model/XYViewProperties.php @@ -16,7 +16,7 @@ * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 - * + * * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 3.3.4 */ @@ -38,7 +38,7 @@ * @author OpenAPI Generator team * @link https://openapi-generator.tech */ -class XYViewProperties extends ViewProperties +class XYViewProperties extends ViewProperties { const DISCRIMINATOR = null; @@ -304,9 +304,9 @@ public function getModelName() const HOVER_DIMENSION_XY = 'xy'; const POSITION_OVERLAID = 'overlaid'; const POSITION_STACKED = 'stacked'; - - + + /** * Gets allowable values of the enum * @@ -318,7 +318,7 @@ public function getTypeAllowableValues() self::TYPE_XY, ]; } - + /** * Gets allowable values of the enum * @@ -330,7 +330,7 @@ public function getShapeAllowableValues() self::SHAPE_CHRONOGRAF_V2, ]; } - + /** * Gets allowable values of the enum * @@ -345,7 +345,7 @@ public function getHoverDimensionAllowableValues() self::HOVER_DIMENSION_XY, ]; } - + /** * Gets allowable values of the enum * @@ -358,7 +358,7 @@ public function getPositionAllowableValues() self::POSITION_STACKED, ]; } - + /** @@ -367,7 +367,7 @@ public function getPositionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { parent::__construct($data); diff --git a/src/InfluxDB2/PointSettings.php b/src/InfluxDB2/PointSettings.php index a95c42dd..b012001d 100644 --- a/src/InfluxDB2/PointSettings.php +++ b/src/InfluxDB2/PointSettings.php @@ -7,7 +7,7 @@ class PointSettings { private $defaultTags; - public function __construct(array $defaultTags = null) + public function __construct(?array $defaultTags = null) { $this->defaultTags = is_null($defaultTags) ? [] : $defaultTags; } diff --git a/src/InfluxDB2/WriteApi.php b/src/InfluxDB2/WriteApi.php index d297ddac..53ce2169 100644 --- a/src/InfluxDB2/WriteApi.php +++ b/src/InfluxDB2/WriteApi.php @@ -21,7 +21,7 @@ class WriteApi extends DefaultApi implements Writer * @param array|null $writeOptions * @param array|null $pointSettings */ - public function __construct($options, array $writeOptions = null, array $pointSettings = null) + public function __construct($options, ?array $writeOptions = null, ?array $pointSettings = null) { parent::__construct($options); $this->writeOptions = new WriteOptions($writeOptions) ?: new WriteOptions(); @@ -62,7 +62,7 @@ public function __construct($options, array $writeOptions = null, array $pointSe * @param string|null $org specifies the destination organization for writes * @throws ApiException */ - public function write($data, string $precision = null, string $bucket = null, string $org = null) + public function write($data, ?string $precision = null, ?string $bucket = null, ?string $org = null) { $precisionParam = $this->getOption("precision", $precision); $bucketParam = $this->getOption("bucket", $bucket); @@ -119,7 +119,7 @@ private function addDefaultTags(&$data) * * @see \InfluxDB2\Model\WritePrecision */ - public function writeRaw(string $data, string $precision = null, string $bucket = null, string $org = null) + public function writeRaw(string $data, ?string $precision = null, ?string $bucket = null, ?string $org = null) { $precisionParam = $this->getOption("precision", $precision); $bucketParam = $this->getOption("bucket", $bucket); @@ -165,7 +165,7 @@ private function worker(): Worker return $this->worker; } - private function getOption(string $optionName, string $precision = null): string + private function getOption(string $optionName, ?string $precision = null): string { return isset($precision) ? $precision : $this->options["$optionName"]; } diff --git a/src/InfluxDB2/WriteOptions.php b/src/InfluxDB2/WriteOptions.php index 0836f68a..a1d2635e 100644 --- a/src/InfluxDB2/WriteOptions.php +++ b/src/InfluxDB2/WriteOptions.php @@ -42,7 +42,7 @@ class WriteOptions * ] * @param array|null $writeOptions Array containing the write parameters (See above) */ - public function __construct(array $writeOptions = null) + public function __construct(?array $writeOptions = null) { //initialize with default values $this->writeType = $writeOptions["writeType"] ?? WriteType::SYNCHRONOUS;