diff --git a/.circleci/config.yml b/.circleci/config.yml index 39c99633..351292b8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -94,12 +94,25 @@ jobs: pip install twine --user python setup.py sdist bdist_wheel twine check dist/* + check-docstyle: + docker: + - image: *default-python + environment: + PIPENV_VENV_IN_PROJECT: true + steps: + - checkout + - run: + name: Checks compliance with Python docstring convention. + command: | + pip install pydocstyle --user + pydocstyle --count influxdb_client workflows: version: 2 build: jobs: - check-code-style + - check-docstyle - check-twine - tests-python: name: test-3.6 diff --git a/influxdb_client/__init__.py b/influxdb_client/__init__.py index 9ace1d77..16392026 100644 --- a/influxdb_client/__init__.py +++ b/influxdb_client/__init__.py @@ -3,12 +3,12 @@ # flake8: noqa """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ diff --git a/influxdb_client/api_client.py b/influxdb_client/api_client.py index d43bf924..b36aaccf 100644 --- a/influxdb_client/api_client.py +++ b/influxdb_client/api_client.py @@ -1,11 +1,11 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ from __future__ import absolute_import @@ -28,7 +28,7 @@ class ApiClient(object): - """Generic API client for OpenAPI client library builds. + """Generic API client for OpenAPI client library Build. OpenAPI generic API client. This client handles the client- server communication, and is invariant across implementations. Specifics of @@ -64,6 +64,7 @@ class ApiClient(object): def __init__(self, configuration=None, header_name=None, header_value=None, cookie=None, pool_threads=None): + """Initialize generic API client.""" if configuration is None: configuration = Configuration() self.configuration = configuration @@ -78,6 +79,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.user_agent = 'influxdb-client-python/1.9.0dev' def __del__(self): + """Dispose pools.""" if self._pool: self._pool.close() self._pool.join() @@ -87,23 +89,23 @@ def __del__(self): @property def pool(self): - """Create thread pool on first request - avoids instantiating unused threadpool for blocking clients. - """ + """Create thread pool on first request avoids instantiating unused threadpool for blocking clients.""" if self._pool is None: self._pool = ThreadPool(self.pool_threads) return self._pool @property def user_agent(self): - """User agent for this API client""" + """User agent for this API client.""" return self.default_headers['User-Agent'] @user_agent.setter def user_agent(self, value): + """Set User agent for this API client.""" self.default_headers['User-Agent'] = value def set_default_header(self, header_name, header_value): + """Set HTTP header for this API client.""" self.default_headers[header_name] = header_value def __call_api( @@ -186,7 +188,7 @@ def __call_api( response_data.getheaders()) def sanitize_for_serialization(self, obj): - """Builds a JSON POST object. + """Build a JSON POST object. If obj is None, return None. If obj is str, int, long, float, bool, return directly. @@ -294,7 +296,7 @@ def call_api(self, resource_path, method, response_type=None, auth_settings=None, async_req=None, _return_http_data_only=None, collection_formats=None, _preload_content=True, _request_timeout=None): - """Makes the HTTP request (synchronous) and returns deserialized data. + """Make the HTTP request (synchronous) and Return deserialized data. To make an async_req request, set the async_req parameter. @@ -351,7 +353,7 @@ def call_api(self, resource_path, method, def request(self, method, url, query_params=None, headers=None, post_params=None, body=None, _preload_content=True, _request_timeout=None): - """Makes the HTTP request using RESTClient.""" + """Make the HTTP request using RESTClient.""" if method == "GET": return self.rest_client.GET(url, query_params=query_params, @@ -440,7 +442,7 @@ def parameters_to_tuples(self, params, collection_formats): return new_params def prepare_post_parameters(self, post_params=None, files=None): - """Builds form parameters. + """Build form parameters. :param post_params: Normal form parameters. :param files: File parameters. @@ -468,7 +470,7 @@ def prepare_post_parameters(self, post_params=None, files=None): return params def select_header_accept(self, accepts): - """Returns `Accept` based on an array of accepts provided. + """Return `Accept` based on an array of accepts provided. :param accepts: List of headers. :return: Accept (e.g. application/json). @@ -484,7 +486,7 @@ def select_header_accept(self, accepts): return ', '.join(accepts) def select_header_content_type(self, content_types): - """Returns `Content-Type` based on an array of content_types provided. + """Return `Content-Type` based on an array of content_types provided. :param content_types: List of content-types. :return: Content-Type (e.g. application/json). @@ -500,7 +502,7 @@ def select_header_content_type(self, content_types): return content_types[0] def update_params_for_auth(self, headers, querys, auth_settings): - """Updates header and query params based on authentication setting. + """Update header and query params based on authentication setting. :param headers: Header parameters dict to be updated. :param querys: Query parameters tuple list to be updated. @@ -524,7 +526,7 @@ def update_params_for_auth(self, headers, querys, auth_settings): ) def __deserialize_file(self, response): - """Deserializes body to file + """Deserializes body to file. Saves response body into a file in a temporary folder, using the filename from the `Content-Disposition` header if provided. @@ -615,7 +617,6 @@ def __deserialize_model(self, data, klass): :param klass: class literal. :return: model object. """ - if not klass.openapi_types and not hasattr(klass, 'get_real_child_model'): return data diff --git a/influxdb_client/client/__init__.py b/influxdb_client/client/__init__.py index 9777d6e3..9cce6043 100644 --- a/influxdb_client/client/__init__.py +++ b/influxdb_client/client/__init__.py @@ -1,7 +1,17 @@ -from __future__ import absolute_import - # flake8: noqa +""" +Influx API Service. + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + # import apis into api package from influxdb_client.service.authorizations_service import AuthorizationsService from influxdb_client.service.buckets_service import BucketsService diff --git a/influxdb_client/client/authorizations_api.py b/influxdb_client/client/authorizations_api.py index 8a1471f1..32deffae 100644 --- a/influxdb_client/client/authorizations_api.py +++ b/influxdb_client/client/authorizations_api.py @@ -1,16 +1,21 @@ +"""Authorization is about managing the security of your InfluxDB instance.""" + from influxdb_client import Authorization, AuthorizationsService, User, Organization class AuthorizationsApi(object): + """Implementation for '/api/v2/authorizations' endpoint.""" def __init__(self, influxdb_client): + """Initialize defaults.""" self._influxdb_client = influxdb_client self._authorizations_service = AuthorizationsService(influxdb_client.api_client) def create_authorization(self, org_id=None, permissions: list = None, authorization: Authorization = None) -> Authorization: """ - Creates an authorization + Create an authorization. + :type permissions: list of Permission :param org_id: organization id :param permissions: list of permissions @@ -26,7 +31,8 @@ def create_authorization(self, org_id=None, permissions: list = None, def find_authorization_by_id(self, auth_id: str) -> Authorization: """ - Finds authorization by id + Find authorization by id. + :param auth_id: authorization id :return: Authorization """ @@ -34,7 +40,8 @@ def find_authorization_by_id(self, auth_id: str) -> Authorization: def find_authorizations(self, **kwargs): """ - Gets a list of all authorizations + Get a list of all authorizations. + :param str user_id: filter authorizations belonging to a user id :param str user: filter authorizations belonging to a user name :param str org_id: filter authorizations belonging to a org id @@ -47,58 +54,64 @@ def find_authorizations(self, **kwargs): def find_authorizations_by_user(self, user: User): """ - Finds authorization by User + Find authorization by User. + :return: Authorization list """ return self.find_authorizations(user_id=user.id) def find_authorizations_by_user_id(self, user_id: str): """ - Finds authorization by user id + Find authorization by user id. + :return: Authorization list """ return self.find_authorizations(user_id=user_id) def find_authorizations_by_user_name(self, user_name: str): """ - Finds authorization by user name + Find authorization by user name. + :return: Authorization list """ return self.find_authorizations(user=user_name) def find_authorizations_by_org(self, org: Organization): """ - Finds authorization by user name + Find authorization by user name. + :return: Authorization list """ - if isinstance(org, Organization): return self.find_authorizations(org_id=org.id) def find_authorizations_by_org_name(self, org_name: str): """ - Finds authorization by org name + Find authorization by org name. + :return: Authorization list """ return self.find_authorizations(org=org_name) def find_authorizations_by_org_id(self, org_id: str): """ - Finds authorization by org id + Find authorization by org id. + :return: Authorization list """ return self.find_authorizations(org_id=org_id) def update_authorization(self, auth): """ - Updates authorization object + Update authorization object. + :param auth: :return: """ return self._authorizations_service.patch_authorizations_id(auth_id=auth.id, authorization_update_request=auth) def clone_authorization(self, auth) -> Authorization: - + """Clone an authorization.""" if isinstance(auth, Authorization): cloned = Authorization(org_id=auth.org_id, permissions=auth.permissions) # cloned.description = auth.description @@ -112,6 +125,7 @@ def clone_authorization(self, auth) -> Authorization: raise ValueError("Invalid argument") def delete_authorization(self, auth): + """Delete a authorization.""" if isinstance(auth, Authorization): return self._authorizations_service.delete_authorizations_id(auth_id=auth.id) diff --git a/influxdb_client/client/bucket_api.py b/influxdb_client/client/bucket_api.py index 966711a5..cd91ef42 100644 --- a/influxdb_client/client/bucket_api.py +++ b/influxdb_client/client/bucket_api.py @@ -1,16 +1,25 @@ +""" +A bucket is a named location where time series data is stored. + +All buckets have a retention policy, a duration of time that each data point persists. +A bucket belongs to an organization. +""" + + from influxdb_client import BucketsService, Bucket, PostBucketRequest class BucketsApi(object): + """Implementation for '/api/v2/buckets' endpoint.""" def __init__(self, influxdb_client): + """Initialize defaults.""" self._influxdb_client = influxdb_client self._buckets_service = BucketsService(influxdb_client.api_client) def create_bucket(self, bucket=None, bucket_name=None, org_id=None, retention_rules=None, description=None) -> Bucket: - """Create a bucket # noqa: E501 - + """Create a bucket. :param Bucket bucket: bucket to create (required) :param bucket_name: bucket name @@ -43,14 +52,13 @@ def create_bucket(self, bucket=None, bucket_name=None, org_id=None, retention_ru return self._buckets_service.post_buckets(post_bucket_request=bucket) def delete_bucket(self, bucket): - """Delete a bucket # noqa: E501 + """Delete a bucket. :param bucket: bucket id or Bucket :return: Bucket If the method is called asynchronously, returns the request thread. """ - if isinstance(bucket, Bucket): bucket_id = bucket.id else: @@ -59,7 +67,7 @@ def delete_bucket(self, bucket): return self._buckets_service.delete_buckets_id(bucket_id=bucket_id) def find_bucket_by_id(self, id): - """Find bucket by ID + """Find bucket by ID. :param id: :return: @@ -67,12 +75,11 @@ def find_bucket_by_id(self, id): return self._buckets_service.get_buckets_id(id) def find_bucket_by_name(self, bucket_name): - """Find bucket by name + """Find bucket by name. :param bucket_name: bucket name :return: Bucket """ - buckets = self._buckets_service.get_buckets(name=bucket_name) if len(buckets.buckets) > 0: @@ -81,6 +88,5 @@ def find_bucket_by_name(self, bucket_name): return None def find_buckets(self): - """Gets all buckets - """ + """Get all buckets.""" return self._buckets_service.get_buckets() diff --git a/influxdb_client/client/date_utils.py b/influxdb_client/client/date_utils.py index 9e9282c0..7afb5287 100644 --- a/influxdb_client/client/date_utils.py +++ b/influxdb_client/client/date_utils.py @@ -1,9 +1,12 @@ +"""Utils to get right Date parsing function.""" + from dateutil import parser parse_function = None def get_date_parse_function(): + """If there is a 'ciso8601' than use 'ciso8601.parse_datetime' else use 'dateutil.parse'.""" global parse_function if parse_function is None: try: diff --git a/influxdb_client/client/delete_api.py b/influxdb_client/client/delete_api.py index 5ddb2155..35af7e55 100644 --- a/influxdb_client/client/delete_api.py +++ b/influxdb_client/client/delete_api.py @@ -1,17 +1,22 @@ +"""Delete time series data from InfluxDB.""" + import datetime from influxdb_client import DefaultService, DeletePredicateRequest class DeleteApi(object): + """Implementation for '/api/v2/delete' endpoint.""" def __init__(self, influxdb_client): + """Initialize defaults.""" self._influxdb_client = influxdb_client self._service = DefaultService(influxdb_client.api_client) def delete(self, start: datetime, stop: object, predicate: object, bucket: str, org: str) -> None: """ Delete Time series data from InfluxDB. + :param start: start time :param stop: stop time :param predicate: predicate diff --git a/influxdb_client/client/flux_csv_parser.py b/influxdb_client/client/flux_csv_parser.py index 8f3500fd..21595933 100644 --- a/influxdb_client/client/flux_csv_parser.py +++ b/influxdb_client/client/flux_csv_parser.py @@ -1,3 +1,6 @@ +"""Parsing response from InfluxDB to FluxStructures or DataFrame.""" + + import base64 import codecs import csv as csv_parser @@ -11,25 +14,34 @@ class FluxQueryException(Exception): + """The exception from InfluxDB.""" + def __init__(self, message, reference) -> None: + """Initialize defaults.""" self.message = message self.reference = reference class FluxCsvParserException(Exception): + """The exception for not parsable data.""" + pass class FluxSerializationMode(Enum): + """The type how we wan't to serialize data.""" + tables = 1 stream = 2 dataFrame = 3 class FluxCsvParser(object): + """Parse to processing response from InfluxDB to FluxStructures or DataFrame.""" def __init__(self, response: HTTPResponse, serialization_mode: FluxSerializationMode, data_frame_index: List[str] = None) -> None: + """Initialize defaults.""" self._response = response self.tables = [] self._serialization_mode = serialization_mode @@ -38,13 +50,16 @@ def __init__(self, response: HTTPResponse, serialization_mode: FluxSerialization pass def __enter__(self): + """Initialize CSV reader.""" self._reader = csv_parser.reader(codecs.iterdecode(self._response, 'utf-8')) return self def __exit__(self, exc_type, exc_val, exc_tb): + """Close HTTP response.""" self._response.close() def generator(self): + """Return Python generator.""" with self as parser: yield from parser._parse_flux_response() @@ -159,6 +174,7 @@ def _prepare_data_frame(self): return self._data_frame.append(_temp_df) def parse_record(self, table_index, table, csv): + """Parse one record.""" record = FluxRecord(table_index) for fluxColumn in table.columns: @@ -203,12 +219,14 @@ def _to_value(self, str_val, column): @staticmethod def add_data_types(table, data_types): + """Add data types to columns.""" for index in range(1, len(data_types)): column_def = FluxColumn(index=index - 1, data_type=data_types[index]) table.columns.append(column_def) @staticmethod def add_groups(table, csv): + """Add group keys to columns.""" i = 1 for column in table.columns: column.group = csv[i] == "true" @@ -216,6 +234,7 @@ def add_groups(table, csv): @staticmethod def add_default_empty_values(table, default_values): + """Add default values to columns.""" i = 1 for column in table.columns: column.default_value = default_values[i] @@ -223,6 +242,7 @@ def add_default_empty_values(table, default_values): @staticmethod def add_column_names_and_tags(table, csv): + """Add labels to columns.""" i = 1 for column in table.columns: column.label = csv[i] diff --git a/influxdb_client/client/flux_table.py b/influxdb_client/client/flux_table.py index 69289b65..e01bafb7 100644 --- a/influxdb_client/client/flux_table.py +++ b/influxdb_client/client/flux_table.py @@ -1,26 +1,47 @@ +""" +Flux employs a basic data model built from basic data types. + +The data model consists of tables, records, columns. +""" + + class FluxStructure: + """The data model consists of tables, records, columns.""" + pass class FluxTable(FluxStructure): + """A table is set of records with a common set of columns and a group key.""" def __init__(self) -> None: + """Initialize defaults.""" self.columns = [] self.records = [] def get_group_key(self): + """ + Group key is a list of columns. + + A table’s group key denotes which subset of the entire dataset is assigned to the table. + """ return list(filter(lambda column: (column.group is True), self.columns)) def __str__(self): + """Return formatted output.""" cls_name = type(self).__name__ return cls_name + "() columns: " + str(len(self.columns)) + ", records: " + str(len(self.records)) def __iter__(self): + """Iterate over records.""" return iter(self.records) class FluxColumn(FluxStructure): + """A column has a label and a data type.""" + def __init__(self, index=None, label=None, data_type=None, group=None, default_value=None) -> None: + """Initialize defaults.""" self.default_value = default_value self.group = group self.data_type = data_type @@ -29,37 +50,48 @@ def __init__(self, index=None, label=None, data_type=None, group=None, default_v class FluxRecord(FluxStructure): + """A record is a tuple of named values and is represented using an object type.""" def __init__(self, table, values=None) -> None: + """Initialize defaults.""" if values is None: values = {} self.table = table self.values = values def get_start(self): + """Get '_start' value.""" return self["_start"] def get_stop(self): + """Get '_stop' value.""" return self["_stop"] def get_time(self): + """Get timestamp.""" return self["_time"] def get_value(self): + """Get field value.""" return self["_value"] def get_field(self): + """Get field name.""" return self["_field"] def get_measurement(self): + """Get measurement name.""" return self["_measurement"] def __getitem__(self, key): + """Get value by key.""" return self.values.__getitem__(key) def __setitem__(self, key, value): + """Set value with key and value.""" return self.values.__setitem__(key, value) def __str__(self): + """Return formatted output.""" cls_name = type(self).__name__ return cls_name + "() table: " + str(self.table) + ", " + str(self.values) diff --git a/influxdb_client/client/influxdb_client.py b/influxdb_client/client/influxdb_client.py index 2c6fff92..0c63c1fa 100644 --- a/influxdb_client/client/influxdb_client.py +++ b/influxdb_client/client/influxdb_client.py @@ -1,3 +1,5 @@ +"""InfluxDBClient is client for API defined in https://github.com/influxdata/influxdb/blob/master/http/swagger.yml.""" + from __future__ import absolute_import import configparser @@ -16,12 +18,12 @@ class InfluxDBClient(object): + """InfluxDBClient is client for InfluxDB v2.""" def __init__(self, url, token, debug=None, timeout=10000, enable_gzip=False, org: str = None, default_tags: dict = None) -> None: """ - :class:`influxdb_client.InfluxDBClient` is client for HTTP API defined - in https://github.com/influxdata/influxdb/blob/master/http/swagger.yml. + Initialize defaults. :param url: InfluxDB server API url (ex. http://localhost:9999). :param token: auth token @@ -56,6 +58,7 @@ def __init__(self, url, token, debug=None, timeout=10000, enable_gzip=False, org @classmethod def from_config_file(cls, config_file: str = "config.ini", debug=None, enable_gzip=False): + """Configure client via '*.ini' file in segment 'influx2'.""" config = configparser.ConfigParser() config.read(config_file) @@ -85,6 +88,7 @@ def from_config_file(cls, config_file: str = "config.ini", debug=None, enable_gz @classmethod def from_env_properties(cls, debug=None, enable_gzip=False): + """Configure client via environment properties.""" url = os.getenv('INFLUXDB_V2_URL', "http://localhost:9999") token = os.getenv('INFLUXDB_V2_TOKEN', "my-token") timeout = os.getenv('INFLUXDB_V2_TIMEOUT', "10000") @@ -101,7 +105,7 @@ def from_env_properties(cls, debug=None, enable_gzip=False): def write_api(self, write_options=WriteOptions(), point_settings=PointSettings()) -> WriteApi: """ - Creates a Write API instance + Create a Write API instance. :param point_settings: :param write_options: write api configuration @@ -111,26 +115,25 @@ def write_api(self, write_options=WriteOptions(), point_settings=PointSettings() def query_api(self) -> QueryApi: """ - Creates a Query API instance + Create a Query API instance. :return: Query api instance """ return QueryApi(self) def close(self): - """ - Shutdowns the client - """ + """Shutdown the client.""" self.__del__() def __del__(self): + """Shutdown the client.""" if self.api_client: self.api_client.__del__() self.api_client = None def buckets_api(self) -> BucketsApi: """ - Creates the Bucket API instance. + Create the Bucket API instance. :return: buckets api """ @@ -138,7 +141,7 @@ def buckets_api(self) -> BucketsApi: def authorizations_api(self) -> AuthorizationsApi: """ - Creates the Authorizations API instance. + Create the Authorizations API instance. :return: authorizations api """ @@ -146,7 +149,7 @@ def authorizations_api(self) -> AuthorizationsApi: def users_api(self) -> UsersApi: """ - Creates the Users API instance. + Create the Users API instance. :return: users api """ @@ -154,7 +157,7 @@ def users_api(self) -> UsersApi: def organizations_api(self) -> OrganizationsApi: """ - Creates the Organizations API instance. + Create the Organizations API instance. :return: organizations api """ @@ -162,7 +165,7 @@ def organizations_api(self) -> OrganizationsApi: def tasks_api(self) -> TasksApi: """ - Creates the Tasks API instance. + Create the Tasks API instance. :return: tasks api """ @@ -170,7 +173,7 @@ def tasks_api(self) -> TasksApi: def labels_api(self) -> LabelsApi: """ - Creates the Labels API instance. + Create the Labels API instance. :return: labels api """ @@ -193,7 +196,7 @@ def health(self) -> HealthCheck: def ready(self) -> Ready: """ - Gets The readiness of the InfluxDB 2.0. + Get The readiness of the InfluxDB 2.0. :return: Ready """ @@ -202,7 +205,8 @@ def ready(self) -> Ready: def delete_api(self) -> DeleteApi: """ - Gets the delete metrics API instance + Get the delete metrics API instance. + :return: delete api """ return DeleteApi(self) diff --git a/influxdb_client/client/labels_api.py b/influxdb_client/client/labels_api.py index 619a003e..9cb43c5a 100644 --- a/influxdb_client/client/labels_api.py +++ b/influxdb_client/client/labels_api.py @@ -1,20 +1,21 @@ +"""Labels are a way to add visual metadata to dashboards, tasks, and other items in the InfluxDB UI.""" + from typing import List, Dict, Union from influxdb_client import LabelsService, LabelCreateRequest, Label, LabelUpdate class LabelsApi(object): - """ - The client of the InfluxDB 2.0 that implements Labels HTTP API endpoint. - """ + """Implementation for '/api/v2/labels' endpoint.""" def __init__(self, influxdb_client): + """Initialize defaults.""" self._influxdb_client = influxdb_client self._service = LabelsService(influxdb_client.api_client) def create_label(self, name: str, org_id: str, properties: Dict[str, str] = None) -> Label: """ - Creates a new label. + Create a new label. :param name: label name :param org_id: organization id @@ -26,7 +27,7 @@ def create_label(self, name: str, org_id: str, properties: Dict[str, str] = None def update_label(self, label: Label): """ - Updates an existing label name and properties. + Update an existing label name and properties. :param label: label :return: the updated label @@ -38,7 +39,7 @@ def update_label(self, label: Label): def delete_label(self, label: Union[str, Label]): """ - Deletes the label. + Delete the label. :param label: label id or Label """ @@ -54,7 +55,7 @@ def delete_label(self, label: Union[str, Label]): def clone_label(self, cloned_name: str, label: Label) -> Label: """ - Creates the new instance of the label as a copy existing label. + Create the new instance of the label as a copy existing label. :param cloned_name: new label name :param label: existing label @@ -68,7 +69,7 @@ def clone_label(self, cloned_name: str, label: Label) -> Label: def find_labels(self) -> List['Label']: """ - Gets all available labels. + Get all available labels. :return: labels """ @@ -76,7 +77,7 @@ def find_labels(self) -> List['Label']: def find_label_by_id(self, label_id: str): """ - Retrieves the label by id. + Retrieve the label by id. :param label_id: :return: Label @@ -85,7 +86,7 @@ def find_label_by_id(self, label_id: str): def find_label_by_org(self, org_id) -> List['Label']: """ - Gets the list of all labels for given organization. + Get the list of all labels for given organization. :param org_id: organization id :return: list of labels diff --git a/influxdb_client/client/organizations_api.py b/influxdb_client/client/organizations_api.py index 07f33c3d..ec59b04f 100644 --- a/influxdb_client/client/organizations_api.py +++ b/influxdb_client/client/organizations_api.py @@ -1,30 +1,41 @@ +""" +An organization is a workspace for a group of users. + +All dashboards, tasks, buckets, members, etc., belong to an organization. +""" + + from influxdb_client import OrganizationsService, UsersService, Organization class OrganizationsApi(object): - """ - The client of the InfluxDB 2.0 that implements Organizations HTTP API endpoint. - """ + """Implementation for '/api/v2/orgs' endpoint.""" def __init__(self, influxdb_client): + """Initialize defaults.""" self._influxdb_client = influxdb_client self._organizations_service = OrganizationsService(influxdb_client.api_client) self._users_service = UsersService(influxdb_client.api_client) def me(self): + """Return the current authenticated user.""" user = self._users_service.get_me() return user def find_organization(self, org_id): + """Retrieve an organization.""" return self._organizations_service.get_orgs_id(org_id=org_id) def find_organizations(self): + """List all organizations.""" return self._organizations_service.get_orgs().orgs def create_organization(self, name: str = None, organization: Organization = None) -> Organization: + """Create an organization.""" if organization is None: organization = Organization(name=name) return self._organizations_service.post_orgs(organization=organization) def delete_organization(self, org_id: str): + """Delete an organization.""" return self._organizations_service.delete_orgs_id(org_id=org_id) diff --git a/influxdb_client/client/query_api.py b/influxdb_client/client/query_api.py index 1a8b7da1..2aea0b9f 100644 --- a/influxdb_client/client/query_api.py +++ b/influxdb_client/client/query_api.py @@ -1,3 +1,9 @@ +""" +Querying InfluxDB bu FluxLang. + +Flux is InfluxData’s functional data scripting language designed for querying, analyzing, and acting on data. +""" + import codecs import csv from typing import List, Generator, Any @@ -9,12 +15,14 @@ class QueryApi(object): + """Implementation for '/api/v2/query' endpoint.""" + default_dialect = Dialect(header=True, delimiter=",", comment_prefix="#", annotations=["datatype", "group", "default"], date_time_format="RFC3339") def __init__(self, influxdb_client): """ - Initializes query client. + Initialize query client. :param influxdb_client: influxdb client """ @@ -23,7 +31,7 @@ def __init__(self, influxdb_client): def query_csv(self, query: str, org=None, dialect: Dialect = default_dialect): """ - Executes the Flux query and return results as a CSV iterator. Each iteration returns a row of the CSV file. + Execute the Flux query and return results as a CSV iterator. Each iteration returns a row of the CSV file. :param query: a Flux query :param org: organization name (optional if already specified in InfluxDBClient) @@ -40,7 +48,7 @@ def query_csv(self, query: str, org=None, dialect: Dialect = default_dialect): def query_raw(self, query: str, org=None, dialect=default_dialect): """ - Synchronously executes the Flux query and return result as raw unprocessed result as a str + Execute synchronous Flux query and return result as raw unprocessed result as a str. :param query: a Flux query :param org: organization name (optional if already specified in InfluxDBClient) @@ -56,7 +64,7 @@ def query_raw(self, query: str, org=None, dialect=default_dialect): def query(self, query: str, org=None) -> List['FluxTable']: """ - Synchronously executes the Flux query and return result as a List['FluxTable'] + Execute synchronous Flux query and return result as a List['FluxTable']. :param query: the Flux query :param org: organization name (optional if already specified in InfluxDBClient) @@ -76,7 +84,7 @@ def query(self, query: str, org=None) -> List['FluxTable']: def query_stream(self, query: str, org=None) -> Generator['FluxRecord', Any, None]: """ - Synchronously executes the Flux query and return stream of FluxRecord as a Generator['FluxRecord'] + Execute synchronous Flux query and return stream of FluxRecord as a Generator['FluxRecord']. :param query: the Flux query :param org: organization name (optional if already specified in InfluxDBClient) @@ -94,7 +102,8 @@ def query_stream(self, query: str, org=None) -> Generator['FluxRecord', Any, Non def query_data_frame(self, query: str, org=None, data_frame_index: List[str] = None): """ - Synchronously executes the Flux query and return Pandas DataFrame. + Execute synchronous Flux query and return Pandas DataFrame. + Note that if a query returns more then one table than the client generates a DataFrame for each of them. :param query: the Flux query @@ -102,7 +111,6 @@ def query_data_frame(self, query: str, org=None, data_frame_index: List[str] = N :param data_frame_index: the list of columns that are used as DataFrame index :return: """ - from ..extras import pd _generator = self.query_data_frame_stream(query, org=org, data_frame_index=data_frame_index) @@ -117,7 +125,8 @@ def query_data_frame(self, query: str, org=None, data_frame_index: List[str] = N def query_data_frame_stream(self, query: str, org=None, data_frame_index: List[str] = None): """ - Synchronously executes the Flux query and return stream of Pandas DataFrame as a Generator['pd.DataFrame']. + Execute synchronous Flux query and return stream of Pandas DataFrame as a Generator['pd.DataFrame']. + Note that if a query returns more then one table than the client generates a DataFrame for each of them. :param query: the Flux query @@ -125,7 +134,6 @@ def query_data_frame_stream(self, query: str, org=None, data_frame_index: List[s :param data_frame_index: the list of columns that are used as DataFrame index :return: """ - if org is None: org = self._influxdb_client.org @@ -143,4 +151,5 @@ def _create_query(query, dialect=default_dialect): return created def __del__(self): + """Close QueryAPI.""" pass diff --git a/influxdb_client/client/tasks_api.py b/influxdb_client/client/tasks_api.py index f1968efa..b5477a61 100644 --- a/influxdb_client/client/tasks_api.py +++ b/influxdb_client/client/tasks_api.py @@ -1,3 +1,10 @@ +""" +Process and analyze your data with tasks in the InfluxDB task engine. + +Use tasks (scheduled Flux queries) to input a data stream and then analyze, modify, and act on the data accordingly. +""" + + import datetime from typing import List @@ -6,18 +13,20 @@ class TasksApi(object): + """Implementation for '/api/v2/tasks' endpoint.""" def __init__(self, influxdb_client): + """Initialize defaults.""" self._influxdb_client = influxdb_client self._service = TasksService(influxdb_client.api_client) def find_task_by_id(self, task_id) -> Task: - + """Retrieve a task.""" task = self._service.get_tasks_id(task_id) return task def find_tasks(self, **kwargs): - """List tasks. + """List all tasks. :param str name: only returns tasks with the specified name :param str after: returns tasks after specified ID @@ -27,11 +36,10 @@ def find_tasks(self, **kwargs): :param int limit: the number of tasks to return :return: Tasks """ - return self._service.get_tasks(**kwargs).tasks def create_task(self, task: Task = None, task_create_request: TaskCreateRequest = None) -> Task: - + """Create a new task.""" if task_create_request is not None: return self._service.post_tasks(task_create_request) @@ -63,28 +71,33 @@ def _create_task(name: str, flux: str, every, cron, org_id: str) -> Task: return task def create_task_every(self, name, flux, every, organization) -> Task: + """Create a new task with every repetition schedule.""" task = self._create_task(name, flux, every, None, organization.id) return self.create_task(task) def create_task_cron(self, name: str, flux: str, cron: str, org_id: str) -> Task: + """Create a new task with cron repetition schedule.""" task = self._create_task(name=name, flux=flux, cron=cron, org_id=org_id, every=None) return self.create_task(task) def delete_task(self, task_id: str): + """Delete a task.""" if task_id is not None: return self._service.delete_tasks_id(task_id=task_id) def update_task(self, task: Task) -> Task: - + """Update a task.""" req = TaskUpdateRequest(flux=task.flux, description=task.description, every=task.every, cron=task.cron, status=task.status, offset=task.offset) return self.update_task_request(task_id=task.id, task_update_request=req) def update_task_request(self, task_id, task_update_request: TaskUpdateRequest) -> Task: + """Update a task.""" return self._service.patch_tasks_id(task_id=task_id, task_update_request=task_update_request) def clone_task(self, task: Task) -> Task: + """Clone a task.""" cloned = Task(name=task.name, org_id=task.org_id, org=task.org, flux=task.flux, status="active") created = self.create_task(cloned) @@ -94,38 +107,47 @@ def clone_task(self, task: Task) -> Task: return created def get_labels(self, task_id): + """List all labels for a task.""" return self._service.get_tasks_id_labels(task_id=task_id) def add_label(self, label_id: str, task_id: str) -> LabelResponse: + """Add a label to a task.""" label_mapping = LabelMapping(label_id=label_id) return self._service.post_tasks_id_labels(task_id=task_id, label_mapping=label_mapping) def delete_label(self, label_id: str, task_id: str): + """Delete a label from a task.""" return self._service.delete_tasks_id_labels_id(task_id=task_id, label_id=label_id) def get_members(self, task_id: str): + """List all task members.""" return self._service.get_tasks_id_members(task_id=task_id).users def add_member(self, member_id, task_id): + """Add a member to a task.""" user = AddResourceMemberRequestBody(id=member_id) return self._service.post_tasks_id_members(task_id=task_id, add_resource_member_request_body=user) def delete_member(self, member_id, task_id): + """Remove a member from a task.""" return self._service.delete_tasks_id_members_id(user_id=member_id, task_id=task_id) def get_owners(self, task_id): + """List all owners of a task.""" return self._service.get_tasks_id_owners(task_id=task_id).users def add_owner(self, owner_id, task_id): + """Add an owner to a task.""" user = AddResourceMemberRequestBody(id=owner_id) return self._service.post_tasks_id_owners(task_id=task_id, add_resource_member_request_body=user) def delete_owner(self, owner_id, task_id): + """Remove an owner from a task.""" return self._service.delete_tasks_id_owners_id(user_id=owner_id, task_id=task_id) def get_runs(self, task_id, **kwargs) -> List['Run']: """ - Retrieve list of run records for a task + Retrieve list of run records for a task. :param task_id: task id :param str after: returns runs after specified ID @@ -137,7 +159,8 @@ def get_runs(self, task_id, **kwargs) -> List['Run']: def get_run(self, task_id: str, run_id: str) -> Run: """ - Get run record for specific task and run id + Get run record for specific task and run id. + :param task_id: task id :param run_id: run id :return: Run for specified task and run id @@ -145,6 +168,7 @@ def get_run(self, task_id: str, run_id: str) -> Run: return self._service.get_tasks_id_runs(task_id=task_id, run_id=run_id) def get_run_logs(self, task_id: str, run_id: str) -> List['LogEvent']: + """Retrieve all logs for a run.""" return self._service.get_tasks_id_runs_id_logs(task_id=task_id, run_id=run_id).events def run_manually(self, task_id: str, scheduled_for: datetime = None): @@ -160,6 +184,7 @@ def run_manually(self, task_id: str, scheduled_for: datetime = None): def retry_run(self, task_id: str, run_id: str): """ Retry a task run. + :param task_id: task id :param run_id: run id """ @@ -167,7 +192,8 @@ def retry_run(self, task_id: str, run_id: str): def cancel_run(self, task_id: str, run_id: str): """ - Cancels a currently running run. + Cancel a currently running run. + :param task_id: :param run_id: """ @@ -176,9 +202,11 @@ def cancel_run(self, task_id: str, run_id: str): def get_logs(self, task_id: str) -> List['LogEvent']: """ Retrieve all logs for a task. + :param task_id: task id """ return self._service.get_tasks_id_logs(task_id=task_id).events def find_tasks_by_user(self, task_user_id): + """List all tasks by user.""" return self.find_tasks(user=task_user_id) diff --git a/influxdb_client/client/users_api.py b/influxdb_client/client/users_api.py index 2dfeea81..0ba3a5e1 100644 --- a/influxdb_client/client/users_api.py +++ b/influxdb_client/client/users_api.py @@ -1,17 +1,28 @@ +""" +Users are those with access to InfluxDB. + +To grant a user permission to access data, add them as a member of an organization +and provide them with an authentication token. +""" + from influxdb_client import UsersService, User class UsersApi(object): + """Implementation for '/api/v2/users' endpoint.""" def __init__(self, influxdb_client): + """Initialize defaults.""" self._influxdb_client = influxdb_client self._service = UsersService(influxdb_client.api_client) def me(self) -> User: + """Return the current authenticated user.""" user = self._service.get_me() return user def create_user(self, name: str) -> User: + """Create a user.""" user = User(name=name) return self._service.post_users(user=user) diff --git a/influxdb_client/client/write/__init__.py b/influxdb_client/client/write/__init__.py index 9777d6e3..9cce6043 100644 --- a/influxdb_client/client/write/__init__.py +++ b/influxdb_client/client/write/__init__.py @@ -1,7 +1,17 @@ -from __future__ import absolute_import - # flake8: noqa +""" +Influx API Service. + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + # import apis into api package from influxdb_client.service.authorizations_service import AuthorizationsService from influxdb_client.service.buckets_service import BucketsService diff --git a/influxdb_client/client/write/dataframe_serializer.py b/influxdb_client/client/write/dataframe_serializer.py index 0175d58c..e32bb952 100644 --- a/influxdb_client/client/write/dataframe_serializer.py +++ b/influxdb_client/client/write/dataframe_serializer.py @@ -1,14 +1,15 @@ +""" +Functions for serialize Pandas DataFrame. + +Much of the code here is inspired by that in the aioinflux packet found here: https://github.com/gusutabopb/aioinflux +""" + import re from functools import reduce from itertools import chain from influxdb_client.client.write.point import _ESCAPE_KEY, _ESCAPE_MEASUREMENT -""" -Functions for serialize Pandas DataFrame. -Much of the code here is inspired by that in the aioinflux packet found here: https://github.com/gusutabopb/aioinflux -""" - def _replace(data_frame): from ...extras import np @@ -37,6 +38,7 @@ def _itertuples(data_frame): def data_frame_to_list_of_points(data_frame, point_settings, **kwargs): + """Serialize DataFrame into LineProtocols.""" from ...extras import pd, np if not isinstance(data_frame, pd.DataFrame): raise TypeError('Must be DataFrame, but type was: {0}.' diff --git a/influxdb_client/client/write/point.py b/influxdb_client/client/write/point.py index 63c5667f..0a6152fd 100644 --- a/influxdb_client/client/write/point.py +++ b/influxdb_client/client/write/point.py @@ -1,3 +1,6 @@ +"""Point data structure to represent LineProtocol.""" + + import math from builtins import int from datetime import datetime, timedelta @@ -20,16 +23,19 @@ class Point(object): """ Point defines the values that will be written to the database. + Ref: http://bit.ly/influxdata-point """ @staticmethod def measurement(measurement): + """Create a new Point with specified measurement name.""" p = Point(measurement) return p @staticmethod def from_dict(dictionary: dict, write_precision: WritePrecision = DEFAULT_WRITE_PRECISION): + """Initialize point from 'dict' structure.""" point = Point(dictionary['measurement']) if 'tags' in dictionary: for tag_key, tag_value in dictionary['tags'].items(): @@ -41,6 +47,7 @@ def from_dict(dictionary: dict, write_precision: WritePrecision = DEFAULT_WRITE_ return point def __init__(self, measurement_name): + """Initialize defaults.""" self._tags = {} self._fields = {} self._name = measurement_name @@ -51,6 +58,7 @@ def __init__(self, measurement_name): def time(self, time, write_precision=DEFAULT_WRITE_PRECISION): """ Specify timestamp for DataPoint with declared precision. + If time doesn't have specified timezone we assume that timezone is UTC. Examples:: @@ -69,14 +77,17 @@ def time(self, time, write_precision=DEFAULT_WRITE_PRECISION): return self def tag(self, key, value): + """Add tag with key and value.""" self._tags[key] = value return self def field(self, field, value): + """Add field with key and value.""" self._fields[field] = value return self def to_line_protocol(self): + """Create LineProtocol.""" _measurement = _escape_key(self._name, _ESCAPE_MEASUREMENT) _tags = _append_tags(self._tags) _fields = _append_fields(self._fields) @@ -88,6 +99,7 @@ def to_line_protocol(self): @property def write_precision(self): + """Get precision.""" return self._write_precision diff --git a/influxdb_client/client/write_api.py b/influxdb_client/client/write_api.py index 75b7d114..5574b1cc 100644 --- a/influxdb_client/client/write_api.py +++ b/influxdb_client/client/write_api.py @@ -1,3 +1,5 @@ +"""Collect and write time series data to InfluxDB Cloud and InfluxDB OSS.""" + # coding: utf-8 import logging import os @@ -22,12 +24,15 @@ class WriteType(Enum): + """Configuration which type of writes will client use.""" + batching = 1 asynchronous = 2 synchronous = 3 class WriteOptions(object): + """Write configuration.""" def __init__(self, write_type: WriteType = WriteType.batching, batch_size=1_000, flush_interval=1_000, @@ -35,7 +40,7 @@ def __init__(self, write_type: WriteType = WriteType.batching, retry_interval=1_000, write_scheduler=ThreadPoolScheduler(max_workers=1)) -> None: """ - Creates write api configuration. + Create write api configuration. :param write_type: methods of write (batching, asynchronous, synchronous) :param batch_size: the number of data point to collect in batch @@ -53,12 +58,14 @@ def __init__(self, write_type: WriteType = WriteType.batching, self.write_scheduler = write_scheduler def __getstate__(self): + """Return a dict of attributes that you want to pickle.""" state = self.__dict__.copy() # Remove write scheduler del state['write_scheduler'] return state def __setstate__(self, state): + """Set your object with the provided dict.""" self.__dict__.update(state) # Init default write Scheduler self.write_scheduler = ThreadPoolScheduler(max_workers=1) @@ -69,15 +76,14 @@ def __setstate__(self, state): class PointSettings(object): + """Settings to store default tags.""" def __init__(self, **default_tags) -> None: - """ - Creates point settings for write api. + Create point settings for write api. :param default_tags: Default tags which will be added to each point written by api. """ - self.defaultTags = dict() for key, val in default_tags.items(): @@ -92,6 +98,7 @@ def _get_value(value): return value def add_default_tag(self, key, value) -> None: + """Add new default tag with key and value.""" self.defaultTags[key] = self._get_value(value) @@ -142,9 +149,11 @@ def _body_reduce(batch_items): class WriteApi: + """Implementation for '/api/v2/write' endpoint.""" def __init__(self, influxdb_client, write_options: WriteOptions = WriteOptions(), point_settings: PointSettings = PointSettings()) -> None: + """Initialize defaults.""" self._influxdb_client = influxdb_client self._write_service = WriteService(influxdb_client.api_client) self._write_options = write_options @@ -186,7 +195,7 @@ def write(self, bucket: str, org: str = None, str, List['str'], Point, List['Point'], dict, List['dict'], bytes, List['bytes'], Observable] = None, write_precision: WritePrecision = DEFAULT_WRITE_PRECISION, **kwargs) -> Any: """ - Writes time-series data into influxdb. + Write time-series data into InfluxDB. :param str org: specifies the destination organization for writes; take either the ID or Name interchangeably; if both orgID and org are specified, org takes precedence. (required) @@ -197,9 +206,7 @@ def write(self, bucket: str, org: str = None, :param record: Points, line protocol, Pandas DataFrame, RxPY Observable to write :param data_frame_measurement_name: name of measurement for writing Pandas DataFrame :param data_frame_tag_columns: list of DataFrame columns which are tags, rest columns will be fields - """ - if org is None: org = self._influxdb_client.org @@ -228,10 +235,12 @@ def write_payload(payload): return results def flush(self): + """Flush data.""" # TODO pass def __del__(self): + """Close WriteApi.""" if self._subject: self._subject.on_completed() self._subject.dispose() @@ -364,6 +373,7 @@ def _on_complete(self): logger.info("the batching processor was disposed") def __getstate__(self): + """Return a dict of attributes that you want to pickle.""" state = self.__dict__.copy() # Remove rx del state['_subject'] @@ -372,6 +382,7 @@ def __getstate__(self): return state def __setstate__(self, state): + """Set your object with the provided dict.""" self.__dict__.update(state) # Init Rx self.__init__(self._influxdb_client, self._write_options, self._point_settings) diff --git a/influxdb_client/configuration.py b/influxdb_client/configuration.py index 75ec2b0f..d54cab8b 100644 --- a/influxdb_client/configuration.py +++ b/influxdb_client/configuration.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -23,28 +23,37 @@ class TypeWithDefault(type): + """NOTE: This class is auto generated by OpenAPI Generator. + + Ref: https://openapi-generator.tech + Do not edit the class manually. + """ + def __init__(cls, name, bases, dct): + """Initialize with defaults.""" super(TypeWithDefault, cls).__init__(name, bases, dct) cls._default = None def __call__(cls): + """Call self as a function.""" if cls._default is None: cls._default = type.__call__(cls) return copy.copy(cls._default) def set_default(cls, default): + """Set dafaults.""" cls._default = copy.copy(default) class Configuration(six.with_metaclass(TypeWithDefault, object)): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. """ def __init__(self): - """Constructor""" + """Initialize configuration.""" # Default Base url self.host = "http://localhost/api/v2" # Temp file folder for downloading files @@ -102,7 +111,7 @@ def __init__(self): @property def logger_file(self): - """The logger file. + """Logger file. If the logger_file is None, then add stream handler and remove file handler. Otherwise, add file handler and remove stream handler. @@ -114,7 +123,7 @@ def logger_file(self): @logger_file.setter def logger_file(self, value): - """The logger file. + """Logger file. If the logger_file is None, then add stream handler and remove file handler. Otherwise, add file handler and remove stream handler. @@ -133,7 +142,7 @@ def logger_file(self, value): @property def debug(self): - """Debug status + """Debug status. :param value: The debug status, True or False. :type: bool @@ -142,7 +151,7 @@ def debug(self): @debug.setter def debug(self, value): - """Debug status + """Debug status. :param value: The debug status, True or False. :type: bool @@ -164,7 +173,7 @@ def debug(self, value): @property def logger_format(self): - """The logger format. + """Logger format. The logger_formatter will be updated when sets logger_format. @@ -175,7 +184,7 @@ def logger_format(self): @logger_format.setter def logger_format(self, value): - """The logger format. + """Logger format. The logger_formatter will be updated when sets logger_format. @@ -186,7 +195,7 @@ def logger_format(self, value): self.logger_formatter = logging.Formatter(self.__logger_format) def get_api_key_with_prefix(self, identifier): - """Gets API key (with prefix if set). + """Get API key (with prefix if set). :param identifier: The identifier of apiKey. :return: The token for api key authentication. @@ -198,7 +207,7 @@ def get_api_key_with_prefix(self, identifier): return self.api_key[identifier] def get_basic_auth_token(self): - """Gets HTTP basic authentication header (string). + """Get HTTP basic authentication header (string). :return: The token for basic HTTP authentication. """ @@ -207,7 +216,7 @@ def get_basic_auth_token(self): ).get('authorization') def auth_settings(self): - """Gets Auth Settings dict for api client. + """Get Auth Settings dict for api client. :return: The Auth Settings information dict. """ @@ -223,7 +232,7 @@ def auth_settings(self): } def to_debug_report(self): - """Gets the essential information for debugging. + """Get the essential information for debugging. :return: The report for debugging. """ @@ -235,7 +244,7 @@ def to_debug_report(self): format(env=sys.platform, pyversion=sys.version) def update_request_header_params(self, path: str, params: dict): - """Updates header params based on custom settings. + """Update header params based on custom settings. :param path: Resource path :param params: Header parameters dict to be updated. @@ -243,7 +252,7 @@ def update_request_header_params(self, path: str, params: dict): pass def update_request_body(self, path: str, body): - """Updates http body based on custom settings. + """Update http body based on custom settings. :param path: Resource path :param body: Request body to be updated. diff --git a/influxdb_client/domain/__init__.py b/influxdb_client/domain/__init__.py index 5545d0fb..791a6b70 100644 --- a/influxdb_client/domain/__init__.py +++ b/influxdb_client/domain/__init__.py @@ -2,12 +2,12 @@ # flake8: noqa """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ diff --git a/influxdb_client/domain/add_resource_member_request_body.py b/influxdb_client/domain/add_resource_member_request_body.py index fda2bc28..658ae6f6 100644 --- a/influxdb_client/domain/add_resource_member_request_body.py +++ b/influxdb_client/domain/add_resource_member_request_body.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class AddResourceMemberRequestBody(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class AddResourceMemberRequestBody(object): 'name': 'name' } - def __init__(self, id=None, name=None): # noqa: E501 - """AddResourceMemberRequestBody - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, id=None, name=None): # noqa: E501,D401,D403 + """AddResourceMemberRequestBody - a model defined in OpenAPI.""" # noqa: E501 self._id = None self._name = None self.discriminator = None @@ -53,50 +53,44 @@ def __init__(self, id=None, name=None): # noqa: E501 @property def id(self): - """Gets the id of this AddResourceMemberRequestBody. # noqa: E501 + """Get the id of this AddResourceMemberRequestBody. - - :return: The id of this AddResourceMemberRequestBody. # noqa: E501 + :return: The id of this AddResourceMemberRequestBody. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this AddResourceMemberRequestBody. - + """Set the id of this AddResourceMemberRequestBody. - :param id: The id of this AddResourceMemberRequestBody. # noqa: E501 + :param id: The id of this AddResourceMemberRequestBody. :type: str - """ + """ # noqa: E501 if id is None: raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - self._id = id @property def name(self): - """Gets the name of this AddResourceMemberRequestBody. # noqa: E501 - + """Get the name of this AddResourceMemberRequestBody. - :return: The name of this AddResourceMemberRequestBody. # noqa: E501 + :return: The name of this AddResourceMemberRequestBody. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this AddResourceMemberRequestBody. + """Set the name of this AddResourceMemberRequestBody. - - :param name: The name of this AddResourceMemberRequestBody. # noqa: E501 + :param name: The name of this AddResourceMemberRequestBody. :type: str - """ - + """ # noqa: E501 self._name = name def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -120,20 +114,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, AddResourceMemberRequestBody): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/analyze_query_response.py b/influxdb_client/domain/analyze_query_response.py index 4f5e2a92..e1eefc91 100644 --- a/influxdb_client/domain/analyze_query_response.py +++ b/influxdb_client/domain/analyze_query_response.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class AnalyzeQueryResponse(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class AnalyzeQueryResponse(object): 'errors': 'errors' } - def __init__(self, errors=None): # noqa: E501 - """AnalyzeQueryResponse - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, errors=None): # noqa: E501,D401,D403 + """AnalyzeQueryResponse - a model defined in OpenAPI.""" # noqa: E501 self._errors = None self.discriminator = None @@ -49,27 +49,24 @@ def __init__(self, errors=None): # noqa: E501 @property def errors(self): - """Gets the errors of this AnalyzeQueryResponse. # noqa: E501 - + """Get the errors of this AnalyzeQueryResponse. - :return: The errors of this AnalyzeQueryResponse. # noqa: E501 + :return: The errors of this AnalyzeQueryResponse. :rtype: list[AnalyzeQueryResponseErrors] - """ + """ # noqa: E501 return self._errors @errors.setter def errors(self, errors): - """Sets the errors of this AnalyzeQueryResponse. + """Set the errors of this AnalyzeQueryResponse. - - :param errors: The errors of this AnalyzeQueryResponse. # noqa: E501 + :param errors: The errors of this AnalyzeQueryResponse. :type: list[AnalyzeQueryResponseErrors] - """ - + """ # noqa: E501 self._errors = errors def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -93,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, AnalyzeQueryResponse): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/analyze_query_response_errors.py b/influxdb_client/domain/analyze_query_response_errors.py index f78e0be6..62ed92d0 100644 --- a/influxdb_client/domain/analyze_query_response_errors.py +++ b/influxdb_client/domain/analyze_query_response_errors.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class AnalyzeQueryResponseErrors(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class AnalyzeQueryResponseErrors(object): 'message': 'message' } - def __init__(self, line=None, column=None, character=None, message=None): # noqa: E501 - """AnalyzeQueryResponseErrors - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, line=None, column=None, character=None, message=None): # noqa: E501,D401,D403 + """AnalyzeQueryResponseErrors - a model defined in OpenAPI.""" # noqa: E501 self._line = None self._column = None self._character = None @@ -64,90 +64,78 @@ def __init__(self, line=None, column=None, character=None, message=None): # noq @property def line(self): - """Gets the line of this AnalyzeQueryResponseErrors. # noqa: E501 + """Get the line of this AnalyzeQueryResponseErrors. - - :return: The line of this AnalyzeQueryResponseErrors. # noqa: E501 + :return: The line of this AnalyzeQueryResponseErrors. :rtype: int - """ + """ # noqa: E501 return self._line @line.setter def line(self, line): - """Sets the line of this AnalyzeQueryResponseErrors. - + """Set the line of this AnalyzeQueryResponseErrors. - :param line: The line of this AnalyzeQueryResponseErrors. # noqa: E501 + :param line: The line of this AnalyzeQueryResponseErrors. :type: int - """ - + """ # noqa: E501 self._line = line @property def column(self): - """Gets the column of this AnalyzeQueryResponseErrors. # noqa: E501 - + """Get the column of this AnalyzeQueryResponseErrors. - :return: The column of this AnalyzeQueryResponseErrors. # noqa: E501 + :return: The column of this AnalyzeQueryResponseErrors. :rtype: int - """ + """ # noqa: E501 return self._column @column.setter def column(self, column): - """Sets the column of this AnalyzeQueryResponseErrors. - + """Set the column of this AnalyzeQueryResponseErrors. - :param column: The column of this AnalyzeQueryResponseErrors. # noqa: E501 + :param column: The column of this AnalyzeQueryResponseErrors. :type: int - """ - + """ # noqa: E501 self._column = column @property def character(self): - """Gets the character of this AnalyzeQueryResponseErrors. # noqa: E501 - + """Get the character of this AnalyzeQueryResponseErrors. - :return: The character of this AnalyzeQueryResponseErrors. # noqa: E501 + :return: The character of this AnalyzeQueryResponseErrors. :rtype: int - """ + """ # noqa: E501 return self._character @character.setter def character(self, character): - """Sets the character of this AnalyzeQueryResponseErrors. + """Set the character of this AnalyzeQueryResponseErrors. - - :param character: The character of this AnalyzeQueryResponseErrors. # noqa: E501 + :param character: The character of this AnalyzeQueryResponseErrors. :type: int - """ - + """ # noqa: E501 self._character = character @property def message(self): - """Gets the message of this AnalyzeQueryResponseErrors. # noqa: E501 + """Get the message of this AnalyzeQueryResponseErrors. - - :return: The message of this AnalyzeQueryResponseErrors. # noqa: E501 + :return: The message of this AnalyzeQueryResponseErrors. :rtype: str - """ + """ # noqa: E501 return self._message @message.setter def message(self, message): - """Sets the message of this AnalyzeQueryResponseErrors. - + """Set the message of this AnalyzeQueryResponseErrors. - :param message: The message of this AnalyzeQueryResponseErrors. # noqa: E501 + :param message: The message of this AnalyzeQueryResponseErrors. :type: str - """ - + """ # noqa: E501 self._message = message def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -171,20 +159,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, AnalyzeQueryResponseErrors): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/array_expression.py b/influxdb_client/domain/array_expression.py index 94dcc6e4..a9db861e 100644 --- a/influxdb_client/domain/array_expression.py +++ b/influxdb_client/domain/array_expression.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class ArrayExpression(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class ArrayExpression(object): 'elements': 'elements' } - def __init__(self, type=None, elements=None): # noqa: E501 - """ArrayExpression - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, elements=None): # noqa: E501,D401,D403 + """ArrayExpression - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._elements = None self.discriminator = None @@ -54,52 +54,50 @@ def __init__(self, type=None, elements=None): # noqa: E501 @property def type(self): - """Gets the type of this ArrayExpression. # noqa: E501 + """Get the type of this ArrayExpression. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this ArrayExpression. # noqa: E501 + :return: The type of this ArrayExpression. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this ArrayExpression. + """Set the type of this ArrayExpression. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this ArrayExpression. # noqa: E501 + :param type: The type of this ArrayExpression. :type: str - """ - + """ # noqa: E501 self._type = type @property def elements(self): - """Gets the elements of this ArrayExpression. # noqa: E501 + """Get the elements of this ArrayExpression. - Elements of the array # noqa: E501 + Elements of the array - :return: The elements of this ArrayExpression. # noqa: E501 + :return: The elements of this ArrayExpression. :rtype: list[Expression] - """ + """ # noqa: E501 return self._elements @elements.setter def elements(self, elements): - """Sets the elements of this ArrayExpression. + """Set the elements of this ArrayExpression. - Elements of the array # noqa: E501 + Elements of the array - :param elements: The elements of this ArrayExpression. # noqa: E501 + :param elements: The elements of this ArrayExpression. :type: list[Expression] - """ - + """ # noqa: E501 self._elements = elements def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -123,20 +121,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ArrayExpression): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/ast_response.py b/influxdb_client/domain/ast_response.py index 83450fba..4f665b07 100644 --- a/influxdb_client/domain/ast_response.py +++ b/influxdb_client/domain/ast_response.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class ASTResponse(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class ASTResponse(object): 'ast': 'ast' } - def __init__(self, ast=None): # noqa: E501 - """ASTResponse - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, ast=None): # noqa: E501,D401,D403 + """ASTResponse - a model defined in OpenAPI.""" # noqa: E501 self._ast = None self.discriminator = None @@ -49,27 +49,24 @@ def __init__(self, ast=None): # noqa: E501 @property def ast(self): - """Gets the ast of this ASTResponse. # noqa: E501 - + """Get the ast of this ASTResponse. - :return: The ast of this ASTResponse. # noqa: E501 + :return: The ast of this ASTResponse. :rtype: Package - """ + """ # noqa: E501 return self._ast @ast.setter def ast(self, ast): - """Sets the ast of this ASTResponse. + """Set the ast of this ASTResponse. - - :param ast: The ast of this ASTResponse. # noqa: E501 + :param ast: The ast of this ASTResponse. :type: Package - """ - + """ # noqa: E501 self._ast = ast def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -93,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ASTResponse): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/authorization.py b/influxdb_client/domain/authorization.py index 5e75e7b2..3859dc0c 100644 --- a/influxdb_client/domain/authorization.py +++ b/influxdb_client/domain/authorization.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class Authorization(AuthorizationUpdateRequest): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -61,8 +62,8 @@ class Authorization(AuthorizationUpdateRequest): 'description': 'description' } - def __init__(self, created_at=None, updated_at=None, org_id=None, permissions=None, id=None, token=None, user_id=None, user=None, org=None, links=None, status='active', description=None): # noqa: E501 - """Authorization - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, created_at=None, updated_at=None, org_id=None, permissions=None, id=None, token=None, user_id=None, user=None, org=None, links=None, status='active', description=None): # noqa: E501,D401,D403 + """Authorization - a model defined in OpenAPI.""" # noqa: E501 AuthorizationUpdateRequest.__init__(self, status=status, description=description) # noqa: E501 self._created_at = None @@ -100,228 +101,210 @@ def __init__(self, created_at=None, updated_at=None, org_id=None, permissions=No @property def created_at(self): - """Gets the created_at of this Authorization. # noqa: E501 - + """Get the created_at of this Authorization. - :return: The created_at of this Authorization. # noqa: E501 + :return: The created_at of this Authorization. :rtype: datetime - """ + """ # noqa: E501 return self._created_at @created_at.setter def created_at(self, created_at): - """Sets the created_at of this Authorization. - + """Set the created_at of this Authorization. - :param created_at: The created_at of this Authorization. # noqa: E501 + :param created_at: The created_at of this Authorization. :type: datetime - """ - + """ # noqa: E501 self._created_at = created_at @property def updated_at(self): - """Gets the updated_at of this Authorization. # noqa: E501 - + """Get the updated_at of this Authorization. - :return: The updated_at of this Authorization. # noqa: E501 + :return: The updated_at of this Authorization. :rtype: datetime - """ + """ # noqa: E501 return self._updated_at @updated_at.setter def updated_at(self, updated_at): - """Sets the updated_at of this Authorization. + """Set the updated_at of this Authorization. - - :param updated_at: The updated_at of this Authorization. # noqa: E501 + :param updated_at: The updated_at of this Authorization. :type: datetime - """ - + """ # noqa: E501 self._updated_at = updated_at @property def org_id(self): - """Gets the org_id of this Authorization. # noqa: E501 + """Get the org_id of this Authorization. - ID of org that authorization is scoped to. # noqa: E501 + ID of org that authorization is scoped to. - :return: The org_id of this Authorization. # noqa: E501 + :return: The org_id of this Authorization. :rtype: str - """ + """ # noqa: E501 return self._org_id @org_id.setter def org_id(self, org_id): - """Sets the org_id of this Authorization. + """Set the org_id of this Authorization. - ID of org that authorization is scoped to. # noqa: E501 + ID of org that authorization is scoped to. - :param org_id: The org_id of this Authorization. # noqa: E501 + :param org_id: The org_id of this Authorization. :type: str - """ - + """ # noqa: E501 self._org_id = org_id @property def permissions(self): - """Gets the permissions of this Authorization. # noqa: E501 + """Get the permissions of this Authorization. - List of permissions for an auth. An auth must have at least one Permission. # noqa: E501 + List of permissions for an auth. An auth must have at least one Permission. - :return: The permissions of this Authorization. # noqa: E501 + :return: The permissions of this Authorization. :rtype: list[Permission] - """ + """ # noqa: E501 return self._permissions @permissions.setter def permissions(self, permissions): - """Sets the permissions of this Authorization. + """Set the permissions of this Authorization. - List of permissions for an auth. An auth must have at least one Permission. # noqa: E501 + List of permissions for an auth. An auth must have at least one Permission. - :param permissions: The permissions of this Authorization. # noqa: E501 + :param permissions: The permissions of this Authorization. :type: list[Permission] - """ - + """ # noqa: E501 self._permissions = permissions @property def id(self): - """Gets the id of this Authorization. # noqa: E501 - + """Get the id of this Authorization. - :return: The id of this Authorization. # noqa: E501 + :return: The id of this Authorization. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this Authorization. + """Set the id of this Authorization. - - :param id: The id of this Authorization. # noqa: E501 + :param id: The id of this Authorization. :type: str - """ - + """ # noqa: E501 self._id = id @property def token(self): - """Gets the token of this Authorization. # noqa: E501 + """Get the token of this Authorization. - Passed via the Authorization Header and Token Authentication type. # noqa: E501 + Passed via the Authorization Header and Token Authentication type. - :return: The token of this Authorization. # noqa: E501 + :return: The token of this Authorization. :rtype: str - """ + """ # noqa: E501 return self._token @token.setter def token(self, token): - """Sets the token of this Authorization. + """Set the token of this Authorization. - Passed via the Authorization Header and Token Authentication type. # noqa: E501 + Passed via the Authorization Header and Token Authentication type. - :param token: The token of this Authorization. # noqa: E501 + :param token: The token of this Authorization. :type: str - """ - + """ # noqa: E501 self._token = token @property def user_id(self): - """Gets the user_id of this Authorization. # noqa: E501 + """Get the user_id of this Authorization. - ID of user that created and owns the token. # noqa: E501 + ID of user that created and owns the token. - :return: The user_id of this Authorization. # noqa: E501 + :return: The user_id of this Authorization. :rtype: str - """ + """ # noqa: E501 return self._user_id @user_id.setter def user_id(self, user_id): - """Sets the user_id of this Authorization. + """Set the user_id of this Authorization. - ID of user that created and owns the token. # noqa: E501 + ID of user that created and owns the token. - :param user_id: The user_id of this Authorization. # noqa: E501 + :param user_id: The user_id of this Authorization. :type: str - """ - + """ # noqa: E501 self._user_id = user_id @property def user(self): - """Gets the user of this Authorization. # noqa: E501 + """Get the user of this Authorization. - Name of user that created and owns the token. # noqa: E501 + Name of user that created and owns the token. - :return: The user of this Authorization. # noqa: E501 + :return: The user of this Authorization. :rtype: str - """ + """ # noqa: E501 return self._user @user.setter def user(self, user): - """Sets the user of this Authorization. + """Set the user of this Authorization. - Name of user that created and owns the token. # noqa: E501 + Name of user that created and owns the token. - :param user: The user of this Authorization. # noqa: E501 + :param user: The user of this Authorization. :type: str - """ - + """ # noqa: E501 self._user = user @property def org(self): - """Gets the org of this Authorization. # noqa: E501 + """Get the org of this Authorization. - Name of the org token is scoped to. # noqa: E501 + Name of the org token is scoped to. - :return: The org of this Authorization. # noqa: E501 + :return: The org of this Authorization. :rtype: str - """ + """ # noqa: E501 return self._org @org.setter def org(self, org): - """Sets the org of this Authorization. + """Set the org of this Authorization. - Name of the org token is scoped to. # noqa: E501 + Name of the org token is scoped to. - :param org: The org of this Authorization. # noqa: E501 + :param org: The org of this Authorization. :type: str - """ - + """ # noqa: E501 self._org = org @property def links(self): - """Gets the links of this Authorization. # noqa: E501 - + """Get the links of this Authorization. - :return: The links of this Authorization. # noqa: E501 + :return: The links of this Authorization. :rtype: object - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Authorization. + """Set the links of this Authorization. - - :param links: The links of this Authorization. # noqa: E501 + :param links: The links of this Authorization. :type: object - """ - + """ # noqa: E501 self._links = links def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -345,20 +328,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Authorization): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/authorization_update_request.py b/influxdb_client/domain/authorization_update_request.py index 19f5e30f..0d90d582 100644 --- a/influxdb_client/domain/authorization_update_request.py +++ b/influxdb_client/domain/authorization_update_request.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class AuthorizationUpdateRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class AuthorizationUpdateRequest(object): 'description': 'description' } - def __init__(self, status='active', description=None): # noqa: E501 - """AuthorizationUpdateRequest - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, status='active', description=None): # noqa: E501,D401,D403 + """AuthorizationUpdateRequest - a model defined in OpenAPI.""" # noqa: E501 self._status = None self._description = None self.discriminator = None @@ -54,52 +54,50 @@ def __init__(self, status='active', description=None): # noqa: E501 @property def status(self): - """Gets the status of this AuthorizationUpdateRequest. # noqa: E501 + """Get the status of this AuthorizationUpdateRequest. - If inactive the token is inactive and requests using the token will be rejected. # noqa: E501 + If inactive the token is inactive and requests using the token will be rejected. - :return: The status of this AuthorizationUpdateRequest. # noqa: E501 + :return: The status of this AuthorizationUpdateRequest. :rtype: str - """ + """ # noqa: E501 return self._status @status.setter def status(self, status): - """Sets the status of this AuthorizationUpdateRequest. + """Set the status of this AuthorizationUpdateRequest. - If inactive the token is inactive and requests using the token will be rejected. # noqa: E501 + If inactive the token is inactive and requests using the token will be rejected. - :param status: The status of this AuthorizationUpdateRequest. # noqa: E501 + :param status: The status of this AuthorizationUpdateRequest. :type: str - """ - + """ # noqa: E501 self._status = status @property def description(self): - """Gets the description of this AuthorizationUpdateRequest. # noqa: E501 + """Get the description of this AuthorizationUpdateRequest. - A description of the token. # noqa: E501 + A description of the token. - :return: The description of this AuthorizationUpdateRequest. # noqa: E501 + :return: The description of this AuthorizationUpdateRequest. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this AuthorizationUpdateRequest. + """Set the description of this AuthorizationUpdateRequest. - A description of the token. # noqa: E501 + A description of the token. - :param description: The description of this AuthorizationUpdateRequest. # noqa: E501 + :param description: The description of this AuthorizationUpdateRequest. :type: str - """ - + """ # noqa: E501 self._description = description def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -123,20 +121,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, AuthorizationUpdateRequest): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/authorizations.py b/influxdb_client/domain/authorizations.py index eb1cf0a9..a641b8af 100644 --- a/influxdb_client/domain/authorizations.py +++ b/influxdb_client/domain/authorizations.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Authorizations(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class Authorizations(object): 'authorizations': 'authorizations' } - def __init__(self, links=None, authorizations=None): # noqa: E501 - """Authorizations - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, links=None, authorizations=None): # noqa: E501,D401,D403 + """Authorizations - a model defined in OpenAPI.""" # noqa: E501 self._links = None self._authorizations = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, links=None, authorizations=None): # noqa: E501 @property def links(self): - """Gets the links of this Authorizations. # noqa: E501 + """Get the links of this Authorizations. - - :return: The links of this Authorizations. # noqa: E501 + :return: The links of this Authorizations. :rtype: Links - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Authorizations. - + """Set the links of this Authorizations. - :param links: The links of this Authorizations. # noqa: E501 + :param links: The links of this Authorizations. :type: Links - """ - + """ # noqa: E501 self._links = links @property def authorizations(self): - """Gets the authorizations of this Authorizations. # noqa: E501 - + """Get the authorizations of this Authorizations. - :return: The authorizations of this Authorizations. # noqa: E501 + :return: The authorizations of this Authorizations. :rtype: list[Authorization] - """ + """ # noqa: E501 return self._authorizations @authorizations.setter def authorizations(self, authorizations): - """Sets the authorizations of this Authorizations. + """Set the authorizations of this Authorizations. - - :param authorizations: The authorizations of this Authorizations. # noqa: E501 + :param authorizations: The authorizations of this Authorizations. :type: list[Authorization] - """ - + """ # noqa: E501 self._authorizations = authorizations def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Authorizations): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/axes.py b/influxdb_client/domain/axes.py index bcc200e9..68216208 100644 --- a/influxdb_client/domain/axes.py +++ b/influxdb_client/domain/axes.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Axes(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class Axes(object): 'y': 'y' } - def __init__(self, x=None, y=None): # noqa: E501 - """Axes - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, x=None, y=None): # noqa: E501,D401,D403 + """Axes - a model defined in OpenAPI.""" # noqa: E501 self._x = None self._y = None self.discriminator = None @@ -52,52 +52,46 @@ def __init__(self, x=None, y=None): # noqa: E501 @property def x(self): - """Gets the x of this Axes. # noqa: E501 + """Get the x of this Axes. - - :return: The x of this Axes. # noqa: E501 + :return: The x of this Axes. :rtype: Axis - """ + """ # noqa: E501 return self._x @x.setter def x(self, x): - """Sets the x of this Axes. - + """Set the x of this Axes. - :param x: The x of this Axes. # noqa: E501 + :param x: The x of this Axes. :type: Axis - """ + """ # noqa: E501 if x is None: raise ValueError("Invalid value for `x`, must not be `None`") # noqa: E501 - self._x = x @property def y(self): - """Gets the y of this Axes. # noqa: E501 - + """Get the y of this Axes. - :return: The y of this Axes. # noqa: E501 + :return: The y of this Axes. :rtype: Axis - """ + """ # noqa: E501 return self._y @y.setter def y(self, y): - """Sets the y of this Axes. + """Set the y of this Axes. - - :param y: The y of this Axes. # noqa: E501 + :param y: The y of this Axes. :type: Axis - """ + """ # noqa: E501 if y is None: raise ValueError("Invalid value for `y`, must not be `None`") # noqa: E501 - self._y = y def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +115,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Axes): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/axis.py b/influxdb_client/domain/axis.py index 76d112b7..2adafdaa 100644 --- a/influxdb_client/domain/axis.py +++ b/influxdb_client/domain/axis.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Axis(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -48,9 +49,8 @@ class Axis(object): 'scale': 'scale' } - def __init__(self, bounds=None, label=None, prefix=None, suffix=None, base=None, scale=None): # noqa: E501 - """Axis - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, bounds=None, label=None, prefix=None, suffix=None, base=None, scale=None): # noqa: E501,D401,D403 + """Axis - a model defined in OpenAPI.""" # noqa: E501 self._bounds = None self._label = None self._prefix = None @@ -74,142 +74,134 @@ def __init__(self, bounds=None, label=None, prefix=None, suffix=None, base=None, @property def bounds(self): - """Gets the bounds of this Axis. # noqa: E501 + """Get the bounds of this Axis. - The extents of an axis in the form [lower, upper]. Clients determine whether bounds are to be inclusive or exclusive of their limits # noqa: E501 + The extents of an axis in the form [lower, upper]. Clients determine whether bounds are to be inclusive or exclusive of their limits - :return: The bounds of this Axis. # noqa: E501 + :return: The bounds of this Axis. :rtype: list[str] - """ + """ # noqa: E501 return self._bounds @bounds.setter def bounds(self, bounds): - """Sets the bounds of this Axis. + """Set the bounds of this Axis. - The extents of an axis in the form [lower, upper]. Clients determine whether bounds are to be inclusive or exclusive of their limits # noqa: E501 + The extents of an axis in the form [lower, upper]. Clients determine whether bounds are to be inclusive or exclusive of their limits - :param bounds: The bounds of this Axis. # noqa: E501 + :param bounds: The bounds of this Axis. :type: list[str] - """ - + """ # noqa: E501 self._bounds = bounds @property def label(self): - """Gets the label of this Axis. # noqa: E501 + """Get the label of this Axis. - Label is a description of this Axis # noqa: E501 + Label is a description of this Axis - :return: The label of this Axis. # noqa: E501 + :return: The label of this Axis. :rtype: str - """ + """ # noqa: E501 return self._label @label.setter def label(self, label): - """Sets the label of this Axis. + """Set the label of this Axis. - Label is a description of this Axis # noqa: E501 + Label is a description of this Axis - :param label: The label of this Axis. # noqa: E501 + :param label: The label of this Axis. :type: str - """ - + """ # noqa: E501 self._label = label @property def prefix(self): - """Gets the prefix of this Axis. # noqa: E501 + """Get the prefix of this Axis. - Prefix represents a label prefix for formatting axis values. # noqa: E501 + Prefix represents a label prefix for formatting axis values. - :return: The prefix of this Axis. # noqa: E501 + :return: The prefix of this Axis. :rtype: str - """ + """ # noqa: E501 return self._prefix @prefix.setter def prefix(self, prefix): - """Sets the prefix of this Axis. + """Set the prefix of this Axis. - Prefix represents a label prefix for formatting axis values. # noqa: E501 + Prefix represents a label prefix for formatting axis values. - :param prefix: The prefix of this Axis. # noqa: E501 + :param prefix: The prefix of this Axis. :type: str - """ - + """ # noqa: E501 self._prefix = prefix @property def suffix(self): - """Gets the suffix of this Axis. # noqa: E501 + """Get the suffix of this Axis. - Suffix represents a label suffix for formatting axis values. # noqa: E501 + Suffix represents a label suffix for formatting axis values. - :return: The suffix of this Axis. # noqa: E501 + :return: The suffix of this Axis. :rtype: str - """ + """ # noqa: E501 return self._suffix @suffix.setter def suffix(self, suffix): - """Sets the suffix of this Axis. + """Set the suffix of this Axis. - Suffix represents a label suffix for formatting axis values. # noqa: E501 + Suffix represents a label suffix for formatting axis values. - :param suffix: The suffix of this Axis. # noqa: E501 + :param suffix: The suffix of this Axis. :type: str - """ - + """ # noqa: E501 self._suffix = suffix @property def base(self): - """Gets the base of this Axis. # noqa: E501 + """Get the base of this Axis. - Base represents the radix for formatting axis values. # noqa: E501 + Base represents the radix for formatting axis values. - :return: The base of this Axis. # noqa: E501 + :return: The base of this Axis. :rtype: str - """ + """ # noqa: E501 return self._base @base.setter def base(self, base): - """Sets the base of this Axis. + """Set the base of this Axis. - Base represents the radix for formatting axis values. # noqa: E501 + Base represents the radix for formatting axis values. - :param base: The base of this Axis. # noqa: E501 + :param base: The base of this Axis. :type: str - """ - + """ # noqa: E501 self._base = base @property def scale(self): - """Gets the scale of this Axis. # noqa: E501 - + """Get the scale of this Axis. - :return: The scale of this Axis. # noqa: E501 + :return: The scale of this Axis. :rtype: AxisScale - """ + """ # noqa: E501 return self._scale @scale.setter def scale(self, scale): - """Sets the scale of this Axis. + """Set the scale of this Axis. - - :param scale: The scale of this Axis. # noqa: E501 + :param scale: The scale of this Axis. :type: AxisScale - """ - + """ # noqa: E501 self._scale = scale def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -233,20 +225,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Axis): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/axis_scale.py b/influxdb_client/domain/axis_scale.py index d0b1a9a9..24f54160 100644 --- a/influxdb_client/domain/axis_scale.py +++ b/influxdb_client/domain/axis_scale.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class AxisScale(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,12 +43,11 @@ class AxisScale(object): attribute_map = { } - def __init__(self): # noqa: E501 - """AxisScale - a model defined in OpenAPI""" # noqa: E501 - self.discriminator = None + def __init__(self): # noqa: E501,D401,D403 + """AxisScale - a model defined in OpenAPI.""" # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -71,20 +71,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, AxisScale): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/bad_statement.py b/influxdb_client/domain/bad_statement.py index be636a4f..88337554 100644 --- a/influxdb_client/domain/bad_statement.py +++ b/influxdb_client/domain/bad_statement.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class BadStatement(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class BadStatement(object): 'text': 'text' } - def __init__(self, type=None, text=None): # noqa: E501 - """BadStatement - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, text=None): # noqa: E501,D401,D403 + """BadStatement - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._text = None self.discriminator = None @@ -54,52 +54,50 @@ def __init__(self, type=None, text=None): # noqa: E501 @property def type(self): - """Gets the type of this BadStatement. # noqa: E501 + """Get the type of this BadStatement. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this BadStatement. # noqa: E501 + :return: The type of this BadStatement. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this BadStatement. + """Set the type of this BadStatement. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this BadStatement. # noqa: E501 + :param type: The type of this BadStatement. :type: str - """ - + """ # noqa: E501 self._type = type @property def text(self): - """Gets the text of this BadStatement. # noqa: E501 + """Get the text of this BadStatement. - Raw source text # noqa: E501 + Raw source text - :return: The text of this BadStatement. # noqa: E501 + :return: The text of this BadStatement. :rtype: str - """ + """ # noqa: E501 return self._text @text.setter def text(self, text): - """Sets the text of this BadStatement. + """Set the text of this BadStatement. - Raw source text # noqa: E501 + Raw source text - :param text: The text of this BadStatement. # noqa: E501 + :param text: The text of this BadStatement. :type: str - """ - + """ # noqa: E501 self._text = text def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -123,20 +121,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, BadStatement): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/binary_expression.py b/influxdb_client/domain/binary_expression.py index 6fbce762..bbfcf181 100644 --- a/influxdb_client/domain/binary_expression.py +++ b/influxdb_client/domain/binary_expression.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class BinaryExpression(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class BinaryExpression(object): 'right': 'right' } - def __init__(self, type=None, operator=None, left=None, right=None): # noqa: E501 - """BinaryExpression - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, operator=None, left=None, right=None): # noqa: E501,D401,D403 + """BinaryExpression - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._operator = None self._left = None @@ -64,92 +64,82 @@ def __init__(self, type=None, operator=None, left=None, right=None): # noqa: E5 @property def type(self): - """Gets the type of this BinaryExpression. # noqa: E501 + """Get the type of this BinaryExpression. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this BinaryExpression. # noqa: E501 + :return: The type of this BinaryExpression. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this BinaryExpression. + """Set the type of this BinaryExpression. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this BinaryExpression. # noqa: E501 + :param type: The type of this BinaryExpression. :type: str - """ - + """ # noqa: E501 self._type = type @property def operator(self): - """Gets the operator of this BinaryExpression. # noqa: E501 + """Get the operator of this BinaryExpression. - - :return: The operator of this BinaryExpression. # noqa: E501 + :return: The operator of this BinaryExpression. :rtype: str - """ + """ # noqa: E501 return self._operator @operator.setter def operator(self, operator): - """Sets the operator of this BinaryExpression. - + """Set the operator of this BinaryExpression. - :param operator: The operator of this BinaryExpression. # noqa: E501 + :param operator: The operator of this BinaryExpression. :type: str - """ - + """ # noqa: E501 self._operator = operator @property def left(self): - """Gets the left of this BinaryExpression. # noqa: E501 + """Get the left of this BinaryExpression. - - :return: The left of this BinaryExpression. # noqa: E501 + :return: The left of this BinaryExpression. :rtype: Expression - """ + """ # noqa: E501 return self._left @left.setter def left(self, left): - """Sets the left of this BinaryExpression. - + """Set the left of this BinaryExpression. - :param left: The left of this BinaryExpression. # noqa: E501 + :param left: The left of this BinaryExpression. :type: Expression - """ - + """ # noqa: E501 self._left = left @property def right(self): - """Gets the right of this BinaryExpression. # noqa: E501 + """Get the right of this BinaryExpression. - - :return: The right of this BinaryExpression. # noqa: E501 + :return: The right of this BinaryExpression. :rtype: Expression - """ + """ # noqa: E501 return self._right @right.setter def right(self, right): - """Sets the right of this BinaryExpression. - + """Set the right of this BinaryExpression. - :param right: The right of this BinaryExpression. # noqa: E501 + :param right: The right of this BinaryExpression. :type: Expression - """ - + """ # noqa: E501 self._right = right def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -173,20 +163,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, BinaryExpression): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/block.py b/influxdb_client/domain/block.py index f2d3adcd..c53eaff6 100644 --- a/influxdb_client/domain/block.py +++ b/influxdb_client/domain/block.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Block(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class Block(object): 'body': 'body' } - def __init__(self, type=None, body=None): # noqa: E501 - """Block - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, body=None): # noqa: E501,D401,D403 + """Block - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._body = None self.discriminator = None @@ -54,52 +54,50 @@ def __init__(self, type=None, body=None): # noqa: E501 @property def type(self): - """Gets the type of this Block. # noqa: E501 + """Get the type of this Block. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this Block. # noqa: E501 + :return: The type of this Block. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this Block. + """Set the type of this Block. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this Block. # noqa: E501 + :param type: The type of this Block. :type: str - """ - + """ # noqa: E501 self._type = type @property def body(self): - """Gets the body of this Block. # noqa: E501 + """Get the body of this Block. - Block body # noqa: E501 + Block body - :return: The body of this Block. # noqa: E501 + :return: The body of this Block. :rtype: list[Statement] - """ + """ # noqa: E501 return self._body @body.setter def body(self, body): - """Sets the body of this Block. + """Set the body of this Block. - Block body # noqa: E501 + Block body - :param body: The body of this Block. # noqa: E501 + :param body: The body of this Block. :type: list[Statement] - """ - + """ # noqa: E501 self._body = body def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -123,20 +121,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Block): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/boolean_literal.py b/influxdb_client/domain/boolean_literal.py index 63d2b78c..f66cf4a5 100644 --- a/influxdb_client/domain/boolean_literal.py +++ b/influxdb_client/domain/boolean_literal.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class BooleanLiteral(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class BooleanLiteral(object): 'value': 'value' } - def __init__(self, type=None, value=None): # noqa: E501 - """BooleanLiteral - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, value=None): # noqa: E501,D401,D403 + """BooleanLiteral - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._value = None self.discriminator = None @@ -54,50 +54,46 @@ def __init__(self, type=None, value=None): # noqa: E501 @property def type(self): - """Gets the type of this BooleanLiteral. # noqa: E501 + """Get the type of this BooleanLiteral. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this BooleanLiteral. # noqa: E501 + :return: The type of this BooleanLiteral. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this BooleanLiteral. + """Set the type of this BooleanLiteral. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this BooleanLiteral. # noqa: E501 + :param type: The type of this BooleanLiteral. :type: str - """ - + """ # noqa: E501 self._type = type @property def value(self): - """Gets the value of this BooleanLiteral. # noqa: E501 + """Get the value of this BooleanLiteral. - - :return: The value of this BooleanLiteral. # noqa: E501 + :return: The value of this BooleanLiteral. :rtype: bool - """ + """ # noqa: E501 return self._value @value.setter def value(self, value): - """Sets the value of this BooleanLiteral. - + """Set the value of this BooleanLiteral. - :param value: The value of this BooleanLiteral. # noqa: E501 + :param value: The value of this BooleanLiteral. :type: bool - """ - + """ # noqa: E501 self._value = value def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +117,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, BooleanLiteral): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/bucket.py b/influxdb_client/domain/bucket.py index 93068ace..aad4b6c0 100644 --- a/influxdb_client/domain/bucket.py +++ b/influxdb_client/domain/bucket.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Bucket(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -58,9 +59,8 @@ class Bucket(object): 'labels': 'labels' } - def __init__(self, links=None, id=None, type='user', name=None, description=None, org_id=None, rp=None, created_at=None, updated_at=None, retention_rules=None, labels=None): # noqa: E501 - """Bucket - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, links=None, id=None, type='user', name=None, description=None, org_id=None, rp=None, created_at=None, updated_at=None, retention_rules=None, labels=None): # noqa: E501,D401,D403 + """Bucket - a model defined in OpenAPI.""" # noqa: E501 self._links = None self._id = None self._type = None @@ -97,243 +97,212 @@ def __init__(self, links=None, id=None, type='user', name=None, description=None @property def links(self): - """Gets the links of this Bucket. # noqa: E501 - + """Get the links of this Bucket. - :return: The links of this Bucket. # noqa: E501 + :return: The links of this Bucket. :rtype: BucketLinks - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Bucket. + """Set the links of this Bucket. - - :param links: The links of this Bucket. # noqa: E501 + :param links: The links of this Bucket. :type: BucketLinks - """ - + """ # noqa: E501 self._links = links @property def id(self): - """Gets the id of this Bucket. # noqa: E501 + """Get the id of this Bucket. - - :return: The id of this Bucket. # noqa: E501 + :return: The id of this Bucket. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this Bucket. - + """Set the id of this Bucket. - :param id: The id of this Bucket. # noqa: E501 + :param id: The id of this Bucket. :type: str - """ - + """ # noqa: E501 self._id = id @property def type(self): - """Gets the type of this Bucket. # noqa: E501 - + """Get the type of this Bucket. - :return: The type of this Bucket. # noqa: E501 + :return: The type of this Bucket. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this Bucket. + """Set the type of this Bucket. - - :param type: The type of this Bucket. # noqa: E501 + :param type: The type of this Bucket. :type: str - """ - + """ # noqa: E501 self._type = type @property def name(self): - """Gets the name of this Bucket. # noqa: E501 + """Get the name of this Bucket. - - :return: The name of this Bucket. # noqa: E501 + :return: The name of this Bucket. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this Bucket. - + """Set the name of this Bucket. - :param name: The name of this Bucket. # noqa: E501 + :param name: The name of this Bucket. :type: str - """ + """ # noqa: E501 if name is None: raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - self._name = name @property def description(self): - """Gets the description of this Bucket. # noqa: E501 - + """Get the description of this Bucket. - :return: The description of this Bucket. # noqa: E501 + :return: The description of this Bucket. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this Bucket. + """Set the description of this Bucket. - - :param description: The description of this Bucket. # noqa: E501 + :param description: The description of this Bucket. :type: str - """ - + """ # noqa: E501 self._description = description @property def org_id(self): - """Gets the org_id of this Bucket. # noqa: E501 + """Get the org_id of this Bucket. - - :return: The org_id of this Bucket. # noqa: E501 + :return: The org_id of this Bucket. :rtype: str - """ + """ # noqa: E501 return self._org_id @org_id.setter def org_id(self, org_id): - """Sets the org_id of this Bucket. - + """Set the org_id of this Bucket. - :param org_id: The org_id of this Bucket. # noqa: E501 + :param org_id: The org_id of this Bucket. :type: str - """ - + """ # noqa: E501 self._org_id = org_id @property def rp(self): - """Gets the rp of this Bucket. # noqa: E501 - + """Get the rp of this Bucket. - :return: The rp of this Bucket. # noqa: E501 + :return: The rp of this Bucket. :rtype: str - """ + """ # noqa: E501 return self._rp @rp.setter def rp(self, rp): - """Sets the rp of this Bucket. + """Set the rp of this Bucket. - - :param rp: The rp of this Bucket. # noqa: E501 + :param rp: The rp of this Bucket. :type: str - """ - + """ # noqa: E501 self._rp = rp @property def created_at(self): - """Gets the created_at of this Bucket. # noqa: E501 + """Get the created_at of this Bucket. - - :return: The created_at of this Bucket. # noqa: E501 + :return: The created_at of this Bucket. :rtype: datetime - """ + """ # noqa: E501 return self._created_at @created_at.setter def created_at(self, created_at): - """Sets the created_at of this Bucket. - + """Set the created_at of this Bucket. - :param created_at: The created_at of this Bucket. # noqa: E501 + :param created_at: The created_at of this Bucket. :type: datetime - """ - + """ # noqa: E501 self._created_at = created_at @property def updated_at(self): - """Gets the updated_at of this Bucket. # noqa: E501 - + """Get the updated_at of this Bucket. - :return: The updated_at of this Bucket. # noqa: E501 + :return: The updated_at of this Bucket. :rtype: datetime - """ + """ # noqa: E501 return self._updated_at @updated_at.setter def updated_at(self, updated_at): - """Sets the updated_at of this Bucket. + """Set the updated_at of this Bucket. - - :param updated_at: The updated_at of this Bucket. # noqa: E501 + :param updated_at: The updated_at of this Bucket. :type: datetime - """ - + """ # noqa: E501 self._updated_at = updated_at @property def retention_rules(self): - """Gets the retention_rules of this Bucket. # noqa: E501 + """Get the retention_rules of this Bucket. - Rules to expire or retain data. No rules means data never expires. # noqa: E501 + Rules to expire or retain data. No rules means data never expires. - :return: The retention_rules of this Bucket. # noqa: E501 + :return: The retention_rules of this Bucket. :rtype: list[BucketRetentionRules] - """ + """ # noqa: E501 return self._retention_rules @retention_rules.setter def retention_rules(self, retention_rules): - """Sets the retention_rules of this Bucket. + """Set the retention_rules of this Bucket. - Rules to expire or retain data. No rules means data never expires. # noqa: E501 + Rules to expire or retain data. No rules means data never expires. - :param retention_rules: The retention_rules of this Bucket. # noqa: E501 + :param retention_rules: The retention_rules of this Bucket. :type: list[BucketRetentionRules] - """ + """ # noqa: E501 if retention_rules is None: raise ValueError("Invalid value for `retention_rules`, must not be `None`") # noqa: E501 - self._retention_rules = retention_rules @property def labels(self): - """Gets the labels of this Bucket. # noqa: E501 - + """Get the labels of this Bucket. - :return: The labels of this Bucket. # noqa: E501 + :return: The labels of this Bucket. :rtype: list[Label] - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this Bucket. + """Set the labels of this Bucket. - - :param labels: The labels of this Bucket. # noqa: E501 + :param labels: The labels of this Bucket. :type: list[Label] - """ - + """ # noqa: E501 self._labels = labels def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -357,20 +326,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Bucket): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/bucket_links.py b/influxdb_client/domain/bucket_links.py index 2e3cd350..c80a7435 100644 --- a/influxdb_client/domain/bucket_links.py +++ b/influxdb_client/domain/bucket_links.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class BucketLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -48,9 +49,8 @@ class BucketLinks(object): 'write': 'write' } - def __init__(self, labels=None, members=None, org=None, owners=None, _self=None, write=None): # noqa: E501 - """BucketLinks - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, labels=None, members=None, org=None, owners=None, _self=None, write=None): # noqa: E501,D401,D403 + """BucketLinks - a model defined in OpenAPI.""" # noqa: E501 self._labels = None self._members = None self._org = None @@ -74,144 +74,138 @@ def __init__(self, labels=None, members=None, org=None, owners=None, _self=None, @property def labels(self): - """Gets the labels of this BucketLinks. # noqa: E501 + """Get the labels of this BucketLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The labels of this BucketLinks. # noqa: E501 + :return: The labels of this BucketLinks. :rtype: str - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this BucketLinks. + """Set the labels of this BucketLinks. - URI of resource. # noqa: E501 + URI of resource. - :param labels: The labels of this BucketLinks. # noqa: E501 + :param labels: The labels of this BucketLinks. :type: str - """ - + """ # noqa: E501 self._labels = labels @property def members(self): - """Gets the members of this BucketLinks. # noqa: E501 + """Get the members of this BucketLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The members of this BucketLinks. # noqa: E501 + :return: The members of this BucketLinks. :rtype: str - """ + """ # noqa: E501 return self._members @members.setter def members(self, members): - """Sets the members of this BucketLinks. + """Set the members of this BucketLinks. - URI of resource. # noqa: E501 + URI of resource. - :param members: The members of this BucketLinks. # noqa: E501 + :param members: The members of this BucketLinks. :type: str - """ - + """ # noqa: E501 self._members = members @property def org(self): - """Gets the org of this BucketLinks. # noqa: E501 + """Get the org of this BucketLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The org of this BucketLinks. # noqa: E501 + :return: The org of this BucketLinks. :rtype: str - """ + """ # noqa: E501 return self._org @org.setter def org(self, org): - """Sets the org of this BucketLinks. + """Set the org of this BucketLinks. - URI of resource. # noqa: E501 + URI of resource. - :param org: The org of this BucketLinks. # noqa: E501 + :param org: The org of this BucketLinks. :type: str - """ - + """ # noqa: E501 self._org = org @property def owners(self): - """Gets the owners of this BucketLinks. # noqa: E501 + """Get the owners of this BucketLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The owners of this BucketLinks. # noqa: E501 + :return: The owners of this BucketLinks. :rtype: str - """ + """ # noqa: E501 return self._owners @owners.setter def owners(self, owners): - """Sets the owners of this BucketLinks. + """Set the owners of this BucketLinks. - URI of resource. # noqa: E501 + URI of resource. - :param owners: The owners of this BucketLinks. # noqa: E501 + :param owners: The owners of this BucketLinks. :type: str - """ - + """ # noqa: E501 self._owners = owners @property def _self(self): - """Gets the _self of this BucketLinks. # noqa: E501 + """Get the _self of this BucketLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The _self of this BucketLinks. # noqa: E501 + :return: The _self of this BucketLinks. :rtype: str - """ + """ # noqa: E501 return self.__self @_self.setter def _self(self, _self): - """Sets the _self of this BucketLinks. + """Set the _self of this BucketLinks. - URI of resource. # noqa: E501 + URI of resource. - :param _self: The _self of this BucketLinks. # noqa: E501 + :param _self: The _self of this BucketLinks. :type: str - """ - + """ # noqa: E501 self.__self = _self @property def write(self): - """Gets the write of this BucketLinks. # noqa: E501 + """Get the write of this BucketLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The write of this BucketLinks. # noqa: E501 + :return: The write of this BucketLinks. :rtype: str - """ + """ # noqa: E501 return self._write @write.setter def write(self, write): - """Sets the write of this BucketLinks. + """Set the write of this BucketLinks. - URI of resource. # noqa: E501 + URI of resource. - :param write: The write of this BucketLinks. # noqa: E501 + :param write: The write of this BucketLinks. :type: str - """ - + """ # noqa: E501 self._write = write def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -235,20 +229,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, BucketLinks): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/bucket_retention_rules.py b/influxdb_client/domain/bucket_retention_rules.py index 436a23ea..ecd65b3d 100644 --- a/influxdb_client/domain/bucket_retention_rules.py +++ b/influxdb_client/domain/bucket_retention_rules.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class BucketRetentionRules(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class BucketRetentionRules(object): 'every_seconds': 'everySeconds' } - def __init__(self, type='expire', every_seconds=None): # noqa: E501 - """BucketRetentionRules - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type='expire', every_seconds=None): # noqa: E501,D401,D403 + """BucketRetentionRules - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._every_seconds = None self.discriminator = None @@ -52,56 +52,52 @@ def __init__(self, type='expire', every_seconds=None): # noqa: E501 @property def type(self): - """Gets the type of this BucketRetentionRules. # noqa: E501 - + """Get the type of this BucketRetentionRules. - :return: The type of this BucketRetentionRules. # noqa: E501 + :return: The type of this BucketRetentionRules. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this BucketRetentionRules. + """Set the type of this BucketRetentionRules. - - :param type: The type of this BucketRetentionRules. # noqa: E501 + :param type: The type of this BucketRetentionRules. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def every_seconds(self): - """Gets the every_seconds of this BucketRetentionRules. # noqa: E501 + """Get the every_seconds of this BucketRetentionRules. - Duration in seconds for how long data will be kept in the database. # noqa: E501 + Duration in seconds for how long data will be kept in the database. - :return: The every_seconds of this BucketRetentionRules. # noqa: E501 + :return: The every_seconds of this BucketRetentionRules. :rtype: int - """ + """ # noqa: E501 return self._every_seconds @every_seconds.setter def every_seconds(self, every_seconds): - """Sets the every_seconds of this BucketRetentionRules. + """Set the every_seconds of this BucketRetentionRules. - Duration in seconds for how long data will be kept in the database. # noqa: E501 + Duration in seconds for how long data will be kept in the database. - :param every_seconds: The every_seconds of this BucketRetentionRules. # noqa: E501 + :param every_seconds: The every_seconds of this BucketRetentionRules. :type: int - """ + """ # noqa: E501 if every_seconds is None: raise ValueError("Invalid value for `every_seconds`, must not be `None`") # noqa: E501 if every_seconds is not None and every_seconds < 1: # noqa: E501 raise ValueError("Invalid value for `every_seconds`, must be a value greater than or equal to `1`") # noqa: E501 - self._every_seconds = every_seconds def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -125,20 +121,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, BucketRetentionRules): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/buckets.py b/influxdb_client/domain/buckets.py index 63ac38ad..a7f61e8e 100644 --- a/influxdb_client/domain/buckets.py +++ b/influxdb_client/domain/buckets.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Buckets(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class Buckets(object): 'buckets': 'buckets' } - def __init__(self, links=None, buckets=None): # noqa: E501 - """Buckets - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, links=None, buckets=None): # noqa: E501,D401,D403 + """Buckets - a model defined in OpenAPI.""" # noqa: E501 self._links = None self._buckets = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, links=None, buckets=None): # noqa: E501 @property def links(self): - """Gets the links of this Buckets. # noqa: E501 + """Get the links of this Buckets. - - :return: The links of this Buckets. # noqa: E501 + :return: The links of this Buckets. :rtype: Links - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Buckets. - + """Set the links of this Buckets. - :param links: The links of this Buckets. # noqa: E501 + :param links: The links of this Buckets. :type: Links - """ - + """ # noqa: E501 self._links = links @property def buckets(self): - """Gets the buckets of this Buckets. # noqa: E501 - + """Get the buckets of this Buckets. - :return: The buckets of this Buckets. # noqa: E501 + :return: The buckets of this Buckets. :rtype: list[Bucket] - """ + """ # noqa: E501 return self._buckets @buckets.setter def buckets(self, buckets): - """Sets the buckets of this Buckets. + """Set the buckets of this Buckets. - - :param buckets: The buckets of this Buckets. # noqa: E501 + :param buckets: The buckets of this Buckets. :type: list[Bucket] - """ - + """ # noqa: E501 self._buckets = buckets def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Buckets): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/builder_config.py b/influxdb_client/domain/builder_config.py index 64d1b878..f6ef036c 100644 --- a/influxdb_client/domain/builder_config.py +++ b/influxdb_client/domain/builder_config.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class BuilderConfig(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class BuilderConfig(object): 'aggregate_window': 'aggregateWindow' } - def __init__(self, buckets=None, tags=None, functions=None, aggregate_window=None): # noqa: E501 - """BuilderConfig - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, buckets=None, tags=None, functions=None, aggregate_window=None): # noqa: E501,D401,D403 + """BuilderConfig - a model defined in OpenAPI.""" # noqa: E501 self._buckets = None self._tags = None self._functions = None @@ -64,90 +64,78 @@ def __init__(self, buckets=None, tags=None, functions=None, aggregate_window=Non @property def buckets(self): - """Gets the buckets of this BuilderConfig. # noqa: E501 + """Get the buckets of this BuilderConfig. - - :return: The buckets of this BuilderConfig. # noqa: E501 + :return: The buckets of this BuilderConfig. :rtype: list[str] - """ + """ # noqa: E501 return self._buckets @buckets.setter def buckets(self, buckets): - """Sets the buckets of this BuilderConfig. - + """Set the buckets of this BuilderConfig. - :param buckets: The buckets of this BuilderConfig. # noqa: E501 + :param buckets: The buckets of this BuilderConfig. :type: list[str] - """ - + """ # noqa: E501 self._buckets = buckets @property def tags(self): - """Gets the tags of this BuilderConfig. # noqa: E501 - + """Get the tags of this BuilderConfig. - :return: The tags of this BuilderConfig. # noqa: E501 + :return: The tags of this BuilderConfig. :rtype: list[BuilderTagsType] - """ + """ # noqa: E501 return self._tags @tags.setter def tags(self, tags): - """Sets the tags of this BuilderConfig. - + """Set the tags of this BuilderConfig. - :param tags: The tags of this BuilderConfig. # noqa: E501 + :param tags: The tags of this BuilderConfig. :type: list[BuilderTagsType] - """ - + """ # noqa: E501 self._tags = tags @property def functions(self): - """Gets the functions of this BuilderConfig. # noqa: E501 - + """Get the functions of this BuilderConfig. - :return: The functions of this BuilderConfig. # noqa: E501 + :return: The functions of this BuilderConfig. :rtype: list[BuilderFunctionsType] - """ + """ # noqa: E501 return self._functions @functions.setter def functions(self, functions): - """Sets the functions of this BuilderConfig. + """Set the functions of this BuilderConfig. - - :param functions: The functions of this BuilderConfig. # noqa: E501 + :param functions: The functions of this BuilderConfig. :type: list[BuilderFunctionsType] - """ - + """ # noqa: E501 self._functions = functions @property def aggregate_window(self): - """Gets the aggregate_window of this BuilderConfig. # noqa: E501 + """Get the aggregate_window of this BuilderConfig. - - :return: The aggregate_window of this BuilderConfig. # noqa: E501 + :return: The aggregate_window of this BuilderConfig. :rtype: BuilderConfigAggregateWindow - """ + """ # noqa: E501 return self._aggregate_window @aggregate_window.setter def aggregate_window(self, aggregate_window): - """Sets the aggregate_window of this BuilderConfig. - + """Set the aggregate_window of this BuilderConfig. - :param aggregate_window: The aggregate_window of this BuilderConfig. # noqa: E501 + :param aggregate_window: The aggregate_window of this BuilderConfig. :type: BuilderConfigAggregateWindow - """ - + """ # noqa: E501 self._aggregate_window = aggregate_window def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -171,20 +159,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, BuilderConfig): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/builder_config_aggregate_window.py b/influxdb_client/domain/builder_config_aggregate_window.py index 07749eb2..1b6dccc5 100644 --- a/influxdb_client/domain/builder_config_aggregate_window.py +++ b/influxdb_client/domain/builder_config_aggregate_window.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class BuilderConfigAggregateWindow(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class BuilderConfigAggregateWindow(object): 'period': 'period' } - def __init__(self, period=None): # noqa: E501 - """BuilderConfigAggregateWindow - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, period=None): # noqa: E501,D401,D403 + """BuilderConfigAggregateWindow - a model defined in OpenAPI.""" # noqa: E501 self._period = None self.discriminator = None @@ -49,27 +49,24 @@ def __init__(self, period=None): # noqa: E501 @property def period(self): - """Gets the period of this BuilderConfigAggregateWindow. # noqa: E501 - + """Get the period of this BuilderConfigAggregateWindow. - :return: The period of this BuilderConfigAggregateWindow. # noqa: E501 + :return: The period of this BuilderConfigAggregateWindow. :rtype: str - """ + """ # noqa: E501 return self._period @period.setter def period(self, period): - """Sets the period of this BuilderConfigAggregateWindow. + """Set the period of this BuilderConfigAggregateWindow. - - :param period: The period of this BuilderConfigAggregateWindow. # noqa: E501 + :param period: The period of this BuilderConfigAggregateWindow. :type: str - """ - + """ # noqa: E501 self._period = period def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -93,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, BuilderConfigAggregateWindow): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/builder_functions_type.py b/influxdb_client/domain/builder_functions_type.py index 533975f3..fe4e77bc 100644 --- a/influxdb_client/domain/builder_functions_type.py +++ b/influxdb_client/domain/builder_functions_type.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class BuilderFunctionsType(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class BuilderFunctionsType(object): 'name': 'name' } - def __init__(self, name=None): # noqa: E501 - """BuilderFunctionsType - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, name=None): # noqa: E501,D401,D403 + """BuilderFunctionsType - a model defined in OpenAPI.""" # noqa: E501 self._name = None self.discriminator = None @@ -49,27 +49,24 @@ def __init__(self, name=None): # noqa: E501 @property def name(self): - """Gets the name of this BuilderFunctionsType. # noqa: E501 - + """Get the name of this BuilderFunctionsType. - :return: The name of this BuilderFunctionsType. # noqa: E501 + :return: The name of this BuilderFunctionsType. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this BuilderFunctionsType. + """Set the name of this BuilderFunctionsType. - - :param name: The name of this BuilderFunctionsType. # noqa: E501 + :param name: The name of this BuilderFunctionsType. :type: str - """ - + """ # noqa: E501 self._name = name def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -93,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, BuilderFunctionsType): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/builder_tags_type.py b/influxdb_client/domain/builder_tags_type.py index 8040bf3c..e33a6a1a 100644 --- a/influxdb_client/domain/builder_tags_type.py +++ b/influxdb_client/domain/builder_tags_type.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class BuilderTagsType(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class BuilderTagsType(object): 'values': 'values' } - def __init__(self, key=None, values=None): # noqa: E501 - """BuilderTagsType - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, key=None, values=None): # noqa: E501,D401,D403 + """BuilderTagsType - a model defined in OpenAPI.""" # noqa: E501 self._key = None self._values = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, key=None, values=None): # noqa: E501 @property def key(self): - """Gets the key of this BuilderTagsType. # noqa: E501 + """Get the key of this BuilderTagsType. - - :return: The key of this BuilderTagsType. # noqa: E501 + :return: The key of this BuilderTagsType. :rtype: str - """ + """ # noqa: E501 return self._key @key.setter def key(self, key): - """Sets the key of this BuilderTagsType. - + """Set the key of this BuilderTagsType. - :param key: The key of this BuilderTagsType. # noqa: E501 + :param key: The key of this BuilderTagsType. :type: str - """ - + """ # noqa: E501 self._key = key @property def values(self): - """Gets the values of this BuilderTagsType. # noqa: E501 - + """Get the values of this BuilderTagsType. - :return: The values of this BuilderTagsType. # noqa: E501 + :return: The values of this BuilderTagsType. :rtype: list[str] - """ + """ # noqa: E501 return self._values @values.setter def values(self, values): - """Sets the values of this BuilderTagsType. + """Set the values of this BuilderTagsType. - - :param values: The values of this BuilderTagsType. # noqa: E501 + :param values: The values of this BuilderTagsType. :type: list[str] - """ - + """ # noqa: E501 self._values = values def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, BuilderTagsType): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/builtin_statement.py b/influxdb_client/domain/builtin_statement.py index d29a516a..75d68d8b 100644 --- a/influxdb_client/domain/builtin_statement.py +++ b/influxdb_client/domain/builtin_statement.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class BuiltinStatement(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class BuiltinStatement(object): 'id': 'id' } - def __init__(self, type=None, id=None): # noqa: E501 - """BuiltinStatement - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, id=None): # noqa: E501,D401,D403 + """BuiltinStatement - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._id = None self.discriminator = None @@ -54,50 +54,46 @@ def __init__(self, type=None, id=None): # noqa: E501 @property def type(self): - """Gets the type of this BuiltinStatement. # noqa: E501 + """Get the type of this BuiltinStatement. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this BuiltinStatement. # noqa: E501 + :return: The type of this BuiltinStatement. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this BuiltinStatement. + """Set the type of this BuiltinStatement. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this BuiltinStatement. # noqa: E501 + :param type: The type of this BuiltinStatement. :type: str - """ - + """ # noqa: E501 self._type = type @property def id(self): - """Gets the id of this BuiltinStatement. # noqa: E501 + """Get the id of this BuiltinStatement. - - :return: The id of this BuiltinStatement. # noqa: E501 + :return: The id of this BuiltinStatement. :rtype: Identifier - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this BuiltinStatement. - + """Set the id of this BuiltinStatement. - :param id: The id of this BuiltinStatement. # noqa: E501 + :param id: The id of this BuiltinStatement. :type: Identifier - """ - + """ # noqa: E501 self._id = id def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +117,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, BuiltinStatement): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/call_expression.py b/influxdb_client/domain/call_expression.py index daf27283..85f936dc 100644 --- a/influxdb_client/domain/call_expression.py +++ b/influxdb_client/domain/call_expression.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class CallExpression(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class CallExpression(object): 'arguments': 'arguments' } - def __init__(self, type=None, callee=None, arguments=None): # noqa: E501 - """CallExpression - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, callee=None, arguments=None): # noqa: E501,D401,D403 + """CallExpression - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._callee = None self._arguments = None @@ -59,73 +59,68 @@ def __init__(self, type=None, callee=None, arguments=None): # noqa: E501 @property def type(self): - """Gets the type of this CallExpression. # noqa: E501 + """Get the type of this CallExpression. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this CallExpression. # noqa: E501 + :return: The type of this CallExpression. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this CallExpression. + """Set the type of this CallExpression. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this CallExpression. # noqa: E501 + :param type: The type of this CallExpression. :type: str - """ - + """ # noqa: E501 self._type = type @property def callee(self): - """Gets the callee of this CallExpression. # noqa: E501 - + """Get the callee of this CallExpression. - :return: The callee of this CallExpression. # noqa: E501 + :return: The callee of this CallExpression. :rtype: Expression - """ + """ # noqa: E501 return self._callee @callee.setter def callee(self, callee): - """Sets the callee of this CallExpression. + """Set the callee of this CallExpression. - - :param callee: The callee of this CallExpression. # noqa: E501 + :param callee: The callee of this CallExpression. :type: Expression - """ - + """ # noqa: E501 self._callee = callee @property def arguments(self): - """Gets the arguments of this CallExpression. # noqa: E501 + """Get the arguments of this CallExpression. - Function arguments # noqa: E501 + Function arguments - :return: The arguments of this CallExpression. # noqa: E501 + :return: The arguments of this CallExpression. :rtype: list[Expression] - """ + """ # noqa: E501 return self._arguments @arguments.setter def arguments(self, arguments): - """Sets the arguments of this CallExpression. + """Set the arguments of this CallExpression. - Function arguments # noqa: E501 + Function arguments - :param arguments: The arguments of this CallExpression. # noqa: E501 + :param arguments: The arguments of this CallExpression. :type: list[Expression] - """ - + """ # noqa: E501 self._arguments = arguments def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -149,20 +144,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, CallExpression): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/cell.py b/influxdb_client/domain/cell.py index 5470783d..f802f0aa 100644 --- a/influxdb_client/domain/cell.py +++ b/influxdb_client/domain/cell.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Cell(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -50,9 +51,8 @@ class Cell(object): 'view_id': 'viewID' } - def __init__(self, id=None, links=None, x=None, y=None, w=None, h=None, view_id=None): # noqa: E501 - """Cell - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, id=None, links=None, x=None, y=None, w=None, h=None, view_id=None): # noqa: E501,D401,D403 + """Cell - a model defined in OpenAPI.""" # noqa: E501 self._id = None self._links = None self._x = None @@ -79,155 +79,136 @@ def __init__(self, id=None, links=None, x=None, y=None, w=None, h=None, view_id= @property def id(self): - """Gets the id of this Cell. # noqa: E501 - + """Get the id of this Cell. - :return: The id of this Cell. # noqa: E501 + :return: The id of this Cell. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this Cell. + """Set the id of this Cell. - - :param id: The id of this Cell. # noqa: E501 + :param id: The id of this Cell. :type: str - """ - + """ # noqa: E501 self._id = id @property def links(self): - """Gets the links of this Cell. # noqa: E501 - + """Get the links of this Cell. - :return: The links of this Cell. # noqa: E501 + :return: The links of this Cell. :rtype: CellLinks - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Cell. + """Set the links of this Cell. - - :param links: The links of this Cell. # noqa: E501 + :param links: The links of this Cell. :type: CellLinks - """ - + """ # noqa: E501 self._links = links @property def x(self): - """Gets the x of this Cell. # noqa: E501 - + """Get the x of this Cell. - :return: The x of this Cell. # noqa: E501 + :return: The x of this Cell. :rtype: int - """ + """ # noqa: E501 return self._x @x.setter def x(self, x): - """Sets the x of this Cell. + """Set the x of this Cell. - - :param x: The x of this Cell. # noqa: E501 + :param x: The x of this Cell. :type: int - """ - + """ # noqa: E501 self._x = x @property def y(self): - """Gets the y of this Cell. # noqa: E501 + """Get the y of this Cell. - - :return: The y of this Cell. # noqa: E501 + :return: The y of this Cell. :rtype: int - """ + """ # noqa: E501 return self._y @y.setter def y(self, y): - """Sets the y of this Cell. - + """Set the y of this Cell. - :param y: The y of this Cell. # noqa: E501 + :param y: The y of this Cell. :type: int - """ - + """ # noqa: E501 self._y = y @property def w(self): - """Gets the w of this Cell. # noqa: E501 + """Get the w of this Cell. - - :return: The w of this Cell. # noqa: E501 + :return: The w of this Cell. :rtype: int - """ + """ # noqa: E501 return self._w @w.setter def w(self, w): - """Sets the w of this Cell. - + """Set the w of this Cell. - :param w: The w of this Cell. # noqa: E501 + :param w: The w of this Cell. :type: int - """ - + """ # noqa: E501 self._w = w @property def h(self): - """Gets the h of this Cell. # noqa: E501 - + """Get the h of this Cell. - :return: The h of this Cell. # noqa: E501 + :return: The h of this Cell. :rtype: int - """ + """ # noqa: E501 return self._h @h.setter def h(self, h): - """Sets the h of this Cell. - + """Set the h of this Cell. - :param h: The h of this Cell. # noqa: E501 + :param h: The h of this Cell. :type: int - """ - + """ # noqa: E501 self._h = h @property def view_id(self): - """Gets the view_id of this Cell. # noqa: E501 + """Get the view_id of this Cell. - The reference to a view from the views API. # noqa: E501 + The reference to a view from the views API. - :return: The view_id of this Cell. # noqa: E501 + :return: The view_id of this Cell. :rtype: str - """ + """ # noqa: E501 return self._view_id @view_id.setter def view_id(self, view_id): - """Sets the view_id of this Cell. + """Set the view_id of this Cell. - The reference to a view from the views API. # noqa: E501 + The reference to a view from the views API. - :param view_id: The view_id of this Cell. # noqa: E501 + :param view_id: The view_id of this Cell. :type: str - """ - + """ # noqa: E501 self._view_id = view_id def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -251,20 +232,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Cell): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/cell_links.py b/influxdb_client/domain/cell_links.py index 9709a429..eb0feb47 100644 --- a/influxdb_client/domain/cell_links.py +++ b/influxdb_client/domain/cell_links.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class CellLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class CellLinks(object): 'view': 'view' } - def __init__(self, _self=None, view=None): # noqa: E501 - """CellLinks - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, _self=None, view=None): # noqa: E501,D401,D403 + """CellLinks - a model defined in OpenAPI.""" # noqa: E501 self.__self = None self._view = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, _self=None, view=None): # noqa: E501 @property def _self(self): - """Gets the _self of this CellLinks. # noqa: E501 + """Get the _self of this CellLinks. - - :return: The _self of this CellLinks. # noqa: E501 + :return: The _self of this CellLinks. :rtype: str - """ + """ # noqa: E501 return self.__self @_self.setter def _self(self, _self): - """Sets the _self of this CellLinks. - + """Set the _self of this CellLinks. - :param _self: The _self of this CellLinks. # noqa: E501 + :param _self: The _self of this CellLinks. :type: str - """ - + """ # noqa: E501 self.__self = _self @property def view(self): - """Gets the view of this CellLinks. # noqa: E501 - + """Get the view of this CellLinks. - :return: The view of this CellLinks. # noqa: E501 + :return: The view of this CellLinks. :rtype: str - """ + """ # noqa: E501 return self._view @view.setter def view(self, view): - """Sets the view of this CellLinks. + """Set the view of this CellLinks. - - :param view: The view of this CellLinks. # noqa: E501 + :param view: The view of this CellLinks. :type: str - """ - + """ # noqa: E501 self._view = view def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, CellLinks): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/cell_update.py b/influxdb_client/domain/cell_update.py index 8a9c3eca..eac833a8 100644 --- a/influxdb_client/domain/cell_update.py +++ b/influxdb_client/domain/cell_update.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class CellUpdate(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class CellUpdate(object): 'h': 'h' } - def __init__(self, x=None, y=None, w=None, h=None): # noqa: E501 - """CellUpdate - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, x=None, y=None, w=None, h=None): # noqa: E501,D401,D403 + """CellUpdate - a model defined in OpenAPI.""" # noqa: E501 self._x = None self._y = None self._w = None @@ -64,90 +64,78 @@ def __init__(self, x=None, y=None, w=None, h=None): # noqa: E501 @property def x(self): - """Gets the x of this CellUpdate. # noqa: E501 + """Get the x of this CellUpdate. - - :return: The x of this CellUpdate. # noqa: E501 + :return: The x of this CellUpdate. :rtype: int - """ + """ # noqa: E501 return self._x @x.setter def x(self, x): - """Sets the x of this CellUpdate. - + """Set the x of this CellUpdate. - :param x: The x of this CellUpdate. # noqa: E501 + :param x: The x of this CellUpdate. :type: int - """ - + """ # noqa: E501 self._x = x @property def y(self): - """Gets the y of this CellUpdate. # noqa: E501 - + """Get the y of this CellUpdate. - :return: The y of this CellUpdate. # noqa: E501 + :return: The y of this CellUpdate. :rtype: int - """ + """ # noqa: E501 return self._y @y.setter def y(self, y): - """Sets the y of this CellUpdate. - + """Set the y of this CellUpdate. - :param y: The y of this CellUpdate. # noqa: E501 + :param y: The y of this CellUpdate. :type: int - """ - + """ # noqa: E501 self._y = y @property def w(self): - """Gets the w of this CellUpdate. # noqa: E501 - + """Get the w of this CellUpdate. - :return: The w of this CellUpdate. # noqa: E501 + :return: The w of this CellUpdate. :rtype: int - """ + """ # noqa: E501 return self._w @w.setter def w(self, w): - """Sets the w of this CellUpdate. + """Set the w of this CellUpdate. - - :param w: The w of this CellUpdate. # noqa: E501 + :param w: The w of this CellUpdate. :type: int - """ - + """ # noqa: E501 self._w = w @property def h(self): - """Gets the h of this CellUpdate. # noqa: E501 + """Get the h of this CellUpdate. - - :return: The h of this CellUpdate. # noqa: E501 + :return: The h of this CellUpdate. :rtype: int - """ + """ # noqa: E501 return self._h @h.setter def h(self, h): - """Sets the h of this CellUpdate. - + """Set the h of this CellUpdate. - :param h: The h of this CellUpdate. # noqa: E501 + :param h: The h of this CellUpdate. :type: int - """ - + """ # noqa: E501 self._h = h def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -171,20 +159,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, CellUpdate): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/check.py b/influxdb_client/domain/check.py index 97d060cf..a28b0be6 100644 --- a/influxdb_client/domain/check.py +++ b/influxdb_client/domain/check.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class Check(CheckBase): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -67,13 +68,13 @@ class Check(CheckBase): 'links': 'links' } - def __init__(self, id=None, name=None, org_id=None, owner_id=None, created_at=None, updated_at=None, query=None, status=None, every=None, offset=None, tags=None, description=None, status_message_template=None, labels=None, links=None): # noqa: E501 - """Check - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, id=None, name=None, org_id=None, owner_id=None, created_at=None, updated_at=None, query=None, status=None, every=None, offset=None, tags=None, description=None, status_message_template=None, labels=None, links=None): # noqa: E501,D401,D403 + """Check - a model defined in OpenAPI.""" # noqa: E501 CheckBase.__init__(self, id=id, name=name, org_id=org_id, owner_id=owner_id, created_at=created_at, updated_at=updated_at, query=query, status=status, every=every, offset=offset, tags=tags, description=description, status_message_template=status_message_template, labels=labels, links=links) # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -97,20 +98,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Check): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/check_base.py b/influxdb_client/domain/check_base.py index bd003c5f..a18dbb37 100644 --- a/influxdb_client/domain/check_base.py +++ b/influxdb_client/domain/check_base.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class CheckBase(CheckDiscriminator): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -67,8 +68,8 @@ class CheckBase(CheckDiscriminator): 'links': 'links' } - def __init__(self, id=None, name=None, org_id=None, owner_id=None, created_at=None, updated_at=None, query=None, status=None, every=None, offset=None, tags=None, description=None, status_message_template=None, labels=None, links=None): # noqa: E501 - """CheckBase - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, id=None, name=None, org_id=None, owner_id=None, created_at=None, updated_at=None, query=None, status=None, every=None, offset=None, tags=None, description=None, status_message_template=None, labels=None, links=None): # noqa: E501,D401,D403 + """CheckBase - a model defined in OpenAPI.""" # noqa: E501 CheckDiscriminator.__init__(self) # noqa: E501 self._id = None @@ -118,341 +119,310 @@ def __init__(self, id=None, name=None, org_id=None, owner_id=None, created_at=No @property def id(self): - """Gets the id of this CheckBase. # noqa: E501 - + """Get the id of this CheckBase. - :return: The id of this CheckBase. # noqa: E501 + :return: The id of this CheckBase. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this CheckBase. + """Set the id of this CheckBase. - - :param id: The id of this CheckBase. # noqa: E501 + :param id: The id of this CheckBase. :type: str - """ - + """ # noqa: E501 self._id = id @property def name(self): - """Gets the name of this CheckBase. # noqa: E501 + """Get the name of this CheckBase. - - :return: The name of this CheckBase. # noqa: E501 + :return: The name of this CheckBase. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this CheckBase. - + """Set the name of this CheckBase. - :param name: The name of this CheckBase. # noqa: E501 + :param name: The name of this CheckBase. :type: str - """ + """ # noqa: E501 if name is None: raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - self._name = name @property def org_id(self): - """Gets the org_id of this CheckBase. # noqa: E501 + """Get the org_id of this CheckBase. - The ID of the organization that owns this check. # noqa: E501 + The ID of the organization that owns this check. - :return: The org_id of this CheckBase. # noqa: E501 + :return: The org_id of this CheckBase. :rtype: str - """ + """ # noqa: E501 return self._org_id @org_id.setter def org_id(self, org_id): - """Sets the org_id of this CheckBase. + """Set the org_id of this CheckBase. - The ID of the organization that owns this check. # noqa: E501 + The ID of the organization that owns this check. - :param org_id: The org_id of this CheckBase. # noqa: E501 + :param org_id: The org_id of this CheckBase. :type: str - """ + """ # noqa: E501 if org_id is None: raise ValueError("Invalid value for `org_id`, must not be `None`") # noqa: E501 - self._org_id = org_id @property def owner_id(self): - """Gets the owner_id of this CheckBase. # noqa: E501 + """Get the owner_id of this CheckBase. - The ID of creator used to create this check. # noqa: E501 + The ID of creator used to create this check. - :return: The owner_id of this CheckBase. # noqa: E501 + :return: The owner_id of this CheckBase. :rtype: str - """ + """ # noqa: E501 return self._owner_id @owner_id.setter def owner_id(self, owner_id): - """Sets the owner_id of this CheckBase. + """Set the owner_id of this CheckBase. - The ID of creator used to create this check. # noqa: E501 + The ID of creator used to create this check. - :param owner_id: The owner_id of this CheckBase. # noqa: E501 + :param owner_id: The owner_id of this CheckBase. :type: str - """ - + """ # noqa: E501 self._owner_id = owner_id @property def created_at(self): - """Gets the created_at of this CheckBase. # noqa: E501 - + """Get the created_at of this CheckBase. - :return: The created_at of this CheckBase. # noqa: E501 + :return: The created_at of this CheckBase. :rtype: datetime - """ + """ # noqa: E501 return self._created_at @created_at.setter def created_at(self, created_at): - """Sets the created_at of this CheckBase. + """Set the created_at of this CheckBase. - - :param created_at: The created_at of this CheckBase. # noqa: E501 + :param created_at: The created_at of this CheckBase. :type: datetime - """ - + """ # noqa: E501 self._created_at = created_at @property def updated_at(self): - """Gets the updated_at of this CheckBase. # noqa: E501 + """Get the updated_at of this CheckBase. - - :return: The updated_at of this CheckBase. # noqa: E501 + :return: The updated_at of this CheckBase. :rtype: datetime - """ + """ # noqa: E501 return self._updated_at @updated_at.setter def updated_at(self, updated_at): - """Sets the updated_at of this CheckBase. - + """Set the updated_at of this CheckBase. - :param updated_at: The updated_at of this CheckBase. # noqa: E501 + :param updated_at: The updated_at of this CheckBase. :type: datetime - """ - + """ # noqa: E501 self._updated_at = updated_at @property def query(self): - """Gets the query of this CheckBase. # noqa: E501 - + """Get the query of this CheckBase. - :return: The query of this CheckBase. # noqa: E501 + :return: The query of this CheckBase. :rtype: DashboardQuery - """ + """ # noqa: E501 return self._query @query.setter def query(self, query): - """Sets the query of this CheckBase. + """Set the query of this CheckBase. - - :param query: The query of this CheckBase. # noqa: E501 + :param query: The query of this CheckBase. :type: DashboardQuery - """ + """ # noqa: E501 if query is None: raise ValueError("Invalid value for `query`, must not be `None`") # noqa: E501 - self._query = query @property def status(self): - """Gets the status of this CheckBase. # noqa: E501 + """Get the status of this CheckBase. - - :return: The status of this CheckBase. # noqa: E501 + :return: The status of this CheckBase. :rtype: TaskStatusType - """ + """ # noqa: E501 return self._status @status.setter def status(self, status): - """Sets the status of this CheckBase. - + """Set the status of this CheckBase. - :param status: The status of this CheckBase. # noqa: E501 + :param status: The status of this CheckBase. :type: TaskStatusType - """ - + """ # noqa: E501 self._status = status @property def every(self): - """Gets the every of this CheckBase. # noqa: E501 + """Get the every of this CheckBase. - Check repetition interval. # noqa: E501 + Check repetition interval. - :return: The every of this CheckBase. # noqa: E501 + :return: The every of this CheckBase. :rtype: str - """ + """ # noqa: E501 return self._every @every.setter def every(self, every): - """Sets the every of this CheckBase. + """Set the every of this CheckBase. - Check repetition interval. # noqa: E501 + Check repetition interval. - :param every: The every of this CheckBase. # noqa: E501 + :param every: The every of this CheckBase. :type: str - """ - + """ # noqa: E501 self._every = every @property def offset(self): - """Gets the offset of this CheckBase. # noqa: E501 + """Get the offset of this CheckBase. - Duration to delay after the schedule, before executing check. # noqa: E501 + Duration to delay after the schedule, before executing check. - :return: The offset of this CheckBase. # noqa: E501 + :return: The offset of this CheckBase. :rtype: str - """ + """ # noqa: E501 return self._offset @offset.setter def offset(self, offset): - """Sets the offset of this CheckBase. + """Set the offset of this CheckBase. - Duration to delay after the schedule, before executing check. # noqa: E501 + Duration to delay after the schedule, before executing check. - :param offset: The offset of this CheckBase. # noqa: E501 + :param offset: The offset of this CheckBase. :type: str - """ - + """ # noqa: E501 self._offset = offset @property def tags(self): - """Gets the tags of this CheckBase. # noqa: E501 + """Get the tags of this CheckBase. - List of tags to write to each status. # noqa: E501 + List of tags to write to each status. - :return: The tags of this CheckBase. # noqa: E501 + :return: The tags of this CheckBase. :rtype: list[CheckBaseTags] - """ + """ # noqa: E501 return self._tags @tags.setter def tags(self, tags): - """Sets the tags of this CheckBase. + """Set the tags of this CheckBase. - List of tags to write to each status. # noqa: E501 + List of tags to write to each status. - :param tags: The tags of this CheckBase. # noqa: E501 + :param tags: The tags of this CheckBase. :type: list[CheckBaseTags] - """ - + """ # noqa: E501 self._tags = tags @property def description(self): - """Gets the description of this CheckBase. # noqa: E501 + """Get the description of this CheckBase. - An optional description of the check. # noqa: E501 + An optional description of the check. - :return: The description of this CheckBase. # noqa: E501 + :return: The description of this CheckBase. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this CheckBase. + """Set the description of this CheckBase. - An optional description of the check. # noqa: E501 + An optional description of the check. - :param description: The description of this CheckBase. # noqa: E501 + :param description: The description of this CheckBase. :type: str - """ - + """ # noqa: E501 self._description = description @property def status_message_template(self): - """Gets the status_message_template of this CheckBase. # noqa: E501 + """Get the status_message_template of this CheckBase. - The template used to generate and write a status message. # noqa: E501 + The template used to generate and write a status message. - :return: The status_message_template of this CheckBase. # noqa: E501 + :return: The status_message_template of this CheckBase. :rtype: str - """ + """ # noqa: E501 return self._status_message_template @status_message_template.setter def status_message_template(self, status_message_template): - """Sets the status_message_template of this CheckBase. + """Set the status_message_template of this CheckBase. - The template used to generate and write a status message. # noqa: E501 + The template used to generate and write a status message. - :param status_message_template: The status_message_template of this CheckBase. # noqa: E501 + :param status_message_template: The status_message_template of this CheckBase. :type: str - """ - + """ # noqa: E501 self._status_message_template = status_message_template @property def labels(self): - """Gets the labels of this CheckBase. # noqa: E501 + """Get the labels of this CheckBase. - - :return: The labels of this CheckBase. # noqa: E501 + :return: The labels of this CheckBase. :rtype: list[Label] - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this CheckBase. - + """Set the labels of this CheckBase. - :param labels: The labels of this CheckBase. # noqa: E501 + :param labels: The labels of this CheckBase. :type: list[Label] - """ - + """ # noqa: E501 self._labels = labels @property def links(self): - """Gets the links of this CheckBase. # noqa: E501 - + """Get the links of this CheckBase. - :return: The links of this CheckBase. # noqa: E501 + :return: The links of this CheckBase. :rtype: CheckBaseLinks - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this CheckBase. + """Set the links of this CheckBase. - - :param links: The links of this CheckBase. # noqa: E501 + :param links: The links of this CheckBase. :type: CheckBaseLinks - """ - + """ # noqa: E501 self._links = links def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -476,20 +446,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, CheckBase): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/check_base_links.py b/influxdb_client/domain/check_base_links.py index 0886931e..2b5b6da2 100644 --- a/influxdb_client/domain/check_base_links.py +++ b/influxdb_client/domain/check_base_links.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class CheckBaseLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class CheckBaseLinks(object): 'owners': 'owners' } - def __init__(self, _self=None, labels=None, members=None, owners=None): # noqa: E501 - """CheckBaseLinks - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, _self=None, labels=None, members=None, owners=None): # noqa: E501,D401,D403 + """CheckBaseLinks - a model defined in OpenAPI.""" # noqa: E501 self.__self = None self._labels = None self._members = None @@ -64,98 +64,94 @@ def __init__(self, _self=None, labels=None, members=None, owners=None): # noqa: @property def _self(self): - """Gets the _self of this CheckBaseLinks. # noqa: E501 + """Get the _self of this CheckBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The _self of this CheckBaseLinks. # noqa: E501 + :return: The _self of this CheckBaseLinks. :rtype: str - """ + """ # noqa: E501 return self.__self @_self.setter def _self(self, _self): - """Sets the _self of this CheckBaseLinks. + """Set the _self of this CheckBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :param _self: The _self of this CheckBaseLinks. # noqa: E501 + :param _self: The _self of this CheckBaseLinks. :type: str - """ - + """ # noqa: E501 self.__self = _self @property def labels(self): - """Gets the labels of this CheckBaseLinks. # noqa: E501 + """Get the labels of this CheckBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The labels of this CheckBaseLinks. # noqa: E501 + :return: The labels of this CheckBaseLinks. :rtype: str - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this CheckBaseLinks. + """Set the labels of this CheckBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :param labels: The labels of this CheckBaseLinks. # noqa: E501 + :param labels: The labels of this CheckBaseLinks. :type: str - """ - + """ # noqa: E501 self._labels = labels @property def members(self): - """Gets the members of this CheckBaseLinks. # noqa: E501 + """Get the members of this CheckBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The members of this CheckBaseLinks. # noqa: E501 + :return: The members of this CheckBaseLinks. :rtype: str - """ + """ # noqa: E501 return self._members @members.setter def members(self, members): - """Sets the members of this CheckBaseLinks. + """Set the members of this CheckBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :param members: The members of this CheckBaseLinks. # noqa: E501 + :param members: The members of this CheckBaseLinks. :type: str - """ - + """ # noqa: E501 self._members = members @property def owners(self): - """Gets the owners of this CheckBaseLinks. # noqa: E501 + """Get the owners of this CheckBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The owners of this CheckBaseLinks. # noqa: E501 + :return: The owners of this CheckBaseLinks. :rtype: str - """ + """ # noqa: E501 return self._owners @owners.setter def owners(self, owners): - """Sets the owners of this CheckBaseLinks. + """Set the owners of this CheckBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :param owners: The owners of this CheckBaseLinks. # noqa: E501 + :param owners: The owners of this CheckBaseLinks. :type: str - """ - + """ # noqa: E501 self._owners = owners def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -179,20 +175,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, CheckBaseLinks): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/check_base_tags.py b/influxdb_client/domain/check_base_tags.py index 020d8ed6..eba5645f 100644 --- a/influxdb_client/domain/check_base_tags.py +++ b/influxdb_client/domain/check_base_tags.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class CheckBaseTags(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class CheckBaseTags(object): 'value': 'value' } - def __init__(self, key=None, value=None): # noqa: E501 - """CheckBaseTags - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, key=None, value=None): # noqa: E501,D401,D403 + """CheckBaseTags - a model defined in OpenAPI.""" # noqa: E501 self._key = None self._value = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, key=None, value=None): # noqa: E501 @property def key(self): - """Gets the key of this CheckBaseTags. # noqa: E501 + """Get the key of this CheckBaseTags. - - :return: The key of this CheckBaseTags. # noqa: E501 + :return: The key of this CheckBaseTags. :rtype: str - """ + """ # noqa: E501 return self._key @key.setter def key(self, key): - """Sets the key of this CheckBaseTags. - + """Set the key of this CheckBaseTags. - :param key: The key of this CheckBaseTags. # noqa: E501 + :param key: The key of this CheckBaseTags. :type: str - """ - + """ # noqa: E501 self._key = key @property def value(self): - """Gets the value of this CheckBaseTags. # noqa: E501 - + """Get the value of this CheckBaseTags. - :return: The value of this CheckBaseTags. # noqa: E501 + :return: The value of this CheckBaseTags. :rtype: str - """ + """ # noqa: E501 return self._value @value.setter def value(self, value): - """Sets the value of this CheckBaseTags. + """Set the value of this CheckBaseTags. - - :param value: The value of this CheckBaseTags. # noqa: E501 + :param value: The value of this CheckBaseTags. :type: str - """ - + """ # noqa: E501 self._value = value def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, CheckBaseTags): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/check_discriminator.py b/influxdb_client/domain/check_discriminator.py index 34c21ae4..c2c24b0b 100644 --- a/influxdb_client/domain/check_discriminator.py +++ b/influxdb_client/domain/check_discriminator.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class CheckDiscriminator(PostCheck): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,19 +45,19 @@ class CheckDiscriminator(PostCheck): 'DeadmanCheck': 'DeadmanCheck' } - def __init__(self): # noqa: E501 - """CheckDiscriminator - a model defined in OpenAPI""" # noqa: E501 + def __init__(self): # noqa: E501,D401,D403 + """CheckDiscriminator - a model defined in OpenAPI.""" # noqa: E501 PostCheck.__init__(self) # noqa: E501 self.discriminator = 'type' def get_real_child_model(self, data): - """Returns the real base class specified by the discriminator""" + """Return the real base class specified by the discriminator.""" discriminator_key = self.attribute_map[self.discriminator] discriminator_value = data[discriminator_key] return self.discriminator_value_class_map.get(discriminator_value) def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -80,20 +81,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, CheckDiscriminator): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/check_patch.py b/influxdb_client/domain/check_patch.py index 6ad8eb11..28388ca8 100644 --- a/influxdb_client/domain/check_patch.py +++ b/influxdb_client/domain/check_patch.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class CheckPatch(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class CheckPatch(object): 'status': 'status' } - def __init__(self, name=None, description=None, status=None): # noqa: E501 - """CheckPatch - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, name=None, description=None, status=None): # noqa: E501,D401,D403 + """CheckPatch - a model defined in OpenAPI.""" # noqa: E501 self._name = None self._description = None self._status = None @@ -59,69 +59,60 @@ def __init__(self, name=None, description=None, status=None): # noqa: E501 @property def name(self): - """Gets the name of this CheckPatch. # noqa: E501 - + """Get the name of this CheckPatch. - :return: The name of this CheckPatch. # noqa: E501 + :return: The name of this CheckPatch. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this CheckPatch. + """Set the name of this CheckPatch. - - :param name: The name of this CheckPatch. # noqa: E501 + :param name: The name of this CheckPatch. :type: str - """ - + """ # noqa: E501 self._name = name @property def description(self): - """Gets the description of this CheckPatch. # noqa: E501 - + """Get the description of this CheckPatch. - :return: The description of this CheckPatch. # noqa: E501 + :return: The description of this CheckPatch. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this CheckPatch. + """Set the description of this CheckPatch. - - :param description: The description of this CheckPatch. # noqa: E501 + :param description: The description of this CheckPatch. :type: str - """ - + """ # noqa: E501 self._description = description @property def status(self): - """Gets the status of this CheckPatch. # noqa: E501 - + """Get the status of this CheckPatch. - :return: The status of this CheckPatch. # noqa: E501 + :return: The status of this CheckPatch. :rtype: str - """ + """ # noqa: E501 return self._status @status.setter def status(self, status): - """Sets the status of this CheckPatch. + """Set the status of this CheckPatch. - - :param status: The status of this CheckPatch. # noqa: E501 + :param status: The status of this CheckPatch. :type: str - """ - + """ # noqa: E501 self._status = status def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -145,20 +136,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, CheckPatch): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/check_status_level.py b/influxdb_client/domain/check_status_level.py index e4b91022..16a901f4 100644 --- a/influxdb_client/domain/check_status_level.py +++ b/influxdb_client/domain/check_status_level.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class CheckStatusLevel(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -45,12 +46,11 @@ class CheckStatusLevel(object): attribute_map = { } - def __init__(self): # noqa: E501 - """CheckStatusLevel - a model defined in OpenAPI""" # noqa: E501 - self.discriminator = None + def __init__(self): # noqa: E501,D401,D403 + """CheckStatusLevel - a model defined in OpenAPI.""" # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -74,20 +74,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, CheckStatusLevel): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/check_view_properties.py b/influxdb_client/domain/check_view_properties.py index ab2985b9..04c87e4f 100644 --- a/influxdb_client/domain/check_view_properties.py +++ b/influxdb_client/domain/check_view_properties.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class CheckViewProperties(ViewProperties): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -49,8 +50,8 @@ class CheckViewProperties(ViewProperties): 'colors': 'colors' } - def __init__(self, type=None, shape=None, check_id=None, check=None, queries=None, colors=None): # noqa: E501 - """CheckViewProperties - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, type=None, shape=None, check_id=None, check=None, queries=None, colors=None): # noqa: E501,D401,D403 + """CheckViewProperties - a model defined in OpenAPI.""" # noqa: E501 ViewProperties.__init__(self) # noqa: E501 self._type = None @@ -71,144 +72,128 @@ def __init__(self, type=None, shape=None, check_id=None, check=None, queries=Non @property def type(self): - """Gets the type of this CheckViewProperties. # noqa: E501 - + """Get the type of this CheckViewProperties. - :return: The type of this CheckViewProperties. # noqa: E501 + :return: The type of this CheckViewProperties. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this CheckViewProperties. - + """Set the type of this CheckViewProperties. - :param type: The type of this CheckViewProperties. # noqa: E501 + :param type: The type of this CheckViewProperties. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def shape(self): - """Gets the shape of this CheckViewProperties. # noqa: E501 - + """Get the shape of this CheckViewProperties. - :return: The shape of this CheckViewProperties. # noqa: E501 + :return: The shape of this CheckViewProperties. :rtype: str - """ + """ # noqa: E501 return self._shape @shape.setter def shape(self, shape): - """Sets the shape of this CheckViewProperties. + """Set the shape of this CheckViewProperties. - - :param shape: The shape of this CheckViewProperties. # noqa: E501 + :param shape: The shape of this CheckViewProperties. :type: str - """ + """ # noqa: E501 if shape is None: raise ValueError("Invalid value for `shape`, must not be `None`") # noqa: E501 - self._shape = shape @property def check_id(self): - """Gets the check_id of this CheckViewProperties. # noqa: E501 + """Get the check_id of this CheckViewProperties. - - :return: The check_id of this CheckViewProperties. # noqa: E501 + :return: The check_id of this CheckViewProperties. :rtype: str - """ + """ # noqa: E501 return self._check_id @check_id.setter def check_id(self, check_id): - """Sets the check_id of this CheckViewProperties. - + """Set the check_id of this CheckViewProperties. - :param check_id: The check_id of this CheckViewProperties. # noqa: E501 + :param check_id: The check_id of this CheckViewProperties. :type: str - """ + """ # noqa: E501 if check_id is None: raise ValueError("Invalid value for `check_id`, must not be `None`") # noqa: E501 - self._check_id = check_id @property def check(self): - """Gets the check of this CheckViewProperties. # noqa: E501 - + """Get the check of this CheckViewProperties. - :return: The check of this CheckViewProperties. # noqa: E501 + :return: The check of this CheckViewProperties. :rtype: Check - """ + """ # noqa: E501 return self._check @check.setter def check(self, check): - """Sets the check of this CheckViewProperties. + """Set the check of this CheckViewProperties. - - :param check: The check of this CheckViewProperties. # noqa: E501 + :param check: The check of this CheckViewProperties. :type: Check - """ - + """ # noqa: E501 self._check = check @property def queries(self): - """Gets the queries of this CheckViewProperties. # noqa: E501 + """Get the queries of this CheckViewProperties. - - :return: The queries of this CheckViewProperties. # noqa: E501 + :return: The queries of this CheckViewProperties. :rtype: list[DashboardQuery] - """ + """ # noqa: E501 return self._queries @queries.setter def queries(self, queries): - """Sets the queries of this CheckViewProperties. - + """Set the queries of this CheckViewProperties. - :param queries: The queries of this CheckViewProperties. # noqa: E501 + :param queries: The queries of this CheckViewProperties. :type: list[DashboardQuery] - """ + """ # noqa: E501 if queries is None: raise ValueError("Invalid value for `queries`, must not be `None`") # noqa: E501 - self._queries = queries @property def colors(self): - """Gets the colors of this CheckViewProperties. # noqa: E501 + """Get the colors of this CheckViewProperties. - Colors define color encoding of data into a visualization # noqa: E501 + Colors define color encoding of data into a visualization - :return: The colors of this CheckViewProperties. # noqa: E501 + :return: The colors of this CheckViewProperties. :rtype: list[str] - """ + """ # noqa: E501 return self._colors @colors.setter def colors(self, colors): - """Sets the colors of this CheckViewProperties. + """Set the colors of this CheckViewProperties. - Colors define color encoding of data into a visualization # noqa: E501 + Colors define color encoding of data into a visualization - :param colors: The colors of this CheckViewProperties. # noqa: E501 + :param colors: The colors of this CheckViewProperties. :type: list[str] - """ + """ # noqa: E501 if colors is None: raise ValueError("Invalid value for `colors`, must not be `None`") # noqa: E501 - self._colors = colors def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -232,20 +217,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, CheckViewProperties): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/checks.py b/influxdb_client/domain/checks.py index a88c5df1..9732b47f 100644 --- a/influxdb_client/domain/checks.py +++ b/influxdb_client/domain/checks.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Checks(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class Checks(object): 'links': 'links' } - def __init__(self, checks=None, links=None): # noqa: E501 - """Checks - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, checks=None, links=None): # noqa: E501,D401,D403 + """Checks - a model defined in OpenAPI.""" # noqa: E501 self._checks = None self._links = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, checks=None, links=None): # noqa: E501 @property def checks(self): - """Gets the checks of this Checks. # noqa: E501 + """Get the checks of this Checks. - - :return: The checks of this Checks. # noqa: E501 + :return: The checks of this Checks. :rtype: list[Check] - """ + """ # noqa: E501 return self._checks @checks.setter def checks(self, checks): - """Sets the checks of this Checks. - + """Set the checks of this Checks. - :param checks: The checks of this Checks. # noqa: E501 + :param checks: The checks of this Checks. :type: list[Check] - """ - + """ # noqa: E501 self._checks = checks @property def links(self): - """Gets the links of this Checks. # noqa: E501 - + """Get the links of this Checks. - :return: The links of this Checks. # noqa: E501 + :return: The links of this Checks. :rtype: Links - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Checks. + """Set the links of this Checks. - - :param links: The links of this Checks. # noqa: E501 + :param links: The links of this Checks. :type: Links - """ - + """ # noqa: E501 self._links = links def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Checks): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/conditional_expression.py b/influxdb_client/domain/conditional_expression.py index 469d9635..a7257f06 100644 --- a/influxdb_client/domain/conditional_expression.py +++ b/influxdb_client/domain/conditional_expression.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class ConditionalExpression(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class ConditionalExpression(object): 'consequent': 'consequent' } - def __init__(self, type=None, test=None, alternate=None, consequent=None): # noqa: E501 - """ConditionalExpression - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, test=None, alternate=None, consequent=None): # noqa: E501,D401,D403 + """ConditionalExpression - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._test = None self._alternate = None @@ -64,92 +64,82 @@ def __init__(self, type=None, test=None, alternate=None, consequent=None): # no @property def type(self): - """Gets the type of this ConditionalExpression. # noqa: E501 + """Get the type of this ConditionalExpression. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this ConditionalExpression. # noqa: E501 + :return: The type of this ConditionalExpression. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this ConditionalExpression. + """Set the type of this ConditionalExpression. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this ConditionalExpression. # noqa: E501 + :param type: The type of this ConditionalExpression. :type: str - """ - + """ # noqa: E501 self._type = type @property def test(self): - """Gets the test of this ConditionalExpression. # noqa: E501 + """Get the test of this ConditionalExpression. - - :return: The test of this ConditionalExpression. # noqa: E501 + :return: The test of this ConditionalExpression. :rtype: Expression - """ + """ # noqa: E501 return self._test @test.setter def test(self, test): - """Sets the test of this ConditionalExpression. - + """Set the test of this ConditionalExpression. - :param test: The test of this ConditionalExpression. # noqa: E501 + :param test: The test of this ConditionalExpression. :type: Expression - """ - + """ # noqa: E501 self._test = test @property def alternate(self): - """Gets the alternate of this ConditionalExpression. # noqa: E501 + """Get the alternate of this ConditionalExpression. - - :return: The alternate of this ConditionalExpression. # noqa: E501 + :return: The alternate of this ConditionalExpression. :rtype: Expression - """ + """ # noqa: E501 return self._alternate @alternate.setter def alternate(self, alternate): - """Sets the alternate of this ConditionalExpression. - + """Set the alternate of this ConditionalExpression. - :param alternate: The alternate of this ConditionalExpression. # noqa: E501 + :param alternate: The alternate of this ConditionalExpression. :type: Expression - """ - + """ # noqa: E501 self._alternate = alternate @property def consequent(self): - """Gets the consequent of this ConditionalExpression. # noqa: E501 + """Get the consequent of this ConditionalExpression. - - :return: The consequent of this ConditionalExpression. # noqa: E501 + :return: The consequent of this ConditionalExpression. :rtype: Expression - """ + """ # noqa: E501 return self._consequent @consequent.setter def consequent(self, consequent): - """Sets the consequent of this ConditionalExpression. - + """Set the consequent of this ConditionalExpression. - :param consequent: The consequent of this ConditionalExpression. # noqa: E501 + :param consequent: The consequent of this ConditionalExpression. :type: Expression - """ - + """ # noqa: E501 self._consequent = consequent def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -173,20 +163,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ConditionalExpression): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/constant_variable_properties.py b/influxdb_client/domain/constant_variable_properties.py index eca5debd..19f6cbb3 100644 --- a/influxdb_client/domain/constant_variable_properties.py +++ b/influxdb_client/domain/constant_variable_properties.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class ConstantVariableProperties(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class ConstantVariableProperties(object): 'values': 'values' } - def __init__(self, type=None, values=None): # noqa: E501 - """ConstantVariableProperties - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, values=None): # noqa: E501,D401,D403 + """ConstantVariableProperties - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._values = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, type=None, values=None): # noqa: E501 @property def type(self): - """Gets the type of this ConstantVariableProperties. # noqa: E501 + """Get the type of this ConstantVariableProperties. - - :return: The type of this ConstantVariableProperties. # noqa: E501 + :return: The type of this ConstantVariableProperties. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this ConstantVariableProperties. - + """Set the type of this ConstantVariableProperties. - :param type: The type of this ConstantVariableProperties. # noqa: E501 + :param type: The type of this ConstantVariableProperties. :type: str - """ - + """ # noqa: E501 self._type = type @property def values(self): - """Gets the values of this ConstantVariableProperties. # noqa: E501 - + """Get the values of this ConstantVariableProperties. - :return: The values of this ConstantVariableProperties. # noqa: E501 + :return: The values of this ConstantVariableProperties. :rtype: list[str] - """ + """ # noqa: E501 return self._values @values.setter def values(self, values): - """Sets the values of this ConstantVariableProperties. + """Set the values of this ConstantVariableProperties. - - :param values: The values of this ConstantVariableProperties. # noqa: E501 + :param values: The values of this ConstantVariableProperties. :type: list[str] - """ - + """ # noqa: E501 self._values = values def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ConstantVariableProperties): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/create_cell.py b/influxdb_client/domain/create_cell.py index 08b0ded8..1ffd531a 100644 --- a/influxdb_client/domain/create_cell.py +++ b/influxdb_client/domain/create_cell.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class CreateCell(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -48,9 +49,8 @@ class CreateCell(object): 'using_view': 'usingView' } - def __init__(self, name=None, x=None, y=None, w=None, h=None, using_view=None): # noqa: E501 - """CreateCell - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, name=None, x=None, y=None, w=None, h=None, using_view=None): # noqa: E501,D401,D403 + """CreateCell - a model defined in OpenAPI.""" # noqa: E501 self._name = None self._x = None self._y = None @@ -74,134 +74,118 @@ def __init__(self, name=None, x=None, y=None, w=None, h=None, using_view=None): @property def name(self): - """Gets the name of this CreateCell. # noqa: E501 - + """Get the name of this CreateCell. - :return: The name of this CreateCell. # noqa: E501 + :return: The name of this CreateCell. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this CreateCell. + """Set the name of this CreateCell. - - :param name: The name of this CreateCell. # noqa: E501 + :param name: The name of this CreateCell. :type: str - """ - + """ # noqa: E501 self._name = name @property def x(self): - """Gets the x of this CreateCell. # noqa: E501 + """Get the x of this CreateCell. - - :return: The x of this CreateCell. # noqa: E501 + :return: The x of this CreateCell. :rtype: int - """ + """ # noqa: E501 return self._x @x.setter def x(self, x): - """Sets the x of this CreateCell. - + """Set the x of this CreateCell. - :param x: The x of this CreateCell. # noqa: E501 + :param x: The x of this CreateCell. :type: int - """ - + """ # noqa: E501 self._x = x @property def y(self): - """Gets the y of this CreateCell. # noqa: E501 - + """Get the y of this CreateCell. - :return: The y of this CreateCell. # noqa: E501 + :return: The y of this CreateCell. :rtype: int - """ + """ # noqa: E501 return self._y @y.setter def y(self, y): - """Sets the y of this CreateCell. + """Set the y of this CreateCell. - - :param y: The y of this CreateCell. # noqa: E501 + :param y: The y of this CreateCell. :type: int - """ - + """ # noqa: E501 self._y = y @property def w(self): - """Gets the w of this CreateCell. # noqa: E501 - + """Get the w of this CreateCell. - :return: The w of this CreateCell. # noqa: E501 + :return: The w of this CreateCell. :rtype: int - """ + """ # noqa: E501 return self._w @w.setter def w(self, w): - """Sets the w of this CreateCell. + """Set the w of this CreateCell. - - :param w: The w of this CreateCell. # noqa: E501 + :param w: The w of this CreateCell. :type: int - """ - + """ # noqa: E501 self._w = w @property def h(self): - """Gets the h of this CreateCell. # noqa: E501 + """Get the h of this CreateCell. - - :return: The h of this CreateCell. # noqa: E501 + :return: The h of this CreateCell. :rtype: int - """ + """ # noqa: E501 return self._h @h.setter def h(self, h): - """Sets the h of this CreateCell. - + """Set the h of this CreateCell. - :param h: The h of this CreateCell. # noqa: E501 + :param h: The h of this CreateCell. :type: int - """ - + """ # noqa: E501 self._h = h @property def using_view(self): - """Gets the using_view of this CreateCell. # noqa: E501 + """Get the using_view of this CreateCell. - Makes a copy of the provided view. # noqa: E501 + Makes a copy of the provided view. - :return: The using_view of this CreateCell. # noqa: E501 + :return: The using_view of this CreateCell. :rtype: str - """ + """ # noqa: E501 return self._using_view @using_view.setter def using_view(self, using_view): - """Sets the using_view of this CreateCell. + """Set the using_view of this CreateCell. - Makes a copy of the provided view. # noqa: E501 + Makes a copy of the provided view. - :param using_view: The using_view of this CreateCell. # noqa: E501 + :param using_view: The using_view of this CreateCell. :type: str - """ - + """ # noqa: E501 self._using_view = using_view def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -225,20 +209,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, CreateCell): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/create_dashboard_request.py b/influxdb_client/domain/create_dashboard_request.py index 7994ac84..59f2a52d 100644 --- a/influxdb_client/domain/create_dashboard_request.py +++ b/influxdb_client/domain/create_dashboard_request.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class CreateDashboardRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class CreateDashboardRequest(object): 'description': 'description' } - def __init__(self, org_id=None, name=None, description=None): # noqa: E501 - """CreateDashboardRequest - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, org_id=None, name=None, description=None): # noqa: E501,D401,D403 + """CreateDashboardRequest - a model defined in OpenAPI.""" # noqa: E501 self._org_id = None self._name = None self._description = None @@ -57,79 +57,76 @@ def __init__(self, org_id=None, name=None, description=None): # noqa: E501 @property def org_id(self): - """Gets the org_id of this CreateDashboardRequest. # noqa: E501 + """Get the org_id of this CreateDashboardRequest. - The ID of the organization that owns the dashboard. # noqa: E501 + The ID of the organization that owns the dashboard. - :return: The org_id of this CreateDashboardRequest. # noqa: E501 + :return: The org_id of this CreateDashboardRequest. :rtype: str - """ + """ # noqa: E501 return self._org_id @org_id.setter def org_id(self, org_id): - """Sets the org_id of this CreateDashboardRequest. + """Set the org_id of this CreateDashboardRequest. - The ID of the organization that owns the dashboard. # noqa: E501 + The ID of the organization that owns the dashboard. - :param org_id: The org_id of this CreateDashboardRequest. # noqa: E501 + :param org_id: The org_id of this CreateDashboardRequest. :type: str - """ + """ # noqa: E501 if org_id is None: raise ValueError("Invalid value for `org_id`, must not be `None`") # noqa: E501 - self._org_id = org_id @property def name(self): - """Gets the name of this CreateDashboardRequest. # noqa: E501 + """Get the name of this CreateDashboardRequest. - The user-facing name of the dashboard. # noqa: E501 + The user-facing name of the dashboard. - :return: The name of this CreateDashboardRequest. # noqa: E501 + :return: The name of this CreateDashboardRequest. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this CreateDashboardRequest. + """Set the name of this CreateDashboardRequest. - The user-facing name of the dashboard. # noqa: E501 + The user-facing name of the dashboard. - :param name: The name of this CreateDashboardRequest. # noqa: E501 + :param name: The name of this CreateDashboardRequest. :type: str - """ + """ # noqa: E501 if name is None: raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - self._name = name @property def description(self): - """Gets the description of this CreateDashboardRequest. # noqa: E501 + """Get the description of this CreateDashboardRequest. - The user-facing description of the dashboard. # noqa: E501 + The user-facing description of the dashboard. - :return: The description of this CreateDashboardRequest. # noqa: E501 + :return: The description of this CreateDashboardRequest. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this CreateDashboardRequest. + """Set the description of this CreateDashboardRequest. - The user-facing description of the dashboard. # noqa: E501 + The user-facing description of the dashboard. - :param description: The description of this CreateDashboardRequest. # noqa: E501 + :param description: The description of this CreateDashboardRequest. :type: str - """ - + """ # noqa: E501 self._description = description def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -153,20 +150,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, CreateDashboardRequest): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/dashboard.py b/influxdb_client/domain/dashboard.py index a2952107..c949b0c0 100644 --- a/influxdb_client/domain/dashboard.py +++ b/influxdb_client/domain/dashboard.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class Dashboard(CreateDashboardRequest): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -53,8 +54,8 @@ class Dashboard(CreateDashboardRequest): 'description': 'description' } - def __init__(self, links=None, id=None, meta=None, cells=None, labels=None, org_id=None, name=None, description=None): # noqa: E501 - """Dashboard - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, links=None, id=None, meta=None, cells=None, labels=None, org_id=None, name=None, description=None): # noqa: E501,D401,D403 + """Dashboard - a model defined in OpenAPI.""" # noqa: E501 CreateDashboardRequest.__init__(self, org_id=org_id, name=name, description=description) # noqa: E501 self._links = None @@ -77,111 +78,96 @@ def __init__(self, links=None, id=None, meta=None, cells=None, labels=None, org_ @property def links(self): - """Gets the links of this Dashboard. # noqa: E501 - + """Get the links of this Dashboard. - :return: The links of this Dashboard. # noqa: E501 + :return: The links of this Dashboard. :rtype: object - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Dashboard. + """Set the links of this Dashboard. - - :param links: The links of this Dashboard. # noqa: E501 + :param links: The links of this Dashboard. :type: object - """ - + """ # noqa: E501 self._links = links @property def id(self): - """Gets the id of this Dashboard. # noqa: E501 + """Get the id of this Dashboard. - - :return: The id of this Dashboard. # noqa: E501 + :return: The id of this Dashboard. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this Dashboard. - + """Set the id of this Dashboard. - :param id: The id of this Dashboard. # noqa: E501 + :param id: The id of this Dashboard. :type: str - """ - + """ # noqa: E501 self._id = id @property def meta(self): - """Gets the meta of this Dashboard. # noqa: E501 - + """Get the meta of this Dashboard. - :return: The meta of this Dashboard. # noqa: E501 + :return: The meta of this Dashboard. :rtype: object - """ + """ # noqa: E501 return self._meta @meta.setter def meta(self, meta): - """Sets the meta of this Dashboard. + """Set the meta of this Dashboard. - - :param meta: The meta of this Dashboard. # noqa: E501 + :param meta: The meta of this Dashboard. :type: object - """ - + """ # noqa: E501 self._meta = meta @property def cells(self): - """Gets the cells of this Dashboard. # noqa: E501 + """Get the cells of this Dashboard. - - :return: The cells of this Dashboard. # noqa: E501 + :return: The cells of this Dashboard. :rtype: list[Cell] - """ + """ # noqa: E501 return self._cells @cells.setter def cells(self, cells): - """Sets the cells of this Dashboard. - + """Set the cells of this Dashboard. - :param cells: The cells of this Dashboard. # noqa: E501 + :param cells: The cells of this Dashboard. :type: list[Cell] - """ - + """ # noqa: E501 self._cells = cells @property def labels(self): - """Gets the labels of this Dashboard. # noqa: E501 - + """Get the labels of this Dashboard. - :return: The labels of this Dashboard. # noqa: E501 + :return: The labels of this Dashboard. :rtype: list[Label] - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this Dashboard. + """Set the labels of this Dashboard. - - :param labels: The labels of this Dashboard. # noqa: E501 + :param labels: The labels of this Dashboard. :type: list[Label] - """ - + """ # noqa: E501 self._labels = labels def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -205,20 +191,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Dashboard): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/dashboard_color.py b/influxdb_client/domain/dashboard_color.py index bec40b60..f3bc9fcf 100644 --- a/influxdb_client/domain/dashboard_color.py +++ b/influxdb_client/domain/dashboard_color.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class DashboardColor(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -46,9 +47,8 @@ class DashboardColor(object): 'value': 'value' } - def __init__(self, id=None, type=None, hex=None, name=None, value=None): # noqa: E501 - """DashboardColor - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, id=None, type=None, hex=None, name=None, value=None): # noqa: E501,D401,D403 + """DashboardColor - a model defined in OpenAPI.""" # noqa: E501 self._id = None self._type = None self._hex = None @@ -64,135 +64,130 @@ def __init__(self, id=None, type=None, hex=None, name=None, value=None): # noqa @property def id(self): - """Gets the id of this DashboardColor. # noqa: E501 + """Get the id of this DashboardColor. - The unique ID of the view color. # noqa: E501 + The unique ID of the view color. - :return: The id of this DashboardColor. # noqa: E501 + :return: The id of this DashboardColor. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this DashboardColor. + """Set the id of this DashboardColor. - The unique ID of the view color. # noqa: E501 + The unique ID of the view color. - :param id: The id of this DashboardColor. # noqa: E501 + :param id: The id of this DashboardColor. :type: str - """ + """ # noqa: E501 if id is None: raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - self._id = id @property def type(self): - """Gets the type of this DashboardColor. # noqa: E501 + """Get the type of this DashboardColor. - Type is how the color is used. # noqa: E501 + Type is how the color is used. - :return: The type of this DashboardColor. # noqa: E501 + :return: The type of this DashboardColor. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this DashboardColor. + """Set the type of this DashboardColor. - Type is how the color is used. # noqa: E501 + Type is how the color is used. - :param type: The type of this DashboardColor. # noqa: E501 + :param type: The type of this DashboardColor. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def hex(self): - """Gets the hex of this DashboardColor. # noqa: E501 + """Get the hex of this DashboardColor. - The hex number of the color # noqa: E501 + The hex number of the color - :return: The hex of this DashboardColor. # noqa: E501 + :return: The hex of this DashboardColor. :rtype: str - """ + """ # noqa: E501 return self._hex @hex.setter def hex(self, hex): - """Sets the hex of this DashboardColor. + """Set the hex of this DashboardColor. - The hex number of the color # noqa: E501 + The hex number of the color - :param hex: The hex of this DashboardColor. # noqa: E501 + :param hex: The hex of this DashboardColor. :type: str - """ + """ # noqa: E501 if hex is None: raise ValueError("Invalid value for `hex`, must not be `None`") # noqa: E501 if hex is not None and len(hex) > 7: raise ValueError("Invalid value for `hex`, length must be less than or equal to `7`") # noqa: E501 if hex is not None and len(hex) < 7: raise ValueError("Invalid value for `hex`, length must be greater than or equal to `7`") # noqa: E501 - self._hex = hex @property def name(self): - """Gets the name of this DashboardColor. # noqa: E501 + """Get the name of this DashboardColor. - The user-facing name of the hex color. # noqa: E501 + The user-facing name of the hex color. - :return: The name of this DashboardColor. # noqa: E501 + :return: The name of this DashboardColor. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this DashboardColor. + """Set the name of this DashboardColor. - The user-facing name of the hex color. # noqa: E501 + The user-facing name of the hex color. - :param name: The name of this DashboardColor. # noqa: E501 + :param name: The name of this DashboardColor. :type: str - """ + """ # noqa: E501 if name is None: raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - self._name = name @property def value(self): - """Gets the value of this DashboardColor. # noqa: E501 + """Get the value of this DashboardColor. - The data value mapped to this color. # noqa: E501 + The data value mapped to this color. - :return: The value of this DashboardColor. # noqa: E501 + :return: The value of this DashboardColor. :rtype: float - """ + """ # noqa: E501 return self._value @value.setter def value(self, value): - """Sets the value of this DashboardColor. + """Set the value of this DashboardColor. - The data value mapped to this color. # noqa: E501 + The data value mapped to this color. - :param value: The value of this DashboardColor. # noqa: E501 + :param value: The value of this DashboardColor. :type: float - """ + """ # noqa: E501 if value is None: raise ValueError("Invalid value for `value`, must not be `None`") # noqa: E501 - self._value = value def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -216,20 +211,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, DashboardColor): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/dashboard_query.py b/influxdb_client/domain/dashboard_query.py index 8a0847e1..6951ba8f 100644 --- a/influxdb_client/domain/dashboard_query.py +++ b/influxdb_client/domain/dashboard_query.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class DashboardQuery(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class DashboardQuery(object): 'builder_config': 'builderConfig' } - def __init__(self, text=None, edit_mode=None, name=None, builder_config=None): # noqa: E501 - """DashboardQuery - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, text=None, edit_mode=None, name=None, builder_config=None): # noqa: E501,D401,D403 + """DashboardQuery - a model defined in OpenAPI.""" # noqa: E501 self._text = None self._edit_mode = None self._name = None @@ -64,92 +64,82 @@ def __init__(self, text=None, edit_mode=None, name=None, builder_config=None): @property def text(self): - """Gets the text of this DashboardQuery. # noqa: E501 + """Get the text of this DashboardQuery. - The text of the Flux query. # noqa: E501 + The text of the Flux query. - :return: The text of this DashboardQuery. # noqa: E501 + :return: The text of this DashboardQuery. :rtype: str - """ + """ # noqa: E501 return self._text @text.setter def text(self, text): - """Sets the text of this DashboardQuery. + """Set the text of this DashboardQuery. - The text of the Flux query. # noqa: E501 + The text of the Flux query. - :param text: The text of this DashboardQuery. # noqa: E501 + :param text: The text of this DashboardQuery. :type: str - """ - + """ # noqa: E501 self._text = text @property def edit_mode(self): - """Gets the edit_mode of this DashboardQuery. # noqa: E501 + """Get the edit_mode of this DashboardQuery. - - :return: The edit_mode of this DashboardQuery. # noqa: E501 + :return: The edit_mode of this DashboardQuery. :rtype: QueryEditMode - """ + """ # noqa: E501 return self._edit_mode @edit_mode.setter def edit_mode(self, edit_mode): - """Sets the edit_mode of this DashboardQuery. - + """Set the edit_mode of this DashboardQuery. - :param edit_mode: The edit_mode of this DashboardQuery. # noqa: E501 + :param edit_mode: The edit_mode of this DashboardQuery. :type: QueryEditMode - """ - + """ # noqa: E501 self._edit_mode = edit_mode @property def name(self): - """Gets the name of this DashboardQuery. # noqa: E501 + """Get the name of this DashboardQuery. - - :return: The name of this DashboardQuery. # noqa: E501 + :return: The name of this DashboardQuery. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this DashboardQuery. - + """Set the name of this DashboardQuery. - :param name: The name of this DashboardQuery. # noqa: E501 + :param name: The name of this DashboardQuery. :type: str - """ - + """ # noqa: E501 self._name = name @property def builder_config(self): - """Gets the builder_config of this DashboardQuery. # noqa: E501 + """Get the builder_config of this DashboardQuery. - - :return: The builder_config of this DashboardQuery. # noqa: E501 + :return: The builder_config of this DashboardQuery. :rtype: BuilderConfig - """ + """ # noqa: E501 return self._builder_config @builder_config.setter def builder_config(self, builder_config): - """Sets the builder_config of this DashboardQuery. - + """Set the builder_config of this DashboardQuery. - :param builder_config: The builder_config of this DashboardQuery. # noqa: E501 + :param builder_config: The builder_config of this DashboardQuery. :type: BuilderConfig - """ - + """ # noqa: E501 self._builder_config = builder_config def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -173,20 +163,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, DashboardQuery): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/dashboards.py b/influxdb_client/domain/dashboards.py index 80ac09d1..64ab89c9 100644 --- a/influxdb_client/domain/dashboards.py +++ b/influxdb_client/domain/dashboards.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Dashboards(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class Dashboards(object): 'dashboards': 'dashboards' } - def __init__(self, links=None, dashboards=None): # noqa: E501 - """Dashboards - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, links=None, dashboards=None): # noqa: E501,D401,D403 + """Dashboards - a model defined in OpenAPI.""" # noqa: E501 self._links = None self._dashboards = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, links=None, dashboards=None): # noqa: E501 @property def links(self): - """Gets the links of this Dashboards. # noqa: E501 + """Get the links of this Dashboards. - - :return: The links of this Dashboards. # noqa: E501 + :return: The links of this Dashboards. :rtype: Links - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Dashboards. - + """Set the links of this Dashboards. - :param links: The links of this Dashboards. # noqa: E501 + :param links: The links of this Dashboards. :type: Links - """ - + """ # noqa: E501 self._links = links @property def dashboards(self): - """Gets the dashboards of this Dashboards. # noqa: E501 - + """Get the dashboards of this Dashboards. - :return: The dashboards of this Dashboards. # noqa: E501 + :return: The dashboards of this Dashboards. :rtype: list[Dashboard] - """ + """ # noqa: E501 return self._dashboards @dashboards.setter def dashboards(self, dashboards): - """Sets the dashboards of this Dashboards. + """Set the dashboards of this Dashboards. - - :param dashboards: The dashboards of this Dashboards. # noqa: E501 + :param dashboards: The dashboards of this Dashboards. :type: list[Dashboard] - """ - + """ # noqa: E501 self._dashboards = dashboards def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Dashboards): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/date_time_literal.py b/influxdb_client/domain/date_time_literal.py index 6f0ff7a5..bdffacb4 100644 --- a/influxdb_client/domain/date_time_literal.py +++ b/influxdb_client/domain/date_time_literal.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class DateTimeLiteral(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class DateTimeLiteral(object): 'value': 'value' } - def __init__(self, type=None, value=None): # noqa: E501 - """DateTimeLiteral - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, value=None): # noqa: E501,D401,D403 + """DateTimeLiteral - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._value = None self.discriminator = None @@ -54,50 +54,46 @@ def __init__(self, type=None, value=None): # noqa: E501 @property def type(self): - """Gets the type of this DateTimeLiteral. # noqa: E501 + """Get the type of this DateTimeLiteral. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this DateTimeLiteral. # noqa: E501 + :return: The type of this DateTimeLiteral. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this DateTimeLiteral. + """Set the type of this DateTimeLiteral. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this DateTimeLiteral. # noqa: E501 + :param type: The type of this DateTimeLiteral. :type: str - """ - + """ # noqa: E501 self._type = type @property def value(self): - """Gets the value of this DateTimeLiteral. # noqa: E501 + """Get the value of this DateTimeLiteral. - - :return: The value of this DateTimeLiteral. # noqa: E501 + :return: The value of this DateTimeLiteral. :rtype: str - """ + """ # noqa: E501 return self._value @value.setter def value(self, value): - """Sets the value of this DateTimeLiteral. - + """Set the value of this DateTimeLiteral. - :param value: The value of this DateTimeLiteral. # noqa: E501 + :param value: The value of this DateTimeLiteral. :type: str - """ - + """ # noqa: E501 self._value = value def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +117,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, DateTimeLiteral): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/dbr_ps.py b/influxdb_client/domain/dbr_ps.py index 4fdcc728..3ea0aadc 100644 --- a/influxdb_client/domain/dbr_ps.py +++ b/influxdb_client/domain/dbr_ps.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class DBRPs(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class DBRPs(object): 'links': 'links' } - def __init__(self, notification_endpoints=None, links=None): # noqa: E501 - """DBRPs - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, notification_endpoints=None, links=None): # noqa: E501,D401,D403 + """DBRPs - a model defined in OpenAPI.""" # noqa: E501 self._notification_endpoints = None self._links = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, notification_endpoints=None, links=None): # noqa: E501 @property def notification_endpoints(self): - """Gets the notification_endpoints of this DBRPs. # noqa: E501 + """Get the notification_endpoints of this DBRPs. - - :return: The notification_endpoints of this DBRPs. # noqa: E501 + :return: The notification_endpoints of this DBRPs. :rtype: list[DBRP] - """ + """ # noqa: E501 return self._notification_endpoints @notification_endpoints.setter def notification_endpoints(self, notification_endpoints): - """Sets the notification_endpoints of this DBRPs. - + """Set the notification_endpoints of this DBRPs. - :param notification_endpoints: The notification_endpoints of this DBRPs. # noqa: E501 + :param notification_endpoints: The notification_endpoints of this DBRPs. :type: list[DBRP] - """ - + """ # noqa: E501 self._notification_endpoints = notification_endpoints @property def links(self): - """Gets the links of this DBRPs. # noqa: E501 - + """Get the links of this DBRPs. - :return: The links of this DBRPs. # noqa: E501 + :return: The links of this DBRPs. :rtype: Links - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this DBRPs. + """Set the links of this DBRPs. - - :param links: The links of this DBRPs. # noqa: E501 + :param links: The links of this DBRPs. :type: Links - """ - + """ # noqa: E501 self._links = links def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, DBRPs): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/dbrp.py b/influxdb_client/domain/dbrp.py index 73516ddb..c4d52682 100644 --- a/influxdb_client/domain/dbrp.py +++ b/influxdb_client/domain/dbrp.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class DBRP(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -52,9 +53,8 @@ class DBRP(object): 'links': 'links' } - def __init__(self, id=None, org_id=None, org=None, bucket_id=None, database=None, retention_policy=None, default=None, links=None): # noqa: E501 - """DBRP - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, id=None, org_id=None, org=None, bucket_id=None, database=None, retention_policy=None, default=None, links=None): # noqa: E501,D401,D403 + """DBRP - a model defined in OpenAPI.""" # noqa: E501 self._id = None self._org_id = None self._org = None @@ -79,198 +79,188 @@ def __init__(self, id=None, org_id=None, org=None, bucket_id=None, database=None @property def id(self): - """Gets the id of this DBRP. # noqa: E501 + """Get the id of this DBRP. - the mapping identifier # noqa: E501 + the mapping identifier - :return: The id of this DBRP. # noqa: E501 + :return: The id of this DBRP. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this DBRP. + """Set the id of this DBRP. - the mapping identifier # noqa: E501 + the mapping identifier - :param id: The id of this DBRP. # noqa: E501 + :param id: The id of this DBRP. :type: str - """ - + """ # noqa: E501 self._id = id @property def org_id(self): - """Gets the org_id of this DBRP. # noqa: E501 + """Get the org_id of this DBRP. - the organization ID that owns this mapping. # noqa: E501 + the organization ID that owns this mapping. - :return: The org_id of this DBRP. # noqa: E501 + :return: The org_id of this DBRP. :rtype: str - """ + """ # noqa: E501 return self._org_id @org_id.setter def org_id(self, org_id): - """Sets the org_id of this DBRP. + """Set the org_id of this DBRP. - the organization ID that owns this mapping. # noqa: E501 + the organization ID that owns this mapping. - :param org_id: The org_id of this DBRP. # noqa: E501 + :param org_id: The org_id of this DBRP. :type: str - """ + """ # noqa: E501 if org_id is None: raise ValueError("Invalid value for `org_id`, must not be `None`") # noqa: E501 - self._org_id = org_id @property def org(self): - """Gets the org of this DBRP. # noqa: E501 + """Get the org of this DBRP. - the organization that owns this mapping. # noqa: E501 + the organization that owns this mapping. - :return: The org of this DBRP. # noqa: E501 + :return: The org of this DBRP. :rtype: str - """ + """ # noqa: E501 return self._org @org.setter def org(self, org): - """Sets the org of this DBRP. + """Set the org of this DBRP. - the organization that owns this mapping. # noqa: E501 + the organization that owns this mapping. - :param org: The org of this DBRP. # noqa: E501 + :param org: The org of this DBRP. :type: str - """ + """ # noqa: E501 if org is None: raise ValueError("Invalid value for `org`, must not be `None`") # noqa: E501 - self._org = org @property def bucket_id(self): - """Gets the bucket_id of this DBRP. # noqa: E501 + """Get the bucket_id of this DBRP. - the bucket ID used as target for the translation. # noqa: E501 + the bucket ID used as target for the translation. - :return: The bucket_id of this DBRP. # noqa: E501 + :return: The bucket_id of this DBRP. :rtype: str - """ + """ # noqa: E501 return self._bucket_id @bucket_id.setter def bucket_id(self, bucket_id): - """Sets the bucket_id of this DBRP. + """Set the bucket_id of this DBRP. - the bucket ID used as target for the translation. # noqa: E501 + the bucket ID used as target for the translation. - :param bucket_id: The bucket_id of this DBRP. # noqa: E501 + :param bucket_id: The bucket_id of this DBRP. :type: str - """ + """ # noqa: E501 if bucket_id is None: raise ValueError("Invalid value for `bucket_id`, must not be `None`") # noqa: E501 - self._bucket_id = bucket_id @property def database(self): - """Gets the database of this DBRP. # noqa: E501 + """Get the database of this DBRP. - InfluxDB v1 database # noqa: E501 + InfluxDB v1 database - :return: The database of this DBRP. # noqa: E501 + :return: The database of this DBRP. :rtype: str - """ + """ # noqa: E501 return self._database @database.setter def database(self, database): - """Sets the database of this DBRP. + """Set the database of this DBRP. - InfluxDB v1 database # noqa: E501 + InfluxDB v1 database - :param database: The database of this DBRP. # noqa: E501 + :param database: The database of this DBRP. :type: str - """ + """ # noqa: E501 if database is None: raise ValueError("Invalid value for `database`, must not be `None`") # noqa: E501 - self._database = database @property def retention_policy(self): - """Gets the retention_policy of this DBRP. # noqa: E501 + """Get the retention_policy of this DBRP. - InfluxDB v1 retention policy # noqa: E501 + InfluxDB v1 retention policy - :return: The retention_policy of this DBRP. # noqa: E501 + :return: The retention_policy of this DBRP. :rtype: str - """ + """ # noqa: E501 return self._retention_policy @retention_policy.setter def retention_policy(self, retention_policy): - """Sets the retention_policy of this DBRP. + """Set the retention_policy of this DBRP. - InfluxDB v1 retention policy # noqa: E501 + InfluxDB v1 retention policy - :param retention_policy: The retention_policy of this DBRP. # noqa: E501 + :param retention_policy: The retention_policy of this DBRP. :type: str - """ + """ # noqa: E501 if retention_policy is None: raise ValueError("Invalid value for `retention_policy`, must not be `None`") # noqa: E501 - self._retention_policy = retention_policy @property def default(self): - """Gets the default of this DBRP. # noqa: E501 + """Get the default of this DBRP. - Specify if this mapping represents the default retention policy for the database specificed. # noqa: E501 + Specify if this mapping represents the default retention policy for the database specificed. - :return: The default of this DBRP. # noqa: E501 + :return: The default of this DBRP. :rtype: bool - """ + """ # noqa: E501 return self._default @default.setter def default(self, default): - """Sets the default of this DBRP. + """Set the default of this DBRP. - Specify if this mapping represents the default retention policy for the database specificed. # noqa: E501 + Specify if this mapping represents the default retention policy for the database specificed. - :param default: The default of this DBRP. # noqa: E501 + :param default: The default of this DBRP. :type: bool - """ - + """ # noqa: E501 self._default = default @property def links(self): - """Gets the links of this DBRP. # noqa: E501 + """Get the links of this DBRP. - - :return: The links of this DBRP. # noqa: E501 + :return: The links of this DBRP. :rtype: Links - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this DBRP. - + """Set the links of this DBRP. - :param links: The links of this DBRP. # noqa: E501 + :param links: The links of this DBRP. :type: Links - """ - + """ # noqa: E501 self._links = links def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -294,20 +284,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, DBRP): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/dbrp_update.py b/influxdb_client/domain/dbrp_update.py index 5e69ead6..c0b89c81 100644 --- a/influxdb_client/domain/dbrp_update.py +++ b/influxdb_client/domain/dbrp_update.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class DBRPUpdate(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class DBRPUpdate(object): 'links': 'links' } - def __init__(self, database=None, retention_policy=None, default=None, links=None): # noqa: E501 - """DBRPUpdate - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, database=None, retention_policy=None, default=None, links=None): # noqa: E501,D401,D403 + """DBRPUpdate - a model defined in OpenAPI.""" # noqa: E501 self._database = None self._retention_policy = None self._default = None @@ -64,94 +64,86 @@ def __init__(self, database=None, retention_policy=None, default=None, links=Non @property def database(self): - """Gets the database of this DBRPUpdate. # noqa: E501 + """Get the database of this DBRPUpdate. - InfluxDB v1 database # noqa: E501 + InfluxDB v1 database - :return: The database of this DBRPUpdate. # noqa: E501 + :return: The database of this DBRPUpdate. :rtype: str - """ + """ # noqa: E501 return self._database @database.setter def database(self, database): - """Sets the database of this DBRPUpdate. + """Set the database of this DBRPUpdate. - InfluxDB v1 database # noqa: E501 + InfluxDB v1 database - :param database: The database of this DBRPUpdate. # noqa: E501 + :param database: The database of this DBRPUpdate. :type: str - """ - + """ # noqa: E501 self._database = database @property def retention_policy(self): - """Gets the retention_policy of this DBRPUpdate. # noqa: E501 + """Get the retention_policy of this DBRPUpdate. - InfluxDB v1 retention policy # noqa: E501 + InfluxDB v1 retention policy - :return: The retention_policy of this DBRPUpdate. # noqa: E501 + :return: The retention_policy of this DBRPUpdate. :rtype: str - """ + """ # noqa: E501 return self._retention_policy @retention_policy.setter def retention_policy(self, retention_policy): - """Sets the retention_policy of this DBRPUpdate. + """Set the retention_policy of this DBRPUpdate. - InfluxDB v1 retention policy # noqa: E501 + InfluxDB v1 retention policy - :param retention_policy: The retention_policy of this DBRPUpdate. # noqa: E501 + :param retention_policy: The retention_policy of this DBRPUpdate. :type: str - """ - + """ # noqa: E501 self._retention_policy = retention_policy @property def default(self): - """Gets the default of this DBRPUpdate. # noqa: E501 - + """Get the default of this DBRPUpdate. - :return: The default of this DBRPUpdate. # noqa: E501 + :return: The default of this DBRPUpdate. :rtype: bool - """ + """ # noqa: E501 return self._default @default.setter def default(self, default): - """Sets the default of this DBRPUpdate. + """Set the default of this DBRPUpdate. - - :param default: The default of this DBRPUpdate. # noqa: E501 + :param default: The default of this DBRPUpdate. :type: bool - """ - + """ # noqa: E501 self._default = default @property def links(self): - """Gets the links of this DBRPUpdate. # noqa: E501 - + """Get the links of this DBRPUpdate. - :return: The links of this DBRPUpdate. # noqa: E501 + :return: The links of this DBRPUpdate. :rtype: Links - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this DBRPUpdate. + """Set the links of this DBRPUpdate. - - :param links: The links of this DBRPUpdate. # noqa: E501 + :param links: The links of this DBRPUpdate. :type: Links - """ - + """ # noqa: E501 self._links = links def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -175,20 +167,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, DBRPUpdate): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/deadman_check.py b/influxdb_client/domain/deadman_check.py index 55a84da9..ce2755e5 100644 --- a/influxdb_client/domain/deadman_check.py +++ b/influxdb_client/domain/deadman_check.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class DeadmanCheck(Check): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -47,8 +48,8 @@ class DeadmanCheck(Check): 'level': 'level' } - def __init__(self, type=None, time_since=None, stale_time=None, report_zero=None, level=None): # noqa: E501 - """DeadmanCheck - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, type=None, time_since=None, stale_time=None, report_zero=None, level=None): # noqa: E501,D401,D403 + """DeadmanCheck - a model defined in OpenAPI.""" # noqa: E501 Check.__init__(self) # noqa: E501 self._type = None @@ -71,117 +72,108 @@ def __init__(self, type=None, time_since=None, stale_time=None, report_zero=None @property def type(self): - """Gets the type of this DeadmanCheck. # noqa: E501 - + """Get the type of this DeadmanCheck. - :return: The type of this DeadmanCheck. # noqa: E501 + :return: The type of this DeadmanCheck. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this DeadmanCheck. - + """Set the type of this DeadmanCheck. - :param type: The type of this DeadmanCheck. # noqa: E501 + :param type: The type of this DeadmanCheck. :type: str - """ - + """ # noqa: E501 self._type = type @property def time_since(self): - """Gets the time_since of this DeadmanCheck. # noqa: E501 + """Get the time_since of this DeadmanCheck. - String duration before deadman triggers. # noqa: E501 + String duration before deadman triggers. - :return: The time_since of this DeadmanCheck. # noqa: E501 + :return: The time_since of this DeadmanCheck. :rtype: str - """ + """ # noqa: E501 return self._time_since @time_since.setter def time_since(self, time_since): - """Sets the time_since of this DeadmanCheck. + """Set the time_since of this DeadmanCheck. - String duration before deadman triggers. # noqa: E501 + String duration before deadman triggers. - :param time_since: The time_since of this DeadmanCheck. # noqa: E501 + :param time_since: The time_since of this DeadmanCheck. :type: str - """ - + """ # noqa: E501 self._time_since = time_since @property def stale_time(self): - """Gets the stale_time of this DeadmanCheck. # noqa: E501 + """Get the stale_time of this DeadmanCheck. - String duration for time that a series is considered stale and should not trigger deadman. # noqa: E501 + String duration for time that a series is considered stale and should not trigger deadman. - :return: The stale_time of this DeadmanCheck. # noqa: E501 + :return: The stale_time of this DeadmanCheck. :rtype: str - """ + """ # noqa: E501 return self._stale_time @stale_time.setter def stale_time(self, stale_time): - """Sets the stale_time of this DeadmanCheck. + """Set the stale_time of this DeadmanCheck. - String duration for time that a series is considered stale and should not trigger deadman. # noqa: E501 + String duration for time that a series is considered stale and should not trigger deadman. - :param stale_time: The stale_time of this DeadmanCheck. # noqa: E501 + :param stale_time: The stale_time of this DeadmanCheck. :type: str - """ - + """ # noqa: E501 self._stale_time = stale_time @property def report_zero(self): - """Gets the report_zero of this DeadmanCheck. # noqa: E501 + """Get the report_zero of this DeadmanCheck. - If only zero values reported since time, trigger an alert # noqa: E501 + If only zero values reported since time, trigger an alert - :return: The report_zero of this DeadmanCheck. # noqa: E501 + :return: The report_zero of this DeadmanCheck. :rtype: bool - """ + """ # noqa: E501 return self._report_zero @report_zero.setter def report_zero(self, report_zero): - """Sets the report_zero of this DeadmanCheck. + """Set the report_zero of this DeadmanCheck. - If only zero values reported since time, trigger an alert # noqa: E501 + If only zero values reported since time, trigger an alert - :param report_zero: The report_zero of this DeadmanCheck. # noqa: E501 + :param report_zero: The report_zero of this DeadmanCheck. :type: bool - """ - + """ # noqa: E501 self._report_zero = report_zero @property def level(self): - """Gets the level of this DeadmanCheck. # noqa: E501 - + """Get the level of this DeadmanCheck. - :return: The level of this DeadmanCheck. # noqa: E501 + :return: The level of this DeadmanCheck. :rtype: CheckStatusLevel - """ + """ # noqa: E501 return self._level @level.setter def level(self, level): - """Sets the level of this DeadmanCheck. + """Set the level of this DeadmanCheck. - - :param level: The level of this DeadmanCheck. # noqa: E501 + :param level: The level of this DeadmanCheck. :type: CheckStatusLevel - """ - + """ # noqa: E501 self._level = level def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -205,20 +197,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, DeadmanCheck): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/decimal_places.py b/influxdb_client/domain/decimal_places.py index 67a79816..57cbf580 100644 --- a/influxdb_client/domain/decimal_places.py +++ b/influxdb_client/domain/decimal_places.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class DecimalPlaces(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class DecimalPlaces(object): 'digits': 'digits' } - def __init__(self, is_enforced=None, digits=None): # noqa: E501 - """DecimalPlaces - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, is_enforced=None, digits=None): # noqa: E501,D401,D403 + """DecimalPlaces - a model defined in OpenAPI.""" # noqa: E501 self._is_enforced = None self._digits = None self.discriminator = None @@ -54,52 +54,50 @@ def __init__(self, is_enforced=None, digits=None): # noqa: E501 @property def is_enforced(self): - """Gets the is_enforced of this DecimalPlaces. # noqa: E501 + """Get the is_enforced of this DecimalPlaces. - Indicates whether decimal point setting should be enforced # noqa: E501 + Indicates whether decimal point setting should be enforced - :return: The is_enforced of this DecimalPlaces. # noqa: E501 + :return: The is_enforced of this DecimalPlaces. :rtype: bool - """ + """ # noqa: E501 return self._is_enforced @is_enforced.setter def is_enforced(self, is_enforced): - """Sets the is_enforced of this DecimalPlaces. + """Set the is_enforced of this DecimalPlaces. - Indicates whether decimal point setting should be enforced # noqa: E501 + Indicates whether decimal point setting should be enforced - :param is_enforced: The is_enforced of this DecimalPlaces. # noqa: E501 + :param is_enforced: The is_enforced of this DecimalPlaces. :type: bool - """ - + """ # noqa: E501 self._is_enforced = is_enforced @property def digits(self): - """Gets the digits of this DecimalPlaces. # noqa: E501 + """Get the digits of this DecimalPlaces. - The number of digits after decimal to display # noqa: E501 + The number of digits after decimal to display - :return: The digits of this DecimalPlaces. # noqa: E501 + :return: The digits of this DecimalPlaces. :rtype: int - """ + """ # noqa: E501 return self._digits @digits.setter def digits(self, digits): - """Sets the digits of this DecimalPlaces. + """Set the digits of this DecimalPlaces. - The number of digits after decimal to display # noqa: E501 + The number of digits after decimal to display - :param digits: The digits of this DecimalPlaces. # noqa: E501 + :param digits: The digits of this DecimalPlaces. :type: int - """ - + """ # noqa: E501 self._digits = digits def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -123,20 +121,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, DecimalPlaces): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/delete_predicate_request.py b/influxdb_client/domain/delete_predicate_request.py index 3f9d731f..342d768b 100644 --- a/influxdb_client/domain/delete_predicate_request.py +++ b/influxdb_client/domain/delete_predicate_request.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class DeletePredicateRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class DeletePredicateRequest(object): 'predicate': 'predicate' } - def __init__(self, start=None, stop=None, predicate=None): # noqa: E501 - """DeletePredicateRequest - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, start=None, stop=None, predicate=None): # noqa: E501,D401,D403 + """DeletePredicateRequest - a model defined in OpenAPI.""" # noqa: E501 self._start = None self._stop = None self._predicate = None @@ -57,79 +57,76 @@ def __init__(self, start=None, stop=None, predicate=None): # noqa: E501 @property def start(self): - """Gets the start of this DeletePredicateRequest. # noqa: E501 + """Get the start of this DeletePredicateRequest. - RFC3339Nano # noqa: E501 + RFC3339Nano - :return: The start of this DeletePredicateRequest. # noqa: E501 + :return: The start of this DeletePredicateRequest. :rtype: datetime - """ + """ # noqa: E501 return self._start @start.setter def start(self, start): - """Sets the start of this DeletePredicateRequest. + """Set the start of this DeletePredicateRequest. - RFC3339Nano # noqa: E501 + RFC3339Nano - :param start: The start of this DeletePredicateRequest. # noqa: E501 + :param start: The start of this DeletePredicateRequest. :type: datetime - """ + """ # noqa: E501 if start is None: raise ValueError("Invalid value for `start`, must not be `None`") # noqa: E501 - self._start = start @property def stop(self): - """Gets the stop of this DeletePredicateRequest. # noqa: E501 + """Get the stop of this DeletePredicateRequest. - RFC3339Nano # noqa: E501 + RFC3339Nano - :return: The stop of this DeletePredicateRequest. # noqa: E501 + :return: The stop of this DeletePredicateRequest. :rtype: datetime - """ + """ # noqa: E501 return self._stop @stop.setter def stop(self, stop): - """Sets the stop of this DeletePredicateRequest. + """Set the stop of this DeletePredicateRequest. - RFC3339Nano # noqa: E501 + RFC3339Nano - :param stop: The stop of this DeletePredicateRequest. # noqa: E501 + :param stop: The stop of this DeletePredicateRequest. :type: datetime - """ + """ # noqa: E501 if stop is None: raise ValueError("Invalid value for `stop`, must not be `None`") # noqa: E501 - self._stop = stop @property def predicate(self): - """Gets the predicate of this DeletePredicateRequest. # noqa: E501 + """Get the predicate of this DeletePredicateRequest. - InfluxQL-like delete statement # noqa: E501 + InfluxQL-like delete statement - :return: The predicate of this DeletePredicateRequest. # noqa: E501 + :return: The predicate of this DeletePredicateRequest. :rtype: str - """ + """ # noqa: E501 return self._predicate @predicate.setter def predicate(self, predicate): - """Sets the predicate of this DeletePredicateRequest. + """Set the predicate of this DeletePredicateRequest. - InfluxQL-like delete statement # noqa: E501 + InfluxQL-like delete statement - :param predicate: The predicate of this DeletePredicateRequest. # noqa: E501 + :param predicate: The predicate of this DeletePredicateRequest. :type: str - """ - + """ # noqa: E501 self._predicate = predicate def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -153,20 +150,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, DeletePredicateRequest): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/dialect.py b/influxdb_client/domain/dialect.py index c39cd0b6..719c1036 100644 --- a/influxdb_client/domain/dialect.py +++ b/influxdb_client/domain/dialect.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Dialect(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -46,9 +47,8 @@ class Dialect(object): 'date_time_format': 'dateTimeFormat' } - def __init__(self, header=True, delimiter=',', annotations=None, comment_prefix='#', date_time_format='RFC3339'): # noqa: E501 - """Dialect - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, header=True, delimiter=',', annotations=None, comment_prefix='#', date_time_format='RFC3339'): # noqa: E501,D401,D403 + """Dialect - a model defined in OpenAPI.""" # noqa: E501 self._header = None self._delimiter = None self._annotations = None @@ -69,74 +69,72 @@ def __init__(self, header=True, delimiter=',', annotations=None, comment_prefix= @property def header(self): - """Gets the header of this Dialect. # noqa: E501 + """Get the header of this Dialect. - If true, the results will contain a header row # noqa: E501 + If true, the results will contain a header row - :return: The header of this Dialect. # noqa: E501 + :return: The header of this Dialect. :rtype: bool - """ + """ # noqa: E501 return self._header @header.setter def header(self, header): - """Sets the header of this Dialect. + """Set the header of this Dialect. - If true, the results will contain a header row # noqa: E501 + If true, the results will contain a header row - :param header: The header of this Dialect. # noqa: E501 + :param header: The header of this Dialect. :type: bool - """ - + """ # noqa: E501 self._header = header @property def delimiter(self): - """Gets the delimiter of this Dialect. # noqa: E501 + """Get the delimiter of this Dialect. - Separator between cells; the default is , # noqa: E501 + Separator between cells; the default is , - :return: The delimiter of this Dialect. # noqa: E501 + :return: The delimiter of this Dialect. :rtype: str - """ + """ # noqa: E501 return self._delimiter @delimiter.setter def delimiter(self, delimiter): - """Sets the delimiter of this Dialect. + """Set the delimiter of this Dialect. - Separator between cells; the default is , # noqa: E501 + Separator between cells; the default is , - :param delimiter: The delimiter of this Dialect. # noqa: E501 + :param delimiter: The delimiter of this Dialect. :type: str - """ + """ # noqa: E501 if delimiter is not None and len(delimiter) > 1: raise ValueError("Invalid value for `delimiter`, length must be less than or equal to `1`") # noqa: E501 if delimiter is not None and len(delimiter) < 1: raise ValueError("Invalid value for `delimiter`, length must be greater than or equal to `1`") # noqa: E501 - self._delimiter = delimiter @property def annotations(self): - """Gets the annotations of this Dialect. # noqa: E501 + """Get the annotations of this Dialect. - Https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/#columns # noqa: E501 + Https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/#columns - :return: The annotations of this Dialect. # noqa: E501 + :return: The annotations of this Dialect. :rtype: list[str] - """ + """ # noqa: E501 return self._annotations @annotations.setter def annotations(self, annotations): - """Sets the annotations of this Dialect. + """Set the annotations of this Dialect. - Https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/#columns # noqa: E501 + Https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/#columns - :param annotations: The annotations of this Dialect. # noqa: E501 + :param annotations: The annotations of this Dialect. :type: list[str] - """ + """ # noqa: E501 allowed_values = ["group", "datatype", "default"] # noqa: E501 if not set(annotations).issubset(set(allowed_values)): raise ValueError( @@ -144,61 +142,58 @@ def annotations(self, annotations): .format(", ".join(map(str, set(annotations) - set(allowed_values))), # noqa: E501 ", ".join(map(str, allowed_values))) ) - self._annotations = annotations @property def comment_prefix(self): - """Gets the comment_prefix of this Dialect. # noqa: E501 + """Get the comment_prefix of this Dialect. - Character prefixed to comment strings # noqa: E501 + Character prefixed to comment strings - :return: The comment_prefix of this Dialect. # noqa: E501 + :return: The comment_prefix of this Dialect. :rtype: str - """ + """ # noqa: E501 return self._comment_prefix @comment_prefix.setter def comment_prefix(self, comment_prefix): - """Sets the comment_prefix of this Dialect. + """Set the comment_prefix of this Dialect. - Character prefixed to comment strings # noqa: E501 + Character prefixed to comment strings - :param comment_prefix: The comment_prefix of this Dialect. # noqa: E501 + :param comment_prefix: The comment_prefix of this Dialect. :type: str - """ + """ # noqa: E501 if comment_prefix is not None and len(comment_prefix) > 1: raise ValueError("Invalid value for `comment_prefix`, length must be less than or equal to `1`") # noqa: E501 if comment_prefix is not None and len(comment_prefix) < 0: raise ValueError("Invalid value for `comment_prefix`, length must be greater than or equal to `0`") # noqa: E501 - self._comment_prefix = comment_prefix @property def date_time_format(self): - """Gets the date_time_format of this Dialect. # noqa: E501 + """Get the date_time_format of this Dialect. - Format of timestamps # noqa: E501 + Format of timestamps - :return: The date_time_format of this Dialect. # noqa: E501 + :return: The date_time_format of this Dialect. :rtype: str - """ + """ # noqa: E501 return self._date_time_format @date_time_format.setter def date_time_format(self, date_time_format): - """Sets the date_time_format of this Dialect. + """Set the date_time_format of this Dialect. - Format of timestamps # noqa: E501 + Format of timestamps - :param date_time_format: The date_time_format of this Dialect. # noqa: E501 + :param date_time_format: The date_time_format of this Dialect. :type: str - """ - + """ # noqa: E501 self._date_time_format = date_time_format def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -222,20 +217,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Dialect): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/document.py b/influxdb_client/domain/document.py index f588ab29..f36d5920 100644 --- a/influxdb_client/domain/document.py +++ b/influxdb_client/domain/document.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Document(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -46,9 +47,8 @@ class Document(object): 'links': 'links' } - def __init__(self, id=None, meta=None, content=None, labels=None, links=None): # noqa: E501 - """Document - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, id=None, meta=None, content=None, labels=None, links=None): # noqa: E501,D401,D403 + """Document - a model defined in OpenAPI.""" # noqa: E501 self._id = None self._meta = None self._content = None @@ -66,117 +66,102 @@ def __init__(self, id=None, meta=None, content=None, labels=None, links=None): @property def id(self): - """Gets the id of this Document. # noqa: E501 - + """Get the id of this Document. - :return: The id of this Document. # noqa: E501 + :return: The id of this Document. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this Document. + """Set the id of this Document. - - :param id: The id of this Document. # noqa: E501 + :param id: The id of this Document. :type: str - """ + """ # noqa: E501 if id is None: raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - self._id = id @property def meta(self): - """Gets the meta of this Document. # noqa: E501 + """Get the meta of this Document. - - :return: The meta of this Document. # noqa: E501 + :return: The meta of this Document. :rtype: DocumentMeta - """ + """ # noqa: E501 return self._meta @meta.setter def meta(self, meta): - """Sets the meta of this Document. - + """Set the meta of this Document. - :param meta: The meta of this Document. # noqa: E501 + :param meta: The meta of this Document. :type: DocumentMeta - """ + """ # noqa: E501 if meta is None: raise ValueError("Invalid value for `meta`, must not be `None`") # noqa: E501 - self._meta = meta @property def content(self): - """Gets the content of this Document. # noqa: E501 - + """Get the content of this Document. - :return: The content of this Document. # noqa: E501 + :return: The content of this Document. :rtype: object - """ + """ # noqa: E501 return self._content @content.setter def content(self, content): - """Sets the content of this Document. + """Set the content of this Document. - - :param content: The content of this Document. # noqa: E501 + :param content: The content of this Document. :type: object - """ + """ # noqa: E501 if content is None: raise ValueError("Invalid value for `content`, must not be `None`") # noqa: E501 - self._content = content @property def labels(self): - """Gets the labels of this Document. # noqa: E501 + """Get the labels of this Document. - - :return: The labels of this Document. # noqa: E501 + :return: The labels of this Document. :rtype: list[Label] - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this Document. - + """Set the labels of this Document. - :param labels: The labels of this Document. # noqa: E501 + :param labels: The labels of this Document. :type: list[Label] - """ - + """ # noqa: E501 self._labels = labels @property def links(self): - """Gets the links of this Document. # noqa: E501 - + """Get the links of this Document. - :return: The links of this Document. # noqa: E501 + :return: The links of this Document. :rtype: DocumentLinks - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Document. + """Set the links of this Document. - - :param links: The links of this Document. # noqa: E501 + :param links: The links of this Document. :type: DocumentLinks - """ - + """ # noqa: E501 self._links = links def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -200,20 +185,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Document): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/document_create.py b/influxdb_client/domain/document_create.py index 06cef6e1..2066fea0 100644 --- a/influxdb_client/domain/document_create.py +++ b/influxdb_client/domain/document_create.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class DocumentCreate(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -46,9 +47,8 @@ class DocumentCreate(object): 'labels': 'labels' } - def __init__(self, meta=None, content=None, org=None, org_id=None, labels=None): # noqa: E501 - """DocumentCreate - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, meta=None, content=None, org=None, org_id=None, labels=None): # noqa: E501,D401,D403 + """DocumentCreate - a model defined in OpenAPI.""" # noqa: E501 self._meta = None self._content = None self._org = None @@ -67,121 +67,112 @@ def __init__(self, meta=None, content=None, org=None, org_id=None, labels=None): @property def meta(self): - """Gets the meta of this DocumentCreate. # noqa: E501 - + """Get the meta of this DocumentCreate. - :return: The meta of this DocumentCreate. # noqa: E501 + :return: The meta of this DocumentCreate. :rtype: DocumentMeta - """ + """ # noqa: E501 return self._meta @meta.setter def meta(self, meta): - """Sets the meta of this DocumentCreate. + """Set the meta of this DocumentCreate. - - :param meta: The meta of this DocumentCreate. # noqa: E501 + :param meta: The meta of this DocumentCreate. :type: DocumentMeta - """ + """ # noqa: E501 if meta is None: raise ValueError("Invalid value for `meta`, must not be `None`") # noqa: E501 - self._meta = meta @property def content(self): - """Gets the content of this DocumentCreate. # noqa: E501 - + """Get the content of this DocumentCreate. - :return: The content of this DocumentCreate. # noqa: E501 + :return: The content of this DocumentCreate. :rtype: object - """ + """ # noqa: E501 return self._content @content.setter def content(self, content): - """Sets the content of this DocumentCreate. + """Set the content of this DocumentCreate. - - :param content: The content of this DocumentCreate. # noqa: E501 + :param content: The content of this DocumentCreate. :type: object - """ + """ # noqa: E501 if content is None: raise ValueError("Invalid value for `content`, must not be `None`") # noqa: E501 - self._content = content @property def org(self): - """Gets the org of this DocumentCreate. # noqa: E501 + """Get the org of this DocumentCreate. - The organization Name. Specify either `orgID` or `org`. # noqa: E501 + The organization Name. Specify either `orgID` or `org`. - :return: The org of this DocumentCreate. # noqa: E501 + :return: The org of this DocumentCreate. :rtype: str - """ + """ # noqa: E501 return self._org @org.setter def org(self, org): - """Sets the org of this DocumentCreate. + """Set the org of this DocumentCreate. - The organization Name. Specify either `orgID` or `org`. # noqa: E501 + The organization Name. Specify either `orgID` or `org`. - :param org: The org of this DocumentCreate. # noqa: E501 + :param org: The org of this DocumentCreate. :type: str - """ - + """ # noqa: E501 self._org = org @property def org_id(self): - """Gets the org_id of this DocumentCreate. # noqa: E501 + """Get the org_id of this DocumentCreate. - The organization Name. Specify either `orgID` or `org`. # noqa: E501 + The organization Name. Specify either `orgID` or `org`. - :return: The org_id of this DocumentCreate. # noqa: E501 + :return: The org_id of this DocumentCreate. :rtype: str - """ + """ # noqa: E501 return self._org_id @org_id.setter def org_id(self, org_id): - """Sets the org_id of this DocumentCreate. + """Set the org_id of this DocumentCreate. - The organization Name. Specify either `orgID` or `org`. # noqa: E501 + The organization Name. Specify either `orgID` or `org`. - :param org_id: The org_id of this DocumentCreate. # noqa: E501 + :param org_id: The org_id of this DocumentCreate. :type: str - """ - + """ # noqa: E501 self._org_id = org_id @property def labels(self): - """Gets the labels of this DocumentCreate. # noqa: E501 + """Get the labels of this DocumentCreate. - An array of label IDs to be added as labels to the document. # noqa: E501 + An array of label IDs to be added as labels to the document. - :return: The labels of this DocumentCreate. # noqa: E501 + :return: The labels of this DocumentCreate. :rtype: list[str] - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this DocumentCreate. + """Set the labels of this DocumentCreate. - An array of label IDs to be added as labels to the document. # noqa: E501 + An array of label IDs to be added as labels to the document. - :param labels: The labels of this DocumentCreate. # noqa: E501 + :param labels: The labels of this DocumentCreate. :type: list[str] - """ - + """ # noqa: E501 self._labels = labels def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -205,20 +196,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, DocumentCreate): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/document_links.py b/influxdb_client/domain/document_links.py index 8e09533d..3f21b461 100644 --- a/influxdb_client/domain/document_links.py +++ b/influxdb_client/domain/document_links.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class DocumentLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class DocumentLinks(object): '_self': 'self' } - def __init__(self, _self=None): # noqa: E501 - """DocumentLinks - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, _self=None): # noqa: E501,D401,D403 + """DocumentLinks - a model defined in OpenAPI.""" # noqa: E501 self.__self = None self.discriminator = None @@ -49,29 +49,28 @@ def __init__(self, _self=None): # noqa: E501 @property def _self(self): - """Gets the _self of this DocumentLinks. # noqa: E501 + """Get the _self of this DocumentLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The _self of this DocumentLinks. # noqa: E501 + :return: The _self of this DocumentLinks. :rtype: str - """ + """ # noqa: E501 return self.__self @_self.setter def _self(self, _self): - """Sets the _self of this DocumentLinks. + """Set the _self of this DocumentLinks. - URI of resource. # noqa: E501 + URI of resource. - :param _self: The _self of this DocumentLinks. # noqa: E501 + :param _self: The _self of this DocumentLinks. :type: str - """ - + """ # noqa: E501 self.__self = _self def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -95,20 +94,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, DocumentLinks): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/document_list_entry.py b/influxdb_client/domain/document_list_entry.py index 01b732bf..eec19439 100644 --- a/influxdb_client/domain/document_list_entry.py +++ b/influxdb_client/domain/document_list_entry.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class DocumentListEntry(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class DocumentListEntry(object): 'links': 'links' } - def __init__(self, id=None, meta=None, labels=None, links=None): # noqa: E501 - """DocumentListEntry - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, id=None, meta=None, labels=None, links=None): # noqa: E501,D401,D403 + """DocumentListEntry - a model defined in OpenAPI.""" # noqa: E501 self._id = None self._meta = None self._labels = None @@ -62,94 +62,82 @@ def __init__(self, id=None, meta=None, labels=None, links=None): # noqa: E501 @property def id(self): - """Gets the id of this DocumentListEntry. # noqa: E501 + """Get the id of this DocumentListEntry. - - :return: The id of this DocumentListEntry. # noqa: E501 + :return: The id of this DocumentListEntry. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this DocumentListEntry. - + """Set the id of this DocumentListEntry. - :param id: The id of this DocumentListEntry. # noqa: E501 + :param id: The id of this DocumentListEntry. :type: str - """ + """ # noqa: E501 if id is None: raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - self._id = id @property def meta(self): - """Gets the meta of this DocumentListEntry. # noqa: E501 - + """Get the meta of this DocumentListEntry. - :return: The meta of this DocumentListEntry. # noqa: E501 + :return: The meta of this DocumentListEntry. :rtype: DocumentMeta - """ + """ # noqa: E501 return self._meta @meta.setter def meta(self, meta): - """Sets the meta of this DocumentListEntry. - + """Set the meta of this DocumentListEntry. - :param meta: The meta of this DocumentListEntry. # noqa: E501 + :param meta: The meta of this DocumentListEntry. :type: DocumentMeta - """ + """ # noqa: E501 if meta is None: raise ValueError("Invalid value for `meta`, must not be `None`") # noqa: E501 - self._meta = meta @property def labels(self): - """Gets the labels of this DocumentListEntry. # noqa: E501 - + """Get the labels of this DocumentListEntry. - :return: The labels of this DocumentListEntry. # noqa: E501 + :return: The labels of this DocumentListEntry. :rtype: list[Label] - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this DocumentListEntry. + """Set the labels of this DocumentListEntry. - - :param labels: The labels of this DocumentListEntry. # noqa: E501 + :param labels: The labels of this DocumentListEntry. :type: list[Label] - """ - + """ # noqa: E501 self._labels = labels @property def links(self): - """Gets the links of this DocumentListEntry. # noqa: E501 + """Get the links of this DocumentListEntry. - - :return: The links of this DocumentListEntry. # noqa: E501 + :return: The links of this DocumentListEntry. :rtype: DocumentLinks - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this DocumentListEntry. - + """Set the links of this DocumentListEntry. - :param links: The links of this DocumentListEntry. # noqa: E501 + :param links: The links of this DocumentListEntry. :type: DocumentLinks - """ - + """ # noqa: E501 self._links = links def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -173,20 +161,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, DocumentListEntry): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/document_meta.py b/influxdb_client/domain/document_meta.py index 39fbedcf..47a86036 100644 --- a/influxdb_client/domain/document_meta.py +++ b/influxdb_client/domain/document_meta.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class DocumentMeta(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -50,9 +51,8 @@ class DocumentMeta(object): 'updated_at': 'updatedAt' } - def __init__(self, name=None, type=None, template_id=None, description=None, version=None, created_at=None, updated_at=None): # noqa: E501 - """DocumentMeta - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, name=None, type=None, template_id=None, description=None, version=None, created_at=None, updated_at=None): # noqa: E501,D401,D403 + """DocumentMeta - a model defined in OpenAPI.""" # noqa: E501 self._name = None self._type = None self._template_id = None @@ -77,157 +77,136 @@ def __init__(self, name=None, type=None, template_id=None, description=None, ver @property def name(self): - """Gets the name of this DocumentMeta. # noqa: E501 - + """Get the name of this DocumentMeta. - :return: The name of this DocumentMeta. # noqa: E501 + :return: The name of this DocumentMeta. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this DocumentMeta. + """Set the name of this DocumentMeta. - - :param name: The name of this DocumentMeta. # noqa: E501 + :param name: The name of this DocumentMeta. :type: str - """ + """ # noqa: E501 if name is None: raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - self._name = name @property def type(self): - """Gets the type of this DocumentMeta. # noqa: E501 - + """Get the type of this DocumentMeta. - :return: The type of this DocumentMeta. # noqa: E501 + :return: The type of this DocumentMeta. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this DocumentMeta. + """Set the type of this DocumentMeta. - - :param type: The type of this DocumentMeta. # noqa: E501 + :param type: The type of this DocumentMeta. :type: str - """ - + """ # noqa: E501 self._type = type @property def template_id(self): - """Gets the template_id of this DocumentMeta. # noqa: E501 - + """Get the template_id of this DocumentMeta. - :return: The template_id of this DocumentMeta. # noqa: E501 + :return: The template_id of this DocumentMeta. :rtype: str - """ + """ # noqa: E501 return self._template_id @template_id.setter def template_id(self, template_id): - """Sets the template_id of this DocumentMeta. + """Set the template_id of this DocumentMeta. - - :param template_id: The template_id of this DocumentMeta. # noqa: E501 + :param template_id: The template_id of this DocumentMeta. :type: str - """ - + """ # noqa: E501 self._template_id = template_id @property def description(self): - """Gets the description of this DocumentMeta. # noqa: E501 - + """Get the description of this DocumentMeta. - :return: The description of this DocumentMeta. # noqa: E501 + :return: The description of this DocumentMeta. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this DocumentMeta. + """Set the description of this DocumentMeta. - - :param description: The description of this DocumentMeta. # noqa: E501 + :param description: The description of this DocumentMeta. :type: str - """ - + """ # noqa: E501 self._description = description @property def version(self): - """Gets the version of this DocumentMeta. # noqa: E501 - + """Get the version of this DocumentMeta. - :return: The version of this DocumentMeta. # noqa: E501 + :return: The version of this DocumentMeta. :rtype: str - """ + """ # noqa: E501 return self._version @version.setter def version(self, version): - """Sets the version of this DocumentMeta. + """Set the version of this DocumentMeta. - - :param version: The version of this DocumentMeta. # noqa: E501 + :param version: The version of this DocumentMeta. :type: str - """ + """ # noqa: E501 if version is None: raise ValueError("Invalid value for `version`, must not be `None`") # noqa: E501 - self._version = version @property def created_at(self): - """Gets the created_at of this DocumentMeta. # noqa: E501 - + """Get the created_at of this DocumentMeta. - :return: The created_at of this DocumentMeta. # noqa: E501 + :return: The created_at of this DocumentMeta. :rtype: datetime - """ + """ # noqa: E501 return self._created_at @created_at.setter def created_at(self, created_at): - """Sets the created_at of this DocumentMeta. + """Set the created_at of this DocumentMeta. - - :param created_at: The created_at of this DocumentMeta. # noqa: E501 + :param created_at: The created_at of this DocumentMeta. :type: datetime - """ - + """ # noqa: E501 self._created_at = created_at @property def updated_at(self): - """Gets the updated_at of this DocumentMeta. # noqa: E501 - + """Get the updated_at of this DocumentMeta. - :return: The updated_at of this DocumentMeta. # noqa: E501 + :return: The updated_at of this DocumentMeta. :rtype: datetime - """ + """ # noqa: E501 return self._updated_at @updated_at.setter def updated_at(self, updated_at): - """Sets the updated_at of this DocumentMeta. + """Set the updated_at of this DocumentMeta. - - :param updated_at: The updated_at of this DocumentMeta. # noqa: E501 + :param updated_at: The updated_at of this DocumentMeta. :type: datetime - """ - + """ # noqa: E501 self._updated_at = updated_at def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -251,20 +230,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, DocumentMeta): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/document_update.py b/influxdb_client/domain/document_update.py index f8386b08..324ddb43 100644 --- a/influxdb_client/domain/document_update.py +++ b/influxdb_client/domain/document_update.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class DocumentUpdate(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class DocumentUpdate(object): 'content': 'content' } - def __init__(self, meta=None, content=None): # noqa: E501 - """DocumentUpdate - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, meta=None, content=None): # noqa: E501,D401,D403 + """DocumentUpdate - a model defined in OpenAPI.""" # noqa: E501 self._meta = None self._content = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, meta=None, content=None): # noqa: E501 @property def meta(self): - """Gets the meta of this DocumentUpdate. # noqa: E501 + """Get the meta of this DocumentUpdate. - - :return: The meta of this DocumentUpdate. # noqa: E501 + :return: The meta of this DocumentUpdate. :rtype: DocumentMeta - """ + """ # noqa: E501 return self._meta @meta.setter def meta(self, meta): - """Sets the meta of this DocumentUpdate. - + """Set the meta of this DocumentUpdate. - :param meta: The meta of this DocumentUpdate. # noqa: E501 + :param meta: The meta of this DocumentUpdate. :type: DocumentMeta - """ - + """ # noqa: E501 self._meta = meta @property def content(self): - """Gets the content of this DocumentUpdate. # noqa: E501 - + """Get the content of this DocumentUpdate. - :return: The content of this DocumentUpdate. # noqa: E501 + :return: The content of this DocumentUpdate. :rtype: object - """ + """ # noqa: E501 return self._content @content.setter def content(self, content): - """Sets the content of this DocumentUpdate. + """Set the content of this DocumentUpdate. - - :param content: The content of this DocumentUpdate. # noqa: E501 + :param content: The content of this DocumentUpdate. :type: object - """ - + """ # noqa: E501 self._content = content def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, DocumentUpdate): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/documents.py b/influxdb_client/domain/documents.py index 5b5d867c..e59cff9b 100644 --- a/influxdb_client/domain/documents.py +++ b/influxdb_client/domain/documents.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Documents(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class Documents(object): 'documents': 'documents' } - def __init__(self, documents=None): # noqa: E501 - """Documents - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, documents=None): # noqa: E501,D401,D403 + """Documents - a model defined in OpenAPI.""" # noqa: E501 self._documents = None self.discriminator = None @@ -49,27 +49,24 @@ def __init__(self, documents=None): # noqa: E501 @property def documents(self): - """Gets the documents of this Documents. # noqa: E501 - + """Get the documents of this Documents. - :return: The documents of this Documents. # noqa: E501 + :return: The documents of this Documents. :rtype: list[DocumentListEntry] - """ + """ # noqa: E501 return self._documents @documents.setter def documents(self, documents): - """Sets the documents of this Documents. + """Set the documents of this Documents. - - :param documents: The documents of this Documents. # noqa: E501 + :param documents: The documents of this Documents. :type: list[DocumentListEntry] - """ - + """ # noqa: E501 self._documents = documents def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -93,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Documents): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/duration.py b/influxdb_client/domain/duration.py index b3f76054..244a685f 100644 --- a/influxdb_client/domain/duration.py +++ b/influxdb_client/domain/duration.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Duration(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class Duration(object): 'unit': 'unit' } - def __init__(self, type=None, magnitude=None, unit=None): # noqa: E501 - """Duration - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, magnitude=None, unit=None): # noqa: E501,D401,D403 + """Duration - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._magnitude = None self._unit = None @@ -59,71 +59,64 @@ def __init__(self, type=None, magnitude=None, unit=None): # noqa: E501 @property def type(self): - """Gets the type of this Duration. # noqa: E501 + """Get the type of this Duration. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this Duration. # noqa: E501 + :return: The type of this Duration. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this Duration. + """Set the type of this Duration. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this Duration. # noqa: E501 + :param type: The type of this Duration. :type: str - """ - + """ # noqa: E501 self._type = type @property def magnitude(self): - """Gets the magnitude of this Duration. # noqa: E501 + """Get the magnitude of this Duration. - - :return: The magnitude of this Duration. # noqa: E501 + :return: The magnitude of this Duration. :rtype: int - """ + """ # noqa: E501 return self._magnitude @magnitude.setter def magnitude(self, magnitude): - """Sets the magnitude of this Duration. - + """Set the magnitude of this Duration. - :param magnitude: The magnitude of this Duration. # noqa: E501 + :param magnitude: The magnitude of this Duration. :type: int - """ - + """ # noqa: E501 self._magnitude = magnitude @property def unit(self): - """Gets the unit of this Duration. # noqa: E501 - + """Get the unit of this Duration. - :return: The unit of this Duration. # noqa: E501 + :return: The unit of this Duration. :rtype: str - """ + """ # noqa: E501 return self._unit @unit.setter def unit(self, unit): - """Sets the unit of this Duration. + """Set the unit of this Duration. - - :param unit: The unit of this Duration. # noqa: E501 + :param unit: The unit of this Duration. :type: str - """ - + """ # noqa: E501 self._unit = unit def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -147,20 +140,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Duration): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/duration_literal.py b/influxdb_client/domain/duration_literal.py index 781207be..036a9612 100644 --- a/influxdb_client/domain/duration_literal.py +++ b/influxdb_client/domain/duration_literal.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class DurationLiteral(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class DurationLiteral(object): 'values': 'values' } - def __init__(self, type=None, values=None): # noqa: E501 - """DurationLiteral - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, values=None): # noqa: E501,D401,D403 + """DurationLiteral - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._values = None self.discriminator = None @@ -54,52 +54,50 @@ def __init__(self, type=None, values=None): # noqa: E501 @property def type(self): - """Gets the type of this DurationLiteral. # noqa: E501 + """Get the type of this DurationLiteral. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this DurationLiteral. # noqa: E501 + :return: The type of this DurationLiteral. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this DurationLiteral. + """Set the type of this DurationLiteral. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this DurationLiteral. # noqa: E501 + :param type: The type of this DurationLiteral. :type: str - """ - + """ # noqa: E501 self._type = type @property def values(self): - """Gets the values of this DurationLiteral. # noqa: E501 + """Get the values of this DurationLiteral. - Duration values # noqa: E501 + Duration values - :return: The values of this DurationLiteral. # noqa: E501 + :return: The values of this DurationLiteral. :rtype: list[Duration] - """ + """ # noqa: E501 return self._values @values.setter def values(self, values): - """Sets the values of this DurationLiteral. + """Set the values of this DurationLiteral. - Duration values # noqa: E501 + Duration values - :param values: The values of this DurationLiteral. # noqa: E501 + :param values: The values of this DurationLiteral. :type: list[Duration] - """ - + """ # noqa: E501 self._values = values def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -123,20 +121,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, DurationLiteral): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/error.py b/influxdb_client/domain/error.py index d3c63946..2c8bdd56 100644 --- a/influxdb_client/domain/error.py +++ b/influxdb_client/domain/error.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Error(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class Error(object): 'message': 'message' } - def __init__(self, code=None, message=None): # noqa: E501 - """Error - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, code=None, message=None): # noqa: E501,D401,D403 + """Error - a model defined in OpenAPI.""" # noqa: E501 self._code = None self._message = None self.discriminator = None @@ -52,56 +52,54 @@ def __init__(self, code=None, message=None): # noqa: E501 @property def code(self): - """Gets the code of this Error. # noqa: E501 + """Get the code of this Error. - Code is the machine-readable error code. # noqa: E501 + Code is the machine-readable error code. - :return: The code of this Error. # noqa: E501 + :return: The code of this Error. :rtype: str - """ + """ # noqa: E501 return self._code @code.setter def code(self, code): - """Sets the code of this Error. + """Set the code of this Error. - Code is the machine-readable error code. # noqa: E501 + Code is the machine-readable error code. - :param code: The code of this Error. # noqa: E501 + :param code: The code of this Error. :type: str - """ + """ # noqa: E501 if code is None: raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 - self._code = code @property def message(self): - """Gets the message of this Error. # noqa: E501 + """Get the message of this Error. - Message is a human-readable message. # noqa: E501 + Message is a human-readable message. - :return: The message of this Error. # noqa: E501 + :return: The message of this Error. :rtype: str - """ + """ # noqa: E501 return self._message @message.setter def message(self, message): - """Sets the message of this Error. + """Set the message of this Error. - Message is a human-readable message. # noqa: E501 + Message is a human-readable message. - :param message: The message of this Error. # noqa: E501 + :param message: The message of this Error. :type: str - """ + """ # noqa: E501 if message is None: raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501 - self._message = message def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -125,20 +123,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Error): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/expression.py b/influxdb_client/domain/expression.py index 488bde38..0eebfc20 100644 --- a/influxdb_client/domain/expression.py +++ b/influxdb_client/domain/expression.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Expression(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -36,12 +37,11 @@ class Expression(object): attribute_map = { } - def __init__(self): # noqa: E501 - """Expression - a model defined in OpenAPI""" # noqa: E501 - self.discriminator = None + def __init__(self): # noqa: E501,D401,D403 + """Expression - a model defined in OpenAPI.""" # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -65,20 +65,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Expression): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/expression_statement.py b/influxdb_client/domain/expression_statement.py index 5d2f2f73..1ae68d7d 100644 --- a/influxdb_client/domain/expression_statement.py +++ b/influxdb_client/domain/expression_statement.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class ExpressionStatement(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class ExpressionStatement(object): 'expression': 'expression' } - def __init__(self, type=None, expression=None): # noqa: E501 - """ExpressionStatement - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, expression=None): # noqa: E501,D401,D403 + """ExpressionStatement - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._expression = None self.discriminator = None @@ -54,50 +54,46 @@ def __init__(self, type=None, expression=None): # noqa: E501 @property def type(self): - """Gets the type of this ExpressionStatement. # noqa: E501 + """Get the type of this ExpressionStatement. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this ExpressionStatement. # noqa: E501 + :return: The type of this ExpressionStatement. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this ExpressionStatement. + """Set the type of this ExpressionStatement. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this ExpressionStatement. # noqa: E501 + :param type: The type of this ExpressionStatement. :type: str - """ - + """ # noqa: E501 self._type = type @property def expression(self): - """Gets the expression of this ExpressionStatement. # noqa: E501 + """Get the expression of this ExpressionStatement. - - :return: The expression of this ExpressionStatement. # noqa: E501 + :return: The expression of this ExpressionStatement. :rtype: Expression - """ + """ # noqa: E501 return self._expression @expression.setter def expression(self, expression): - """Sets the expression of this ExpressionStatement. - + """Set the expression of this ExpressionStatement. - :param expression: The expression of this ExpressionStatement. # noqa: E501 + :param expression: The expression of this ExpressionStatement. :type: Expression - """ - + """ # noqa: E501 self._expression = expression def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +117,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ExpressionStatement): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/field.py b/influxdb_client/domain/field.py index 729c58bf..61d5bc1d 100644 --- a/influxdb_client/domain/field.py +++ b/influxdb_client/domain/field.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Field(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class Field(object): 'args': 'args' } - def __init__(self, value=None, type=None, alias=None, args=None): # noqa: E501 - """Field - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, value=None, type=None, alias=None, args=None): # noqa: E501,D401,D403 + """Field - a model defined in OpenAPI.""" # noqa: E501 self._value = None self._type = None self._alias = None @@ -64,98 +64,94 @@ def __init__(self, value=None, type=None, alias=None, args=None): # noqa: E501 @property def value(self): - """Gets the value of this Field. # noqa: E501 + """Get the value of this Field. - value is the value of the field. Meaning of the value is implied by the `type` key # noqa: E501 + value is the value of the field. Meaning of the value is implied by the `type` key - :return: The value of this Field. # noqa: E501 + :return: The value of this Field. :rtype: str - """ + """ # noqa: E501 return self._value @value.setter def value(self, value): - """Sets the value of this Field. + """Set the value of this Field. - value is the value of the field. Meaning of the value is implied by the `type` key # noqa: E501 + value is the value of the field. Meaning of the value is implied by the `type` key - :param value: The value of this Field. # noqa: E501 + :param value: The value of this Field. :type: str - """ - + """ # noqa: E501 self._value = value @property def type(self): - """Gets the type of this Field. # noqa: E501 + """Get the type of this Field. - `type` describes the field type. `func` is a function. `field` is a field reference. # noqa: E501 + `type` describes the field type. `func` is a function. `field` is a field reference. - :return: The type of this Field. # noqa: E501 + :return: The type of this Field. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this Field. + """Set the type of this Field. - `type` describes the field type. `func` is a function. `field` is a field reference. # noqa: E501 + `type` describes the field type. `func` is a function. `field` is a field reference. - :param type: The type of this Field. # noqa: E501 + :param type: The type of this Field. :type: str - """ - + """ # noqa: E501 self._type = type @property def alias(self): - """Gets the alias of this Field. # noqa: E501 + """Get the alias of this Field. - Alias overrides the field name in the returned response. Applies only if type is `func` # noqa: E501 + Alias overrides the field name in the returned response. Applies only if type is `func` - :return: The alias of this Field. # noqa: E501 + :return: The alias of this Field. :rtype: str - """ + """ # noqa: E501 return self._alias @alias.setter def alias(self, alias): - """Sets the alias of this Field. + """Set the alias of this Field. - Alias overrides the field name in the returned response. Applies only if type is `func` # noqa: E501 + Alias overrides the field name in the returned response. Applies only if type is `func` - :param alias: The alias of this Field. # noqa: E501 + :param alias: The alias of this Field. :type: str - """ - + """ # noqa: E501 self._alias = alias @property def args(self): - """Gets the args of this Field. # noqa: E501 + """Get the args of this Field. - Args are the arguments to the function # noqa: E501 + Args are the arguments to the function - :return: The args of this Field. # noqa: E501 + :return: The args of this Field. :rtype: list[Field] - """ + """ # noqa: E501 return self._args @args.setter def args(self, args): - """Sets the args of this Field. + """Set the args of this Field. - Args are the arguments to the function # noqa: E501 + Args are the arguments to the function - :param args: The args of this Field. # noqa: E501 + :param args: The args of this Field. :type: list[Field] - """ - + """ # noqa: E501 self._args = args def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -179,20 +175,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Field): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/file.py b/influxdb_client/domain/file.py index 007b0a4a..d7190f16 100644 --- a/influxdb_client/domain/file.py +++ b/influxdb_client/domain/file.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class File(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -46,9 +47,8 @@ class File(object): 'body': 'body' } - def __init__(self, type=None, name=None, package=None, imports=None, body=None): # noqa: E501 - """File - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, name=None, package=None, imports=None, body=None): # noqa: E501,D401,D403 + """File - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._name = None self._package = None @@ -69,119 +69,112 @@ def __init__(self, type=None, name=None, package=None, imports=None, body=None): @property def type(self): - """Gets the type of this File. # noqa: E501 + """Get the type of this File. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this File. # noqa: E501 + :return: The type of this File. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this File. + """Set the type of this File. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this File. # noqa: E501 + :param type: The type of this File. :type: str - """ - + """ # noqa: E501 self._type = type @property def name(self): - """Gets the name of this File. # noqa: E501 + """Get the name of this File. - The name of the file. # noqa: E501 + The name of the file. - :return: The name of this File. # noqa: E501 + :return: The name of this File. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this File. + """Set the name of this File. - The name of the file. # noqa: E501 + The name of the file. - :param name: The name of this File. # noqa: E501 + :param name: The name of this File. :type: str - """ - + """ # noqa: E501 self._name = name @property def package(self): - """Gets the package of this File. # noqa: E501 - + """Get the package of this File. - :return: The package of this File. # noqa: E501 + :return: The package of this File. :rtype: PackageClause - """ + """ # noqa: E501 return self._package @package.setter def package(self, package): - """Sets the package of this File. + """Set the package of this File. - - :param package: The package of this File. # noqa: E501 + :param package: The package of this File. :type: PackageClause - """ - + """ # noqa: E501 self._package = package @property def imports(self): - """Gets the imports of this File. # noqa: E501 + """Get the imports of this File. - A list of package imports # noqa: E501 + A list of package imports - :return: The imports of this File. # noqa: E501 + :return: The imports of this File. :rtype: list[ImportDeclaration] - """ + """ # noqa: E501 return self._imports @imports.setter def imports(self, imports): - """Sets the imports of this File. + """Set the imports of this File. - A list of package imports # noqa: E501 + A list of package imports - :param imports: The imports of this File. # noqa: E501 + :param imports: The imports of this File. :type: list[ImportDeclaration] - """ - + """ # noqa: E501 self._imports = imports @property def body(self): - """Gets the body of this File. # noqa: E501 + """Get the body of this File. - List of Flux statements # noqa: E501 + List of Flux statements - :return: The body of this File. # noqa: E501 + :return: The body of this File. :rtype: list[Statement] - """ + """ # noqa: E501 return self._body @body.setter def body(self, body): - """Sets the body of this File. + """Set the body of this File. - List of Flux statements # noqa: E501 + List of Flux statements - :param body: The body of this File. # noqa: E501 + :param body: The body of this File. :type: list[Statement] - """ - + """ # noqa: E501 self._body = body def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -205,20 +198,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, File): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/float_literal.py b/influxdb_client/domain/float_literal.py index 3a798d0d..6f604cd9 100644 --- a/influxdb_client/domain/float_literal.py +++ b/influxdb_client/domain/float_literal.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class FloatLiteral(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class FloatLiteral(object): 'value': 'value' } - def __init__(self, type=None, value=None): # noqa: E501 - """FloatLiteral - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, value=None): # noqa: E501,D401,D403 + """FloatLiteral - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._value = None self.discriminator = None @@ -54,50 +54,46 @@ def __init__(self, type=None, value=None): # noqa: E501 @property def type(self): - """Gets the type of this FloatLiteral. # noqa: E501 + """Get the type of this FloatLiteral. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this FloatLiteral. # noqa: E501 + :return: The type of this FloatLiteral. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this FloatLiteral. + """Set the type of this FloatLiteral. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this FloatLiteral. # noqa: E501 + :param type: The type of this FloatLiteral. :type: str - """ - + """ # noqa: E501 self._type = type @property def value(self): - """Gets the value of this FloatLiteral. # noqa: E501 + """Get the value of this FloatLiteral. - - :return: The value of this FloatLiteral. # noqa: E501 + :return: The value of this FloatLiteral. :rtype: float - """ + """ # noqa: E501 return self._value @value.setter def value(self, value): - """Sets the value of this FloatLiteral. - + """Set the value of this FloatLiteral. - :param value: The value of this FloatLiteral. # noqa: E501 + :param value: The value of this FloatLiteral. :type: float - """ - + """ # noqa: E501 self._value = value def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +117,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, FloatLiteral): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/flux_response.py b/influxdb_client/domain/flux_response.py index f74dd43f..6e1ae7e4 100644 --- a/influxdb_client/domain/flux_response.py +++ b/influxdb_client/domain/flux_response.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class FluxResponse(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class FluxResponse(object): 'flux': 'flux' } - def __init__(self, flux=None): # noqa: E501 - """FluxResponse - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, flux=None): # noqa: E501,D401,D403 + """FluxResponse - a model defined in OpenAPI.""" # noqa: E501 self._flux = None self.discriminator = None @@ -49,27 +49,24 @@ def __init__(self, flux=None): # noqa: E501 @property def flux(self): - """Gets the flux of this FluxResponse. # noqa: E501 - + """Get the flux of this FluxResponse. - :return: The flux of this FluxResponse. # noqa: E501 + :return: The flux of this FluxResponse. :rtype: str - """ + """ # noqa: E501 return self._flux @flux.setter def flux(self, flux): - """Sets the flux of this FluxResponse. + """Set the flux of this FluxResponse. - - :param flux: The flux of this FluxResponse. # noqa: E501 + :param flux: The flux of this FluxResponse. :type: str - """ - + """ # noqa: E501 self._flux = flux def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -93,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, FluxResponse): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/flux_suggestion.py b/influxdb_client/domain/flux_suggestion.py index 3fcd7fd5..0a5776b4 100644 --- a/influxdb_client/domain/flux_suggestion.py +++ b/influxdb_client/domain/flux_suggestion.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class FluxSuggestion(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class FluxSuggestion(object): 'params': 'params' } - def __init__(self, name=None, params=None): # noqa: E501 - """FluxSuggestion - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, name=None, params=None): # noqa: E501,D401,D403 + """FluxSuggestion - a model defined in OpenAPI.""" # noqa: E501 self._name = None self._params = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, name=None, params=None): # noqa: E501 @property def name(self): - """Gets the name of this FluxSuggestion. # noqa: E501 + """Get the name of this FluxSuggestion. - - :return: The name of this FluxSuggestion. # noqa: E501 + :return: The name of this FluxSuggestion. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this FluxSuggestion. - + """Set the name of this FluxSuggestion. - :param name: The name of this FluxSuggestion. # noqa: E501 + :param name: The name of this FluxSuggestion. :type: str - """ - + """ # noqa: E501 self._name = name @property def params(self): - """Gets the params of this FluxSuggestion. # noqa: E501 - + """Get the params of this FluxSuggestion. - :return: The params of this FluxSuggestion. # noqa: E501 + :return: The params of this FluxSuggestion. :rtype: dict(str, str) - """ + """ # noqa: E501 return self._params @params.setter def params(self, params): - """Sets the params of this FluxSuggestion. + """Set the params of this FluxSuggestion. - - :param params: The params of this FluxSuggestion. # noqa: E501 + :param params: The params of this FluxSuggestion. :type: dict(str, str) - """ - + """ # noqa: E501 self._params = params def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, FluxSuggestion): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/flux_suggestions.py b/influxdb_client/domain/flux_suggestions.py index f9ff6d0d..b1e14bd7 100644 --- a/influxdb_client/domain/flux_suggestions.py +++ b/influxdb_client/domain/flux_suggestions.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class FluxSuggestions(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class FluxSuggestions(object): 'funcs': 'funcs' } - def __init__(self, funcs=None): # noqa: E501 - """FluxSuggestions - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, funcs=None): # noqa: E501,D401,D403 + """FluxSuggestions - a model defined in OpenAPI.""" # noqa: E501 self._funcs = None self.discriminator = None @@ -49,27 +49,24 @@ def __init__(self, funcs=None): # noqa: E501 @property def funcs(self): - """Gets the funcs of this FluxSuggestions. # noqa: E501 - + """Get the funcs of this FluxSuggestions. - :return: The funcs of this FluxSuggestions. # noqa: E501 + :return: The funcs of this FluxSuggestions. :rtype: list[FluxSuggestion] - """ + """ # noqa: E501 return self._funcs @funcs.setter def funcs(self, funcs): - """Sets the funcs of this FluxSuggestions. + """Set the funcs of this FluxSuggestions. - - :param funcs: The funcs of this FluxSuggestions. # noqa: E501 + :param funcs: The funcs of this FluxSuggestions. :type: list[FluxSuggestion] - """ - + """ # noqa: E501 self._funcs = funcs def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -93,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, FluxSuggestions): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/function_expression.py b/influxdb_client/domain/function_expression.py index 1dba5c4f..9dd56bff 100644 --- a/influxdb_client/domain/function_expression.py +++ b/influxdb_client/domain/function_expression.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class FunctionExpression(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class FunctionExpression(object): 'body': 'body' } - def __init__(self, type=None, params=None, body=None): # noqa: E501 - """FunctionExpression - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, params=None, body=None): # noqa: E501,D401,D403 + """FunctionExpression - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._params = None self._body = None @@ -59,73 +59,68 @@ def __init__(self, type=None, params=None, body=None): # noqa: E501 @property def type(self): - """Gets the type of this FunctionExpression. # noqa: E501 + """Get the type of this FunctionExpression. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this FunctionExpression. # noqa: E501 + :return: The type of this FunctionExpression. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this FunctionExpression. + """Set the type of this FunctionExpression. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this FunctionExpression. # noqa: E501 + :param type: The type of this FunctionExpression. :type: str - """ - + """ # noqa: E501 self._type = type @property def params(self): - """Gets the params of this FunctionExpression. # noqa: E501 + """Get the params of this FunctionExpression. - Function parameters # noqa: E501 + Function parameters - :return: The params of this FunctionExpression. # noqa: E501 + :return: The params of this FunctionExpression. :rtype: list[ModelProperty] - """ + """ # noqa: E501 return self._params @params.setter def params(self, params): - """Sets the params of this FunctionExpression. + """Set the params of this FunctionExpression. - Function parameters # noqa: E501 + Function parameters - :param params: The params of this FunctionExpression. # noqa: E501 + :param params: The params of this FunctionExpression. :type: list[ModelProperty] - """ - + """ # noqa: E501 self._params = params @property def body(self): - """Gets the body of this FunctionExpression. # noqa: E501 + """Get the body of this FunctionExpression. - - :return: The body of this FunctionExpression. # noqa: E501 + :return: The body of this FunctionExpression. :rtype: Node - """ + """ # noqa: E501 return self._body @body.setter def body(self, body): - """Sets the body of this FunctionExpression. - + """Set the body of this FunctionExpression. - :param body: The body of this FunctionExpression. # noqa: E501 + :param body: The body of this FunctionExpression. :type: Node - """ - + """ # noqa: E501 self._body = body def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -149,20 +144,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, FunctionExpression): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/gauge_view_properties.py b/influxdb_client/domain/gauge_view_properties.py index 055ed689..39a9826c 100644 --- a/influxdb_client/domain/gauge_view_properties.py +++ b/influxdb_client/domain/gauge_view_properties.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class GaugeViewProperties(ViewProperties): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -61,8 +62,8 @@ class GaugeViewProperties(ViewProperties): 'decimal_places': 'decimalPlaces' } - def __init__(self, type=None, queries=None, colors=None, shape=None, note=None, show_note_when_empty=None, prefix=None, tick_prefix=None, suffix=None, tick_suffix=None, legend=None, decimal_places=None): # noqa: E501 - """GaugeViewProperties - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, type=None, queries=None, colors=None, shape=None, note=None, show_note_when_empty=None, prefix=None, tick_prefix=None, suffix=None, tick_suffix=None, legend=None, decimal_places=None): # noqa: E501,D401,D403 + """GaugeViewProperties - a model defined in OpenAPI.""" # noqa: E501 ViewProperties.__init__(self) # noqa: E501 self._type = None @@ -94,286 +95,254 @@ def __init__(self, type=None, queries=None, colors=None, shape=None, note=None, @property def type(self): - """Gets the type of this GaugeViewProperties. # noqa: E501 - + """Get the type of this GaugeViewProperties. - :return: The type of this GaugeViewProperties. # noqa: E501 + :return: The type of this GaugeViewProperties. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this GaugeViewProperties. - + """Set the type of this GaugeViewProperties. - :param type: The type of this GaugeViewProperties. # noqa: E501 + :param type: The type of this GaugeViewProperties. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def queries(self): - """Gets the queries of this GaugeViewProperties. # noqa: E501 - + """Get the queries of this GaugeViewProperties. - :return: The queries of this GaugeViewProperties. # noqa: E501 + :return: The queries of this GaugeViewProperties. :rtype: list[DashboardQuery] - """ + """ # noqa: E501 return self._queries @queries.setter def queries(self, queries): - """Sets the queries of this GaugeViewProperties. + """Set the queries of this GaugeViewProperties. - - :param queries: The queries of this GaugeViewProperties. # noqa: E501 + :param queries: The queries of this GaugeViewProperties. :type: list[DashboardQuery] - """ + """ # noqa: E501 if queries is None: raise ValueError("Invalid value for `queries`, must not be `None`") # noqa: E501 - self._queries = queries @property def colors(self): - """Gets the colors of this GaugeViewProperties. # noqa: E501 + """Get the colors of this GaugeViewProperties. - Colors define color encoding of data into a visualization # noqa: E501 + Colors define color encoding of data into a visualization - :return: The colors of this GaugeViewProperties. # noqa: E501 + :return: The colors of this GaugeViewProperties. :rtype: list[DashboardColor] - """ + """ # noqa: E501 return self._colors @colors.setter def colors(self, colors): - """Sets the colors of this GaugeViewProperties. + """Set the colors of this GaugeViewProperties. - Colors define color encoding of data into a visualization # noqa: E501 + Colors define color encoding of data into a visualization - :param colors: The colors of this GaugeViewProperties. # noqa: E501 + :param colors: The colors of this GaugeViewProperties. :type: list[DashboardColor] - """ + """ # noqa: E501 if colors is None: raise ValueError("Invalid value for `colors`, must not be `None`") # noqa: E501 - self._colors = colors @property def shape(self): - """Gets the shape of this GaugeViewProperties. # noqa: E501 - + """Get the shape of this GaugeViewProperties. - :return: The shape of this GaugeViewProperties. # noqa: E501 + :return: The shape of this GaugeViewProperties. :rtype: str - """ + """ # noqa: E501 return self._shape @shape.setter def shape(self, shape): - """Sets the shape of this GaugeViewProperties. + """Set the shape of this GaugeViewProperties. - - :param shape: The shape of this GaugeViewProperties. # noqa: E501 + :param shape: The shape of this GaugeViewProperties. :type: str - """ + """ # noqa: E501 if shape is None: raise ValueError("Invalid value for `shape`, must not be `None`") # noqa: E501 - self._shape = shape @property def note(self): - """Gets the note of this GaugeViewProperties. # noqa: E501 + """Get the note of this GaugeViewProperties. - - :return: The note of this GaugeViewProperties. # noqa: E501 + :return: The note of this GaugeViewProperties. :rtype: str - """ + """ # noqa: E501 return self._note @note.setter def note(self, note): - """Sets the note of this GaugeViewProperties. - + """Set the note of this GaugeViewProperties. - :param note: The note of this GaugeViewProperties. # noqa: E501 + :param note: The note of this GaugeViewProperties. :type: str - """ + """ # noqa: E501 if note is None: raise ValueError("Invalid value for `note`, must not be `None`") # noqa: E501 - self._note = note @property def show_note_when_empty(self): - """Gets the show_note_when_empty of this GaugeViewProperties. # noqa: E501 + """Get the show_note_when_empty of this GaugeViewProperties. - If true, will display note when empty # noqa: E501 + If true, will display note when empty - :return: The show_note_when_empty of this GaugeViewProperties. # noqa: E501 + :return: The show_note_when_empty of this GaugeViewProperties. :rtype: bool - """ + """ # noqa: E501 return self._show_note_when_empty @show_note_when_empty.setter def show_note_when_empty(self, show_note_when_empty): - """Sets the show_note_when_empty of this GaugeViewProperties. + """Set the show_note_when_empty of this GaugeViewProperties. - If true, will display note when empty # noqa: E501 + If true, will display note when empty - :param show_note_when_empty: The show_note_when_empty of this GaugeViewProperties. # noqa: E501 + :param show_note_when_empty: The show_note_when_empty of this GaugeViewProperties. :type: bool - """ + """ # noqa: E501 if show_note_when_empty is None: raise ValueError("Invalid value for `show_note_when_empty`, must not be `None`") # noqa: E501 - self._show_note_when_empty = show_note_when_empty @property def prefix(self): - """Gets the prefix of this GaugeViewProperties. # noqa: E501 + """Get the prefix of this GaugeViewProperties. - - :return: The prefix of this GaugeViewProperties. # noqa: E501 + :return: The prefix of this GaugeViewProperties. :rtype: str - """ + """ # noqa: E501 return self._prefix @prefix.setter def prefix(self, prefix): - """Sets the prefix of this GaugeViewProperties. - + """Set the prefix of this GaugeViewProperties. - :param prefix: The prefix of this GaugeViewProperties. # noqa: E501 + :param prefix: The prefix of this GaugeViewProperties. :type: str - """ + """ # noqa: E501 if prefix is None: raise ValueError("Invalid value for `prefix`, must not be `None`") # noqa: E501 - self._prefix = prefix @property def tick_prefix(self): - """Gets the tick_prefix of this GaugeViewProperties. # noqa: E501 - + """Get the tick_prefix of this GaugeViewProperties. - :return: The tick_prefix of this GaugeViewProperties. # noqa: E501 + :return: The tick_prefix of this GaugeViewProperties. :rtype: str - """ + """ # noqa: E501 return self._tick_prefix @tick_prefix.setter def tick_prefix(self, tick_prefix): - """Sets the tick_prefix of this GaugeViewProperties. + """Set the tick_prefix of this GaugeViewProperties. - - :param tick_prefix: The tick_prefix of this GaugeViewProperties. # noqa: E501 + :param tick_prefix: The tick_prefix of this GaugeViewProperties. :type: str - """ + """ # noqa: E501 if tick_prefix is None: raise ValueError("Invalid value for `tick_prefix`, must not be `None`") # noqa: E501 - self._tick_prefix = tick_prefix @property def suffix(self): - """Gets the suffix of this GaugeViewProperties. # noqa: E501 + """Get the suffix of this GaugeViewProperties. - - :return: The suffix of this GaugeViewProperties. # noqa: E501 + :return: The suffix of this GaugeViewProperties. :rtype: str - """ + """ # noqa: E501 return self._suffix @suffix.setter def suffix(self, suffix): - """Sets the suffix of this GaugeViewProperties. - + """Set the suffix of this GaugeViewProperties. - :param suffix: The suffix of this GaugeViewProperties. # noqa: E501 + :param suffix: The suffix of this GaugeViewProperties. :type: str - """ + """ # noqa: E501 if suffix is None: raise ValueError("Invalid value for `suffix`, must not be `None`") # noqa: E501 - self._suffix = suffix @property def tick_suffix(self): - """Gets the tick_suffix of this GaugeViewProperties. # noqa: E501 - + """Get the tick_suffix of this GaugeViewProperties. - :return: The tick_suffix of this GaugeViewProperties. # noqa: E501 + :return: The tick_suffix of this GaugeViewProperties. :rtype: str - """ + """ # noqa: E501 return self._tick_suffix @tick_suffix.setter def tick_suffix(self, tick_suffix): - """Sets the tick_suffix of this GaugeViewProperties. + """Set the tick_suffix of this GaugeViewProperties. - - :param tick_suffix: The tick_suffix of this GaugeViewProperties. # noqa: E501 + :param tick_suffix: The tick_suffix of this GaugeViewProperties. :type: str - """ + """ # noqa: E501 if tick_suffix is None: raise ValueError("Invalid value for `tick_suffix`, must not be `None`") # noqa: E501 - self._tick_suffix = tick_suffix @property def legend(self): - """Gets the legend of this GaugeViewProperties. # noqa: E501 + """Get the legend of this GaugeViewProperties. - - :return: The legend of this GaugeViewProperties. # noqa: E501 + :return: The legend of this GaugeViewProperties. :rtype: Legend - """ + """ # noqa: E501 return self._legend @legend.setter def legend(self, legend): - """Sets the legend of this GaugeViewProperties. - + """Set the legend of this GaugeViewProperties. - :param legend: The legend of this GaugeViewProperties. # noqa: E501 + :param legend: The legend of this GaugeViewProperties. :type: Legend - """ + """ # noqa: E501 if legend is None: raise ValueError("Invalid value for `legend`, must not be `None`") # noqa: E501 - self._legend = legend @property def decimal_places(self): - """Gets the decimal_places of this GaugeViewProperties. # noqa: E501 - + """Get the decimal_places of this GaugeViewProperties. - :return: The decimal_places of this GaugeViewProperties. # noqa: E501 + :return: The decimal_places of this GaugeViewProperties. :rtype: DecimalPlaces - """ + """ # noqa: E501 return self._decimal_places @decimal_places.setter def decimal_places(self, decimal_places): - """Sets the decimal_places of this GaugeViewProperties. + """Set the decimal_places of this GaugeViewProperties. - - :param decimal_places: The decimal_places of this GaugeViewProperties. # noqa: E501 + :param decimal_places: The decimal_places of this GaugeViewProperties. :type: DecimalPlaces - """ + """ # noqa: E501 if decimal_places is None: raise ValueError("Invalid value for `decimal_places`, must not be `None`") # noqa: E501 - self._decimal_places = decimal_places def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -397,20 +366,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, GaugeViewProperties): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/greater_threshold.py b/influxdb_client/domain/greater_threshold.py index d5551506..ca92bd7b 100644 --- a/influxdb_client/domain/greater_threshold.py +++ b/influxdb_client/domain/greater_threshold.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class GreaterThreshold(Threshold): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -41,8 +42,8 @@ class GreaterThreshold(Threshold): 'value': 'value' } - def __init__(self, type=None, value=None): # noqa: E501 - """GreaterThreshold - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, type=None, value=None): # noqa: E501,D401,D403 + """GreaterThreshold - a model defined in OpenAPI.""" # noqa: E501 Threshold.__init__(self) # noqa: E501 self._type = None @@ -54,52 +55,46 @@ def __init__(self, type=None, value=None): # noqa: E501 @property def type(self): - """Gets the type of this GreaterThreshold. # noqa: E501 - + """Get the type of this GreaterThreshold. - :return: The type of this GreaterThreshold. # noqa: E501 + :return: The type of this GreaterThreshold. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this GreaterThreshold. + """Set the type of this GreaterThreshold. - - :param type: The type of this GreaterThreshold. # noqa: E501 + :param type: The type of this GreaterThreshold. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def value(self): - """Gets the value of this GreaterThreshold. # noqa: E501 + """Get the value of this GreaterThreshold. - - :return: The value of this GreaterThreshold. # noqa: E501 + :return: The value of this GreaterThreshold. :rtype: float - """ + """ # noqa: E501 return self._value @value.setter def value(self, value): - """Sets the value of this GreaterThreshold. - + """Set the value of this GreaterThreshold. - :param value: The value of this GreaterThreshold. # noqa: E501 + :param value: The value of this GreaterThreshold. :type: float - """ + """ # noqa: E501 if value is None: raise ValueError("Invalid value for `value`, must not be `None`") # noqa: E501 - self._value = value def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -123,20 +118,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, GreaterThreshold): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/health_check.py b/influxdb_client/domain/health_check.py index affc6c09..b18344d8 100644 --- a/influxdb_client/domain/health_check.py +++ b/influxdb_client/domain/health_check.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class HealthCheck(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -48,9 +49,8 @@ class HealthCheck(object): 'commit': 'commit' } - def __init__(self, name=None, message=None, checks=None, status=None, version=None, commit=None): # noqa: E501 - """HealthCheck - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, name=None, message=None, checks=None, status=None, version=None, commit=None): # noqa: E501,D401,D403 + """HealthCheck - a model defined in OpenAPI.""" # noqa: E501 self._name = None self._message = None self._checks = None @@ -72,136 +72,118 @@ def __init__(self, name=None, message=None, checks=None, status=None, version=No @property def name(self): - """Gets the name of this HealthCheck. # noqa: E501 - + """Get the name of this HealthCheck. - :return: The name of this HealthCheck. # noqa: E501 + :return: The name of this HealthCheck. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this HealthCheck. + """Set the name of this HealthCheck. - - :param name: The name of this HealthCheck. # noqa: E501 + :param name: The name of this HealthCheck. :type: str - """ + """ # noqa: E501 if name is None: raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - self._name = name @property def message(self): - """Gets the message of this HealthCheck. # noqa: E501 + """Get the message of this HealthCheck. - - :return: The message of this HealthCheck. # noqa: E501 + :return: The message of this HealthCheck. :rtype: str - """ + """ # noqa: E501 return self._message @message.setter def message(self, message): - """Sets the message of this HealthCheck. - + """Set the message of this HealthCheck. - :param message: The message of this HealthCheck. # noqa: E501 + :param message: The message of this HealthCheck. :type: str - """ - + """ # noqa: E501 self._message = message @property def checks(self): - """Gets the checks of this HealthCheck. # noqa: E501 + """Get the checks of this HealthCheck. - - :return: The checks of this HealthCheck. # noqa: E501 + :return: The checks of this HealthCheck. :rtype: list[HealthCheck] - """ + """ # noqa: E501 return self._checks @checks.setter def checks(self, checks): - """Sets the checks of this HealthCheck. - + """Set the checks of this HealthCheck. - :param checks: The checks of this HealthCheck. # noqa: E501 + :param checks: The checks of this HealthCheck. :type: list[HealthCheck] - """ - + """ # noqa: E501 self._checks = checks @property def status(self): - """Gets the status of this HealthCheck. # noqa: E501 - + """Get the status of this HealthCheck. - :return: The status of this HealthCheck. # noqa: E501 + :return: The status of this HealthCheck. :rtype: str - """ + """ # noqa: E501 return self._status @status.setter def status(self, status): - """Sets the status of this HealthCheck. - + """Set the status of this HealthCheck. - :param status: The status of this HealthCheck. # noqa: E501 + :param status: The status of this HealthCheck. :type: str - """ + """ # noqa: E501 if status is None: raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 - self._status = status @property def version(self): - """Gets the version of this HealthCheck. # noqa: E501 - + """Get the version of this HealthCheck. - :return: The version of this HealthCheck. # noqa: E501 + :return: The version of this HealthCheck. :rtype: str - """ + """ # noqa: E501 return self._version @version.setter def version(self, version): - """Sets the version of this HealthCheck. + """Set the version of this HealthCheck. - - :param version: The version of this HealthCheck. # noqa: E501 + :param version: The version of this HealthCheck. :type: str - """ - + """ # noqa: E501 self._version = version @property def commit(self): - """Gets the commit of this HealthCheck. # noqa: E501 - + """Get the commit of this HealthCheck. - :return: The commit of this HealthCheck. # noqa: E501 + :return: The commit of this HealthCheck. :rtype: str - """ + """ # noqa: E501 return self._commit @commit.setter def commit(self, commit): - """Sets the commit of this HealthCheck. + """Set the commit of this HealthCheck. - - :param commit: The commit of this HealthCheck. # noqa: E501 + :param commit: The commit of this HealthCheck. :type: str - """ - + """ # noqa: E501 self._commit = commit def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -225,20 +207,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, HealthCheck): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/heatmap_view_properties.py b/influxdb_client/domain/heatmap_view_properties.py index 8d148612..aae442eb 100644 --- a/influxdb_client/domain/heatmap_view_properties.py +++ b/influxdb_client/domain/heatmap_view_properties.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class HeatmapViewProperties(ViewProperties): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -73,8 +74,8 @@ class HeatmapViewProperties(ViewProperties): 'bin_size': 'binSize' } - def __init__(self, time_format=None, type=None, queries=None, colors=None, shape=None, note=None, show_note_when_empty=None, x_column=None, y_column=None, x_domain=None, y_domain=None, x_axis_label=None, y_axis_label=None, x_prefix=None, x_suffix=None, y_prefix=None, y_suffix=None, bin_size=None): # noqa: E501 - """HeatmapViewProperties - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, time_format=None, type=None, queries=None, colors=None, shape=None, note=None, show_note_when_empty=None, x_column=None, y_column=None, x_domain=None, y_domain=None, x_axis_label=None, y_axis_label=None, x_prefix=None, x_suffix=None, y_prefix=None, y_suffix=None, bin_size=None): # noqa: E501,D401,D403 + """HeatmapViewProperties - a model defined in OpenAPI.""" # noqa: E501 ViewProperties.__init__(self) # noqa: E501 self._time_format = None @@ -119,422 +120,372 @@ def __init__(self, time_format=None, type=None, queries=None, colors=None, shape @property def time_format(self): - """Gets the time_format of this HeatmapViewProperties. # noqa: E501 - + """Get the time_format of this HeatmapViewProperties. - :return: The time_format of this HeatmapViewProperties. # noqa: E501 + :return: The time_format of this HeatmapViewProperties. :rtype: str - """ + """ # noqa: E501 return self._time_format @time_format.setter def time_format(self, time_format): - """Sets the time_format of this HeatmapViewProperties. + """Set the time_format of this HeatmapViewProperties. - - :param time_format: The time_format of this HeatmapViewProperties. # noqa: E501 + :param time_format: The time_format of this HeatmapViewProperties. :type: str - """ - + """ # noqa: E501 self._time_format = time_format @property def type(self): - """Gets the type of this HeatmapViewProperties. # noqa: E501 + """Get the type of this HeatmapViewProperties. - - :return: The type of this HeatmapViewProperties. # noqa: E501 + :return: The type of this HeatmapViewProperties. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this HeatmapViewProperties. - + """Set the type of this HeatmapViewProperties. - :param type: The type of this HeatmapViewProperties. # noqa: E501 + :param type: The type of this HeatmapViewProperties. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def queries(self): - """Gets the queries of this HeatmapViewProperties. # noqa: E501 + """Get the queries of this HeatmapViewProperties. - - :return: The queries of this HeatmapViewProperties. # noqa: E501 + :return: The queries of this HeatmapViewProperties. :rtype: list[DashboardQuery] - """ + """ # noqa: E501 return self._queries @queries.setter def queries(self, queries): - """Sets the queries of this HeatmapViewProperties. - + """Set the queries of this HeatmapViewProperties. - :param queries: The queries of this HeatmapViewProperties. # noqa: E501 + :param queries: The queries of this HeatmapViewProperties. :type: list[DashboardQuery] - """ + """ # noqa: E501 if queries is None: raise ValueError("Invalid value for `queries`, must not be `None`") # noqa: E501 - self._queries = queries @property def colors(self): - """Gets the colors of this HeatmapViewProperties. # noqa: E501 + """Get the colors of this HeatmapViewProperties. - Colors define color encoding of data into a visualization # noqa: E501 + Colors define color encoding of data into a visualization - :return: The colors of this HeatmapViewProperties. # noqa: E501 + :return: The colors of this HeatmapViewProperties. :rtype: list[str] - """ + """ # noqa: E501 return self._colors @colors.setter def colors(self, colors): - """Sets the colors of this HeatmapViewProperties. + """Set the colors of this HeatmapViewProperties. - Colors define color encoding of data into a visualization # noqa: E501 + Colors define color encoding of data into a visualization - :param colors: The colors of this HeatmapViewProperties. # noqa: E501 + :param colors: The colors of this HeatmapViewProperties. :type: list[str] - """ + """ # noqa: E501 if colors is None: raise ValueError("Invalid value for `colors`, must not be `None`") # noqa: E501 - self._colors = colors @property def shape(self): - """Gets the shape of this HeatmapViewProperties. # noqa: E501 - + """Get the shape of this HeatmapViewProperties. - :return: The shape of this HeatmapViewProperties. # noqa: E501 + :return: The shape of this HeatmapViewProperties. :rtype: str - """ + """ # noqa: E501 return self._shape @shape.setter def shape(self, shape): - """Sets the shape of this HeatmapViewProperties. - + """Set the shape of this HeatmapViewProperties. - :param shape: The shape of this HeatmapViewProperties. # noqa: E501 + :param shape: The shape of this HeatmapViewProperties. :type: str - """ + """ # noqa: E501 if shape is None: raise ValueError("Invalid value for `shape`, must not be `None`") # noqa: E501 - self._shape = shape @property def note(self): - """Gets the note of this HeatmapViewProperties. # noqa: E501 - + """Get the note of this HeatmapViewProperties. - :return: The note of this HeatmapViewProperties. # noqa: E501 + :return: The note of this HeatmapViewProperties. :rtype: str - """ + """ # noqa: E501 return self._note @note.setter def note(self, note): - """Sets the note of this HeatmapViewProperties. + """Set the note of this HeatmapViewProperties. - - :param note: The note of this HeatmapViewProperties. # noqa: E501 + :param note: The note of this HeatmapViewProperties. :type: str - """ + """ # noqa: E501 if note is None: raise ValueError("Invalid value for `note`, must not be `None`") # noqa: E501 - self._note = note @property def show_note_when_empty(self): - """Gets the show_note_when_empty of this HeatmapViewProperties. # noqa: E501 + """Get the show_note_when_empty of this HeatmapViewProperties. - If true, will display note when empty # noqa: E501 + If true, will display note when empty - :return: The show_note_when_empty of this HeatmapViewProperties. # noqa: E501 + :return: The show_note_when_empty of this HeatmapViewProperties. :rtype: bool - """ + """ # noqa: E501 return self._show_note_when_empty @show_note_when_empty.setter def show_note_when_empty(self, show_note_when_empty): - """Sets the show_note_when_empty of this HeatmapViewProperties. + """Set the show_note_when_empty of this HeatmapViewProperties. - If true, will display note when empty # noqa: E501 + If true, will display note when empty - :param show_note_when_empty: The show_note_when_empty of this HeatmapViewProperties. # noqa: E501 + :param show_note_when_empty: The show_note_when_empty of this HeatmapViewProperties. :type: bool - """ + """ # noqa: E501 if show_note_when_empty is None: raise ValueError("Invalid value for `show_note_when_empty`, must not be `None`") # noqa: E501 - self._show_note_when_empty = show_note_when_empty @property def x_column(self): - """Gets the x_column of this HeatmapViewProperties. # noqa: E501 - + """Get the x_column of this HeatmapViewProperties. - :return: The x_column of this HeatmapViewProperties. # noqa: E501 + :return: The x_column of this HeatmapViewProperties. :rtype: str - """ + """ # noqa: E501 return self._x_column @x_column.setter def x_column(self, x_column): - """Sets the x_column of this HeatmapViewProperties. - + """Set the x_column of this HeatmapViewProperties. - :param x_column: The x_column of this HeatmapViewProperties. # noqa: E501 + :param x_column: The x_column of this HeatmapViewProperties. :type: str - """ + """ # noqa: E501 if x_column is None: raise ValueError("Invalid value for `x_column`, must not be `None`") # noqa: E501 - self._x_column = x_column @property def y_column(self): - """Gets the y_column of this HeatmapViewProperties. # noqa: E501 - + """Get the y_column of this HeatmapViewProperties. - :return: The y_column of this HeatmapViewProperties. # noqa: E501 + :return: The y_column of this HeatmapViewProperties. :rtype: str - """ + """ # noqa: E501 return self._y_column @y_column.setter def y_column(self, y_column): - """Sets the y_column of this HeatmapViewProperties. - + """Set the y_column of this HeatmapViewProperties. - :param y_column: The y_column of this HeatmapViewProperties. # noqa: E501 + :param y_column: The y_column of this HeatmapViewProperties. :type: str - """ + """ # noqa: E501 if y_column is None: raise ValueError("Invalid value for `y_column`, must not be `None`") # noqa: E501 - self._y_column = y_column @property def x_domain(self): - """Gets the x_domain of this HeatmapViewProperties. # noqa: E501 - + """Get the x_domain of this HeatmapViewProperties. - :return: The x_domain of this HeatmapViewProperties. # noqa: E501 + :return: The x_domain of this HeatmapViewProperties. :rtype: list[float] - """ + """ # noqa: E501 return self._x_domain @x_domain.setter def x_domain(self, x_domain): - """Sets the x_domain of this HeatmapViewProperties. - + """Set the x_domain of this HeatmapViewProperties. - :param x_domain: The x_domain of this HeatmapViewProperties. # noqa: E501 + :param x_domain: The x_domain of this HeatmapViewProperties. :type: list[float] - """ + """ # noqa: E501 if x_domain is None: raise ValueError("Invalid value for `x_domain`, must not be `None`") # noqa: E501 - self._x_domain = x_domain @property def y_domain(self): - """Gets the y_domain of this HeatmapViewProperties. # noqa: E501 - + """Get the y_domain of this HeatmapViewProperties. - :return: The y_domain of this HeatmapViewProperties. # noqa: E501 + :return: The y_domain of this HeatmapViewProperties. :rtype: list[float] - """ + """ # noqa: E501 return self._y_domain @y_domain.setter def y_domain(self, y_domain): - """Sets the y_domain of this HeatmapViewProperties. + """Set the y_domain of this HeatmapViewProperties. - - :param y_domain: The y_domain of this HeatmapViewProperties. # noqa: E501 + :param y_domain: The y_domain of this HeatmapViewProperties. :type: list[float] - """ + """ # noqa: E501 if y_domain is None: raise ValueError("Invalid value for `y_domain`, must not be `None`") # noqa: E501 - self._y_domain = y_domain @property def x_axis_label(self): - """Gets the x_axis_label of this HeatmapViewProperties. # noqa: E501 + """Get the x_axis_label of this HeatmapViewProperties. - - :return: The x_axis_label of this HeatmapViewProperties. # noqa: E501 + :return: The x_axis_label of this HeatmapViewProperties. :rtype: str - """ + """ # noqa: E501 return self._x_axis_label @x_axis_label.setter def x_axis_label(self, x_axis_label): - """Sets the x_axis_label of this HeatmapViewProperties. - + """Set the x_axis_label of this HeatmapViewProperties. - :param x_axis_label: The x_axis_label of this HeatmapViewProperties. # noqa: E501 + :param x_axis_label: The x_axis_label of this HeatmapViewProperties. :type: str - """ + """ # noqa: E501 if x_axis_label is None: raise ValueError("Invalid value for `x_axis_label`, must not be `None`") # noqa: E501 - self._x_axis_label = x_axis_label @property def y_axis_label(self): - """Gets the y_axis_label of this HeatmapViewProperties. # noqa: E501 + """Get the y_axis_label of this HeatmapViewProperties. - - :return: The y_axis_label of this HeatmapViewProperties. # noqa: E501 + :return: The y_axis_label of this HeatmapViewProperties. :rtype: str - """ + """ # noqa: E501 return self._y_axis_label @y_axis_label.setter def y_axis_label(self, y_axis_label): - """Sets the y_axis_label of this HeatmapViewProperties. - + """Set the y_axis_label of this HeatmapViewProperties. - :param y_axis_label: The y_axis_label of this HeatmapViewProperties. # noqa: E501 + :param y_axis_label: The y_axis_label of this HeatmapViewProperties. :type: str - """ + """ # noqa: E501 if y_axis_label is None: raise ValueError("Invalid value for `y_axis_label`, must not be `None`") # noqa: E501 - self._y_axis_label = y_axis_label @property def x_prefix(self): - """Gets the x_prefix of this HeatmapViewProperties. # noqa: E501 + """Get the x_prefix of this HeatmapViewProperties. - - :return: The x_prefix of this HeatmapViewProperties. # noqa: E501 + :return: The x_prefix of this HeatmapViewProperties. :rtype: str - """ + """ # noqa: E501 return self._x_prefix @x_prefix.setter def x_prefix(self, x_prefix): - """Sets the x_prefix of this HeatmapViewProperties. - + """Set the x_prefix of this HeatmapViewProperties. - :param x_prefix: The x_prefix of this HeatmapViewProperties. # noqa: E501 + :param x_prefix: The x_prefix of this HeatmapViewProperties. :type: str - """ + """ # noqa: E501 if x_prefix is None: raise ValueError("Invalid value for `x_prefix`, must not be `None`") # noqa: E501 - self._x_prefix = x_prefix @property def x_suffix(self): - """Gets the x_suffix of this HeatmapViewProperties. # noqa: E501 + """Get the x_suffix of this HeatmapViewProperties. - - :return: The x_suffix of this HeatmapViewProperties. # noqa: E501 + :return: The x_suffix of this HeatmapViewProperties. :rtype: str - """ + """ # noqa: E501 return self._x_suffix @x_suffix.setter def x_suffix(self, x_suffix): - """Sets the x_suffix of this HeatmapViewProperties. - + """Set the x_suffix of this HeatmapViewProperties. - :param x_suffix: The x_suffix of this HeatmapViewProperties. # noqa: E501 + :param x_suffix: The x_suffix of this HeatmapViewProperties. :type: str - """ + """ # noqa: E501 if x_suffix is None: raise ValueError("Invalid value for `x_suffix`, must not be `None`") # noqa: E501 - self._x_suffix = x_suffix @property def y_prefix(self): - """Gets the y_prefix of this HeatmapViewProperties. # noqa: E501 + """Get the y_prefix of this HeatmapViewProperties. - - :return: The y_prefix of this HeatmapViewProperties. # noqa: E501 + :return: The y_prefix of this HeatmapViewProperties. :rtype: str - """ + """ # noqa: E501 return self._y_prefix @y_prefix.setter def y_prefix(self, y_prefix): - """Sets the y_prefix of this HeatmapViewProperties. - + """Set the y_prefix of this HeatmapViewProperties. - :param y_prefix: The y_prefix of this HeatmapViewProperties. # noqa: E501 + :param y_prefix: The y_prefix of this HeatmapViewProperties. :type: str - """ + """ # noqa: E501 if y_prefix is None: raise ValueError("Invalid value for `y_prefix`, must not be `None`") # noqa: E501 - self._y_prefix = y_prefix @property def y_suffix(self): - """Gets the y_suffix of this HeatmapViewProperties. # noqa: E501 + """Get the y_suffix of this HeatmapViewProperties. - - :return: The y_suffix of this HeatmapViewProperties. # noqa: E501 + :return: The y_suffix of this HeatmapViewProperties. :rtype: str - """ + """ # noqa: E501 return self._y_suffix @y_suffix.setter def y_suffix(self, y_suffix): - """Sets the y_suffix of this HeatmapViewProperties. - + """Set the y_suffix of this HeatmapViewProperties. - :param y_suffix: The y_suffix of this HeatmapViewProperties. # noqa: E501 + :param y_suffix: The y_suffix of this HeatmapViewProperties. :type: str - """ + """ # noqa: E501 if y_suffix is None: raise ValueError("Invalid value for `y_suffix`, must not be `None`") # noqa: E501 - self._y_suffix = y_suffix @property def bin_size(self): - """Gets the bin_size of this HeatmapViewProperties. # noqa: E501 + """Get the bin_size of this HeatmapViewProperties. - - :return: The bin_size of this HeatmapViewProperties. # noqa: E501 + :return: The bin_size of this HeatmapViewProperties. :rtype: float - """ + """ # noqa: E501 return self._bin_size @bin_size.setter def bin_size(self, bin_size): - """Sets the bin_size of this HeatmapViewProperties. - + """Set the bin_size of this HeatmapViewProperties. - :param bin_size: The bin_size of this HeatmapViewProperties. # noqa: E501 + :param bin_size: The bin_size of this HeatmapViewProperties. :type: float - """ + """ # noqa: E501 if bin_size is None: raise ValueError("Invalid value for `bin_size`, must not be `None`") # noqa: E501 - self._bin_size = bin_size def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -558,20 +509,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, HeatmapViewProperties): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/histogram_view_properties.py b/influxdb_client/domain/histogram_view_properties.py index cf972529..5f1b307e 100644 --- a/influxdb_client/domain/histogram_view_properties.py +++ b/influxdb_client/domain/histogram_view_properties.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class HistogramViewProperties(ViewProperties): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -61,8 +62,8 @@ class HistogramViewProperties(ViewProperties): 'bin_count': 'binCount' } - def __init__(self, type=None, queries=None, colors=None, shape=None, note=None, show_note_when_empty=None, x_column=None, fill_columns=None, x_domain=None, x_axis_label=None, position=None, bin_count=None): # noqa: E501 - """HistogramViewProperties - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, type=None, queries=None, colors=None, shape=None, note=None, show_note_when_empty=None, x_column=None, fill_columns=None, x_domain=None, x_axis_label=None, position=None, bin_count=None): # noqa: E501,D401,D403 + """HistogramViewProperties - a model defined in OpenAPI.""" # noqa: E501 ViewProperties.__init__(self) # noqa: E501 self._type = None @@ -94,286 +95,254 @@ def __init__(self, type=None, queries=None, colors=None, shape=None, note=None, @property def type(self): - """Gets the type of this HistogramViewProperties. # noqa: E501 - + """Get the type of this HistogramViewProperties. - :return: The type of this HistogramViewProperties. # noqa: E501 + :return: The type of this HistogramViewProperties. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this HistogramViewProperties. - + """Set the type of this HistogramViewProperties. - :param type: The type of this HistogramViewProperties. # noqa: E501 + :param type: The type of this HistogramViewProperties. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def queries(self): - """Gets the queries of this HistogramViewProperties. # noqa: E501 - + """Get the queries of this HistogramViewProperties. - :return: The queries of this HistogramViewProperties. # noqa: E501 + :return: The queries of this HistogramViewProperties. :rtype: list[DashboardQuery] - """ + """ # noqa: E501 return self._queries @queries.setter def queries(self, queries): - """Sets the queries of this HistogramViewProperties. + """Set the queries of this HistogramViewProperties. - - :param queries: The queries of this HistogramViewProperties. # noqa: E501 + :param queries: The queries of this HistogramViewProperties. :type: list[DashboardQuery] - """ + """ # noqa: E501 if queries is None: raise ValueError("Invalid value for `queries`, must not be `None`") # noqa: E501 - self._queries = queries @property def colors(self): - """Gets the colors of this HistogramViewProperties. # noqa: E501 + """Get the colors of this HistogramViewProperties. - Colors define color encoding of data into a visualization # noqa: E501 + Colors define color encoding of data into a visualization - :return: The colors of this HistogramViewProperties. # noqa: E501 + :return: The colors of this HistogramViewProperties. :rtype: list[DashboardColor] - """ + """ # noqa: E501 return self._colors @colors.setter def colors(self, colors): - """Sets the colors of this HistogramViewProperties. + """Set the colors of this HistogramViewProperties. - Colors define color encoding of data into a visualization # noqa: E501 + Colors define color encoding of data into a visualization - :param colors: The colors of this HistogramViewProperties. # noqa: E501 + :param colors: The colors of this HistogramViewProperties. :type: list[DashboardColor] - """ + """ # noqa: E501 if colors is None: raise ValueError("Invalid value for `colors`, must not be `None`") # noqa: E501 - self._colors = colors @property def shape(self): - """Gets the shape of this HistogramViewProperties. # noqa: E501 - + """Get the shape of this HistogramViewProperties. - :return: The shape of this HistogramViewProperties. # noqa: E501 + :return: The shape of this HistogramViewProperties. :rtype: str - """ + """ # noqa: E501 return self._shape @shape.setter def shape(self, shape): - """Sets the shape of this HistogramViewProperties. + """Set the shape of this HistogramViewProperties. - - :param shape: The shape of this HistogramViewProperties. # noqa: E501 + :param shape: The shape of this HistogramViewProperties. :type: str - """ + """ # noqa: E501 if shape is None: raise ValueError("Invalid value for `shape`, must not be `None`") # noqa: E501 - self._shape = shape @property def note(self): - """Gets the note of this HistogramViewProperties. # noqa: E501 + """Get the note of this HistogramViewProperties. - - :return: The note of this HistogramViewProperties. # noqa: E501 + :return: The note of this HistogramViewProperties. :rtype: str - """ + """ # noqa: E501 return self._note @note.setter def note(self, note): - """Sets the note of this HistogramViewProperties. - + """Set the note of this HistogramViewProperties. - :param note: The note of this HistogramViewProperties. # noqa: E501 + :param note: The note of this HistogramViewProperties. :type: str - """ + """ # noqa: E501 if note is None: raise ValueError("Invalid value for `note`, must not be `None`") # noqa: E501 - self._note = note @property def show_note_when_empty(self): - """Gets the show_note_when_empty of this HistogramViewProperties. # noqa: E501 + """Get the show_note_when_empty of this HistogramViewProperties. - If true, will display note when empty # noqa: E501 + If true, will display note when empty - :return: The show_note_when_empty of this HistogramViewProperties. # noqa: E501 + :return: The show_note_when_empty of this HistogramViewProperties. :rtype: bool - """ + """ # noqa: E501 return self._show_note_when_empty @show_note_when_empty.setter def show_note_when_empty(self, show_note_when_empty): - """Sets the show_note_when_empty of this HistogramViewProperties. + """Set the show_note_when_empty of this HistogramViewProperties. - If true, will display note when empty # noqa: E501 + If true, will display note when empty - :param show_note_when_empty: The show_note_when_empty of this HistogramViewProperties. # noqa: E501 + :param show_note_when_empty: The show_note_when_empty of this HistogramViewProperties. :type: bool - """ + """ # noqa: E501 if show_note_when_empty is None: raise ValueError("Invalid value for `show_note_when_empty`, must not be `None`") # noqa: E501 - self._show_note_when_empty = show_note_when_empty @property def x_column(self): - """Gets the x_column of this HistogramViewProperties. # noqa: E501 + """Get the x_column of this HistogramViewProperties. - - :return: The x_column of this HistogramViewProperties. # noqa: E501 + :return: The x_column of this HistogramViewProperties. :rtype: str - """ + """ # noqa: E501 return self._x_column @x_column.setter def x_column(self, x_column): - """Sets the x_column of this HistogramViewProperties. - + """Set the x_column of this HistogramViewProperties. - :param x_column: The x_column of this HistogramViewProperties. # noqa: E501 + :param x_column: The x_column of this HistogramViewProperties. :type: str - """ + """ # noqa: E501 if x_column is None: raise ValueError("Invalid value for `x_column`, must not be `None`") # noqa: E501 - self._x_column = x_column @property def fill_columns(self): - """Gets the fill_columns of this HistogramViewProperties. # noqa: E501 - + """Get the fill_columns of this HistogramViewProperties. - :return: The fill_columns of this HistogramViewProperties. # noqa: E501 + :return: The fill_columns of this HistogramViewProperties. :rtype: list[str] - """ + """ # noqa: E501 return self._fill_columns @fill_columns.setter def fill_columns(self, fill_columns): - """Sets the fill_columns of this HistogramViewProperties. + """Set the fill_columns of this HistogramViewProperties. - - :param fill_columns: The fill_columns of this HistogramViewProperties. # noqa: E501 + :param fill_columns: The fill_columns of this HistogramViewProperties. :type: list[str] - """ + """ # noqa: E501 if fill_columns is None: raise ValueError("Invalid value for `fill_columns`, must not be `None`") # noqa: E501 - self._fill_columns = fill_columns @property def x_domain(self): - """Gets the x_domain of this HistogramViewProperties. # noqa: E501 + """Get the x_domain of this HistogramViewProperties. - - :return: The x_domain of this HistogramViewProperties. # noqa: E501 + :return: The x_domain of this HistogramViewProperties. :rtype: list[float] - """ + """ # noqa: E501 return self._x_domain @x_domain.setter def x_domain(self, x_domain): - """Sets the x_domain of this HistogramViewProperties. - + """Set the x_domain of this HistogramViewProperties. - :param x_domain: The x_domain of this HistogramViewProperties. # noqa: E501 + :param x_domain: The x_domain of this HistogramViewProperties. :type: list[float] - """ + """ # noqa: E501 if x_domain is None: raise ValueError("Invalid value for `x_domain`, must not be `None`") # noqa: E501 - self._x_domain = x_domain @property def x_axis_label(self): - """Gets the x_axis_label of this HistogramViewProperties. # noqa: E501 - + """Get the x_axis_label of this HistogramViewProperties. - :return: The x_axis_label of this HistogramViewProperties. # noqa: E501 + :return: The x_axis_label of this HistogramViewProperties. :rtype: str - """ + """ # noqa: E501 return self._x_axis_label @x_axis_label.setter def x_axis_label(self, x_axis_label): - """Sets the x_axis_label of this HistogramViewProperties. + """Set the x_axis_label of this HistogramViewProperties. - - :param x_axis_label: The x_axis_label of this HistogramViewProperties. # noqa: E501 + :param x_axis_label: The x_axis_label of this HistogramViewProperties. :type: str - """ + """ # noqa: E501 if x_axis_label is None: raise ValueError("Invalid value for `x_axis_label`, must not be `None`") # noqa: E501 - self._x_axis_label = x_axis_label @property def position(self): - """Gets the position of this HistogramViewProperties. # noqa: E501 + """Get the position of this HistogramViewProperties. - - :return: The position of this HistogramViewProperties. # noqa: E501 + :return: The position of this HistogramViewProperties. :rtype: str - """ + """ # noqa: E501 return self._position @position.setter def position(self, position): - """Sets the position of this HistogramViewProperties. - + """Set the position of this HistogramViewProperties. - :param position: The position of this HistogramViewProperties. # noqa: E501 + :param position: The position of this HistogramViewProperties. :type: str - """ + """ # noqa: E501 if position is None: raise ValueError("Invalid value for `position`, must not be `None`") # noqa: E501 - self._position = position @property def bin_count(self): - """Gets the bin_count of this HistogramViewProperties. # noqa: E501 - + """Get the bin_count of this HistogramViewProperties. - :return: The bin_count of this HistogramViewProperties. # noqa: E501 + :return: The bin_count of this HistogramViewProperties. :rtype: int - """ + """ # noqa: E501 return self._bin_count @bin_count.setter def bin_count(self, bin_count): - """Sets the bin_count of this HistogramViewProperties. + """Set the bin_count of this HistogramViewProperties. - - :param bin_count: The bin_count of this HistogramViewProperties. # noqa: E501 + :param bin_count: The bin_count of this HistogramViewProperties. :type: int - """ + """ # noqa: E501 if bin_count is None: raise ValueError("Invalid value for `bin_count`, must not be `None`") # noqa: E501 - self._bin_count = bin_count def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -397,20 +366,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, HistogramViewProperties): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/http_notification_endpoint.py b/influxdb_client/domain/http_notification_endpoint.py index 975dbf98..c3d52d7f 100644 --- a/influxdb_client/domain/http_notification_endpoint.py +++ b/influxdb_client/domain/http_notification_endpoint.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class HTTPNotificationEndpoint(NotificationEndpoint): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -53,8 +54,8 @@ class HTTPNotificationEndpoint(NotificationEndpoint): 'headers': 'headers' } - def __init__(self, url=None, username=None, password=None, token=None, method=None, auth_method=None, content_template=None, headers=None): # noqa: E501 - """HTTPNotificationEndpoint - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, url=None, username=None, password=None, token=None, method=None, auth_method=None, content_template=None, headers=None): # noqa: E501,D401,D403 + """HTTPNotificationEndpoint - a model defined in OpenAPI.""" # noqa: E501 NotificationEndpoint.__init__(self) # noqa: E501 self._url = None @@ -83,182 +84,160 @@ def __init__(self, url=None, username=None, password=None, token=None, method=No @property def url(self): - """Gets the url of this HTTPNotificationEndpoint. # noqa: E501 - + """Get the url of this HTTPNotificationEndpoint. - :return: The url of this HTTPNotificationEndpoint. # noqa: E501 + :return: The url of this HTTPNotificationEndpoint. :rtype: str - """ + """ # noqa: E501 return self._url @url.setter def url(self, url): - """Sets the url of this HTTPNotificationEndpoint. - + """Set the url of this HTTPNotificationEndpoint. - :param url: The url of this HTTPNotificationEndpoint. # noqa: E501 + :param url: The url of this HTTPNotificationEndpoint. :type: str - """ + """ # noqa: E501 if url is None: raise ValueError("Invalid value for `url`, must not be `None`") # noqa: E501 - self._url = url @property def username(self): - """Gets the username of this HTTPNotificationEndpoint. # noqa: E501 - + """Get the username of this HTTPNotificationEndpoint. - :return: The username of this HTTPNotificationEndpoint. # noqa: E501 + :return: The username of this HTTPNotificationEndpoint. :rtype: str - """ + """ # noqa: E501 return self._username @username.setter def username(self, username): - """Sets the username of this HTTPNotificationEndpoint. - + """Set the username of this HTTPNotificationEndpoint. - :param username: The username of this HTTPNotificationEndpoint. # noqa: E501 + :param username: The username of this HTTPNotificationEndpoint. :type: str - """ - + """ # noqa: E501 self._username = username @property def password(self): - """Gets the password of this HTTPNotificationEndpoint. # noqa: E501 - + """Get the password of this HTTPNotificationEndpoint. - :return: The password of this HTTPNotificationEndpoint. # noqa: E501 + :return: The password of this HTTPNotificationEndpoint. :rtype: str - """ + """ # noqa: E501 return self._password @password.setter def password(self, password): - """Sets the password of this HTTPNotificationEndpoint. - + """Set the password of this HTTPNotificationEndpoint. - :param password: The password of this HTTPNotificationEndpoint. # noqa: E501 + :param password: The password of this HTTPNotificationEndpoint. :type: str - """ - + """ # noqa: E501 self._password = password @property def token(self): - """Gets the token of this HTTPNotificationEndpoint. # noqa: E501 - + """Get the token of this HTTPNotificationEndpoint. - :return: The token of this HTTPNotificationEndpoint. # noqa: E501 + :return: The token of this HTTPNotificationEndpoint. :rtype: str - """ + """ # noqa: E501 return self._token @token.setter def token(self, token): - """Sets the token of this HTTPNotificationEndpoint. - + """Set the token of this HTTPNotificationEndpoint. - :param token: The token of this HTTPNotificationEndpoint. # noqa: E501 + :param token: The token of this HTTPNotificationEndpoint. :type: str - """ - + """ # noqa: E501 self._token = token @property def method(self): - """Gets the method of this HTTPNotificationEndpoint. # noqa: E501 - + """Get the method of this HTTPNotificationEndpoint. - :return: The method of this HTTPNotificationEndpoint. # noqa: E501 + :return: The method of this HTTPNotificationEndpoint. :rtype: str - """ + """ # noqa: E501 return self._method @method.setter def method(self, method): - """Sets the method of this HTTPNotificationEndpoint. - + """Set the method of this HTTPNotificationEndpoint. - :param method: The method of this HTTPNotificationEndpoint. # noqa: E501 + :param method: The method of this HTTPNotificationEndpoint. :type: str - """ + """ # noqa: E501 if method is None: raise ValueError("Invalid value for `method`, must not be `None`") # noqa: E501 - self._method = method @property def auth_method(self): - """Gets the auth_method of this HTTPNotificationEndpoint. # noqa: E501 - + """Get the auth_method of this HTTPNotificationEndpoint. - :return: The auth_method of this HTTPNotificationEndpoint. # noqa: E501 + :return: The auth_method of this HTTPNotificationEndpoint. :rtype: str - """ + """ # noqa: E501 return self._auth_method @auth_method.setter def auth_method(self, auth_method): - """Sets the auth_method of this HTTPNotificationEndpoint. - + """Set the auth_method of this HTTPNotificationEndpoint. - :param auth_method: The auth_method of this HTTPNotificationEndpoint. # noqa: E501 + :param auth_method: The auth_method of this HTTPNotificationEndpoint. :type: str - """ + """ # noqa: E501 if auth_method is None: raise ValueError("Invalid value for `auth_method`, must not be `None`") # noqa: E501 - self._auth_method = auth_method @property def content_template(self): - """Gets the content_template of this HTTPNotificationEndpoint. # noqa: E501 - + """Get the content_template of this HTTPNotificationEndpoint. - :return: The content_template of this HTTPNotificationEndpoint. # noqa: E501 + :return: The content_template of this HTTPNotificationEndpoint. :rtype: str - """ + """ # noqa: E501 return self._content_template @content_template.setter def content_template(self, content_template): - """Sets the content_template of this HTTPNotificationEndpoint. - + """Set the content_template of this HTTPNotificationEndpoint. - :param content_template: The content_template of this HTTPNotificationEndpoint. # noqa: E501 + :param content_template: The content_template of this HTTPNotificationEndpoint. :type: str - """ - + """ # noqa: E501 self._content_template = content_template @property def headers(self): - """Gets the headers of this HTTPNotificationEndpoint. # noqa: E501 + """Get the headers of this HTTPNotificationEndpoint. - Customized headers. # noqa: E501 + Customized headers. - :return: The headers of this HTTPNotificationEndpoint. # noqa: E501 + :return: The headers of this HTTPNotificationEndpoint. :rtype: dict(str, str) - """ + """ # noqa: E501 return self._headers @headers.setter def headers(self, headers): - """Sets the headers of this HTTPNotificationEndpoint. + """Set the headers of this HTTPNotificationEndpoint. - Customized headers. # noqa: E501 + Customized headers. - :param headers: The headers of this HTTPNotificationEndpoint. # noqa: E501 + :param headers: The headers of this HTTPNotificationEndpoint. :type: dict(str, str) - """ - + """ # noqa: E501 self._headers = headers def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -282,20 +261,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, HTTPNotificationEndpoint): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/http_notification_rule.py b/influxdb_client/domain/http_notification_rule.py index eea33ae4..8fa977d8 100644 --- a/influxdb_client/domain/http_notification_rule.py +++ b/influxdb_client/domain/http_notification_rule.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class HTTPNotificationRule(HTTPNotificationRuleBase): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -41,13 +42,13 @@ class HTTPNotificationRule(HTTPNotificationRuleBase): 'url': 'url' } - def __init__(self, type=None, url=None): # noqa: E501 - """HTTPNotificationRule - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, type=None, url=None): # noqa: E501,D401,D403 + """HTTPNotificationRule - a model defined in OpenAPI.""" # noqa: E501 HTTPNotificationRuleBase.__init__(self, type=type, url=url) # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -71,20 +72,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, HTTPNotificationRule): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/http_notification_rule_base.py b/influxdb_client/domain/http_notification_rule_base.py index 483b6c6a..72b14a56 100644 --- a/influxdb_client/domain/http_notification_rule_base.py +++ b/influxdb_client/domain/http_notification_rule_base.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class HTTPNotificationRuleBase(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class HTTPNotificationRuleBase(object): 'url': 'url' } - def __init__(self, type=None, url=None): # noqa: E501 - """HTTPNotificationRuleBase - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, url=None): # noqa: E501,D401,D403 + """HTTPNotificationRuleBase - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._url = None self.discriminator = None @@ -53,50 +53,44 @@ def __init__(self, type=None, url=None): # noqa: E501 @property def type(self): - """Gets the type of this HTTPNotificationRuleBase. # noqa: E501 + """Get the type of this HTTPNotificationRuleBase. - - :return: The type of this HTTPNotificationRuleBase. # noqa: E501 + :return: The type of this HTTPNotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this HTTPNotificationRuleBase. - + """Set the type of this HTTPNotificationRuleBase. - :param type: The type of this HTTPNotificationRuleBase. # noqa: E501 + :param type: The type of this HTTPNotificationRuleBase. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def url(self): - """Gets the url of this HTTPNotificationRuleBase. # noqa: E501 - + """Get the url of this HTTPNotificationRuleBase. - :return: The url of this HTTPNotificationRuleBase. # noqa: E501 + :return: The url of this HTTPNotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._url @url.setter def url(self, url): - """Sets the url of this HTTPNotificationRuleBase. + """Set the url of this HTTPNotificationRuleBase. - - :param url: The url of this HTTPNotificationRuleBase. # noqa: E501 + :param url: The url of this HTTPNotificationRuleBase. :type: str - """ - + """ # noqa: E501 self._url = url def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -120,20 +114,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, HTTPNotificationRuleBase): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/identifier.py b/influxdb_client/domain/identifier.py index 84d81463..1cf0dbb6 100644 --- a/influxdb_client/domain/identifier.py +++ b/influxdb_client/domain/identifier.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Identifier(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class Identifier(object): 'name': 'name' } - def __init__(self, type=None, name=None): # noqa: E501 - """Identifier - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, name=None): # noqa: E501,D401,D403 + """Identifier - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._name = None self.discriminator = None @@ -54,50 +54,46 @@ def __init__(self, type=None, name=None): # noqa: E501 @property def type(self): - """Gets the type of this Identifier. # noqa: E501 + """Get the type of this Identifier. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this Identifier. # noqa: E501 + :return: The type of this Identifier. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this Identifier. + """Set the type of this Identifier. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this Identifier. # noqa: E501 + :param type: The type of this Identifier. :type: str - """ - + """ # noqa: E501 self._type = type @property def name(self): - """Gets the name of this Identifier. # noqa: E501 + """Get the name of this Identifier. - - :return: The name of this Identifier. # noqa: E501 + :return: The name of this Identifier. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this Identifier. - + """Set the name of this Identifier. - :param name: The name of this Identifier. # noqa: E501 + :param name: The name of this Identifier. :type: str - """ - + """ # noqa: E501 self._name = name def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +117,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Identifier): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/import_declaration.py b/influxdb_client/domain/import_declaration.py index 2fa0c5cf..084d591e 100644 --- a/influxdb_client/domain/import_declaration.py +++ b/influxdb_client/domain/import_declaration.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class ImportDeclaration(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class ImportDeclaration(object): 'path': 'path' } - def __init__(self, type=None, _as=None, path=None): # noqa: E501 - """ImportDeclaration - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, _as=None, path=None): # noqa: E501,D401,D403 + """ImportDeclaration - a model defined in OpenAPI.""" # noqa: E501 self._type = None self.__as = None self._path = None @@ -59,71 +59,64 @@ def __init__(self, type=None, _as=None, path=None): # noqa: E501 @property def type(self): - """Gets the type of this ImportDeclaration. # noqa: E501 + """Get the type of this ImportDeclaration. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this ImportDeclaration. # noqa: E501 + :return: The type of this ImportDeclaration. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this ImportDeclaration. + """Set the type of this ImportDeclaration. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this ImportDeclaration. # noqa: E501 + :param type: The type of this ImportDeclaration. :type: str - """ - + """ # noqa: E501 self._type = type @property def _as(self): - """Gets the _as of this ImportDeclaration. # noqa: E501 + """Get the _as of this ImportDeclaration. - - :return: The _as of this ImportDeclaration. # noqa: E501 + :return: The _as of this ImportDeclaration. :rtype: Identifier - """ + """ # noqa: E501 return self.__as @_as.setter def _as(self, _as): - """Sets the _as of this ImportDeclaration. - + """Set the _as of this ImportDeclaration. - :param _as: The _as of this ImportDeclaration. # noqa: E501 + :param _as: The _as of this ImportDeclaration. :type: Identifier - """ - + """ # noqa: E501 self.__as = _as @property def path(self): - """Gets the path of this ImportDeclaration. # noqa: E501 - + """Get the path of this ImportDeclaration. - :return: The path of this ImportDeclaration. # noqa: E501 + :return: The path of this ImportDeclaration. :rtype: StringLiteral - """ + """ # noqa: E501 return self._path @path.setter def path(self, path): - """Sets the path of this ImportDeclaration. + """Set the path of this ImportDeclaration. - - :param path: The path of this ImportDeclaration. # noqa: E501 + :param path: The path of this ImportDeclaration. :type: StringLiteral - """ - + """ # noqa: E501 self._path = path def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -147,20 +140,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ImportDeclaration): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/index_expression.py b/influxdb_client/domain/index_expression.py index 616afbaa..d7ad55e4 100644 --- a/influxdb_client/domain/index_expression.py +++ b/influxdb_client/domain/index_expression.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class IndexExpression(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class IndexExpression(object): 'index': 'index' } - def __init__(self, type=None, array=None, index=None): # noqa: E501 - """IndexExpression - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, array=None, index=None): # noqa: E501,D401,D403 + """IndexExpression - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._array = None self._index = None @@ -59,71 +59,64 @@ def __init__(self, type=None, array=None, index=None): # noqa: E501 @property def type(self): - """Gets the type of this IndexExpression. # noqa: E501 + """Get the type of this IndexExpression. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this IndexExpression. # noqa: E501 + :return: The type of this IndexExpression. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this IndexExpression. + """Set the type of this IndexExpression. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this IndexExpression. # noqa: E501 + :param type: The type of this IndexExpression. :type: str - """ - + """ # noqa: E501 self._type = type @property def array(self): - """Gets the array of this IndexExpression. # noqa: E501 + """Get the array of this IndexExpression. - - :return: The array of this IndexExpression. # noqa: E501 + :return: The array of this IndexExpression. :rtype: Expression - """ + """ # noqa: E501 return self._array @array.setter def array(self, array): - """Sets the array of this IndexExpression. - + """Set the array of this IndexExpression. - :param array: The array of this IndexExpression. # noqa: E501 + :param array: The array of this IndexExpression. :type: Expression - """ - + """ # noqa: E501 self._array = array @property def index(self): - """Gets the index of this IndexExpression. # noqa: E501 - + """Get the index of this IndexExpression. - :return: The index of this IndexExpression. # noqa: E501 + :return: The index of this IndexExpression. :rtype: Expression - """ + """ # noqa: E501 return self._index @index.setter def index(self, index): - """Sets the index of this IndexExpression. + """Set the index of this IndexExpression. - - :param index: The index of this IndexExpression. # noqa: E501 + :param index: The index of this IndexExpression. :type: Expression - """ - + """ # noqa: E501 self._index = index def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -147,20 +140,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, IndexExpression): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/integer_literal.py b/influxdb_client/domain/integer_literal.py index 1d5cf88a..c4ec2389 100644 --- a/influxdb_client/domain/integer_literal.py +++ b/influxdb_client/domain/integer_literal.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class IntegerLiteral(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class IntegerLiteral(object): 'value': 'value' } - def __init__(self, type=None, value=None): # noqa: E501 - """IntegerLiteral - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, value=None): # noqa: E501,D401,D403 + """IntegerLiteral - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._value = None self.discriminator = None @@ -54,50 +54,46 @@ def __init__(self, type=None, value=None): # noqa: E501 @property def type(self): - """Gets the type of this IntegerLiteral. # noqa: E501 + """Get the type of this IntegerLiteral. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this IntegerLiteral. # noqa: E501 + :return: The type of this IntegerLiteral. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this IntegerLiteral. + """Set the type of this IntegerLiteral. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this IntegerLiteral. # noqa: E501 + :param type: The type of this IntegerLiteral. :type: str - """ - + """ # noqa: E501 self._type = type @property def value(self): - """Gets the value of this IntegerLiteral. # noqa: E501 + """Get the value of this IntegerLiteral. - - :return: The value of this IntegerLiteral. # noqa: E501 + :return: The value of this IntegerLiteral. :rtype: str - """ + """ # noqa: E501 return self._value @value.setter def value(self, value): - """Sets the value of this IntegerLiteral. - + """Set the value of this IntegerLiteral. - :param value: The value of this IntegerLiteral. # noqa: E501 + :param value: The value of this IntegerLiteral. :type: str - """ - + """ # noqa: E501 self._value = value def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +117,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, IntegerLiteral): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/is_onboarding.py b/influxdb_client/domain/is_onboarding.py index 2b31ca2f..089fe232 100644 --- a/influxdb_client/domain/is_onboarding.py +++ b/influxdb_client/domain/is_onboarding.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class IsOnboarding(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class IsOnboarding(object): 'allowed': 'allowed' } - def __init__(self, allowed=None): # noqa: E501 - """IsOnboarding - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, allowed=None): # noqa: E501,D401,D403 + """IsOnboarding - a model defined in OpenAPI.""" # noqa: E501 self._allowed = None self.discriminator = None @@ -49,29 +49,28 @@ def __init__(self, allowed=None): # noqa: E501 @property def allowed(self): - """Gets the allowed of this IsOnboarding. # noqa: E501 + """Get the allowed of this IsOnboarding. - True means that the influxdb instance has NOT had initial setup; false means that the database has been setup. # noqa: E501 + True means that the influxdb instance has NOT had initial setup; false means that the database has been setup. - :return: The allowed of this IsOnboarding. # noqa: E501 + :return: The allowed of this IsOnboarding. :rtype: bool - """ + """ # noqa: E501 return self._allowed @allowed.setter def allowed(self, allowed): - """Sets the allowed of this IsOnboarding. + """Set the allowed of this IsOnboarding. - True means that the influxdb instance has NOT had initial setup; false means that the database has been setup. # noqa: E501 + True means that the influxdb instance has NOT had initial setup; false means that the database has been setup. - :param allowed: The allowed of this IsOnboarding. # noqa: E501 + :param allowed: The allowed of this IsOnboarding. :type: bool - """ - + """ # noqa: E501 self._allowed = allowed def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -95,20 +94,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, IsOnboarding): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/label.py b/influxdb_client/domain/label.py index 0217bf04..6169fe11 100644 --- a/influxdb_client/domain/label.py +++ b/influxdb_client/domain/label.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Label(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class Label(object): 'properties': 'properties' } - def __init__(self, id=None, org_id=None, name=None, properties=None): # noqa: E501 - """Label - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, id=None, org_id=None, name=None, properties=None): # noqa: E501,D401,D403 + """Label - a model defined in OpenAPI.""" # noqa: E501 self._id = None self._org_id = None self._name = None @@ -64,92 +64,82 @@ def __init__(self, id=None, org_id=None, name=None, properties=None): # noqa: E @property def id(self): - """Gets the id of this Label. # noqa: E501 - + """Get the id of this Label. - :return: The id of this Label. # noqa: E501 + :return: The id of this Label. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this Label. + """Set the id of this Label. - - :param id: The id of this Label. # noqa: E501 + :param id: The id of this Label. :type: str - """ - + """ # noqa: E501 self._id = id @property def org_id(self): - """Gets the org_id of this Label. # noqa: E501 - + """Get the org_id of this Label. - :return: The org_id of this Label. # noqa: E501 + :return: The org_id of this Label. :rtype: str - """ + """ # noqa: E501 return self._org_id @org_id.setter def org_id(self, org_id): - """Sets the org_id of this Label. + """Set the org_id of this Label. - - :param org_id: The org_id of this Label. # noqa: E501 + :param org_id: The org_id of this Label. :type: str - """ - + """ # noqa: E501 self._org_id = org_id @property def name(self): - """Gets the name of this Label. # noqa: E501 - + """Get the name of this Label. - :return: The name of this Label. # noqa: E501 + :return: The name of this Label. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this Label. + """Set the name of this Label. - - :param name: The name of this Label. # noqa: E501 + :param name: The name of this Label. :type: str - """ - + """ # noqa: E501 self._name = name @property def properties(self): - """Gets the properties of this Label. # noqa: E501 + """Get the properties of this Label. - Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value. # noqa: E501 + Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value. - :return: The properties of this Label. # noqa: E501 + :return: The properties of this Label. :rtype: dict(str, str) - """ + """ # noqa: E501 return self._properties @properties.setter def properties(self, properties): - """Sets the properties of this Label. + """Set the properties of this Label. - Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value. # noqa: E501 + Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value. - :param properties: The properties of this Label. # noqa: E501 + :param properties: The properties of this Label. :type: dict(str, str) - """ - + """ # noqa: E501 self._properties = properties def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -173,20 +163,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Label): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/label_create_request.py b/influxdb_client/domain/label_create_request.py index 02a4b466..5b0d0518 100644 --- a/influxdb_client/domain/label_create_request.py +++ b/influxdb_client/domain/label_create_request.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class LabelCreateRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class LabelCreateRequest(object): 'properties': 'properties' } - def __init__(self, org_id=None, name=None, properties=None): # noqa: E501 - """LabelCreateRequest - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, org_id=None, name=None, properties=None): # noqa: E501,D401,D403 + """LabelCreateRequest - a model defined in OpenAPI.""" # noqa: E501 self._org_id = None self._name = None self._properties = None @@ -58,73 +58,66 @@ def __init__(self, org_id=None, name=None, properties=None): # noqa: E501 @property def org_id(self): - """Gets the org_id of this LabelCreateRequest. # noqa: E501 - + """Get the org_id of this LabelCreateRequest. - :return: The org_id of this LabelCreateRequest. # noqa: E501 + :return: The org_id of this LabelCreateRequest. :rtype: str - """ + """ # noqa: E501 return self._org_id @org_id.setter def org_id(self, org_id): - """Sets the org_id of this LabelCreateRequest. + """Set the org_id of this LabelCreateRequest. - - :param org_id: The org_id of this LabelCreateRequest. # noqa: E501 + :param org_id: The org_id of this LabelCreateRequest. :type: str - """ + """ # noqa: E501 if org_id is None: raise ValueError("Invalid value for `org_id`, must not be `None`") # noqa: E501 - self._org_id = org_id @property def name(self): - """Gets the name of this LabelCreateRequest. # noqa: E501 + """Get the name of this LabelCreateRequest. - - :return: The name of this LabelCreateRequest. # noqa: E501 + :return: The name of this LabelCreateRequest. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this LabelCreateRequest. - + """Set the name of this LabelCreateRequest. - :param name: The name of this LabelCreateRequest. # noqa: E501 + :param name: The name of this LabelCreateRequest. :type: str - """ - + """ # noqa: E501 self._name = name @property def properties(self): - """Gets the properties of this LabelCreateRequest. # noqa: E501 + """Get the properties of this LabelCreateRequest. - Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value. # noqa: E501 + Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value. - :return: The properties of this LabelCreateRequest. # noqa: E501 + :return: The properties of this LabelCreateRequest. :rtype: dict(str, str) - """ + """ # noqa: E501 return self._properties @properties.setter def properties(self, properties): - """Sets the properties of this LabelCreateRequest. + """Set the properties of this LabelCreateRequest. - Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value. # noqa: E501 + Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value. - :param properties: The properties of this LabelCreateRequest. # noqa: E501 + :param properties: The properties of this LabelCreateRequest. :type: dict(str, str) - """ - + """ # noqa: E501 self._properties = properties def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -148,20 +141,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, LabelCreateRequest): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/label_mapping.py b/influxdb_client/domain/label_mapping.py index 356bbaf4..f0f520bb 100644 --- a/influxdb_client/domain/label_mapping.py +++ b/influxdb_client/domain/label_mapping.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class LabelMapping(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class LabelMapping(object): 'label_id': 'labelID' } - def __init__(self, label_id=None): # noqa: E501 - """LabelMapping - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, label_id=None): # noqa: E501,D401,D403 + """LabelMapping - a model defined in OpenAPI.""" # noqa: E501 self._label_id = None self.discriminator = None @@ -49,27 +49,24 @@ def __init__(self, label_id=None): # noqa: E501 @property def label_id(self): - """Gets the label_id of this LabelMapping. # noqa: E501 - + """Get the label_id of this LabelMapping. - :return: The label_id of this LabelMapping. # noqa: E501 + :return: The label_id of this LabelMapping. :rtype: str - """ + """ # noqa: E501 return self._label_id @label_id.setter def label_id(self, label_id): - """Sets the label_id of this LabelMapping. + """Set the label_id of this LabelMapping. - - :param label_id: The label_id of this LabelMapping. # noqa: E501 + :param label_id: The label_id of this LabelMapping. :type: str - """ - + """ # noqa: E501 self._label_id = label_id def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -93,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, LabelMapping): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/label_response.py b/influxdb_client/domain/label_response.py index 27627721..32b01c05 100644 --- a/influxdb_client/domain/label_response.py +++ b/influxdb_client/domain/label_response.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class LabelResponse(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class LabelResponse(object): 'links': 'links' } - def __init__(self, label=None, links=None): # noqa: E501 - """LabelResponse - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, label=None, links=None): # noqa: E501,D401,D403 + """LabelResponse - a model defined in OpenAPI.""" # noqa: E501 self._label = None self._links = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, label=None, links=None): # noqa: E501 @property def label(self): - """Gets the label of this LabelResponse. # noqa: E501 + """Get the label of this LabelResponse. - - :return: The label of this LabelResponse. # noqa: E501 + :return: The label of this LabelResponse. :rtype: Label - """ + """ # noqa: E501 return self._label @label.setter def label(self, label): - """Sets the label of this LabelResponse. - + """Set the label of this LabelResponse. - :param label: The label of this LabelResponse. # noqa: E501 + :param label: The label of this LabelResponse. :type: Label - """ - + """ # noqa: E501 self._label = label @property def links(self): - """Gets the links of this LabelResponse. # noqa: E501 - + """Get the links of this LabelResponse. - :return: The links of this LabelResponse. # noqa: E501 + :return: The links of this LabelResponse. :rtype: Links - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this LabelResponse. + """Set the links of this LabelResponse. - - :param links: The links of this LabelResponse. # noqa: E501 + :param links: The links of this LabelResponse. :type: Links - """ - + """ # noqa: E501 self._links = links def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, LabelResponse): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/label_update.py b/influxdb_client/domain/label_update.py index acbd9a87..02e8d559 100644 --- a/influxdb_client/domain/label_update.py +++ b/influxdb_client/domain/label_update.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class LabelUpdate(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class LabelUpdate(object): 'properties': 'properties' } - def __init__(self, name=None, properties=None): # noqa: E501 - """LabelUpdate - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, name=None, properties=None): # noqa: E501,D401,D403 + """LabelUpdate - a model defined in OpenAPI.""" # noqa: E501 self._name = None self._properties = None self.discriminator = None @@ -54,50 +54,46 @@ def __init__(self, name=None, properties=None): # noqa: E501 @property def name(self): - """Gets the name of this LabelUpdate. # noqa: E501 - + """Get the name of this LabelUpdate. - :return: The name of this LabelUpdate. # noqa: E501 + :return: The name of this LabelUpdate. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this LabelUpdate. + """Set the name of this LabelUpdate. - - :param name: The name of this LabelUpdate. # noqa: E501 + :param name: The name of this LabelUpdate. :type: str - """ - + """ # noqa: E501 self._name = name @property def properties(self): - """Gets the properties of this LabelUpdate. # noqa: E501 + """Get the properties of this LabelUpdate. - Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value. # noqa: E501 + Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value. - :return: The properties of this LabelUpdate. # noqa: E501 + :return: The properties of this LabelUpdate. :rtype: object - """ + """ # noqa: E501 return self._properties @properties.setter def properties(self, properties): - """Sets the properties of this LabelUpdate. + """Set the properties of this LabelUpdate. - Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value. # noqa: E501 + Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value. - :param properties: The properties of this LabelUpdate. # noqa: E501 + :param properties: The properties of this LabelUpdate. :type: object - """ - + """ # noqa: E501 self._properties = properties def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +117,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, LabelUpdate): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/labels_response.py b/influxdb_client/domain/labels_response.py index 53cc6edf..edbd5fb0 100644 --- a/influxdb_client/domain/labels_response.py +++ b/influxdb_client/domain/labels_response.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class LabelsResponse(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class LabelsResponse(object): 'links': 'links' } - def __init__(self, labels=None, links=None): # noqa: E501 - """LabelsResponse - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, labels=None, links=None): # noqa: E501,D401,D403 + """LabelsResponse - a model defined in OpenAPI.""" # noqa: E501 self._labels = None self._links = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, labels=None, links=None): # noqa: E501 @property def labels(self): - """Gets the labels of this LabelsResponse. # noqa: E501 + """Get the labels of this LabelsResponse. - - :return: The labels of this LabelsResponse. # noqa: E501 + :return: The labels of this LabelsResponse. :rtype: list[Label] - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this LabelsResponse. - + """Set the labels of this LabelsResponse. - :param labels: The labels of this LabelsResponse. # noqa: E501 + :param labels: The labels of this LabelsResponse. :type: list[Label] - """ - + """ # noqa: E501 self._labels = labels @property def links(self): - """Gets the links of this LabelsResponse. # noqa: E501 - + """Get the links of this LabelsResponse. - :return: The links of this LabelsResponse. # noqa: E501 + :return: The links of this LabelsResponse. :rtype: Links - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this LabelsResponse. + """Set the links of this LabelsResponse. - - :param links: The links of this LabelsResponse. # noqa: E501 + :param links: The links of this LabelsResponse. :type: Links - """ - + """ # noqa: E501 self._links = links def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, LabelsResponse): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/language_request.py b/influxdb_client/domain/language_request.py index 42773d78..b4e7988a 100644 --- a/influxdb_client/domain/language_request.py +++ b/influxdb_client/domain/language_request.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class LanguageRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class LanguageRequest(object): 'query': 'query' } - def __init__(self, query=None): # noqa: E501 - """LanguageRequest - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, query=None): # noqa: E501,D401,D403 + """LanguageRequest - a model defined in OpenAPI.""" # noqa: E501 self._query = None self.discriminator = None @@ -48,31 +48,30 @@ def __init__(self, query=None): # noqa: E501 @property def query(self): - """Gets the query of this LanguageRequest. # noqa: E501 + """Get the query of this LanguageRequest. - Flux query script to be analyzed # noqa: E501 + Flux query script to be analyzed - :return: The query of this LanguageRequest. # noqa: E501 + :return: The query of this LanguageRequest. :rtype: str - """ + """ # noqa: E501 return self._query @query.setter def query(self, query): - """Sets the query of this LanguageRequest. + """Set the query of this LanguageRequest. - Flux query script to be analyzed # noqa: E501 + Flux query script to be analyzed - :param query: The query of this LanguageRequest. # noqa: E501 + :param query: The query of this LanguageRequest. :type: str - """ + """ # noqa: E501 if query is None: raise ValueError("Invalid value for `query`, must not be `None`") # noqa: E501 - self._query = query def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -96,20 +95,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, LanguageRequest): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/legend.py b/influxdb_client/domain/legend.py index cd5e0752..89be03fb 100644 --- a/influxdb_client/domain/legend.py +++ b/influxdb_client/domain/legend.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Legend(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class Legend(object): 'orientation': 'orientation' } - def __init__(self, type=None, orientation=None): # noqa: E501 - """Legend - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, orientation=None): # noqa: E501,D401,D403 + """Legend - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._orientation = None self.discriminator = None @@ -54,52 +54,50 @@ def __init__(self, type=None, orientation=None): # noqa: E501 @property def type(self): - """Gets the type of this Legend. # noqa: E501 + """Get the type of this Legend. - The style of the legend. # noqa: E501 + The style of the legend. - :return: The type of this Legend. # noqa: E501 + :return: The type of this Legend. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this Legend. + """Set the type of this Legend. - The style of the legend. # noqa: E501 + The style of the legend. - :param type: The type of this Legend. # noqa: E501 + :param type: The type of this Legend. :type: str - """ - + """ # noqa: E501 self._type = type @property def orientation(self): - """Gets the orientation of this Legend. # noqa: E501 + """Get the orientation of this Legend. - orientation is the location of the legend with respect to the view graph # noqa: E501 + orientation is the location of the legend with respect to the view graph - :return: The orientation of this Legend. # noqa: E501 + :return: The orientation of this Legend. :rtype: str - """ + """ # noqa: E501 return self._orientation @orientation.setter def orientation(self, orientation): - """Sets the orientation of this Legend. + """Set the orientation of this Legend. - orientation is the location of the legend with respect to the view graph # noqa: E501 + orientation is the location of the legend with respect to the view graph - :param orientation: The orientation of this Legend. # noqa: E501 + :param orientation: The orientation of this Legend. :type: str - """ - + """ # noqa: E501 self._orientation = orientation def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -123,20 +121,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Legend): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/lesser_threshold.py b/influxdb_client/domain/lesser_threshold.py index 488cb498..45779f82 100644 --- a/influxdb_client/domain/lesser_threshold.py +++ b/influxdb_client/domain/lesser_threshold.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class LesserThreshold(Threshold): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -41,8 +42,8 @@ class LesserThreshold(Threshold): 'value': 'value' } - def __init__(self, type=None, value=None): # noqa: E501 - """LesserThreshold - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, type=None, value=None): # noqa: E501,D401,D403 + """LesserThreshold - a model defined in OpenAPI.""" # noqa: E501 Threshold.__init__(self) # noqa: E501 self._type = None @@ -54,52 +55,46 @@ def __init__(self, type=None, value=None): # noqa: E501 @property def type(self): - """Gets the type of this LesserThreshold. # noqa: E501 - + """Get the type of this LesserThreshold. - :return: The type of this LesserThreshold. # noqa: E501 + :return: The type of this LesserThreshold. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this LesserThreshold. + """Set the type of this LesserThreshold. - - :param type: The type of this LesserThreshold. # noqa: E501 + :param type: The type of this LesserThreshold. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def value(self): - """Gets the value of this LesserThreshold. # noqa: E501 + """Get the value of this LesserThreshold. - - :return: The value of this LesserThreshold. # noqa: E501 + :return: The value of this LesserThreshold. :rtype: float - """ + """ # noqa: E501 return self._value @value.setter def value(self, value): - """Sets the value of this LesserThreshold. - + """Set the value of this LesserThreshold. - :param value: The value of this LesserThreshold. # noqa: E501 + :param value: The value of this LesserThreshold. :type: float - """ + """ # noqa: E501 if value is None: raise ValueError("Invalid value for `value`, must not be `None`") # noqa: E501 - self._value = value def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -123,20 +118,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, LesserThreshold): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/line_plus_single_stat_properties.py b/influxdb_client/domain/line_plus_single_stat_properties.py index bff1e9ab..f8ba2106 100644 --- a/influxdb_client/domain/line_plus_single_stat_properties.py +++ b/influxdb_client/domain/line_plus_single_stat_properties.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class LinePlusSingleStatProperties(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -68,9 +69,8 @@ class LinePlusSingleStatProperties(object): 'decimal_places': 'decimalPlaces' } - def __init__(self, time_format=None, type=None, queries=None, colors=None, shape=None, note=None, show_note_when_empty=None, axes=None, legend=None, x_column=None, y_column=None, shade_below=None, position=None, prefix=None, suffix=None, decimal_places=None): # noqa: E501 - """LinePlusSingleStatProperties - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, time_format=None, type=None, queries=None, colors=None, shape=None, note=None, show_note_when_empty=None, axes=None, legend=None, x_column=None, y_column=None, shade_below=None, position=None, prefix=None, suffix=None, decimal_places=None): # noqa: E501,D401,D403 + """LinePlusSingleStatProperties - a model defined in OpenAPI.""" # noqa: E501 self._time_format = None self._type = None self._queries = None @@ -112,370 +112,326 @@ def __init__(self, time_format=None, type=None, queries=None, colors=None, shape @property def time_format(self): - """Gets the time_format of this LinePlusSingleStatProperties. # noqa: E501 - + """Get the time_format of this LinePlusSingleStatProperties. - :return: The time_format of this LinePlusSingleStatProperties. # noqa: E501 + :return: The time_format of this LinePlusSingleStatProperties. :rtype: str - """ + """ # noqa: E501 return self._time_format @time_format.setter def time_format(self, time_format): - """Sets the time_format of this LinePlusSingleStatProperties. + """Set the time_format of this LinePlusSingleStatProperties. - - :param time_format: The time_format of this LinePlusSingleStatProperties. # noqa: E501 + :param time_format: The time_format of this LinePlusSingleStatProperties. :type: str - """ - + """ # noqa: E501 self._time_format = time_format @property def type(self): - """Gets the type of this LinePlusSingleStatProperties. # noqa: E501 - + """Get the type of this LinePlusSingleStatProperties. - :return: The type of this LinePlusSingleStatProperties. # noqa: E501 + :return: The type of this LinePlusSingleStatProperties. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this LinePlusSingleStatProperties. + """Set the type of this LinePlusSingleStatProperties. - - :param type: The type of this LinePlusSingleStatProperties. # noqa: E501 + :param type: The type of this LinePlusSingleStatProperties. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def queries(self): - """Gets the queries of this LinePlusSingleStatProperties. # noqa: E501 - + """Get the queries of this LinePlusSingleStatProperties. - :return: The queries of this LinePlusSingleStatProperties. # noqa: E501 + :return: The queries of this LinePlusSingleStatProperties. :rtype: list[DashboardQuery] - """ + """ # noqa: E501 return self._queries @queries.setter def queries(self, queries): - """Sets the queries of this LinePlusSingleStatProperties. + """Set the queries of this LinePlusSingleStatProperties. - - :param queries: The queries of this LinePlusSingleStatProperties. # noqa: E501 + :param queries: The queries of this LinePlusSingleStatProperties. :type: list[DashboardQuery] - """ + """ # noqa: E501 if queries is None: raise ValueError("Invalid value for `queries`, must not be `None`") # noqa: E501 - self._queries = queries @property def colors(self): - """Gets the colors of this LinePlusSingleStatProperties. # noqa: E501 + """Get the colors of this LinePlusSingleStatProperties. - Colors define color encoding of data into a visualization # noqa: E501 + Colors define color encoding of data into a visualization - :return: The colors of this LinePlusSingleStatProperties. # noqa: E501 + :return: The colors of this LinePlusSingleStatProperties. :rtype: list[DashboardColor] - """ + """ # noqa: E501 return self._colors @colors.setter def colors(self, colors): - """Sets the colors of this LinePlusSingleStatProperties. + """Set the colors of this LinePlusSingleStatProperties. - Colors define color encoding of data into a visualization # noqa: E501 + Colors define color encoding of data into a visualization - :param colors: The colors of this LinePlusSingleStatProperties. # noqa: E501 + :param colors: The colors of this LinePlusSingleStatProperties. :type: list[DashboardColor] - """ + """ # noqa: E501 if colors is None: raise ValueError("Invalid value for `colors`, must not be `None`") # noqa: E501 - self._colors = colors @property def shape(self): - """Gets the shape of this LinePlusSingleStatProperties. # noqa: E501 + """Get the shape of this LinePlusSingleStatProperties. - - :return: The shape of this LinePlusSingleStatProperties. # noqa: E501 + :return: The shape of this LinePlusSingleStatProperties. :rtype: str - """ + """ # noqa: E501 return self._shape @shape.setter def shape(self, shape): - """Sets the shape of this LinePlusSingleStatProperties. - + """Set the shape of this LinePlusSingleStatProperties. - :param shape: The shape of this LinePlusSingleStatProperties. # noqa: E501 + :param shape: The shape of this LinePlusSingleStatProperties. :type: str - """ + """ # noqa: E501 if shape is None: raise ValueError("Invalid value for `shape`, must not be `None`") # noqa: E501 - self._shape = shape @property def note(self): - """Gets the note of this LinePlusSingleStatProperties. # noqa: E501 + """Get the note of this LinePlusSingleStatProperties. - - :return: The note of this LinePlusSingleStatProperties. # noqa: E501 + :return: The note of this LinePlusSingleStatProperties. :rtype: str - """ + """ # noqa: E501 return self._note @note.setter def note(self, note): - """Sets the note of this LinePlusSingleStatProperties. - + """Set the note of this LinePlusSingleStatProperties. - :param note: The note of this LinePlusSingleStatProperties. # noqa: E501 + :param note: The note of this LinePlusSingleStatProperties. :type: str - """ + """ # noqa: E501 if note is None: raise ValueError("Invalid value for `note`, must not be `None`") # noqa: E501 - self._note = note @property def show_note_when_empty(self): - """Gets the show_note_when_empty of this LinePlusSingleStatProperties. # noqa: E501 + """Get the show_note_when_empty of this LinePlusSingleStatProperties. - If true, will display note when empty # noqa: E501 + If true, will display note when empty - :return: The show_note_when_empty of this LinePlusSingleStatProperties. # noqa: E501 + :return: The show_note_when_empty of this LinePlusSingleStatProperties. :rtype: bool - """ + """ # noqa: E501 return self._show_note_when_empty @show_note_when_empty.setter def show_note_when_empty(self, show_note_when_empty): - """Sets the show_note_when_empty of this LinePlusSingleStatProperties. + """Set the show_note_when_empty of this LinePlusSingleStatProperties. - If true, will display note when empty # noqa: E501 + If true, will display note when empty - :param show_note_when_empty: The show_note_when_empty of this LinePlusSingleStatProperties. # noqa: E501 + :param show_note_when_empty: The show_note_when_empty of this LinePlusSingleStatProperties. :type: bool - """ + """ # noqa: E501 if show_note_when_empty is None: raise ValueError("Invalid value for `show_note_when_empty`, must not be `None`") # noqa: E501 - self._show_note_when_empty = show_note_when_empty @property def axes(self): - """Gets the axes of this LinePlusSingleStatProperties. # noqa: E501 - + """Get the axes of this LinePlusSingleStatProperties. - :return: The axes of this LinePlusSingleStatProperties. # noqa: E501 + :return: The axes of this LinePlusSingleStatProperties. :rtype: Axes - """ + """ # noqa: E501 return self._axes @axes.setter def axes(self, axes): - """Sets the axes of this LinePlusSingleStatProperties. - + """Set the axes of this LinePlusSingleStatProperties. - :param axes: The axes of this LinePlusSingleStatProperties. # noqa: E501 + :param axes: The axes of this LinePlusSingleStatProperties. :type: Axes - """ + """ # noqa: E501 if axes is None: raise ValueError("Invalid value for `axes`, must not be `None`") # noqa: E501 - self._axes = axes @property def legend(self): - """Gets the legend of this LinePlusSingleStatProperties. # noqa: E501 - + """Get the legend of this LinePlusSingleStatProperties. - :return: The legend of this LinePlusSingleStatProperties. # noqa: E501 + :return: The legend of this LinePlusSingleStatProperties. :rtype: Legend - """ + """ # noqa: E501 return self._legend @legend.setter def legend(self, legend): - """Sets the legend of this LinePlusSingleStatProperties. + """Set the legend of this LinePlusSingleStatProperties. - - :param legend: The legend of this LinePlusSingleStatProperties. # noqa: E501 + :param legend: The legend of this LinePlusSingleStatProperties. :type: Legend - """ + """ # noqa: E501 if legend is None: raise ValueError("Invalid value for `legend`, must not be `None`") # noqa: E501 - self._legend = legend @property def x_column(self): - """Gets the x_column of this LinePlusSingleStatProperties. # noqa: E501 - + """Get the x_column of this LinePlusSingleStatProperties. - :return: The x_column of this LinePlusSingleStatProperties. # noqa: E501 + :return: The x_column of this LinePlusSingleStatProperties. :rtype: str - """ + """ # noqa: E501 return self._x_column @x_column.setter def x_column(self, x_column): - """Sets the x_column of this LinePlusSingleStatProperties. + """Set the x_column of this LinePlusSingleStatProperties. - - :param x_column: The x_column of this LinePlusSingleStatProperties. # noqa: E501 + :param x_column: The x_column of this LinePlusSingleStatProperties. :type: str - """ - + """ # noqa: E501 self._x_column = x_column @property def y_column(self): - """Gets the y_column of this LinePlusSingleStatProperties. # noqa: E501 - + """Get the y_column of this LinePlusSingleStatProperties. - :return: The y_column of this LinePlusSingleStatProperties. # noqa: E501 + :return: The y_column of this LinePlusSingleStatProperties. :rtype: str - """ + """ # noqa: E501 return self._y_column @y_column.setter def y_column(self, y_column): - """Sets the y_column of this LinePlusSingleStatProperties. + """Set the y_column of this LinePlusSingleStatProperties. - - :param y_column: The y_column of this LinePlusSingleStatProperties. # noqa: E501 + :param y_column: The y_column of this LinePlusSingleStatProperties. :type: str - """ - + """ # noqa: E501 self._y_column = y_column @property def shade_below(self): - """Gets the shade_below of this LinePlusSingleStatProperties. # noqa: E501 - + """Get the shade_below of this LinePlusSingleStatProperties. - :return: The shade_below of this LinePlusSingleStatProperties. # noqa: E501 + :return: The shade_below of this LinePlusSingleStatProperties. :rtype: bool - """ + """ # noqa: E501 return self._shade_below @shade_below.setter def shade_below(self, shade_below): - """Sets the shade_below of this LinePlusSingleStatProperties. + """Set the shade_below of this LinePlusSingleStatProperties. - - :param shade_below: The shade_below of this LinePlusSingleStatProperties. # noqa: E501 + :param shade_below: The shade_below of this LinePlusSingleStatProperties. :type: bool - """ - + """ # noqa: E501 self._shade_below = shade_below @property def position(self): - """Gets the position of this LinePlusSingleStatProperties. # noqa: E501 - + """Get the position of this LinePlusSingleStatProperties. - :return: The position of this LinePlusSingleStatProperties. # noqa: E501 + :return: The position of this LinePlusSingleStatProperties. :rtype: str - """ + """ # noqa: E501 return self._position @position.setter def position(self, position): - """Sets the position of this LinePlusSingleStatProperties. + """Set the position of this LinePlusSingleStatProperties. - - :param position: The position of this LinePlusSingleStatProperties. # noqa: E501 + :param position: The position of this LinePlusSingleStatProperties. :type: str - """ + """ # noqa: E501 if position is None: raise ValueError("Invalid value for `position`, must not be `None`") # noqa: E501 - self._position = position @property def prefix(self): - """Gets the prefix of this LinePlusSingleStatProperties. # noqa: E501 - + """Get the prefix of this LinePlusSingleStatProperties. - :return: The prefix of this LinePlusSingleStatProperties. # noqa: E501 + :return: The prefix of this LinePlusSingleStatProperties. :rtype: str - """ + """ # noqa: E501 return self._prefix @prefix.setter def prefix(self, prefix): - """Sets the prefix of this LinePlusSingleStatProperties. + """Set the prefix of this LinePlusSingleStatProperties. - - :param prefix: The prefix of this LinePlusSingleStatProperties. # noqa: E501 + :param prefix: The prefix of this LinePlusSingleStatProperties. :type: str - """ + """ # noqa: E501 if prefix is None: raise ValueError("Invalid value for `prefix`, must not be `None`") # noqa: E501 - self._prefix = prefix @property def suffix(self): - """Gets the suffix of this LinePlusSingleStatProperties. # noqa: E501 - + """Get the suffix of this LinePlusSingleStatProperties. - :return: The suffix of this LinePlusSingleStatProperties. # noqa: E501 + :return: The suffix of this LinePlusSingleStatProperties. :rtype: str - """ + """ # noqa: E501 return self._suffix @suffix.setter def suffix(self, suffix): - """Sets the suffix of this LinePlusSingleStatProperties. + """Set the suffix of this LinePlusSingleStatProperties. - - :param suffix: The suffix of this LinePlusSingleStatProperties. # noqa: E501 + :param suffix: The suffix of this LinePlusSingleStatProperties. :type: str - """ + """ # noqa: E501 if suffix is None: raise ValueError("Invalid value for `suffix`, must not be `None`") # noqa: E501 - self._suffix = suffix @property def decimal_places(self): - """Gets the decimal_places of this LinePlusSingleStatProperties. # noqa: E501 - + """Get the decimal_places of this LinePlusSingleStatProperties. - :return: The decimal_places of this LinePlusSingleStatProperties. # noqa: E501 + :return: The decimal_places of this LinePlusSingleStatProperties. :rtype: DecimalPlaces - """ + """ # noqa: E501 return self._decimal_places @decimal_places.setter def decimal_places(self, decimal_places): - """Sets the decimal_places of this LinePlusSingleStatProperties. + """Set the decimal_places of this LinePlusSingleStatProperties. - - :param decimal_places: The decimal_places of this LinePlusSingleStatProperties. # noqa: E501 + :param decimal_places: The decimal_places of this LinePlusSingleStatProperties. :type: DecimalPlaces - """ + """ # noqa: E501 if decimal_places is None: raise ValueError("Invalid value for `decimal_places`, must not be `None`") # noqa: E501 - self._decimal_places = decimal_places def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -499,20 +455,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, LinePlusSingleStatProperties): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/line_protocol_error.py b/influxdb_client/domain/line_protocol_error.py index 97620386..667c9784 100644 --- a/influxdb_client/domain/line_protocol_error.py +++ b/influxdb_client/domain/line_protocol_error.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class LineProtocolError(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -46,9 +47,8 @@ class LineProtocolError(object): 'line': 'line' } - def __init__(self, code=None, message=None, op=None, err=None, line=None): # noqa: E501 - """LineProtocolError - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, code=None, message=None, op=None, err=None, line=None): # noqa: E501,D401,D403 + """LineProtocolError - a model defined in OpenAPI.""" # noqa: E501 self._code = None self._message = None self._op = None @@ -65,129 +65,124 @@ def __init__(self, code=None, message=None, op=None, err=None, line=None): # no @property def code(self): - """Gets the code of this LineProtocolError. # noqa: E501 + """Get the code of this LineProtocolError. - Code is the machine-readable error code. # noqa: E501 + Code is the machine-readable error code. - :return: The code of this LineProtocolError. # noqa: E501 + :return: The code of this LineProtocolError. :rtype: str - """ + """ # noqa: E501 return self._code @code.setter def code(self, code): - """Sets the code of this LineProtocolError. + """Set the code of this LineProtocolError. - Code is the machine-readable error code. # noqa: E501 + Code is the machine-readable error code. - :param code: The code of this LineProtocolError. # noqa: E501 + :param code: The code of this LineProtocolError. :type: str - """ + """ # noqa: E501 if code is None: raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 - self._code = code @property def message(self): - """Gets the message of this LineProtocolError. # noqa: E501 + """Get the message of this LineProtocolError. - Message is a human-readable message. # noqa: E501 + Message is a human-readable message. - :return: The message of this LineProtocolError. # noqa: E501 + :return: The message of this LineProtocolError. :rtype: str - """ + """ # noqa: E501 return self._message @message.setter def message(self, message): - """Sets the message of this LineProtocolError. + """Set the message of this LineProtocolError. - Message is a human-readable message. # noqa: E501 + Message is a human-readable message. - :param message: The message of this LineProtocolError. # noqa: E501 + :param message: The message of this LineProtocolError. :type: str - """ + """ # noqa: E501 if message is None: raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501 - self._message = message @property def op(self): - """Gets the op of this LineProtocolError. # noqa: E501 + """Get the op of this LineProtocolError. - Op describes the logical code operation during error. Useful for debugging. # noqa: E501 + Op describes the logical code operation during error. Useful for debugging. - :return: The op of this LineProtocolError. # noqa: E501 + :return: The op of this LineProtocolError. :rtype: str - """ + """ # noqa: E501 return self._op @op.setter def op(self, op): - """Sets the op of this LineProtocolError. + """Set the op of this LineProtocolError. - Op describes the logical code operation during error. Useful for debugging. # noqa: E501 + Op describes the logical code operation during error. Useful for debugging. - :param op: The op of this LineProtocolError. # noqa: E501 + :param op: The op of this LineProtocolError. :type: str - """ + """ # noqa: E501 if op is None: raise ValueError("Invalid value for `op`, must not be `None`") # noqa: E501 - self._op = op @property def err(self): - """Gets the err of this LineProtocolError. # noqa: E501 + """Get the err of this LineProtocolError. - Err is a stack of errors that occurred during processing of the request. Useful for debugging. # noqa: E501 + Err is a stack of errors that occurred during processing of the request. Useful for debugging. - :return: The err of this LineProtocolError. # noqa: E501 + :return: The err of this LineProtocolError. :rtype: str - """ + """ # noqa: E501 return self._err @err.setter def err(self, err): - """Sets the err of this LineProtocolError. + """Set the err of this LineProtocolError. - Err is a stack of errors that occurred during processing of the request. Useful for debugging. # noqa: E501 + Err is a stack of errors that occurred during processing of the request. Useful for debugging. - :param err: The err of this LineProtocolError. # noqa: E501 + :param err: The err of this LineProtocolError. :type: str - """ + """ # noqa: E501 if err is None: raise ValueError("Invalid value for `err`, must not be `None`") # noqa: E501 - self._err = err @property def line(self): - """Gets the line of this LineProtocolError. # noqa: E501 + """Get the line of this LineProtocolError. - First line within sent body containing malformed data # noqa: E501 + First line within sent body containing malformed data - :return: The line of this LineProtocolError. # noqa: E501 + :return: The line of this LineProtocolError. :rtype: int - """ + """ # noqa: E501 return self._line @line.setter def line(self, line): - """Sets the line of this LineProtocolError. + """Set the line of this LineProtocolError. - First line within sent body containing malformed data # noqa: E501 + First line within sent body containing malformed data - :param line: The line of this LineProtocolError. # noqa: E501 + :param line: The line of this LineProtocolError. :type: int - """ - + """ # noqa: E501 self._line = line def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -211,20 +206,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, LineProtocolError): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/line_protocol_length_error.py b/influxdb_client/domain/line_protocol_length_error.py index 70f8519a..a4664cd2 100644 --- a/influxdb_client/domain/line_protocol_length_error.py +++ b/influxdb_client/domain/line_protocol_length_error.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class LineProtocolLengthError(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class LineProtocolLengthError(object): 'max_length': 'maxLength' } - def __init__(self, code=None, message=None, max_length=None): # noqa: E501 - """LineProtocolLengthError - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, code=None, message=None, max_length=None): # noqa: E501,D401,D403 + """LineProtocolLengthError - a model defined in OpenAPI.""" # noqa: E501 self._code = None self._message = None self._max_length = None @@ -56,81 +56,78 @@ def __init__(self, code=None, message=None, max_length=None): # noqa: E501 @property def code(self): - """Gets the code of this LineProtocolLengthError. # noqa: E501 + """Get the code of this LineProtocolLengthError. - Code is the machine-readable error code. # noqa: E501 + Code is the machine-readable error code. - :return: The code of this LineProtocolLengthError. # noqa: E501 + :return: The code of this LineProtocolLengthError. :rtype: str - """ + """ # noqa: E501 return self._code @code.setter def code(self, code): - """Sets the code of this LineProtocolLengthError. + """Set the code of this LineProtocolLengthError. - Code is the machine-readable error code. # noqa: E501 + Code is the machine-readable error code. - :param code: The code of this LineProtocolLengthError. # noqa: E501 + :param code: The code of this LineProtocolLengthError. :type: str - """ + """ # noqa: E501 if code is None: raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 - self._code = code @property def message(self): - """Gets the message of this LineProtocolLengthError. # noqa: E501 + """Get the message of this LineProtocolLengthError. - Message is a human-readable message. # noqa: E501 + Message is a human-readable message. - :return: The message of this LineProtocolLengthError. # noqa: E501 + :return: The message of this LineProtocolLengthError. :rtype: str - """ + """ # noqa: E501 return self._message @message.setter def message(self, message): - """Sets the message of this LineProtocolLengthError. + """Set the message of this LineProtocolLengthError. - Message is a human-readable message. # noqa: E501 + Message is a human-readable message. - :param message: The message of this LineProtocolLengthError. # noqa: E501 + :param message: The message of this LineProtocolLengthError. :type: str - """ + """ # noqa: E501 if message is None: raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501 - self._message = message @property def max_length(self): - """Gets the max_length of this LineProtocolLengthError. # noqa: E501 + """Get the max_length of this LineProtocolLengthError. - Max length in bytes for a body of line-protocol. # noqa: E501 + Max length in bytes for a body of line-protocol. - :return: The max_length of this LineProtocolLengthError. # noqa: E501 + :return: The max_length of this LineProtocolLengthError. :rtype: int - """ + """ # noqa: E501 return self._max_length @max_length.setter def max_length(self, max_length): - """Sets the max_length of this LineProtocolLengthError. + """Set the max_length of this LineProtocolLengthError. - Max length in bytes for a body of line-protocol. # noqa: E501 + Max length in bytes for a body of line-protocol. - :param max_length: The max_length of this LineProtocolLengthError. # noqa: E501 + :param max_length: The max_length of this LineProtocolLengthError. :type: int - """ + """ # noqa: E501 if max_length is None: raise ValueError("Invalid value for `max_length`, must not be `None`") # noqa: E501 - self._max_length = max_length def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -154,20 +151,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, LineProtocolLengthError): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/links.py b/influxdb_client/domain/links.py index 60eb44df..4b758a37 100644 --- a/influxdb_client/domain/links.py +++ b/influxdb_client/domain/links.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Links(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class Links(object): 'prev': 'prev' } - def __init__(self, next=None, _self=None, prev=None): # noqa: E501 - """Links - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, next=None, _self=None, prev=None): # noqa: E501,D401,D403 + """Links - a model defined in OpenAPI.""" # noqa: E501 self._next = None self.__self = None self._prev = None @@ -58,77 +58,74 @@ def __init__(self, next=None, _self=None, prev=None): # noqa: E501 @property def next(self): - """Gets the next of this Links. # noqa: E501 + """Get the next of this Links. - URI of resource. # noqa: E501 + URI of resource. - :return: The next of this Links. # noqa: E501 + :return: The next of this Links. :rtype: str - """ + """ # noqa: E501 return self._next @next.setter def next(self, next): - """Sets the next of this Links. + """Set the next of this Links. - URI of resource. # noqa: E501 + URI of resource. - :param next: The next of this Links. # noqa: E501 + :param next: The next of this Links. :type: str - """ - + """ # noqa: E501 self._next = next @property def _self(self): - """Gets the _self of this Links. # noqa: E501 + """Get the _self of this Links. - URI of resource. # noqa: E501 + URI of resource. - :return: The _self of this Links. # noqa: E501 + :return: The _self of this Links. :rtype: str - """ + """ # noqa: E501 return self.__self @_self.setter def _self(self, _self): - """Sets the _self of this Links. + """Set the _self of this Links. - URI of resource. # noqa: E501 + URI of resource. - :param _self: The _self of this Links. # noqa: E501 + :param _self: The _self of this Links. :type: str - """ + """ # noqa: E501 if _self is None: raise ValueError("Invalid value for `_self`, must not be `None`") # noqa: E501 - self.__self = _self @property def prev(self): - """Gets the prev of this Links. # noqa: E501 + """Get the prev of this Links. - URI of resource. # noqa: E501 + URI of resource. - :return: The prev of this Links. # noqa: E501 + :return: The prev of this Links. :rtype: str - """ + """ # noqa: E501 return self._prev @prev.setter def prev(self, prev): - """Sets the prev of this Links. + """Set the prev of this Links. - URI of resource. # noqa: E501 + URI of resource. - :param prev: The prev of this Links. # noqa: E501 + :param prev: The prev of this Links. :type: str - """ - + """ # noqa: E501 self._prev = prev def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -152,20 +149,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Links): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/log_event.py b/influxdb_client/domain/log_event.py index 9c7dc6a1..57b8186f 100644 --- a/influxdb_client/domain/log_event.py +++ b/influxdb_client/domain/log_event.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class LogEvent(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class LogEvent(object): 'message': 'message' } - def __init__(self, time=None, message=None): # noqa: E501 - """LogEvent - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, time=None, message=None): # noqa: E501,D401,D403 + """LogEvent - a model defined in OpenAPI.""" # noqa: E501 self._time = None self._message = None self.discriminator = None @@ -54,52 +54,50 @@ def __init__(self, time=None, message=None): # noqa: E501 @property def time(self): - """Gets the time of this LogEvent. # noqa: E501 + """Get the time of this LogEvent. - Time event occurred, RFC3339Nano. # noqa: E501 + Time event occurred, RFC3339Nano. - :return: The time of this LogEvent. # noqa: E501 + :return: The time of this LogEvent. :rtype: datetime - """ + """ # noqa: E501 return self._time @time.setter def time(self, time): - """Sets the time of this LogEvent. + """Set the time of this LogEvent. - Time event occurred, RFC3339Nano. # noqa: E501 + Time event occurred, RFC3339Nano. - :param time: The time of this LogEvent. # noqa: E501 + :param time: The time of this LogEvent. :type: datetime - """ - + """ # noqa: E501 self._time = time @property def message(self): - """Gets the message of this LogEvent. # noqa: E501 + """Get the message of this LogEvent. - A description of the event that occurred. # noqa: E501 + A description of the event that occurred. - :return: The message of this LogEvent. # noqa: E501 + :return: The message of this LogEvent. :rtype: str - """ + """ # noqa: E501 return self._message @message.setter def message(self, message): - """Sets the message of this LogEvent. + """Set the message of this LogEvent. - A description of the event that occurred. # noqa: E501 + A description of the event that occurred. - :param message: The message of this LogEvent. # noqa: E501 + :param message: The message of this LogEvent. :type: str - """ - + """ # noqa: E501 self._message = message def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -123,20 +121,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, LogEvent): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/logical_expression.py b/influxdb_client/domain/logical_expression.py index 67f63fea..f54cc811 100644 --- a/influxdb_client/domain/logical_expression.py +++ b/influxdb_client/domain/logical_expression.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class LogicalExpression(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class LogicalExpression(object): 'right': 'right' } - def __init__(self, type=None, operator=None, left=None, right=None): # noqa: E501 - """LogicalExpression - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, operator=None, left=None, right=None): # noqa: E501,D401,D403 + """LogicalExpression - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._operator = None self._left = None @@ -64,92 +64,82 @@ def __init__(self, type=None, operator=None, left=None, right=None): # noqa: E5 @property def type(self): - """Gets the type of this LogicalExpression. # noqa: E501 + """Get the type of this LogicalExpression. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this LogicalExpression. # noqa: E501 + :return: The type of this LogicalExpression. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this LogicalExpression. + """Set the type of this LogicalExpression. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this LogicalExpression. # noqa: E501 + :param type: The type of this LogicalExpression. :type: str - """ - + """ # noqa: E501 self._type = type @property def operator(self): - """Gets the operator of this LogicalExpression. # noqa: E501 + """Get the operator of this LogicalExpression. - - :return: The operator of this LogicalExpression. # noqa: E501 + :return: The operator of this LogicalExpression. :rtype: str - """ + """ # noqa: E501 return self._operator @operator.setter def operator(self, operator): - """Sets the operator of this LogicalExpression. - + """Set the operator of this LogicalExpression. - :param operator: The operator of this LogicalExpression. # noqa: E501 + :param operator: The operator of this LogicalExpression. :type: str - """ - + """ # noqa: E501 self._operator = operator @property def left(self): - """Gets the left of this LogicalExpression. # noqa: E501 + """Get the left of this LogicalExpression. - - :return: The left of this LogicalExpression. # noqa: E501 + :return: The left of this LogicalExpression. :rtype: Expression - """ + """ # noqa: E501 return self._left @left.setter def left(self, left): - """Sets the left of this LogicalExpression. - + """Set the left of this LogicalExpression. - :param left: The left of this LogicalExpression. # noqa: E501 + :param left: The left of this LogicalExpression. :type: Expression - """ - + """ # noqa: E501 self._left = left @property def right(self): - """Gets the right of this LogicalExpression. # noqa: E501 + """Get the right of this LogicalExpression. - - :return: The right of this LogicalExpression. # noqa: E501 + :return: The right of this LogicalExpression. :rtype: Expression - """ + """ # noqa: E501 return self._right @right.setter def right(self, right): - """Sets the right of this LogicalExpression. - + """Set the right of this LogicalExpression. - :param right: The right of this LogicalExpression. # noqa: E501 + :param right: The right of this LogicalExpression. :type: Expression - """ - + """ # noqa: E501 self._right = right def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -173,20 +163,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, LogicalExpression): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/logs.py b/influxdb_client/domain/logs.py index cdbc1f5d..1108f0a9 100644 --- a/influxdb_client/domain/logs.py +++ b/influxdb_client/domain/logs.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Logs(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class Logs(object): 'events': 'events' } - def __init__(self, events=None): # noqa: E501 - """Logs - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, events=None): # noqa: E501,D401,D403 + """Logs - a model defined in OpenAPI.""" # noqa: E501 self._events = None self.discriminator = None @@ -49,27 +49,24 @@ def __init__(self, events=None): # noqa: E501 @property def events(self): - """Gets the events of this Logs. # noqa: E501 - + """Get the events of this Logs. - :return: The events of this Logs. # noqa: E501 + :return: The events of this Logs. :rtype: list[LogEvent] - """ + """ # noqa: E501 return self._events @events.setter def events(self, events): - """Sets the events of this Logs. + """Set the events of this Logs. - - :param events: The events of this Logs. # noqa: E501 + :param events: The events of this Logs. :type: list[LogEvent] - """ - + """ # noqa: E501 self._events = events def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -93,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Logs): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/map_variable_properties.py b/influxdb_client/domain/map_variable_properties.py index 82a1ecf8..c693e73a 100644 --- a/influxdb_client/domain/map_variable_properties.py +++ b/influxdb_client/domain/map_variable_properties.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class MapVariableProperties(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class MapVariableProperties(object): 'values': 'values' } - def __init__(self, type=None, values=None): # noqa: E501 - """MapVariableProperties - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, values=None): # noqa: E501,D401,D403 + """MapVariableProperties - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._values = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, type=None, values=None): # noqa: E501 @property def type(self): - """Gets the type of this MapVariableProperties. # noqa: E501 + """Get the type of this MapVariableProperties. - - :return: The type of this MapVariableProperties. # noqa: E501 + :return: The type of this MapVariableProperties. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this MapVariableProperties. - + """Set the type of this MapVariableProperties. - :param type: The type of this MapVariableProperties. # noqa: E501 + :param type: The type of this MapVariableProperties. :type: str - """ - + """ # noqa: E501 self._type = type @property def values(self): - """Gets the values of this MapVariableProperties. # noqa: E501 - + """Get the values of this MapVariableProperties. - :return: The values of this MapVariableProperties. # noqa: E501 + :return: The values of this MapVariableProperties. :rtype: dict(str, str) - """ + """ # noqa: E501 return self._values @values.setter def values(self, values): - """Sets the values of this MapVariableProperties. + """Set the values of this MapVariableProperties. - - :param values: The values of this MapVariableProperties. # noqa: E501 + :param values: The values of this MapVariableProperties. :type: dict(str, str) - """ - + """ # noqa: E501 self._values = values def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, MapVariableProperties): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/markdown_view_properties.py b/influxdb_client/domain/markdown_view_properties.py index 9e81343a..d0a93017 100644 --- a/influxdb_client/domain/markdown_view_properties.py +++ b/influxdb_client/domain/markdown_view_properties.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class MarkdownViewProperties(ViewProperties): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -43,8 +44,8 @@ class MarkdownViewProperties(ViewProperties): 'note': 'note' } - def __init__(self, type=None, shape=None, note=None): # noqa: E501 - """MarkdownViewProperties - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, type=None, shape=None, note=None): # noqa: E501,D401,D403 + """MarkdownViewProperties - a model defined in OpenAPI.""" # noqa: E501 ViewProperties.__init__(self) # noqa: E501 self._type = None @@ -58,75 +59,66 @@ def __init__(self, type=None, shape=None, note=None): # noqa: E501 @property def type(self): - """Gets the type of this MarkdownViewProperties. # noqa: E501 - + """Get the type of this MarkdownViewProperties. - :return: The type of this MarkdownViewProperties. # noqa: E501 + :return: The type of this MarkdownViewProperties. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this MarkdownViewProperties. - + """Set the type of this MarkdownViewProperties. - :param type: The type of this MarkdownViewProperties. # noqa: E501 + :param type: The type of this MarkdownViewProperties. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def shape(self): - """Gets the shape of this MarkdownViewProperties. # noqa: E501 - + """Get the shape of this MarkdownViewProperties. - :return: The shape of this MarkdownViewProperties. # noqa: E501 + :return: The shape of this MarkdownViewProperties. :rtype: str - """ + """ # noqa: E501 return self._shape @shape.setter def shape(self, shape): - """Sets the shape of this MarkdownViewProperties. + """Set the shape of this MarkdownViewProperties. - - :param shape: The shape of this MarkdownViewProperties. # noqa: E501 + :param shape: The shape of this MarkdownViewProperties. :type: str - """ + """ # noqa: E501 if shape is None: raise ValueError("Invalid value for `shape`, must not be `None`") # noqa: E501 - self._shape = shape @property def note(self): - """Gets the note of this MarkdownViewProperties. # noqa: E501 - + """Get the note of this MarkdownViewProperties. - :return: The note of this MarkdownViewProperties. # noqa: E501 + :return: The note of this MarkdownViewProperties. :rtype: str - """ + """ # noqa: E501 return self._note @note.setter def note(self, note): - """Sets the note of this MarkdownViewProperties. + """Set the note of this MarkdownViewProperties. - - :param note: The note of this MarkdownViewProperties. # noqa: E501 + :param note: The note of this MarkdownViewProperties. :type: str - """ + """ # noqa: E501 if note is None: raise ValueError("Invalid value for `note`, must not be `None`") # noqa: E501 - self._note = note def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -150,20 +142,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, MarkdownViewProperties): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/member_assignment.py b/influxdb_client/domain/member_assignment.py index bf25b37a..c8af3785 100644 --- a/influxdb_client/domain/member_assignment.py +++ b/influxdb_client/domain/member_assignment.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class MemberAssignment(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class MemberAssignment(object): 'init': 'init' } - def __init__(self, type=None, member=None, init=None): # noqa: E501 - """MemberAssignment - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, member=None, init=None): # noqa: E501,D401,D403 + """MemberAssignment - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._member = None self._init = None @@ -59,71 +59,64 @@ def __init__(self, type=None, member=None, init=None): # noqa: E501 @property def type(self): - """Gets the type of this MemberAssignment. # noqa: E501 + """Get the type of this MemberAssignment. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this MemberAssignment. # noqa: E501 + :return: The type of this MemberAssignment. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this MemberAssignment. + """Set the type of this MemberAssignment. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this MemberAssignment. # noqa: E501 + :param type: The type of this MemberAssignment. :type: str - """ - + """ # noqa: E501 self._type = type @property def member(self): - """Gets the member of this MemberAssignment. # noqa: E501 + """Get the member of this MemberAssignment. - - :return: The member of this MemberAssignment. # noqa: E501 + :return: The member of this MemberAssignment. :rtype: MemberExpression - """ + """ # noqa: E501 return self._member @member.setter def member(self, member): - """Sets the member of this MemberAssignment. - + """Set the member of this MemberAssignment. - :param member: The member of this MemberAssignment. # noqa: E501 + :param member: The member of this MemberAssignment. :type: MemberExpression - """ - + """ # noqa: E501 self._member = member @property def init(self): - """Gets the init of this MemberAssignment. # noqa: E501 - + """Get the init of this MemberAssignment. - :return: The init of this MemberAssignment. # noqa: E501 + :return: The init of this MemberAssignment. :rtype: Expression - """ + """ # noqa: E501 return self._init @init.setter def init(self, init): - """Sets the init of this MemberAssignment. + """Set the init of this MemberAssignment. - - :param init: The init of this MemberAssignment. # noqa: E501 + :param init: The init of this MemberAssignment. :type: Expression - """ - + """ # noqa: E501 self._init = init def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -147,20 +140,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, MemberAssignment): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/member_expression.py b/influxdb_client/domain/member_expression.py index e4f0e235..de656705 100644 --- a/influxdb_client/domain/member_expression.py +++ b/influxdb_client/domain/member_expression.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class MemberExpression(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class MemberExpression(object): '_property': 'property' } - def __init__(self, type=None, object=None, _property=None): # noqa: E501 - """MemberExpression - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, object=None, _property=None): # noqa: E501,D401,D403 + """MemberExpression - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._object = None self.__property = None @@ -59,71 +59,64 @@ def __init__(self, type=None, object=None, _property=None): # noqa: E501 @property def type(self): - """Gets the type of this MemberExpression. # noqa: E501 + """Get the type of this MemberExpression. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this MemberExpression. # noqa: E501 + :return: The type of this MemberExpression. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this MemberExpression. + """Set the type of this MemberExpression. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this MemberExpression. # noqa: E501 + :param type: The type of this MemberExpression. :type: str - """ - + """ # noqa: E501 self._type = type @property def object(self): - """Gets the object of this MemberExpression. # noqa: E501 + """Get the object of this MemberExpression. - - :return: The object of this MemberExpression. # noqa: E501 + :return: The object of this MemberExpression. :rtype: Expression - """ + """ # noqa: E501 return self._object @object.setter def object(self, object): - """Sets the object of this MemberExpression. - + """Set the object of this MemberExpression. - :param object: The object of this MemberExpression. # noqa: E501 + :param object: The object of this MemberExpression. :type: Expression - """ - + """ # noqa: E501 self._object = object @property def _property(self): - """Gets the _property of this MemberExpression. # noqa: E501 - + """Get the _property of this MemberExpression. - :return: The _property of this MemberExpression. # noqa: E501 + :return: The _property of this MemberExpression. :rtype: PropertyKey - """ + """ # noqa: E501 return self.__property @_property.setter def _property(self, _property): - """Sets the _property of this MemberExpression. + """Set the _property of this MemberExpression. - - :param _property: The _property of this MemberExpression. # noqa: E501 + :param _property: The _property of this MemberExpression. :type: PropertyKey - """ - + """ # noqa: E501 self.__property = _property def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -147,20 +140,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, MemberExpression): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/model_property.py b/influxdb_client/domain/model_property.py index 607fb962..9a20839a 100644 --- a/influxdb_client/domain/model_property.py +++ b/influxdb_client/domain/model_property.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class ModelProperty(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class ModelProperty(object): 'value': 'value' } - def __init__(self, type=None, key=None, value=None): # noqa: E501 - """ModelProperty - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, key=None, value=None): # noqa: E501,D401,D403 + """ModelProperty - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._key = None self._value = None @@ -59,71 +59,64 @@ def __init__(self, type=None, key=None, value=None): # noqa: E501 @property def type(self): - """Gets the type of this ModelProperty. # noqa: E501 + """Get the type of this ModelProperty. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this ModelProperty. # noqa: E501 + :return: The type of this ModelProperty. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this ModelProperty. + """Set the type of this ModelProperty. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this ModelProperty. # noqa: E501 + :param type: The type of this ModelProperty. :type: str - """ - + """ # noqa: E501 self._type = type @property def key(self): - """Gets the key of this ModelProperty. # noqa: E501 + """Get the key of this ModelProperty. - - :return: The key of this ModelProperty. # noqa: E501 + :return: The key of this ModelProperty. :rtype: PropertyKey - """ + """ # noqa: E501 return self._key @key.setter def key(self, key): - """Sets the key of this ModelProperty. - + """Set the key of this ModelProperty. - :param key: The key of this ModelProperty. # noqa: E501 + :param key: The key of this ModelProperty. :type: PropertyKey - """ - + """ # noqa: E501 self._key = key @property def value(self): - """Gets the value of this ModelProperty. # noqa: E501 - + """Get the value of this ModelProperty. - :return: The value of this ModelProperty. # noqa: E501 + :return: The value of this ModelProperty. :rtype: Expression - """ + """ # noqa: E501 return self._value @value.setter def value(self, value): - """Sets the value of this ModelProperty. + """Set the value of this ModelProperty. - - :param value: The value of this ModelProperty. # noqa: E501 + :param value: The value of this ModelProperty. :type: Expression - """ - + """ # noqa: E501 self._value = value def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -147,20 +140,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ModelProperty): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/node.py b/influxdb_client/domain/node.py index 03831adc..afc8c73a 100644 --- a/influxdb_client/domain/node.py +++ b/influxdb_client/domain/node.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Node(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -36,12 +37,11 @@ class Node(object): attribute_map = { } - def __init__(self): # noqa: E501 - """Node - a model defined in OpenAPI""" # noqa: E501 - self.discriminator = None + def __init__(self): # noqa: E501,D401,D403 + """Node - a model defined in OpenAPI.""" # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -65,20 +65,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Node): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/notification_endpoint.py b/influxdb_client/domain/notification_endpoint.py index eee869bd..d645d6b7 100644 --- a/influxdb_client/domain/notification_endpoint.py +++ b/influxdb_client/domain/notification_endpoint.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class NotificationEndpoint(NotificationEndpointBase): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -59,13 +60,13 @@ class NotificationEndpoint(NotificationEndpointBase): 'type': 'type' } - def __init__(self, id=None, org_id=None, user_id=None, created_at=None, updated_at=None, description=None, name=None, status='active', labels=None, links=None, type=None): # noqa: E501 - """NotificationEndpoint - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, id=None, org_id=None, user_id=None, created_at=None, updated_at=None, description=None, name=None, status='active', labels=None, links=None, type=None): # noqa: E501,D401,D403 + """NotificationEndpoint - a model defined in OpenAPI.""" # noqa: E501 NotificationEndpointBase.__init__(self, id=id, org_id=org_id, user_id=user_id, created_at=created_at, updated_at=updated_at, description=description, name=name, status=status, labels=labels, links=links, type=type) # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -89,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, NotificationEndpoint): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/notification_endpoint_base.py b/influxdb_client/domain/notification_endpoint_base.py index 19b6507d..f77eca56 100644 --- a/influxdb_client/domain/notification_endpoint_base.py +++ b/influxdb_client/domain/notification_endpoint_base.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class NotificationEndpointBase(NotificationEndpointDiscriminator): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -59,8 +60,8 @@ class NotificationEndpointBase(NotificationEndpointDiscriminator): 'type': 'type' } - def __init__(self, id=None, org_id=None, user_id=None, created_at=None, updated_at=None, description=None, name=None, status='active', labels=None, links=None, type=None): # noqa: E501 - """NotificationEndpointBase - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, id=None, org_id=None, user_id=None, created_at=None, updated_at=None, description=None, name=None, status='active', labels=None, links=None, type=None): # noqa: E501,D401,D403 + """NotificationEndpointBase - a model defined in OpenAPI.""" # noqa: E501 NotificationEndpointDiscriminator.__init__(self) # noqa: E501 self._id = None @@ -99,245 +100,216 @@ def __init__(self, id=None, org_id=None, user_id=None, created_at=None, updated_ @property def id(self): - """Gets the id of this NotificationEndpointBase. # noqa: E501 - + """Get the id of this NotificationEndpointBase. - :return: The id of this NotificationEndpointBase. # noqa: E501 + :return: The id of this NotificationEndpointBase. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this NotificationEndpointBase. + """Set the id of this NotificationEndpointBase. - - :param id: The id of this NotificationEndpointBase. # noqa: E501 + :param id: The id of this NotificationEndpointBase. :type: str - """ - + """ # noqa: E501 self._id = id @property def org_id(self): - """Gets the org_id of this NotificationEndpointBase. # noqa: E501 + """Get the org_id of this NotificationEndpointBase. - - :return: The org_id of this NotificationEndpointBase. # noqa: E501 + :return: The org_id of this NotificationEndpointBase. :rtype: str - """ + """ # noqa: E501 return self._org_id @org_id.setter def org_id(self, org_id): - """Sets the org_id of this NotificationEndpointBase. - + """Set the org_id of this NotificationEndpointBase. - :param org_id: The org_id of this NotificationEndpointBase. # noqa: E501 + :param org_id: The org_id of this NotificationEndpointBase. :type: str - """ - + """ # noqa: E501 self._org_id = org_id @property def user_id(self): - """Gets the user_id of this NotificationEndpointBase. # noqa: E501 - + """Get the user_id of this NotificationEndpointBase. - :return: The user_id of this NotificationEndpointBase. # noqa: E501 + :return: The user_id of this NotificationEndpointBase. :rtype: str - """ + """ # noqa: E501 return self._user_id @user_id.setter def user_id(self, user_id): - """Sets the user_id of this NotificationEndpointBase. + """Set the user_id of this NotificationEndpointBase. - - :param user_id: The user_id of this NotificationEndpointBase. # noqa: E501 + :param user_id: The user_id of this NotificationEndpointBase. :type: str - """ - + """ # noqa: E501 self._user_id = user_id @property def created_at(self): - """Gets the created_at of this NotificationEndpointBase. # noqa: E501 + """Get the created_at of this NotificationEndpointBase. - - :return: The created_at of this NotificationEndpointBase. # noqa: E501 + :return: The created_at of this NotificationEndpointBase. :rtype: datetime - """ + """ # noqa: E501 return self._created_at @created_at.setter def created_at(self, created_at): - """Sets the created_at of this NotificationEndpointBase. - + """Set the created_at of this NotificationEndpointBase. - :param created_at: The created_at of this NotificationEndpointBase. # noqa: E501 + :param created_at: The created_at of this NotificationEndpointBase. :type: datetime - """ - + """ # noqa: E501 self._created_at = created_at @property def updated_at(self): - """Gets the updated_at of this NotificationEndpointBase. # noqa: E501 - + """Get the updated_at of this NotificationEndpointBase. - :return: The updated_at of this NotificationEndpointBase. # noqa: E501 + :return: The updated_at of this NotificationEndpointBase. :rtype: datetime - """ + """ # noqa: E501 return self._updated_at @updated_at.setter def updated_at(self, updated_at): - """Sets the updated_at of this NotificationEndpointBase. - + """Set the updated_at of this NotificationEndpointBase. - :param updated_at: The updated_at of this NotificationEndpointBase. # noqa: E501 + :param updated_at: The updated_at of this NotificationEndpointBase. :type: datetime - """ - + """ # noqa: E501 self._updated_at = updated_at @property def description(self): - """Gets the description of this NotificationEndpointBase. # noqa: E501 + """Get the description of this NotificationEndpointBase. - An optional description of the notification endpoint. # noqa: E501 + An optional description of the notification endpoint. - :return: The description of this NotificationEndpointBase. # noqa: E501 + :return: The description of this NotificationEndpointBase. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this NotificationEndpointBase. + """Set the description of this NotificationEndpointBase. - An optional description of the notification endpoint. # noqa: E501 + An optional description of the notification endpoint. - :param description: The description of this NotificationEndpointBase. # noqa: E501 + :param description: The description of this NotificationEndpointBase. :type: str - """ - + """ # noqa: E501 self._description = description @property def name(self): - """Gets the name of this NotificationEndpointBase. # noqa: E501 + """Get the name of this NotificationEndpointBase. - - :return: The name of this NotificationEndpointBase. # noqa: E501 + :return: The name of this NotificationEndpointBase. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this NotificationEndpointBase. - + """Set the name of this NotificationEndpointBase. - :param name: The name of this NotificationEndpointBase. # noqa: E501 + :param name: The name of this NotificationEndpointBase. :type: str - """ + """ # noqa: E501 if name is None: raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - self._name = name @property def status(self): - """Gets the status of this NotificationEndpointBase. # noqa: E501 + """Get the status of this NotificationEndpointBase. - The status of the endpoint. # noqa: E501 + The status of the endpoint. - :return: The status of this NotificationEndpointBase. # noqa: E501 + :return: The status of this NotificationEndpointBase. :rtype: str - """ + """ # noqa: E501 return self._status @status.setter def status(self, status): - """Sets the status of this NotificationEndpointBase. + """Set the status of this NotificationEndpointBase. - The status of the endpoint. # noqa: E501 + The status of the endpoint. - :param status: The status of this NotificationEndpointBase. # noqa: E501 + :param status: The status of this NotificationEndpointBase. :type: str - """ - + """ # noqa: E501 self._status = status @property def labels(self): - """Gets the labels of this NotificationEndpointBase. # noqa: E501 + """Get the labels of this NotificationEndpointBase. - - :return: The labels of this NotificationEndpointBase. # noqa: E501 + :return: The labels of this NotificationEndpointBase. :rtype: list[Label] - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this NotificationEndpointBase. - + """Set the labels of this NotificationEndpointBase. - :param labels: The labels of this NotificationEndpointBase. # noqa: E501 + :param labels: The labels of this NotificationEndpointBase. :type: list[Label] - """ - + """ # noqa: E501 self._labels = labels @property def links(self): - """Gets the links of this NotificationEndpointBase. # noqa: E501 - + """Get the links of this NotificationEndpointBase. - :return: The links of this NotificationEndpointBase. # noqa: E501 + :return: The links of this NotificationEndpointBase. :rtype: NotificationEndpointBaseLinks - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this NotificationEndpointBase. + """Set the links of this NotificationEndpointBase. - - :param links: The links of this NotificationEndpointBase. # noqa: E501 + :param links: The links of this NotificationEndpointBase. :type: NotificationEndpointBaseLinks - """ - + """ # noqa: E501 self._links = links @property def type(self): - """Gets the type of this NotificationEndpointBase. # noqa: E501 + """Get the type of this NotificationEndpointBase. - - :return: The type of this NotificationEndpointBase. # noqa: E501 + :return: The type of this NotificationEndpointBase. :rtype: NotificationEndpointType - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this NotificationEndpointBase. - + """Set the type of this NotificationEndpointBase. - :param type: The type of this NotificationEndpointBase. # noqa: E501 + :param type: The type of this NotificationEndpointBase. :type: NotificationEndpointType - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -361,20 +333,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, NotificationEndpointBase): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/notification_endpoint_base_links.py b/influxdb_client/domain/notification_endpoint_base_links.py index 7cef39d7..5f93a421 100644 --- a/influxdb_client/domain/notification_endpoint_base_links.py +++ b/influxdb_client/domain/notification_endpoint_base_links.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class NotificationEndpointBaseLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class NotificationEndpointBaseLinks(object): 'owners': 'owners' } - def __init__(self, _self=None, labels=None, members=None, owners=None): # noqa: E501 - """NotificationEndpointBaseLinks - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, _self=None, labels=None, members=None, owners=None): # noqa: E501,D401,D403 + """NotificationEndpointBaseLinks - a model defined in OpenAPI.""" # noqa: E501 self.__self = None self._labels = None self._members = None @@ -64,98 +64,94 @@ def __init__(self, _self=None, labels=None, members=None, owners=None): # noqa: @property def _self(self): - """Gets the _self of this NotificationEndpointBaseLinks. # noqa: E501 + """Get the _self of this NotificationEndpointBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The _self of this NotificationEndpointBaseLinks. # noqa: E501 + :return: The _self of this NotificationEndpointBaseLinks. :rtype: str - """ + """ # noqa: E501 return self.__self @_self.setter def _self(self, _self): - """Sets the _self of this NotificationEndpointBaseLinks. + """Set the _self of this NotificationEndpointBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :param _self: The _self of this NotificationEndpointBaseLinks. # noqa: E501 + :param _self: The _self of this NotificationEndpointBaseLinks. :type: str - """ - + """ # noqa: E501 self.__self = _self @property def labels(self): - """Gets the labels of this NotificationEndpointBaseLinks. # noqa: E501 + """Get the labels of this NotificationEndpointBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The labels of this NotificationEndpointBaseLinks. # noqa: E501 + :return: The labels of this NotificationEndpointBaseLinks. :rtype: str - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this NotificationEndpointBaseLinks. + """Set the labels of this NotificationEndpointBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :param labels: The labels of this NotificationEndpointBaseLinks. # noqa: E501 + :param labels: The labels of this NotificationEndpointBaseLinks. :type: str - """ - + """ # noqa: E501 self._labels = labels @property def members(self): - """Gets the members of this NotificationEndpointBaseLinks. # noqa: E501 + """Get the members of this NotificationEndpointBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The members of this NotificationEndpointBaseLinks. # noqa: E501 + :return: The members of this NotificationEndpointBaseLinks. :rtype: str - """ + """ # noqa: E501 return self._members @members.setter def members(self, members): - """Sets the members of this NotificationEndpointBaseLinks. + """Set the members of this NotificationEndpointBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :param members: The members of this NotificationEndpointBaseLinks. # noqa: E501 + :param members: The members of this NotificationEndpointBaseLinks. :type: str - """ - + """ # noqa: E501 self._members = members @property def owners(self): - """Gets the owners of this NotificationEndpointBaseLinks. # noqa: E501 + """Get the owners of this NotificationEndpointBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The owners of this NotificationEndpointBaseLinks. # noqa: E501 + :return: The owners of this NotificationEndpointBaseLinks. :rtype: str - """ + """ # noqa: E501 return self._owners @owners.setter def owners(self, owners): - """Sets the owners of this NotificationEndpointBaseLinks. + """Set the owners of this NotificationEndpointBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :param owners: The owners of this NotificationEndpointBaseLinks. # noqa: E501 + :param owners: The owners of this NotificationEndpointBaseLinks. :type: str - """ - + """ # noqa: E501 self._owners = owners def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -179,20 +175,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, NotificationEndpointBaseLinks): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/notification_endpoint_discriminator.py b/influxdb_client/domain/notification_endpoint_discriminator.py index eb7df867..1252f2a2 100644 --- a/influxdb_client/domain/notification_endpoint_discriminator.py +++ b/influxdb_client/domain/notification_endpoint_discriminator.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class NotificationEndpointDiscriminator(PostNotificationEndpoint): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -45,19 +46,19 @@ class NotificationEndpointDiscriminator(PostNotificationEndpoint): 'NotificationEndpointBase': 'NotificationEndpointBase' } - def __init__(self): # noqa: E501 - """NotificationEndpointDiscriminator - a model defined in OpenAPI""" # noqa: E501 + def __init__(self): # noqa: E501,D401,D403 + """NotificationEndpointDiscriminator - a model defined in OpenAPI.""" # noqa: E501 PostNotificationEndpoint.__init__(self) # noqa: E501 self.discriminator = 'type' def get_real_child_model(self, data): - """Returns the real base class specified by the discriminator""" + """Return the real base class specified by the discriminator.""" discriminator_key = self.attribute_map[self.discriminator] discriminator_value = data[discriminator_key] return self.discriminator_value_class_map.get(discriminator_value) def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -81,20 +82,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, NotificationEndpointDiscriminator): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/notification_endpoint_type.py b/influxdb_client/domain/notification_endpoint_type.py index 310be25f..e63116ac 100644 --- a/influxdb_client/domain/notification_endpoint_type.py +++ b/influxdb_client/domain/notification_endpoint_type.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class NotificationEndpointType(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -43,12 +44,11 @@ class NotificationEndpointType(object): attribute_map = { } - def __init__(self): # noqa: E501 - """NotificationEndpointType - a model defined in OpenAPI""" # noqa: E501 - self.discriminator = None + def __init__(self): # noqa: E501,D401,D403 + """NotificationEndpointType - a model defined in OpenAPI.""" # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -72,20 +72,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, NotificationEndpointType): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/notification_endpoint_update.py b/influxdb_client/domain/notification_endpoint_update.py index 639f32ac..cce0a0ea 100644 --- a/influxdb_client/domain/notification_endpoint_update.py +++ b/influxdb_client/domain/notification_endpoint_update.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class NotificationEndpointUpdate(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class NotificationEndpointUpdate(object): 'status': 'status' } - def __init__(self, name=None, description=None, status=None): # noqa: E501 - """NotificationEndpointUpdate - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, name=None, description=None, status=None): # noqa: E501,D401,D403 + """NotificationEndpointUpdate - a model defined in OpenAPI.""" # noqa: E501 self._name = None self._description = None self._status = None @@ -59,69 +59,60 @@ def __init__(self, name=None, description=None, status=None): # noqa: E501 @property def name(self): - """Gets the name of this NotificationEndpointUpdate. # noqa: E501 - + """Get the name of this NotificationEndpointUpdate. - :return: The name of this NotificationEndpointUpdate. # noqa: E501 + :return: The name of this NotificationEndpointUpdate. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this NotificationEndpointUpdate. + """Set the name of this NotificationEndpointUpdate. - - :param name: The name of this NotificationEndpointUpdate. # noqa: E501 + :param name: The name of this NotificationEndpointUpdate. :type: str - """ - + """ # noqa: E501 self._name = name @property def description(self): - """Gets the description of this NotificationEndpointUpdate. # noqa: E501 - + """Get the description of this NotificationEndpointUpdate. - :return: The description of this NotificationEndpointUpdate. # noqa: E501 + :return: The description of this NotificationEndpointUpdate. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this NotificationEndpointUpdate. + """Set the description of this NotificationEndpointUpdate. - - :param description: The description of this NotificationEndpointUpdate. # noqa: E501 + :param description: The description of this NotificationEndpointUpdate. :type: str - """ - + """ # noqa: E501 self._description = description @property def status(self): - """Gets the status of this NotificationEndpointUpdate. # noqa: E501 - + """Get the status of this NotificationEndpointUpdate. - :return: The status of this NotificationEndpointUpdate. # noqa: E501 + :return: The status of this NotificationEndpointUpdate. :rtype: str - """ + """ # noqa: E501 return self._status @status.setter def status(self, status): - """Sets the status of this NotificationEndpointUpdate. + """Set the status of this NotificationEndpointUpdate. - - :param status: The status of this NotificationEndpointUpdate. # noqa: E501 + :param status: The status of this NotificationEndpointUpdate. :type: str - """ - + """ # noqa: E501 self._status = status def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -145,20 +136,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, NotificationEndpointUpdate): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/notification_endpoints.py b/influxdb_client/domain/notification_endpoints.py index 1b4faae1..313653cd 100644 --- a/influxdb_client/domain/notification_endpoints.py +++ b/influxdb_client/domain/notification_endpoints.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class NotificationEndpoints(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class NotificationEndpoints(object): 'links': 'links' } - def __init__(self, notification_endpoints=None, links=None): # noqa: E501 - """NotificationEndpoints - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, notification_endpoints=None, links=None): # noqa: E501,D401,D403 + """NotificationEndpoints - a model defined in OpenAPI.""" # noqa: E501 self._notification_endpoints = None self._links = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, notification_endpoints=None, links=None): # noqa: E501 @property def notification_endpoints(self): - """Gets the notification_endpoints of this NotificationEndpoints. # noqa: E501 + """Get the notification_endpoints of this NotificationEndpoints. - - :return: The notification_endpoints of this NotificationEndpoints. # noqa: E501 + :return: The notification_endpoints of this NotificationEndpoints. :rtype: list[NotificationEndpoint] - """ + """ # noqa: E501 return self._notification_endpoints @notification_endpoints.setter def notification_endpoints(self, notification_endpoints): - """Sets the notification_endpoints of this NotificationEndpoints. - + """Set the notification_endpoints of this NotificationEndpoints. - :param notification_endpoints: The notification_endpoints of this NotificationEndpoints. # noqa: E501 + :param notification_endpoints: The notification_endpoints of this NotificationEndpoints. :type: list[NotificationEndpoint] - """ - + """ # noqa: E501 self._notification_endpoints = notification_endpoints @property def links(self): - """Gets the links of this NotificationEndpoints. # noqa: E501 - + """Get the links of this NotificationEndpoints. - :return: The links of this NotificationEndpoints. # noqa: E501 + :return: The links of this NotificationEndpoints. :rtype: Links - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this NotificationEndpoints. + """Set the links of this NotificationEndpoints. - - :param links: The links of this NotificationEndpoints. # noqa: E501 + :param links: The links of this NotificationEndpoints. :type: Links - """ - + """ # noqa: E501 self._links = links def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, NotificationEndpoints): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/notification_rule.py b/influxdb_client/domain/notification_rule.py index b2068c4a..fd050313 100644 --- a/influxdb_client/domain/notification_rule.py +++ b/influxdb_client/domain/notification_rule.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class NotificationRule(NotificationRuleBase): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -75,13 +76,13 @@ class NotificationRule(NotificationRuleBase): 'links': 'links' } - def __init__(self, id=None, endpoint_id=None, org_id=None, owner_id=None, created_at=None, updated_at=None, status=None, name=None, sleep_until=None, every=None, offset=None, runbook_link=None, limit_every=None, limit=None, tag_rules=None, description=None, status_rules=None, labels=None, links=None): # noqa: E501 - """NotificationRule - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, id=None, endpoint_id=None, org_id=None, owner_id=None, created_at=None, updated_at=None, status=None, name=None, sleep_until=None, every=None, offset=None, runbook_link=None, limit_every=None, limit=None, tag_rules=None, description=None, status_rules=None, labels=None, links=None): # noqa: E501,D401,D403 + """NotificationRule - a model defined in OpenAPI.""" # noqa: E501 NotificationRuleBase.__init__(self, id=id, endpoint_id=endpoint_id, org_id=org_id, owner_id=owner_id, created_at=created_at, updated_at=updated_at, status=status, name=name, sleep_until=sleep_until, every=every, offset=offset, runbook_link=runbook_link, limit_every=limit_every, limit=limit, tag_rules=tag_rules, description=description, status_rules=status_rules, labels=labels, links=links) # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -105,20 +106,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, NotificationRule): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/notification_rule_base.py b/influxdb_client/domain/notification_rule_base.py index 093b94ba..84f68eea 100644 --- a/influxdb_client/domain/notification_rule_base.py +++ b/influxdb_client/domain/notification_rule_base.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class NotificationRuleBase(PostNotificationRule): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -75,8 +76,8 @@ class NotificationRuleBase(PostNotificationRule): 'links': 'links' } - def __init__(self, id=None, endpoint_id=None, org_id=None, owner_id=None, created_at=None, updated_at=None, status=None, name=None, sleep_until=None, every=None, offset=None, runbook_link=None, limit_every=None, limit=None, tag_rules=None, description=None, status_rules=None, labels=None, links=None): # noqa: E501 - """NotificationRuleBase - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, id=None, endpoint_id=None, org_id=None, owner_id=None, created_at=None, updated_at=None, status=None, name=None, sleep_until=None, every=None, offset=None, runbook_link=None, limit_every=None, limit=None, tag_rules=None, description=None, status_rules=None, labels=None, links=None): # noqa: E501,D401,D403 + """NotificationRuleBase - a model defined in OpenAPI.""" # noqa: E501 PostNotificationRule.__init__(self) # noqa: E501 self._id = None @@ -134,439 +135,402 @@ def __init__(self, id=None, endpoint_id=None, org_id=None, owner_id=None, create @property def id(self): - """Gets the id of this NotificationRuleBase. # noqa: E501 - + """Get the id of this NotificationRuleBase. - :return: The id of this NotificationRuleBase. # noqa: E501 + :return: The id of this NotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this NotificationRuleBase. - + """Set the id of this NotificationRuleBase. - :param id: The id of this NotificationRuleBase. # noqa: E501 + :param id: The id of this NotificationRuleBase. :type: str - """ + """ # noqa: E501 if id is None: raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - self._id = id @property def endpoint_id(self): - """Gets the endpoint_id of this NotificationRuleBase. # noqa: E501 - + """Get the endpoint_id of this NotificationRuleBase. - :return: The endpoint_id of this NotificationRuleBase. # noqa: E501 + :return: The endpoint_id of this NotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._endpoint_id @endpoint_id.setter def endpoint_id(self, endpoint_id): - """Sets the endpoint_id of this NotificationRuleBase. + """Set the endpoint_id of this NotificationRuleBase. - - :param endpoint_id: The endpoint_id of this NotificationRuleBase. # noqa: E501 + :param endpoint_id: The endpoint_id of this NotificationRuleBase. :type: str - """ + """ # noqa: E501 if endpoint_id is None: raise ValueError("Invalid value for `endpoint_id`, must not be `None`") # noqa: E501 - self._endpoint_id = endpoint_id @property def org_id(self): - """Gets the org_id of this NotificationRuleBase. # noqa: E501 + """Get the org_id of this NotificationRuleBase. - The ID of the organization that owns this notification rule. # noqa: E501 + The ID of the organization that owns this notification rule. - :return: The org_id of this NotificationRuleBase. # noqa: E501 + :return: The org_id of this NotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._org_id @org_id.setter def org_id(self, org_id): - """Sets the org_id of this NotificationRuleBase. + """Set the org_id of this NotificationRuleBase. - The ID of the organization that owns this notification rule. # noqa: E501 + The ID of the organization that owns this notification rule. - :param org_id: The org_id of this NotificationRuleBase. # noqa: E501 + :param org_id: The org_id of this NotificationRuleBase. :type: str - """ + """ # noqa: E501 if org_id is None: raise ValueError("Invalid value for `org_id`, must not be `None`") # noqa: E501 - self._org_id = org_id @property def owner_id(self): - """Gets the owner_id of this NotificationRuleBase. # noqa: E501 + """Get the owner_id of this NotificationRuleBase. - The ID of creator used to create this notification rule. # noqa: E501 + The ID of creator used to create this notification rule. - :return: The owner_id of this NotificationRuleBase. # noqa: E501 + :return: The owner_id of this NotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._owner_id @owner_id.setter def owner_id(self, owner_id): - """Sets the owner_id of this NotificationRuleBase. + """Set the owner_id of this NotificationRuleBase. - The ID of creator used to create this notification rule. # noqa: E501 + The ID of creator used to create this notification rule. - :param owner_id: The owner_id of this NotificationRuleBase. # noqa: E501 + :param owner_id: The owner_id of this NotificationRuleBase. :type: str - """ - + """ # noqa: E501 self._owner_id = owner_id @property def created_at(self): - """Gets the created_at of this NotificationRuleBase. # noqa: E501 - + """Get the created_at of this NotificationRuleBase. - :return: The created_at of this NotificationRuleBase. # noqa: E501 + :return: The created_at of this NotificationRuleBase. :rtype: datetime - """ + """ # noqa: E501 return self._created_at @created_at.setter def created_at(self, created_at): - """Sets the created_at of this NotificationRuleBase. + """Set the created_at of this NotificationRuleBase. - - :param created_at: The created_at of this NotificationRuleBase. # noqa: E501 + :param created_at: The created_at of this NotificationRuleBase. :type: datetime - """ - + """ # noqa: E501 self._created_at = created_at @property def updated_at(self): - """Gets the updated_at of this NotificationRuleBase. # noqa: E501 - + """Get the updated_at of this NotificationRuleBase. - :return: The updated_at of this NotificationRuleBase. # noqa: E501 + :return: The updated_at of this NotificationRuleBase. :rtype: datetime - """ + """ # noqa: E501 return self._updated_at @updated_at.setter def updated_at(self, updated_at): - """Sets the updated_at of this NotificationRuleBase. + """Set the updated_at of this NotificationRuleBase. - - :param updated_at: The updated_at of this NotificationRuleBase. # noqa: E501 + :param updated_at: The updated_at of this NotificationRuleBase. :type: datetime - """ - + """ # noqa: E501 self._updated_at = updated_at @property def status(self): - """Gets the status of this NotificationRuleBase. # noqa: E501 + """Get the status of this NotificationRuleBase. - - :return: The status of this NotificationRuleBase. # noqa: E501 + :return: The status of this NotificationRuleBase. :rtype: TaskStatusType - """ + """ # noqa: E501 return self._status @status.setter def status(self, status): - """Sets the status of this NotificationRuleBase. - + """Set the status of this NotificationRuleBase. - :param status: The status of this NotificationRuleBase. # noqa: E501 + :param status: The status of this NotificationRuleBase. :type: TaskStatusType - """ + """ # noqa: E501 if status is None: raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 - self._status = status @property def name(self): - """Gets the name of this NotificationRuleBase. # noqa: E501 + """Get the name of this NotificationRuleBase. - Human-readable name describing the notification rule. # noqa: E501 + Human-readable name describing the notification rule. - :return: The name of this NotificationRuleBase. # noqa: E501 + :return: The name of this NotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this NotificationRuleBase. + """Set the name of this NotificationRuleBase. - Human-readable name describing the notification rule. # noqa: E501 + Human-readable name describing the notification rule. - :param name: The name of this NotificationRuleBase. # noqa: E501 + :param name: The name of this NotificationRuleBase. :type: str - """ + """ # noqa: E501 if name is None: raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - self._name = name @property def sleep_until(self): - """Gets the sleep_until of this NotificationRuleBase. # noqa: E501 + """Get the sleep_until of this NotificationRuleBase. - - :return: The sleep_until of this NotificationRuleBase. # noqa: E501 + :return: The sleep_until of this NotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._sleep_until @sleep_until.setter def sleep_until(self, sleep_until): - """Sets the sleep_until of this NotificationRuleBase. - + """Set the sleep_until of this NotificationRuleBase. - :param sleep_until: The sleep_until of this NotificationRuleBase. # noqa: E501 + :param sleep_until: The sleep_until of this NotificationRuleBase. :type: str - """ - + """ # noqa: E501 self._sleep_until = sleep_until @property def every(self): - """Gets the every of this NotificationRuleBase. # noqa: E501 + """Get the every of this NotificationRuleBase. - The notification repetition interval. # noqa: E501 + The notification repetition interval. - :return: The every of this NotificationRuleBase. # noqa: E501 + :return: The every of this NotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._every @every.setter def every(self, every): - """Sets the every of this NotificationRuleBase. + """Set the every of this NotificationRuleBase. - The notification repetition interval. # noqa: E501 + The notification repetition interval. - :param every: The every of this NotificationRuleBase. # noqa: E501 + :param every: The every of this NotificationRuleBase. :type: str - """ - + """ # noqa: E501 self._every = every @property def offset(self): - """Gets the offset of this NotificationRuleBase. # noqa: E501 + """Get the offset of this NotificationRuleBase. - Duration to delay after the schedule, before executing check. # noqa: E501 + Duration to delay after the schedule, before executing check. - :return: The offset of this NotificationRuleBase. # noqa: E501 + :return: The offset of this NotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._offset @offset.setter def offset(self, offset): - """Sets the offset of this NotificationRuleBase. + """Set the offset of this NotificationRuleBase. - Duration to delay after the schedule, before executing check. # noqa: E501 + Duration to delay after the schedule, before executing check. - :param offset: The offset of this NotificationRuleBase. # noqa: E501 + :param offset: The offset of this NotificationRuleBase. :type: str - """ - + """ # noqa: E501 self._offset = offset @property def runbook_link(self): - """Gets the runbook_link of this NotificationRuleBase. # noqa: E501 + """Get the runbook_link of this NotificationRuleBase. - - :return: The runbook_link of this NotificationRuleBase. # noqa: E501 + :return: The runbook_link of this NotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._runbook_link @runbook_link.setter def runbook_link(self, runbook_link): - """Sets the runbook_link of this NotificationRuleBase. - + """Set the runbook_link of this NotificationRuleBase. - :param runbook_link: The runbook_link of this NotificationRuleBase. # noqa: E501 + :param runbook_link: The runbook_link of this NotificationRuleBase. :type: str - """ - + """ # noqa: E501 self._runbook_link = runbook_link @property def limit_every(self): - """Gets the limit_every of this NotificationRuleBase. # noqa: E501 + """Get the limit_every of this NotificationRuleBase. - Don't notify me more than times every seconds. If set, limit cannot be empty. # noqa: E501 + Don't notify me more than times every seconds. If set, limit cannot be empty. - :return: The limit_every of this NotificationRuleBase. # noqa: E501 + :return: The limit_every of this NotificationRuleBase. :rtype: int - """ + """ # noqa: E501 return self._limit_every @limit_every.setter def limit_every(self, limit_every): - """Sets the limit_every of this NotificationRuleBase. + """Set the limit_every of this NotificationRuleBase. - Don't notify me more than times every seconds. If set, limit cannot be empty. # noqa: E501 + Don't notify me more than times every seconds. If set, limit cannot be empty. - :param limit_every: The limit_every of this NotificationRuleBase. # noqa: E501 + :param limit_every: The limit_every of this NotificationRuleBase. :type: int - """ - + """ # noqa: E501 self._limit_every = limit_every @property def limit(self): - """Gets the limit of this NotificationRuleBase. # noqa: E501 + """Get the limit of this NotificationRuleBase. - Don't notify me more than times every seconds. If set, limitEvery cannot be empty. # noqa: E501 + Don't notify me more than times every seconds. If set, limitEvery cannot be empty. - :return: The limit of this NotificationRuleBase. # noqa: E501 + :return: The limit of this NotificationRuleBase. :rtype: int - """ + """ # noqa: E501 return self._limit @limit.setter def limit(self, limit): - """Sets the limit of this NotificationRuleBase. + """Set the limit of this NotificationRuleBase. - Don't notify me more than times every seconds. If set, limitEvery cannot be empty. # noqa: E501 + Don't notify me more than times every seconds. If set, limitEvery cannot be empty. - :param limit: The limit of this NotificationRuleBase. # noqa: E501 + :param limit: The limit of this NotificationRuleBase. :type: int - """ - + """ # noqa: E501 self._limit = limit @property def tag_rules(self): - """Gets the tag_rules of this NotificationRuleBase. # noqa: E501 + """Get the tag_rules of this NotificationRuleBase. - List of tag rules the notification rule attempts to match. # noqa: E501 + List of tag rules the notification rule attempts to match. - :return: The tag_rules of this NotificationRuleBase. # noqa: E501 + :return: The tag_rules of this NotificationRuleBase. :rtype: list[TagRule] - """ + """ # noqa: E501 return self._tag_rules @tag_rules.setter def tag_rules(self, tag_rules): - """Sets the tag_rules of this NotificationRuleBase. + """Set the tag_rules of this NotificationRuleBase. - List of tag rules the notification rule attempts to match. # noqa: E501 + List of tag rules the notification rule attempts to match. - :param tag_rules: The tag_rules of this NotificationRuleBase. # noqa: E501 + :param tag_rules: The tag_rules of this NotificationRuleBase. :type: list[TagRule] - """ + """ # noqa: E501 if tag_rules is None: raise ValueError("Invalid value for `tag_rules`, must not be `None`") # noqa: E501 - self._tag_rules = tag_rules @property def description(self): - """Gets the description of this NotificationRuleBase. # noqa: E501 + """Get the description of this NotificationRuleBase. - An optional description of the notification rule. # noqa: E501 + An optional description of the notification rule. - :return: The description of this NotificationRuleBase. # noqa: E501 + :return: The description of this NotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this NotificationRuleBase. + """Set the description of this NotificationRuleBase. - An optional description of the notification rule. # noqa: E501 + An optional description of the notification rule. - :param description: The description of this NotificationRuleBase. # noqa: E501 + :param description: The description of this NotificationRuleBase. :type: str - """ - + """ # noqa: E501 self._description = description @property def status_rules(self): - """Gets the status_rules of this NotificationRuleBase. # noqa: E501 + """Get the status_rules of this NotificationRuleBase. - List of status rules the notification rule attempts to match. # noqa: E501 + List of status rules the notification rule attempts to match. - :return: The status_rules of this NotificationRuleBase. # noqa: E501 + :return: The status_rules of this NotificationRuleBase. :rtype: list[StatusRule] - """ + """ # noqa: E501 return self._status_rules @status_rules.setter def status_rules(self, status_rules): - """Sets the status_rules of this NotificationRuleBase. + """Set the status_rules of this NotificationRuleBase. - List of status rules the notification rule attempts to match. # noqa: E501 + List of status rules the notification rule attempts to match. - :param status_rules: The status_rules of this NotificationRuleBase. # noqa: E501 + :param status_rules: The status_rules of this NotificationRuleBase. :type: list[StatusRule] - """ + """ # noqa: E501 if status_rules is None: raise ValueError("Invalid value for `status_rules`, must not be `None`") # noqa: E501 - self._status_rules = status_rules @property def labels(self): - """Gets the labels of this NotificationRuleBase. # noqa: E501 + """Get the labels of this NotificationRuleBase. - - :return: The labels of this NotificationRuleBase. # noqa: E501 + :return: The labels of this NotificationRuleBase. :rtype: list[Label] - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this NotificationRuleBase. - + """Set the labels of this NotificationRuleBase. - :param labels: The labels of this NotificationRuleBase. # noqa: E501 + :param labels: The labels of this NotificationRuleBase. :type: list[Label] - """ - + """ # noqa: E501 self._labels = labels @property def links(self): - """Gets the links of this NotificationRuleBase. # noqa: E501 - + """Get the links of this NotificationRuleBase. - :return: The links of this NotificationRuleBase. # noqa: E501 + :return: The links of this NotificationRuleBase. :rtype: NotificationRuleBaseLinks - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this NotificationRuleBase. + """Set the links of this NotificationRuleBase. - - :param links: The links of this NotificationRuleBase. # noqa: E501 + :param links: The links of this NotificationRuleBase. :type: NotificationRuleBaseLinks - """ - + """ # noqa: E501 self._links = links def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -590,20 +554,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, NotificationRuleBase): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/notification_rule_base_links.py b/influxdb_client/domain/notification_rule_base_links.py index 3ce93ab5..a356191f 100644 --- a/influxdb_client/domain/notification_rule_base_links.py +++ b/influxdb_client/domain/notification_rule_base_links.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class NotificationRuleBaseLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class NotificationRuleBaseLinks(object): 'owners': 'owners' } - def __init__(self, _self=None, labels=None, members=None, owners=None): # noqa: E501 - """NotificationRuleBaseLinks - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, _self=None, labels=None, members=None, owners=None): # noqa: E501,D401,D403 + """NotificationRuleBaseLinks - a model defined in OpenAPI.""" # noqa: E501 self.__self = None self._labels = None self._members = None @@ -64,98 +64,94 @@ def __init__(self, _self=None, labels=None, members=None, owners=None): # noqa: @property def _self(self): - """Gets the _self of this NotificationRuleBaseLinks. # noqa: E501 + """Get the _self of this NotificationRuleBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The _self of this NotificationRuleBaseLinks. # noqa: E501 + :return: The _self of this NotificationRuleBaseLinks. :rtype: str - """ + """ # noqa: E501 return self.__self @_self.setter def _self(self, _self): - """Sets the _self of this NotificationRuleBaseLinks. + """Set the _self of this NotificationRuleBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :param _self: The _self of this NotificationRuleBaseLinks. # noqa: E501 + :param _self: The _self of this NotificationRuleBaseLinks. :type: str - """ - + """ # noqa: E501 self.__self = _self @property def labels(self): - """Gets the labels of this NotificationRuleBaseLinks. # noqa: E501 + """Get the labels of this NotificationRuleBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The labels of this NotificationRuleBaseLinks. # noqa: E501 + :return: The labels of this NotificationRuleBaseLinks. :rtype: str - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this NotificationRuleBaseLinks. + """Set the labels of this NotificationRuleBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :param labels: The labels of this NotificationRuleBaseLinks. # noqa: E501 + :param labels: The labels of this NotificationRuleBaseLinks. :type: str - """ - + """ # noqa: E501 self._labels = labels @property def members(self): - """Gets the members of this NotificationRuleBaseLinks. # noqa: E501 + """Get the members of this NotificationRuleBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The members of this NotificationRuleBaseLinks. # noqa: E501 + :return: The members of this NotificationRuleBaseLinks. :rtype: str - """ + """ # noqa: E501 return self._members @members.setter def members(self, members): - """Sets the members of this NotificationRuleBaseLinks. + """Set the members of this NotificationRuleBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :param members: The members of this NotificationRuleBaseLinks. # noqa: E501 + :param members: The members of this NotificationRuleBaseLinks. :type: str - """ - + """ # noqa: E501 self._members = members @property def owners(self): - """Gets the owners of this NotificationRuleBaseLinks. # noqa: E501 + """Get the owners of this NotificationRuleBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The owners of this NotificationRuleBaseLinks. # noqa: E501 + :return: The owners of this NotificationRuleBaseLinks. :rtype: str - """ + """ # noqa: E501 return self._owners @owners.setter def owners(self, owners): - """Sets the owners of this NotificationRuleBaseLinks. + """Set the owners of this NotificationRuleBaseLinks. - URI of resource. # noqa: E501 + URI of resource. - :param owners: The owners of this NotificationRuleBaseLinks. # noqa: E501 + :param owners: The owners of this NotificationRuleBaseLinks. :type: str - """ - + """ # noqa: E501 self._owners = owners def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -179,20 +175,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, NotificationRuleBaseLinks): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/notification_rule_discriminator.py b/influxdb_client/domain/notification_rule_discriminator.py index 745fefd6..7c4ce31a 100644 --- a/influxdb_client/domain/notification_rule_discriminator.py +++ b/influxdb_client/domain/notification_rule_discriminator.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class NotificationRuleDiscriminator(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,18 +43,17 @@ class NotificationRuleDiscriminator(object): 'NotificationRule': 'NotificationRule' } - def __init__(self): # noqa: E501 - """NotificationRuleDiscriminator - a model defined in OpenAPI""" # noqa: E501 - self.discriminator = 'type' + def __init__(self): # noqa: E501,D401,D403 + """NotificationRuleDiscriminator - a model defined in OpenAPI.""" # noqa: E501 self.discriminator = 'type' def get_real_child_model(self, data): - """Returns the real base class specified by the discriminator""" + """Return the real base class specified by the discriminator.""" discriminator_key = self.attribute_map[self.discriminator] discriminator_value = data[discriminator_key] return self.discriminator_value_class_map.get(discriminator_value) def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -77,20 +77,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, NotificationRuleDiscriminator): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/notification_rule_update.py b/influxdb_client/domain/notification_rule_update.py index dbf81974..fb15b870 100644 --- a/influxdb_client/domain/notification_rule_update.py +++ b/influxdb_client/domain/notification_rule_update.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class NotificationRuleUpdate(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class NotificationRuleUpdate(object): 'status': 'status' } - def __init__(self, name=None, description=None, status=None): # noqa: E501 - """NotificationRuleUpdate - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, name=None, description=None, status=None): # noqa: E501,D401,D403 + """NotificationRuleUpdate - a model defined in OpenAPI.""" # noqa: E501 self._name = None self._description = None self._status = None @@ -59,69 +59,60 @@ def __init__(self, name=None, description=None, status=None): # noqa: E501 @property def name(self): - """Gets the name of this NotificationRuleUpdate. # noqa: E501 - + """Get the name of this NotificationRuleUpdate. - :return: The name of this NotificationRuleUpdate. # noqa: E501 + :return: The name of this NotificationRuleUpdate. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this NotificationRuleUpdate. + """Set the name of this NotificationRuleUpdate. - - :param name: The name of this NotificationRuleUpdate. # noqa: E501 + :param name: The name of this NotificationRuleUpdate. :type: str - """ - + """ # noqa: E501 self._name = name @property def description(self): - """Gets the description of this NotificationRuleUpdate. # noqa: E501 - + """Get the description of this NotificationRuleUpdate. - :return: The description of this NotificationRuleUpdate. # noqa: E501 + :return: The description of this NotificationRuleUpdate. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this NotificationRuleUpdate. + """Set the description of this NotificationRuleUpdate. - - :param description: The description of this NotificationRuleUpdate. # noqa: E501 + :param description: The description of this NotificationRuleUpdate. :type: str - """ - + """ # noqa: E501 self._description = description @property def status(self): - """Gets the status of this NotificationRuleUpdate. # noqa: E501 - + """Get the status of this NotificationRuleUpdate. - :return: The status of this NotificationRuleUpdate. # noqa: E501 + :return: The status of this NotificationRuleUpdate. :rtype: str - """ + """ # noqa: E501 return self._status @status.setter def status(self, status): - """Sets the status of this NotificationRuleUpdate. + """Set the status of this NotificationRuleUpdate. - - :param status: The status of this NotificationRuleUpdate. # noqa: E501 + :param status: The status of this NotificationRuleUpdate. :type: str - """ - + """ # noqa: E501 self._status = status def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -145,20 +136,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, NotificationRuleUpdate): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/notification_rules.py b/influxdb_client/domain/notification_rules.py index def07c5e..8de6719b 100644 --- a/influxdb_client/domain/notification_rules.py +++ b/influxdb_client/domain/notification_rules.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class NotificationRules(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class NotificationRules(object): 'links': 'links' } - def __init__(self, notification_rules=None, links=None): # noqa: E501 - """NotificationRules - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, notification_rules=None, links=None): # noqa: E501,D401,D403 + """NotificationRules - a model defined in OpenAPI.""" # noqa: E501 self._notification_rules = None self._links = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, notification_rules=None, links=None): # noqa: E501 @property def notification_rules(self): - """Gets the notification_rules of this NotificationRules. # noqa: E501 + """Get the notification_rules of this NotificationRules. - - :return: The notification_rules of this NotificationRules. # noqa: E501 + :return: The notification_rules of this NotificationRules. :rtype: list[NotificationRule] - """ + """ # noqa: E501 return self._notification_rules @notification_rules.setter def notification_rules(self, notification_rules): - """Sets the notification_rules of this NotificationRules. - + """Set the notification_rules of this NotificationRules. - :param notification_rules: The notification_rules of this NotificationRules. # noqa: E501 + :param notification_rules: The notification_rules of this NotificationRules. :type: list[NotificationRule] - """ - + """ # noqa: E501 self._notification_rules = notification_rules @property def links(self): - """Gets the links of this NotificationRules. # noqa: E501 - + """Get the links of this NotificationRules. - :return: The links of this NotificationRules. # noqa: E501 + :return: The links of this NotificationRules. :rtype: Links - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this NotificationRules. + """Set the links of this NotificationRules. - - :param links: The links of this NotificationRules. # noqa: E501 + :param links: The links of this NotificationRules. :type: Links - """ - + """ # noqa: E501 self._links = links def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, NotificationRules): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/object_expression.py b/influxdb_client/domain/object_expression.py index 04a43d28..d99889c3 100644 --- a/influxdb_client/domain/object_expression.py +++ b/influxdb_client/domain/object_expression.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class ObjectExpression(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class ObjectExpression(object): 'properties': 'properties' } - def __init__(self, type=None, properties=None): # noqa: E501 - """ObjectExpression - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, properties=None): # noqa: E501,D401,D403 + """ObjectExpression - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._properties = None self.discriminator = None @@ -54,52 +54,50 @@ def __init__(self, type=None, properties=None): # noqa: E501 @property def type(self): - """Gets the type of this ObjectExpression. # noqa: E501 + """Get the type of this ObjectExpression. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this ObjectExpression. # noqa: E501 + :return: The type of this ObjectExpression. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this ObjectExpression. + """Set the type of this ObjectExpression. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this ObjectExpression. # noqa: E501 + :param type: The type of this ObjectExpression. :type: str - """ - + """ # noqa: E501 self._type = type @property def properties(self): - """Gets the properties of this ObjectExpression. # noqa: E501 + """Get the properties of this ObjectExpression. - Object properties # noqa: E501 + Object properties - :return: The properties of this ObjectExpression. # noqa: E501 + :return: The properties of this ObjectExpression. :rtype: list[ModelProperty] - """ + """ # noqa: E501 return self._properties @properties.setter def properties(self, properties): - """Sets the properties of this ObjectExpression. + """Set the properties of this ObjectExpression. - Object properties # noqa: E501 + Object properties - :param properties: The properties of this ObjectExpression. # noqa: E501 + :param properties: The properties of this ObjectExpression. :type: list[ModelProperty] - """ - + """ # noqa: E501 self._properties = properties def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -123,20 +121,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ObjectExpression): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/onboarding_request.py b/influxdb_client/domain/onboarding_request.py index aa02c4aa..1b030d41 100644 --- a/influxdb_client/domain/onboarding_request.py +++ b/influxdb_client/domain/onboarding_request.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class OnboardingRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -46,9 +47,8 @@ class OnboardingRequest(object): 'retention_period_hrs': 'retentionPeriodHrs' } - def __init__(self, username=None, password=None, org=None, bucket=None, retention_period_hrs=None): # noqa: E501 - """OnboardingRequest - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, username=None, password=None, org=None, bucket=None, retention_period_hrs=None): # noqa: E501,D401,D403 + """OnboardingRequest - a model defined in OpenAPI.""" # noqa: E501 self._username = None self._password = None self._org = None @@ -65,119 +65,104 @@ def __init__(self, username=None, password=None, org=None, bucket=None, retentio @property def username(self): - """Gets the username of this OnboardingRequest. # noqa: E501 - + """Get the username of this OnboardingRequest. - :return: The username of this OnboardingRequest. # noqa: E501 + :return: The username of this OnboardingRequest. :rtype: str - """ + """ # noqa: E501 return self._username @username.setter def username(self, username): - """Sets the username of this OnboardingRequest. + """Set the username of this OnboardingRequest. - - :param username: The username of this OnboardingRequest. # noqa: E501 + :param username: The username of this OnboardingRequest. :type: str - """ + """ # noqa: E501 if username is None: raise ValueError("Invalid value for `username`, must not be `None`") # noqa: E501 - self._username = username @property def password(self): - """Gets the password of this OnboardingRequest. # noqa: E501 + """Get the password of this OnboardingRequest. - - :return: The password of this OnboardingRequest. # noqa: E501 + :return: The password of this OnboardingRequest. :rtype: str - """ + """ # noqa: E501 return self._password @password.setter def password(self, password): - """Sets the password of this OnboardingRequest. - + """Set the password of this OnboardingRequest. - :param password: The password of this OnboardingRequest. # noqa: E501 + :param password: The password of this OnboardingRequest. :type: str - """ + """ # noqa: E501 if password is None: raise ValueError("Invalid value for `password`, must not be `None`") # noqa: E501 - self._password = password @property def org(self): - """Gets the org of this OnboardingRequest. # noqa: E501 - + """Get the org of this OnboardingRequest. - :return: The org of this OnboardingRequest. # noqa: E501 + :return: The org of this OnboardingRequest. :rtype: str - """ + """ # noqa: E501 return self._org @org.setter def org(self, org): - """Sets the org of this OnboardingRequest. + """Set the org of this OnboardingRequest. - - :param org: The org of this OnboardingRequest. # noqa: E501 + :param org: The org of this OnboardingRequest. :type: str - """ + """ # noqa: E501 if org is None: raise ValueError("Invalid value for `org`, must not be `None`") # noqa: E501 - self._org = org @property def bucket(self): - """Gets the bucket of this OnboardingRequest. # noqa: E501 + """Get the bucket of this OnboardingRequest. - - :return: The bucket of this OnboardingRequest. # noqa: E501 + :return: The bucket of this OnboardingRequest. :rtype: str - """ + """ # noqa: E501 return self._bucket @bucket.setter def bucket(self, bucket): - """Sets the bucket of this OnboardingRequest. - + """Set the bucket of this OnboardingRequest. - :param bucket: The bucket of this OnboardingRequest. # noqa: E501 + :param bucket: The bucket of this OnboardingRequest. :type: str - """ + """ # noqa: E501 if bucket is None: raise ValueError("Invalid value for `bucket`, must not be `None`") # noqa: E501 - self._bucket = bucket @property def retention_period_hrs(self): - """Gets the retention_period_hrs of this OnboardingRequest. # noqa: E501 - + """Get the retention_period_hrs of this OnboardingRequest. - :return: The retention_period_hrs of this OnboardingRequest. # noqa: E501 + :return: The retention_period_hrs of this OnboardingRequest. :rtype: int - """ + """ # noqa: E501 return self._retention_period_hrs @retention_period_hrs.setter def retention_period_hrs(self, retention_period_hrs): - """Sets the retention_period_hrs of this OnboardingRequest. + """Set the retention_period_hrs of this OnboardingRequest. - - :param retention_period_hrs: The retention_period_hrs of this OnboardingRequest. # noqa: E501 + :param retention_period_hrs: The retention_period_hrs of this OnboardingRequest. :type: int - """ - + """ # noqa: E501 self._retention_period_hrs = retention_period_hrs def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -201,20 +186,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, OnboardingRequest): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/onboarding_response.py b/influxdb_client/domain/onboarding_response.py index d23a5504..aac7df33 100644 --- a/influxdb_client/domain/onboarding_response.py +++ b/influxdb_client/domain/onboarding_response.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class OnboardingResponse(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class OnboardingResponse(object): 'auth': 'auth' } - def __init__(self, user=None, org=None, bucket=None, auth=None): # noqa: E501 - """OnboardingResponse - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, user=None, org=None, bucket=None, auth=None): # noqa: E501,D401,D403 + """OnboardingResponse - a model defined in OpenAPI.""" # noqa: E501 self._user = None self._org = None self._bucket = None @@ -64,90 +64,78 @@ def __init__(self, user=None, org=None, bucket=None, auth=None): # noqa: E501 @property def user(self): - """Gets the user of this OnboardingResponse. # noqa: E501 + """Get the user of this OnboardingResponse. - - :return: The user of this OnboardingResponse. # noqa: E501 + :return: The user of this OnboardingResponse. :rtype: User - """ + """ # noqa: E501 return self._user @user.setter def user(self, user): - """Sets the user of this OnboardingResponse. - + """Set the user of this OnboardingResponse. - :param user: The user of this OnboardingResponse. # noqa: E501 + :param user: The user of this OnboardingResponse. :type: User - """ - + """ # noqa: E501 self._user = user @property def org(self): - """Gets the org of this OnboardingResponse. # noqa: E501 - + """Get the org of this OnboardingResponse. - :return: The org of this OnboardingResponse. # noqa: E501 + :return: The org of this OnboardingResponse. :rtype: Organization - """ + """ # noqa: E501 return self._org @org.setter def org(self, org): - """Sets the org of this OnboardingResponse. - + """Set the org of this OnboardingResponse. - :param org: The org of this OnboardingResponse. # noqa: E501 + :param org: The org of this OnboardingResponse. :type: Organization - """ - + """ # noqa: E501 self._org = org @property def bucket(self): - """Gets the bucket of this OnboardingResponse. # noqa: E501 - + """Get the bucket of this OnboardingResponse. - :return: The bucket of this OnboardingResponse. # noqa: E501 + :return: The bucket of this OnboardingResponse. :rtype: Bucket - """ + """ # noqa: E501 return self._bucket @bucket.setter def bucket(self, bucket): - """Sets the bucket of this OnboardingResponse. + """Set the bucket of this OnboardingResponse. - - :param bucket: The bucket of this OnboardingResponse. # noqa: E501 + :param bucket: The bucket of this OnboardingResponse. :type: Bucket - """ - + """ # noqa: E501 self._bucket = bucket @property def auth(self): - """Gets the auth of this OnboardingResponse. # noqa: E501 + """Get the auth of this OnboardingResponse. - - :return: The auth of this OnboardingResponse. # noqa: E501 + :return: The auth of this OnboardingResponse. :rtype: Authorization - """ + """ # noqa: E501 return self._auth @auth.setter def auth(self, auth): - """Sets the auth of this OnboardingResponse. - + """Set the auth of this OnboardingResponse. - :param auth: The auth of this OnboardingResponse. # noqa: E501 + :param auth: The auth of this OnboardingResponse. :type: Authorization - """ - + """ # noqa: E501 self._auth = auth def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -171,20 +159,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, OnboardingResponse): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/option_statement.py b/influxdb_client/domain/option_statement.py index 00fdaed2..0b04b16a 100644 --- a/influxdb_client/domain/option_statement.py +++ b/influxdb_client/domain/option_statement.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class OptionStatement(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class OptionStatement(object): 'assignment': 'assignment' } - def __init__(self, type=None, assignment=None): # noqa: E501 - """OptionStatement - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, assignment=None): # noqa: E501,D401,D403 + """OptionStatement - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._assignment = None self.discriminator = None @@ -54,50 +54,46 @@ def __init__(self, type=None, assignment=None): # noqa: E501 @property def type(self): - """Gets the type of this OptionStatement. # noqa: E501 + """Get the type of this OptionStatement. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this OptionStatement. # noqa: E501 + :return: The type of this OptionStatement. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this OptionStatement. + """Set the type of this OptionStatement. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this OptionStatement. # noqa: E501 + :param type: The type of this OptionStatement. :type: str - """ - + """ # noqa: E501 self._type = type @property def assignment(self): - """Gets the assignment of this OptionStatement. # noqa: E501 + """Get the assignment of this OptionStatement. - - :return: The assignment of this OptionStatement. # noqa: E501 + :return: The assignment of this OptionStatement. :rtype: object - """ + """ # noqa: E501 return self._assignment @assignment.setter def assignment(self, assignment): - """Sets the assignment of this OptionStatement. - + """Set the assignment of this OptionStatement. - :param assignment: The assignment of this OptionStatement. # noqa: E501 + :param assignment: The assignment of this OptionStatement. :type: object - """ - + """ # noqa: E501 self._assignment = assignment def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +117,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, OptionStatement): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/organization.py b/influxdb_client/domain/organization.py index 742739fd..a3593d5c 100644 --- a/influxdb_client/domain/organization.py +++ b/influxdb_client/domain/organization.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Organization(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -50,9 +51,8 @@ class Organization(object): 'status': 'status' } - def __init__(self, links=None, id=None, name=None, description=None, created_at=None, updated_at=None, status='active'): # noqa: E501 - """Organization - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, links=None, id=None, name=None, description=None, created_at=None, updated_at=None, status='active'): # noqa: E501,D401,D403 + """Organization - a model defined in OpenAPI.""" # noqa: E501 self._links = None self._id = None self._name = None @@ -78,157 +78,138 @@ def __init__(self, links=None, id=None, name=None, description=None, created_at= @property def links(self): - """Gets the links of this Organization. # noqa: E501 - + """Get the links of this Organization. - :return: The links of this Organization. # noqa: E501 + :return: The links of this Organization. :rtype: OrganizationLinks - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Organization. + """Set the links of this Organization. - - :param links: The links of this Organization. # noqa: E501 + :param links: The links of this Organization. :type: OrganizationLinks - """ - + """ # noqa: E501 self._links = links @property def id(self): - """Gets the id of this Organization. # noqa: E501 - + """Get the id of this Organization. - :return: The id of this Organization. # noqa: E501 + :return: The id of this Organization. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this Organization. + """Set the id of this Organization. - - :param id: The id of this Organization. # noqa: E501 + :param id: The id of this Organization. :type: str - """ - + """ # noqa: E501 self._id = id @property def name(self): - """Gets the name of this Organization. # noqa: E501 - + """Get the name of this Organization. - :return: The name of this Organization. # noqa: E501 + :return: The name of this Organization. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this Organization. + """Set the name of this Organization. - - :param name: The name of this Organization. # noqa: E501 + :param name: The name of this Organization. :type: str - """ + """ # noqa: E501 if name is None: raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - self._name = name @property def description(self): - """Gets the description of this Organization. # noqa: E501 + """Get the description of this Organization. - - :return: The description of this Organization. # noqa: E501 + :return: The description of this Organization. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this Organization. - + """Set the description of this Organization. - :param description: The description of this Organization. # noqa: E501 + :param description: The description of this Organization. :type: str - """ - + """ # noqa: E501 self._description = description @property def created_at(self): - """Gets the created_at of this Organization. # noqa: E501 + """Get the created_at of this Organization. - - :return: The created_at of this Organization. # noqa: E501 + :return: The created_at of this Organization. :rtype: datetime - """ + """ # noqa: E501 return self._created_at @created_at.setter def created_at(self, created_at): - """Sets the created_at of this Organization. - + """Set the created_at of this Organization. - :param created_at: The created_at of this Organization. # noqa: E501 + :param created_at: The created_at of this Organization. :type: datetime - """ - + """ # noqa: E501 self._created_at = created_at @property def updated_at(self): - """Gets the updated_at of this Organization. # noqa: E501 - + """Get the updated_at of this Organization. - :return: The updated_at of this Organization. # noqa: E501 + :return: The updated_at of this Organization. :rtype: datetime - """ + """ # noqa: E501 return self._updated_at @updated_at.setter def updated_at(self, updated_at): - """Sets the updated_at of this Organization. - + """Set the updated_at of this Organization. - :param updated_at: The updated_at of this Organization. # noqa: E501 + :param updated_at: The updated_at of this Organization. :type: datetime - """ - + """ # noqa: E501 self._updated_at = updated_at @property def status(self): - """Gets the status of this Organization. # noqa: E501 + """Get the status of this Organization. - If inactive the organization is inactive. # noqa: E501 + If inactive the organization is inactive. - :return: The status of this Organization. # noqa: E501 + :return: The status of this Organization. :rtype: str - """ + """ # noqa: E501 return self._status @status.setter def status(self, status): - """Sets the status of this Organization. + """Set the status of this Organization. - If inactive the organization is inactive. # noqa: E501 + If inactive the organization is inactive. - :param status: The status of this Organization. # noqa: E501 + :param status: The status of this Organization. :type: str - """ - + """ # noqa: E501 self._status = status def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -252,20 +233,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Organization): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/organization_links.py b/influxdb_client/domain/organization_links.py index d7d298cd..4bfadf2c 100644 --- a/influxdb_client/domain/organization_links.py +++ b/influxdb_client/domain/organization_links.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class OrganizationLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -52,9 +53,8 @@ class OrganizationLinks(object): 'dashboards': 'dashboards' } - def __init__(self, _self=None, members=None, owners=None, labels=None, secrets=None, buckets=None, tasks=None, dashboards=None): # noqa: E501 - """OrganizationLinks - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, _self=None, members=None, owners=None, labels=None, secrets=None, buckets=None, tasks=None, dashboards=None): # noqa: E501,D401,D403 + """OrganizationLinks - a model defined in OpenAPI.""" # noqa: E501 self.__self = None self._members = None self._owners = None @@ -84,190 +84,182 @@ def __init__(self, _self=None, members=None, owners=None, labels=None, secrets=N @property def _self(self): - """Gets the _self of this OrganizationLinks. # noqa: E501 + """Get the _self of this OrganizationLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The _self of this OrganizationLinks. # noqa: E501 + :return: The _self of this OrganizationLinks. :rtype: str - """ + """ # noqa: E501 return self.__self @_self.setter def _self(self, _self): - """Sets the _self of this OrganizationLinks. + """Set the _self of this OrganizationLinks. - URI of resource. # noqa: E501 + URI of resource. - :param _self: The _self of this OrganizationLinks. # noqa: E501 + :param _self: The _self of this OrganizationLinks. :type: str - """ - + """ # noqa: E501 self.__self = _self @property def members(self): - """Gets the members of this OrganizationLinks. # noqa: E501 + """Get the members of this OrganizationLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The members of this OrganizationLinks. # noqa: E501 + :return: The members of this OrganizationLinks. :rtype: str - """ + """ # noqa: E501 return self._members @members.setter def members(self, members): - """Sets the members of this OrganizationLinks. + """Set the members of this OrganizationLinks. - URI of resource. # noqa: E501 + URI of resource. - :param members: The members of this OrganizationLinks. # noqa: E501 + :param members: The members of this OrganizationLinks. :type: str - """ - + """ # noqa: E501 self._members = members @property def owners(self): - """Gets the owners of this OrganizationLinks. # noqa: E501 + """Get the owners of this OrganizationLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The owners of this OrganizationLinks. # noqa: E501 + :return: The owners of this OrganizationLinks. :rtype: str - """ + """ # noqa: E501 return self._owners @owners.setter def owners(self, owners): - """Sets the owners of this OrganizationLinks. + """Set the owners of this OrganizationLinks. - URI of resource. # noqa: E501 + URI of resource. - :param owners: The owners of this OrganizationLinks. # noqa: E501 + :param owners: The owners of this OrganizationLinks. :type: str - """ - + """ # noqa: E501 self._owners = owners @property def labels(self): - """Gets the labels of this OrganizationLinks. # noqa: E501 + """Get the labels of this OrganizationLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The labels of this OrganizationLinks. # noqa: E501 + :return: The labels of this OrganizationLinks. :rtype: str - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this OrganizationLinks. + """Set the labels of this OrganizationLinks. - URI of resource. # noqa: E501 + URI of resource. - :param labels: The labels of this OrganizationLinks. # noqa: E501 + :param labels: The labels of this OrganizationLinks. :type: str - """ - + """ # noqa: E501 self._labels = labels @property def secrets(self): - """Gets the secrets of this OrganizationLinks. # noqa: E501 + """Get the secrets of this OrganizationLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The secrets of this OrganizationLinks. # noqa: E501 + :return: The secrets of this OrganizationLinks. :rtype: str - """ + """ # noqa: E501 return self._secrets @secrets.setter def secrets(self, secrets): - """Sets the secrets of this OrganizationLinks. + """Set the secrets of this OrganizationLinks. - URI of resource. # noqa: E501 + URI of resource. - :param secrets: The secrets of this OrganizationLinks. # noqa: E501 + :param secrets: The secrets of this OrganizationLinks. :type: str - """ - + """ # noqa: E501 self._secrets = secrets @property def buckets(self): - """Gets the buckets of this OrganizationLinks. # noqa: E501 + """Get the buckets of this OrganizationLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The buckets of this OrganizationLinks. # noqa: E501 + :return: The buckets of this OrganizationLinks. :rtype: str - """ + """ # noqa: E501 return self._buckets @buckets.setter def buckets(self, buckets): - """Sets the buckets of this OrganizationLinks. + """Set the buckets of this OrganizationLinks. - URI of resource. # noqa: E501 + URI of resource. - :param buckets: The buckets of this OrganizationLinks. # noqa: E501 + :param buckets: The buckets of this OrganizationLinks. :type: str - """ - + """ # noqa: E501 self._buckets = buckets @property def tasks(self): - """Gets the tasks of this OrganizationLinks. # noqa: E501 + """Get the tasks of this OrganizationLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The tasks of this OrganizationLinks. # noqa: E501 + :return: The tasks of this OrganizationLinks. :rtype: str - """ + """ # noqa: E501 return self._tasks @tasks.setter def tasks(self, tasks): - """Sets the tasks of this OrganizationLinks. + """Set the tasks of this OrganizationLinks. - URI of resource. # noqa: E501 + URI of resource. - :param tasks: The tasks of this OrganizationLinks. # noqa: E501 + :param tasks: The tasks of this OrganizationLinks. :type: str - """ - + """ # noqa: E501 self._tasks = tasks @property def dashboards(self): - """Gets the dashboards of this OrganizationLinks. # noqa: E501 + """Get the dashboards of this OrganizationLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The dashboards of this OrganizationLinks. # noqa: E501 + :return: The dashboards of this OrganizationLinks. :rtype: str - """ + """ # noqa: E501 return self._dashboards @dashboards.setter def dashboards(self, dashboards): - """Sets the dashboards of this OrganizationLinks. + """Set the dashboards of this OrganizationLinks. - URI of resource. # noqa: E501 + URI of resource. - :param dashboards: The dashboards of this OrganizationLinks. # noqa: E501 + :param dashboards: The dashboards of this OrganizationLinks. :type: str - """ - + """ # noqa: E501 self._dashboards = dashboards def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -291,20 +283,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, OrganizationLinks): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/organizations.py b/influxdb_client/domain/organizations.py index 667c481e..52a8b63b 100644 --- a/influxdb_client/domain/organizations.py +++ b/influxdb_client/domain/organizations.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Organizations(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class Organizations(object): 'orgs': 'orgs' } - def __init__(self, links=None, orgs=None): # noqa: E501 - """Organizations - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, links=None, orgs=None): # noqa: E501,D401,D403 + """Organizations - a model defined in OpenAPI.""" # noqa: E501 self._links = None self._orgs = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, links=None, orgs=None): # noqa: E501 @property def links(self): - """Gets the links of this Organizations. # noqa: E501 + """Get the links of this Organizations. - - :return: The links of this Organizations. # noqa: E501 + :return: The links of this Organizations. :rtype: Links - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Organizations. - + """Set the links of this Organizations. - :param links: The links of this Organizations. # noqa: E501 + :param links: The links of this Organizations. :type: Links - """ - + """ # noqa: E501 self._links = links @property def orgs(self): - """Gets the orgs of this Organizations. # noqa: E501 - + """Get the orgs of this Organizations. - :return: The orgs of this Organizations. # noqa: E501 + :return: The orgs of this Organizations. :rtype: list[Organization] - """ + """ # noqa: E501 return self._orgs @orgs.setter def orgs(self, orgs): - """Sets the orgs of this Organizations. + """Set the orgs of this Organizations. - - :param orgs: The orgs of this Organizations. # noqa: E501 + :param orgs: The orgs of this Organizations. :type: list[Organization] - """ - + """ # noqa: E501 self._orgs = orgs def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Organizations): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/package.py b/influxdb_client/domain/package.py index 929a7424..c065fde9 100644 --- a/influxdb_client/domain/package.py +++ b/influxdb_client/domain/package.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Package(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class Package(object): 'files': 'files' } - def __init__(self, type=None, path=None, package=None, files=None): # noqa: E501 - """Package - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, path=None, package=None, files=None): # noqa: E501,D401,D403 + """Package - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._path = None self._package = None @@ -64,98 +64,94 @@ def __init__(self, type=None, path=None, package=None, files=None): # noqa: E50 @property def type(self): - """Gets the type of this Package. # noqa: E501 + """Get the type of this Package. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this Package. # noqa: E501 + :return: The type of this Package. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this Package. + """Set the type of this Package. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this Package. # noqa: E501 + :param type: The type of this Package. :type: str - """ - + """ # noqa: E501 self._type = type @property def path(self): - """Gets the path of this Package. # noqa: E501 + """Get the path of this Package. - Package import path # noqa: E501 + Package import path - :return: The path of this Package. # noqa: E501 + :return: The path of this Package. :rtype: str - """ + """ # noqa: E501 return self._path @path.setter def path(self, path): - """Sets the path of this Package. + """Set the path of this Package. - Package import path # noqa: E501 + Package import path - :param path: The path of this Package. # noqa: E501 + :param path: The path of this Package. :type: str - """ - + """ # noqa: E501 self._path = path @property def package(self): - """Gets the package of this Package. # noqa: E501 + """Get the package of this Package. - Package name # noqa: E501 + Package name - :return: The package of this Package. # noqa: E501 + :return: The package of this Package. :rtype: str - """ + """ # noqa: E501 return self._package @package.setter def package(self, package): - """Sets the package of this Package. + """Set the package of this Package. - Package name # noqa: E501 + Package name - :param package: The package of this Package. # noqa: E501 + :param package: The package of this Package. :type: str - """ - + """ # noqa: E501 self._package = package @property def files(self): - """Gets the files of this Package. # noqa: E501 + """Get the files of this Package. - Package files # noqa: E501 + Package files - :return: The files of this Package. # noqa: E501 + :return: The files of this Package. :rtype: list[File] - """ + """ # noqa: E501 return self._files @files.setter def files(self, files): - """Sets the files of this Package. + """Set the files of this Package. - Package files # noqa: E501 + Package files - :param files: The files of this Package. # noqa: E501 + :param files: The files of this Package. :type: list[File] - """ - + """ # noqa: E501 self._files = files def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -179,20 +175,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Package): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/package_clause.py b/influxdb_client/domain/package_clause.py index dda2dbfa..745a8abf 100644 --- a/influxdb_client/domain/package_clause.py +++ b/influxdb_client/domain/package_clause.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PackageClause(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class PackageClause(object): 'name': 'name' } - def __init__(self, type=None, name=None): # noqa: E501 - """PackageClause - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, name=None): # noqa: E501,D401,D403 + """PackageClause - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._name = None self.discriminator = None @@ -54,50 +54,46 @@ def __init__(self, type=None, name=None): # noqa: E501 @property def type(self): - """Gets the type of this PackageClause. # noqa: E501 + """Get the type of this PackageClause. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this PackageClause. # noqa: E501 + :return: The type of this PackageClause. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this PackageClause. + """Set the type of this PackageClause. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this PackageClause. # noqa: E501 + :param type: The type of this PackageClause. :type: str - """ - + """ # noqa: E501 self._type = type @property def name(self): - """Gets the name of this PackageClause. # noqa: E501 + """Get the name of this PackageClause. - - :return: The name of this PackageClause. # noqa: E501 + :return: The name of this PackageClause. :rtype: Identifier - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this PackageClause. - + """Set the name of this PackageClause. - :param name: The name of this PackageClause. # noqa: E501 + :param name: The name of this PackageClause. :type: Identifier - """ - + """ # noqa: E501 self._name = name def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +117,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PackageClause): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pager_duty_notification_endpoint.py b/influxdb_client/domain/pager_duty_notification_endpoint.py index ee7c4f07..8b9042be 100644 --- a/influxdb_client/domain/pager_duty_notification_endpoint.py +++ b/influxdb_client/domain/pager_duty_notification_endpoint.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class PagerDutyNotificationEndpoint(NotificationEndpoint): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -41,8 +42,8 @@ class PagerDutyNotificationEndpoint(NotificationEndpoint): 'routing_key': 'routingKey' } - def __init__(self, client_url=None, routing_key=None): # noqa: E501 - """PagerDutyNotificationEndpoint - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, client_url=None, routing_key=None): # noqa: E501,D401,D403 + """PagerDutyNotificationEndpoint - a model defined in OpenAPI.""" # noqa: E501 NotificationEndpoint.__init__(self) # noqa: E501 self._client_url = None @@ -54,52 +55,46 @@ def __init__(self, client_url=None, routing_key=None): # noqa: E501 @property def client_url(self): - """Gets the client_url of this PagerDutyNotificationEndpoint. # noqa: E501 - + """Get the client_url of this PagerDutyNotificationEndpoint. - :return: The client_url of this PagerDutyNotificationEndpoint. # noqa: E501 + :return: The client_url of this PagerDutyNotificationEndpoint. :rtype: str - """ + """ # noqa: E501 return self._client_url @client_url.setter def client_url(self, client_url): - """Sets the client_url of this PagerDutyNotificationEndpoint. + """Set the client_url of this PagerDutyNotificationEndpoint. - - :param client_url: The client_url of this PagerDutyNotificationEndpoint. # noqa: E501 + :param client_url: The client_url of this PagerDutyNotificationEndpoint. :type: str - """ + """ # noqa: E501 if client_url is None: raise ValueError("Invalid value for `client_url`, must not be `None`") # noqa: E501 - self._client_url = client_url @property def routing_key(self): - """Gets the routing_key of this PagerDutyNotificationEndpoint. # noqa: E501 + """Get the routing_key of this PagerDutyNotificationEndpoint. - - :return: The routing_key of this PagerDutyNotificationEndpoint. # noqa: E501 + :return: The routing_key of this PagerDutyNotificationEndpoint. :rtype: str - """ + """ # noqa: E501 return self._routing_key @routing_key.setter def routing_key(self, routing_key): - """Sets the routing_key of this PagerDutyNotificationEndpoint. - + """Set the routing_key of this PagerDutyNotificationEndpoint. - :param routing_key: The routing_key of this PagerDutyNotificationEndpoint. # noqa: E501 + :param routing_key: The routing_key of this PagerDutyNotificationEndpoint. :type: str - """ + """ # noqa: E501 if routing_key is None: raise ValueError("Invalid value for `routing_key`, must not be `None`") # noqa: E501 - self._routing_key = routing_key def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -123,20 +118,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PagerDutyNotificationEndpoint): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pager_duty_notification_rule.py b/influxdb_client/domain/pager_duty_notification_rule.py index bf947ef3..7d73bbac 100644 --- a/influxdb_client/domain/pager_duty_notification_rule.py +++ b/influxdb_client/domain/pager_duty_notification_rule.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class PagerDutyNotificationRule(PagerDutyNotificationRuleBase): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -41,13 +42,13 @@ class PagerDutyNotificationRule(PagerDutyNotificationRuleBase): 'message_template': 'messageTemplate' } - def __init__(self, type=None, message_template=None): # noqa: E501 - """PagerDutyNotificationRule - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, type=None, message_template=None): # noqa: E501,D401,D403 + """PagerDutyNotificationRule - a model defined in OpenAPI.""" # noqa: E501 PagerDutyNotificationRuleBase.__init__(self, type=type, message_template=message_template) # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -71,20 +72,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PagerDutyNotificationRule): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pager_duty_notification_rule_base.py b/influxdb_client/domain/pager_duty_notification_rule_base.py index bc9ae23b..5407a637 100644 --- a/influxdb_client/domain/pager_duty_notification_rule_base.py +++ b/influxdb_client/domain/pager_duty_notification_rule_base.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PagerDutyNotificationRuleBase(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class PagerDutyNotificationRuleBase(object): 'message_template': 'messageTemplate' } - def __init__(self, type=None, message_template=None): # noqa: E501 - """PagerDutyNotificationRuleBase - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, message_template=None): # noqa: E501,D401,D403 + """PagerDutyNotificationRuleBase - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._message_template = None self.discriminator = None @@ -52,52 +52,46 @@ def __init__(self, type=None, message_template=None): # noqa: E501 @property def type(self): - """Gets the type of this PagerDutyNotificationRuleBase. # noqa: E501 + """Get the type of this PagerDutyNotificationRuleBase. - - :return: The type of this PagerDutyNotificationRuleBase. # noqa: E501 + :return: The type of this PagerDutyNotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this PagerDutyNotificationRuleBase. - + """Set the type of this PagerDutyNotificationRuleBase. - :param type: The type of this PagerDutyNotificationRuleBase. # noqa: E501 + :param type: The type of this PagerDutyNotificationRuleBase. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def message_template(self): - """Gets the message_template of this PagerDutyNotificationRuleBase. # noqa: E501 - + """Get the message_template of this PagerDutyNotificationRuleBase. - :return: The message_template of this PagerDutyNotificationRuleBase. # noqa: E501 + :return: The message_template of this PagerDutyNotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._message_template @message_template.setter def message_template(self, message_template): - """Sets the message_template of this PagerDutyNotificationRuleBase. + """Set the message_template of this PagerDutyNotificationRuleBase. - - :param message_template: The message_template of this PagerDutyNotificationRuleBase. # noqa: E501 + :param message_template: The message_template of this PagerDutyNotificationRuleBase. :type: str - """ + """ # noqa: E501 if message_template is None: raise ValueError("Invalid value for `message_template`, must not be `None`") # noqa: E501 - self._message_template = message_template def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +115,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PagerDutyNotificationRuleBase): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/paren_expression.py b/influxdb_client/domain/paren_expression.py index 31204cde..d98f8e5f 100644 --- a/influxdb_client/domain/paren_expression.py +++ b/influxdb_client/domain/paren_expression.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class ParenExpression(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class ParenExpression(object): 'expression': 'expression' } - def __init__(self, type=None, expression=None): # noqa: E501 - """ParenExpression - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, expression=None): # noqa: E501,D401,D403 + """ParenExpression - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._expression = None self.discriminator = None @@ -54,50 +54,46 @@ def __init__(self, type=None, expression=None): # noqa: E501 @property def type(self): - """Gets the type of this ParenExpression. # noqa: E501 + """Get the type of this ParenExpression. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this ParenExpression. # noqa: E501 + :return: The type of this ParenExpression. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this ParenExpression. + """Set the type of this ParenExpression. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this ParenExpression. # noqa: E501 + :param type: The type of this ParenExpression. :type: str - """ - + """ # noqa: E501 self._type = type @property def expression(self): - """Gets the expression of this ParenExpression. # noqa: E501 + """Get the expression of this ParenExpression. - - :return: The expression of this ParenExpression. # noqa: E501 + :return: The expression of this ParenExpression. :rtype: Expression - """ + """ # noqa: E501 return self._expression @expression.setter def expression(self, expression): - """Sets the expression of this ParenExpression. - + """Set the expression of this ParenExpression. - :param expression: The expression of this ParenExpression. # noqa: E501 + :param expression: The expression of this ParenExpression. :type: Expression - """ - + """ # noqa: E501 self._expression = expression def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +117,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ParenExpression): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/password_reset_body.py b/influxdb_client/domain/password_reset_body.py index 82b9dec0..7a4b7855 100644 --- a/influxdb_client/domain/password_reset_body.py +++ b/influxdb_client/domain/password_reset_body.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PasswordResetBody(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class PasswordResetBody(object): 'password': 'password' } - def __init__(self, password=None): # noqa: E501 - """PasswordResetBody - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, password=None): # noqa: E501,D401,D403 + """PasswordResetBody - a model defined in OpenAPI.""" # noqa: E501 self._password = None self.discriminator = None @@ -48,29 +48,26 @@ def __init__(self, password=None): # noqa: E501 @property def password(self): - """Gets the password of this PasswordResetBody. # noqa: E501 - + """Get the password of this PasswordResetBody. - :return: The password of this PasswordResetBody. # noqa: E501 + :return: The password of this PasswordResetBody. :rtype: str - """ + """ # noqa: E501 return self._password @password.setter def password(self, password): - """Sets the password of this PasswordResetBody. + """Set the password of this PasswordResetBody. - - :param password: The password of this PasswordResetBody. # noqa: E501 + :param password: The password of this PasswordResetBody. :type: str - """ + """ # noqa: E501 if password is None: raise ValueError("Invalid value for `password`, must not be `None`") # noqa: E501 - self._password = password def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -94,20 +91,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PasswordResetBody): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/permission.py b/influxdb_client/domain/permission.py index c43678e9..97938983 100644 --- a/influxdb_client/domain/permission.py +++ b/influxdb_client/domain/permission.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Permission(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class Permission(object): 'resource': 'resource' } - def __init__(self, action=None, resource=None): # noqa: E501 - """Permission - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, action=None, resource=None): # noqa: E501,D401,D403 + """Permission - a model defined in OpenAPI.""" # noqa: E501 self._action = None self._resource = None self.discriminator = None @@ -52,52 +52,46 @@ def __init__(self, action=None, resource=None): # noqa: E501 @property def action(self): - """Gets the action of this Permission. # noqa: E501 + """Get the action of this Permission. - - :return: The action of this Permission. # noqa: E501 + :return: The action of this Permission. :rtype: str - """ + """ # noqa: E501 return self._action @action.setter def action(self, action): - """Sets the action of this Permission. - + """Set the action of this Permission. - :param action: The action of this Permission. # noqa: E501 + :param action: The action of this Permission. :type: str - """ + """ # noqa: E501 if action is None: raise ValueError("Invalid value for `action`, must not be `None`") # noqa: E501 - self._action = action @property def resource(self): - """Gets the resource of this Permission. # noqa: E501 - + """Get the resource of this Permission. - :return: The resource of this Permission. # noqa: E501 + :return: The resource of this Permission. :rtype: PermissionResource - """ + """ # noqa: E501 return self._resource @resource.setter def resource(self, resource): - """Sets the resource of this Permission. + """Set the resource of this Permission. - - :param resource: The resource of this Permission. # noqa: E501 + :param resource: The resource of this Permission. :type: PermissionResource - """ + """ # noqa: E501 if resource is None: raise ValueError("Invalid value for `resource`, must not be `None`") # noqa: E501 - self._resource = resource def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +115,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Permission): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/permission_resource.py b/influxdb_client/domain/permission_resource.py index acab9ea6..f4d1ab93 100644 --- a/influxdb_client/domain/permission_resource.py +++ b/influxdb_client/domain/permission_resource.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PermissionResource(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -46,9 +47,8 @@ class PermissionResource(object): 'org': 'org' } - def __init__(self, type=None, id=None, name=None, org_id=None, org=None): # noqa: E501 - """PermissionResource - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, id=None, name=None, org_id=None, org=None): # noqa: E501,D401,D403 + """PermissionResource - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._id = None self._name = None @@ -64,121 +64,114 @@ def __init__(self, type=None, id=None, name=None, org_id=None, org=None): # noq @property def type(self): - """Gets the type of this PermissionResource. # noqa: E501 - + """Get the type of this PermissionResource. - :return: The type of this PermissionResource. # noqa: E501 + :return: The type of this PermissionResource. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this PermissionResource. + """Set the type of this PermissionResource. - - :param type: The type of this PermissionResource. # noqa: E501 + :param type: The type of this PermissionResource. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def id(self): - """Gets the id of this PermissionResource. # noqa: E501 + """Get the id of this PermissionResource. - If ID is set that is a permission for a specific resource. if it is not set it is a permission for all resources of that resource type. # noqa: E501 + If ID is set that is a permission for a specific resource. if it is not set it is a permission for all resources of that resource type. - :return: The id of this PermissionResource. # noqa: E501 + :return: The id of this PermissionResource. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this PermissionResource. + """Set the id of this PermissionResource. - If ID is set that is a permission for a specific resource. if it is not set it is a permission for all resources of that resource type. # noqa: E501 + If ID is set that is a permission for a specific resource. if it is not set it is a permission for all resources of that resource type. - :param id: The id of this PermissionResource. # noqa: E501 + :param id: The id of this PermissionResource. :type: str - """ - + """ # noqa: E501 self._id = id @property def name(self): - """Gets the name of this PermissionResource. # noqa: E501 + """Get the name of this PermissionResource. - Optional name of the resource if the resource has a name field. # noqa: E501 + Optional name of the resource if the resource has a name field. - :return: The name of this PermissionResource. # noqa: E501 + :return: The name of this PermissionResource. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this PermissionResource. + """Set the name of this PermissionResource. - Optional name of the resource if the resource has a name field. # noqa: E501 + Optional name of the resource if the resource has a name field. - :param name: The name of this PermissionResource. # noqa: E501 + :param name: The name of this PermissionResource. :type: str - """ - + """ # noqa: E501 self._name = name @property def org_id(self): - """Gets the org_id of this PermissionResource. # noqa: E501 + """Get the org_id of this PermissionResource. - If orgID is set that is a permission for all resources owned my that org. if it is not set it is a permission for all resources of that resource type. # noqa: E501 + If orgID is set that is a permission for all resources owned my that org. if it is not set it is a permission for all resources of that resource type. - :return: The org_id of this PermissionResource. # noqa: E501 + :return: The org_id of this PermissionResource. :rtype: str - """ + """ # noqa: E501 return self._org_id @org_id.setter def org_id(self, org_id): - """Sets the org_id of this PermissionResource. + """Set the org_id of this PermissionResource. - If orgID is set that is a permission for all resources owned my that org. if it is not set it is a permission for all resources of that resource type. # noqa: E501 + If orgID is set that is a permission for all resources owned my that org. if it is not set it is a permission for all resources of that resource type. - :param org_id: The org_id of this PermissionResource. # noqa: E501 + :param org_id: The org_id of this PermissionResource. :type: str - """ - + """ # noqa: E501 self._org_id = org_id @property def org(self): - """Gets the org of this PermissionResource. # noqa: E501 + """Get the org of this PermissionResource. - Optional name of the organization of the organization with orgID. # noqa: E501 + Optional name of the organization of the organization with orgID. - :return: The org of this PermissionResource. # noqa: E501 + :return: The org of this PermissionResource. :rtype: str - """ + """ # noqa: E501 return self._org @org.setter def org(self, org): - """Sets the org of this PermissionResource. + """Set the org of this PermissionResource. - Optional name of the organization of the organization with orgID. # noqa: E501 + Optional name of the organization of the organization with orgID. - :param org: The org of this PermissionResource. # noqa: E501 + :param org: The org of this PermissionResource. :type: str - """ - + """ # noqa: E501 self._org = org def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -202,20 +195,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PermissionResource): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pipe_expression.py b/influxdb_client/domain/pipe_expression.py index c094eb3e..c06177df 100644 --- a/influxdb_client/domain/pipe_expression.py +++ b/influxdb_client/domain/pipe_expression.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PipeExpression(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class PipeExpression(object): 'call': 'call' } - def __init__(self, type=None, argument=None, call=None): # noqa: E501 - """PipeExpression - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, argument=None, call=None): # noqa: E501,D401,D403 + """PipeExpression - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._argument = None self._call = None @@ -59,71 +59,64 @@ def __init__(self, type=None, argument=None, call=None): # noqa: E501 @property def type(self): - """Gets the type of this PipeExpression. # noqa: E501 + """Get the type of this PipeExpression. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this PipeExpression. # noqa: E501 + :return: The type of this PipeExpression. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this PipeExpression. + """Set the type of this PipeExpression. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this PipeExpression. # noqa: E501 + :param type: The type of this PipeExpression. :type: str - """ - + """ # noqa: E501 self._type = type @property def argument(self): - """Gets the argument of this PipeExpression. # noqa: E501 + """Get the argument of this PipeExpression. - - :return: The argument of this PipeExpression. # noqa: E501 + :return: The argument of this PipeExpression. :rtype: Expression - """ + """ # noqa: E501 return self._argument @argument.setter def argument(self, argument): - """Sets the argument of this PipeExpression. - + """Set the argument of this PipeExpression. - :param argument: The argument of this PipeExpression. # noqa: E501 + :param argument: The argument of this PipeExpression. :type: Expression - """ - + """ # noqa: E501 self._argument = argument @property def call(self): - """Gets the call of this PipeExpression. # noqa: E501 - + """Get the call of this PipeExpression. - :return: The call of this PipeExpression. # noqa: E501 + :return: The call of this PipeExpression. :rtype: CallExpression - """ + """ # noqa: E501 return self._call @call.setter def call(self, call): - """Sets the call of this PipeExpression. + """Set the call of this PipeExpression. - - :param call: The call of this PipeExpression. # noqa: E501 + :param call: The call of this PipeExpression. :type: CallExpression - """ - + """ # noqa: E501 self._call = call def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -147,20 +140,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PipeExpression): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pipe_literal.py b/influxdb_client/domain/pipe_literal.py index 07e5e346..f77b1236 100644 --- a/influxdb_client/domain/pipe_literal.py +++ b/influxdb_client/domain/pipe_literal.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PipeLiteral(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class PipeLiteral(object): 'type': 'type' } - def __init__(self, type=None): # noqa: E501 - """PipeLiteral - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None): # noqa: E501,D401,D403 + """PipeLiteral - a model defined in OpenAPI.""" # noqa: E501 self._type = None self.discriminator = None @@ -49,29 +49,28 @@ def __init__(self, type=None): # noqa: E501 @property def type(self): - """Gets the type of this PipeLiteral. # noqa: E501 + """Get the type of this PipeLiteral. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this PipeLiteral. # noqa: E501 + :return: The type of this PipeLiteral. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this PipeLiteral. + """Set the type of this PipeLiteral. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this PipeLiteral. # noqa: E501 + :param type: The type of this PipeLiteral. :type: str - """ - + """ # noqa: E501 self._type = type def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -95,20 +94,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PipeLiteral): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pkg.py b/influxdb_client/domain/pkg.py index 582b2d98..8b97e1f5 100644 --- a/influxdb_client/domain/pkg.py +++ b/influxdb_client/domain/pkg.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Pkg(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class Pkg(object): 'spec': 'spec' } - def __init__(self, api_version=None, kind=None, meta=None, spec=None): # noqa: E501 - """Pkg - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, api_version=None, kind=None, meta=None, spec=None): # noqa: E501,D401,D403 + """Pkg - a model defined in OpenAPI.""" # noqa: E501 self._api_version = None self._kind = None self._meta = None @@ -64,90 +64,78 @@ def __init__(self, api_version=None, kind=None, meta=None, spec=None): # noqa: @property def api_version(self): - """Gets the api_version of this Pkg. # noqa: E501 + """Get the api_version of this Pkg. - - :return: The api_version of this Pkg. # noqa: E501 + :return: The api_version of this Pkg. :rtype: str - """ + """ # noqa: E501 return self._api_version @api_version.setter def api_version(self, api_version): - """Sets the api_version of this Pkg. - + """Set the api_version of this Pkg. - :param api_version: The api_version of this Pkg. # noqa: E501 + :param api_version: The api_version of this Pkg. :type: str - """ - + """ # noqa: E501 self._api_version = api_version @property def kind(self): - """Gets the kind of this Pkg. # noqa: E501 - + """Get the kind of this Pkg. - :return: The kind of this Pkg. # noqa: E501 + :return: The kind of this Pkg. :rtype: str - """ + """ # noqa: E501 return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this Pkg. - + """Set the kind of this Pkg. - :param kind: The kind of this Pkg. # noqa: E501 + :param kind: The kind of this Pkg. :type: str - """ - + """ # noqa: E501 self._kind = kind @property def meta(self): - """Gets the meta of this Pkg. # noqa: E501 - + """Get the meta of this Pkg. - :return: The meta of this Pkg. # noqa: E501 + :return: The meta of this Pkg. :rtype: PkgMeta - """ + """ # noqa: E501 return self._meta @meta.setter def meta(self, meta): - """Sets the meta of this Pkg. + """Set the meta of this Pkg. - - :param meta: The meta of this Pkg. # noqa: E501 + :param meta: The meta of this Pkg. :type: PkgMeta - """ - + """ # noqa: E501 self._meta = meta @property def spec(self): - """Gets the spec of this Pkg. # noqa: E501 + """Get the spec of this Pkg. - - :return: The spec of this Pkg. # noqa: E501 + :return: The spec of this Pkg. :rtype: PkgSpec - """ + """ # noqa: E501 return self._spec @spec.setter def spec(self, spec): - """Sets the spec of this Pkg. - + """Set the spec of this Pkg. - :param spec: The spec of this Pkg. # noqa: E501 + :param spec: The spec of this Pkg. :type: PkgSpec - """ - + """ # noqa: E501 self._spec = spec def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -171,20 +159,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Pkg): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pkg_apply.py b/influxdb_client/domain/pkg_apply.py index 95db04d7..d993f1f8 100644 --- a/influxdb_client/domain/pkg_apply.py +++ b/influxdb_client/domain/pkg_apply.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PkgApply(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class PkgApply(object): 'package': 'package' } - def __init__(self, apply=None, package=None): # noqa: E501 - """PkgApply - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, apply=None, package=None): # noqa: E501,D401,D403 + """PkgApply - a model defined in OpenAPI.""" # noqa: E501 self._apply = None self._package = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, apply=None, package=None): # noqa: E501 @property def apply(self): - """Gets the apply of this PkgApply. # noqa: E501 + """Get the apply of this PkgApply. - - :return: The apply of this PkgApply. # noqa: E501 + :return: The apply of this PkgApply. :rtype: bool - """ + """ # noqa: E501 return self._apply @apply.setter def apply(self, apply): - """Sets the apply of this PkgApply. - + """Set the apply of this PkgApply. - :param apply: The apply of this PkgApply. # noqa: E501 + :param apply: The apply of this PkgApply. :type: bool - """ - + """ # noqa: E501 self._apply = apply @property def package(self): - """Gets the package of this PkgApply. # noqa: E501 - + """Get the package of this PkgApply. - :return: The package of this PkgApply. # noqa: E501 + :return: The package of this PkgApply. :rtype: Pkg - """ + """ # noqa: E501 return self._package @package.setter def package(self, package): - """Sets the package of this PkgApply. + """Set the package of this PkgApply. - - :param package: The package of this PkgApply. # noqa: E501 + :param package: The package of this PkgApply. :type: Pkg - """ - + """ # noqa: E501 self._package = package def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PkgApply): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pkg_chart.py b/influxdb_client/domain/pkg_chart.py index fc42b3ff..123a1479 100644 --- a/influxdb_client/domain/pkg_chart.py +++ b/influxdb_client/domain/pkg_chart.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PkgChart(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -46,9 +47,8 @@ class PkgChart(object): 'properties': 'properties' } - def __init__(self, x_pos=None, y_pos=None, height=None, width=None, properties=None): # noqa: E501 - """PkgChart - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, x_pos=None, y_pos=None, height=None, width=None, properties=None): # noqa: E501,D401,D403 + """PkgChart - a model defined in OpenAPI.""" # noqa: E501 self._x_pos = None self._y_pos = None self._height = None @@ -69,111 +69,96 @@ def __init__(self, x_pos=None, y_pos=None, height=None, width=None, properties=N @property def x_pos(self): - """Gets the x_pos of this PkgChart. # noqa: E501 - + """Get the x_pos of this PkgChart. - :return: The x_pos of this PkgChart. # noqa: E501 + :return: The x_pos of this PkgChart. :rtype: int - """ + """ # noqa: E501 return self._x_pos @x_pos.setter def x_pos(self, x_pos): - """Sets the x_pos of this PkgChart. + """Set the x_pos of this PkgChart. - - :param x_pos: The x_pos of this PkgChart. # noqa: E501 + :param x_pos: The x_pos of this PkgChart. :type: int - """ - + """ # noqa: E501 self._x_pos = x_pos @property def y_pos(self): - """Gets the y_pos of this PkgChart. # noqa: E501 + """Get the y_pos of this PkgChart. - - :return: The y_pos of this PkgChart. # noqa: E501 + :return: The y_pos of this PkgChart. :rtype: int - """ + """ # noqa: E501 return self._y_pos @y_pos.setter def y_pos(self, y_pos): - """Sets the y_pos of this PkgChart. - + """Set the y_pos of this PkgChart. - :param y_pos: The y_pos of this PkgChart. # noqa: E501 + :param y_pos: The y_pos of this PkgChart. :type: int - """ - + """ # noqa: E501 self._y_pos = y_pos @property def height(self): - """Gets the height of this PkgChart. # noqa: E501 - + """Get the height of this PkgChart. - :return: The height of this PkgChart. # noqa: E501 + :return: The height of this PkgChart. :rtype: int - """ + """ # noqa: E501 return self._height @height.setter def height(self, height): - """Sets the height of this PkgChart. + """Set the height of this PkgChart. - - :param height: The height of this PkgChart. # noqa: E501 + :param height: The height of this PkgChart. :type: int - """ - + """ # noqa: E501 self._height = height @property def width(self): - """Gets the width of this PkgChart. # noqa: E501 + """Get the width of this PkgChart. - - :return: The width of this PkgChart. # noqa: E501 + :return: The width of this PkgChart. :rtype: int - """ + """ # noqa: E501 return self._width @width.setter def width(self, width): - """Sets the width of this PkgChart. - + """Set the width of this PkgChart. - :param width: The width of this PkgChart. # noqa: E501 + :param width: The width of this PkgChart. :type: int - """ - + """ # noqa: E501 self._width = width @property def properties(self): - """Gets the properties of this PkgChart. # noqa: E501 - + """Get the properties of this PkgChart. - :return: The properties of this PkgChart. # noqa: E501 + :return: The properties of this PkgChart. :rtype: ViewProperties - """ + """ # noqa: E501 return self._properties @properties.setter def properties(self, properties): - """Sets the properties of this PkgChart. + """Set the properties of this PkgChart. - - :param properties: The properties of this PkgChart. # noqa: E501 + :param properties: The properties of this PkgChart. :type: ViewProperties - """ - + """ # noqa: E501 self._properties = properties def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -197,20 +182,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PkgChart): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pkg_create.py b/influxdb_client/domain/pkg_create.py index 1a0f2603..899037e3 100644 --- a/influxdb_client/domain/pkg_create.py +++ b/influxdb_client/domain/pkg_create.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PkgCreate(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class PkgCreate(object): 'resources': 'resources' } - def __init__(self, pkg_name=None, pkg_description=None, pkg_version=None, resources=None): # noqa: E501 - """PkgCreate - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, pkg_name=None, pkg_description=None, pkg_version=None, resources=None): # noqa: E501,D401,D403 + """PkgCreate - a model defined in OpenAPI.""" # noqa: E501 self._pkg_name = None self._pkg_description = None self._pkg_version = None @@ -64,90 +64,78 @@ def __init__(self, pkg_name=None, pkg_description=None, pkg_version=None, resour @property def pkg_name(self): - """Gets the pkg_name of this PkgCreate. # noqa: E501 + """Get the pkg_name of this PkgCreate. - - :return: The pkg_name of this PkgCreate. # noqa: E501 + :return: The pkg_name of this PkgCreate. :rtype: str - """ + """ # noqa: E501 return self._pkg_name @pkg_name.setter def pkg_name(self, pkg_name): - """Sets the pkg_name of this PkgCreate. - + """Set the pkg_name of this PkgCreate. - :param pkg_name: The pkg_name of this PkgCreate. # noqa: E501 + :param pkg_name: The pkg_name of this PkgCreate. :type: str - """ - + """ # noqa: E501 self._pkg_name = pkg_name @property def pkg_description(self): - """Gets the pkg_description of this PkgCreate. # noqa: E501 - + """Get the pkg_description of this PkgCreate. - :return: The pkg_description of this PkgCreate. # noqa: E501 + :return: The pkg_description of this PkgCreate. :rtype: str - """ + """ # noqa: E501 return self._pkg_description @pkg_description.setter def pkg_description(self, pkg_description): - """Sets the pkg_description of this PkgCreate. - + """Set the pkg_description of this PkgCreate. - :param pkg_description: The pkg_description of this PkgCreate. # noqa: E501 + :param pkg_description: The pkg_description of this PkgCreate. :type: str - """ - + """ # noqa: E501 self._pkg_description = pkg_description @property def pkg_version(self): - """Gets the pkg_version of this PkgCreate. # noqa: E501 - + """Get the pkg_version of this PkgCreate. - :return: The pkg_version of this PkgCreate. # noqa: E501 + :return: The pkg_version of this PkgCreate. :rtype: str - """ + """ # noqa: E501 return self._pkg_version @pkg_version.setter def pkg_version(self, pkg_version): - """Sets the pkg_version of this PkgCreate. + """Set the pkg_version of this PkgCreate. - - :param pkg_version: The pkg_version of this PkgCreate. # noqa: E501 + :param pkg_version: The pkg_version of this PkgCreate. :type: str - """ - + """ # noqa: E501 self._pkg_version = pkg_version @property def resources(self): - """Gets the resources of this PkgCreate. # noqa: E501 + """Get the resources of this PkgCreate. - - :return: The resources of this PkgCreate. # noqa: E501 + :return: The resources of this PkgCreate. :rtype: PkgCreateResources - """ + """ # noqa: E501 return self._resources @resources.setter def resources(self, resources): - """Sets the resources of this PkgCreate. - + """Set the resources of this PkgCreate. - :param resources: The resources of this PkgCreate. # noqa: E501 + :param resources: The resources of this PkgCreate. :type: PkgCreateResources - """ - + """ # noqa: E501 self._resources = resources def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -171,20 +159,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PkgCreate): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pkg_create_resources.py b/influxdb_client/domain/pkg_create_resources.py index 2767ae7d..25dcb54a 100644 --- a/influxdb_client/domain/pkg_create_resources.py +++ b/influxdb_client/domain/pkg_create_resources.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PkgCreateResources(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class PkgCreateResources(object): 'name': 'name' } - def __init__(self, id=None, kind=None, name=None): # noqa: E501 - """PkgCreateResources - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, id=None, kind=None, name=None): # noqa: E501,D401,D403 + """PkgCreateResources - a model defined in OpenAPI.""" # noqa: E501 self._id = None self._kind = None self._name = None @@ -57,73 +57,64 @@ def __init__(self, id=None, kind=None, name=None): # noqa: E501 @property def id(self): - """Gets the id of this PkgCreateResources. # noqa: E501 - + """Get the id of this PkgCreateResources. - :return: The id of this PkgCreateResources. # noqa: E501 + :return: The id of this PkgCreateResources. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this PkgCreateResources. + """Set the id of this PkgCreateResources. - - :param id: The id of this PkgCreateResources. # noqa: E501 + :param id: The id of this PkgCreateResources. :type: str - """ + """ # noqa: E501 if id is None: raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - self._id = id @property def kind(self): - """Gets the kind of this PkgCreateResources. # noqa: E501 - + """Get the kind of this PkgCreateResources. - :return: The kind of this PkgCreateResources. # noqa: E501 + :return: The kind of this PkgCreateResources. :rtype: str - """ + """ # noqa: E501 return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this PkgCreateResources. + """Set the kind of this PkgCreateResources. - - :param kind: The kind of this PkgCreateResources. # noqa: E501 + :param kind: The kind of this PkgCreateResources. :type: str - """ + """ # noqa: E501 if kind is None: raise ValueError("Invalid value for `kind`, must not be `None`") # noqa: E501 - self._kind = kind @property def name(self): - """Gets the name of this PkgCreateResources. # noqa: E501 - + """Get the name of this PkgCreateResources. - :return: The name of this PkgCreateResources. # noqa: E501 + :return: The name of this PkgCreateResources. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this PkgCreateResources. + """Set the name of this PkgCreateResources. - - :param name: The name of this PkgCreateResources. # noqa: E501 + :param name: The name of this PkgCreateResources. :type: str - """ - + """ # noqa: E501 self._name = name def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -147,20 +138,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PkgCreateResources): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pkg_meta.py b/influxdb_client/domain/pkg_meta.py index 042e6f3c..675bf84c 100644 --- a/influxdb_client/domain/pkg_meta.py +++ b/influxdb_client/domain/pkg_meta.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PkgMeta(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class PkgMeta(object): 'pkg_version': 'pkgVersion' } - def __init__(self, description=None, pkg_name=None, pkg_version=None): # noqa: E501 - """PkgMeta - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, description=None, pkg_name=None, pkg_version=None): # noqa: E501,D401,D403 + """PkgMeta - a model defined in OpenAPI.""" # noqa: E501 self._description = None self._pkg_name = None self._pkg_version = None @@ -59,69 +59,60 @@ def __init__(self, description=None, pkg_name=None, pkg_version=None): # noqa: @property def description(self): - """Gets the description of this PkgMeta. # noqa: E501 - + """Get the description of this PkgMeta. - :return: The description of this PkgMeta. # noqa: E501 + :return: The description of this PkgMeta. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this PkgMeta. + """Set the description of this PkgMeta. - - :param description: The description of this PkgMeta. # noqa: E501 + :param description: The description of this PkgMeta. :type: str - """ - + """ # noqa: E501 self._description = description @property def pkg_name(self): - """Gets the pkg_name of this PkgMeta. # noqa: E501 - + """Get the pkg_name of this PkgMeta. - :return: The pkg_name of this PkgMeta. # noqa: E501 + :return: The pkg_name of this PkgMeta. :rtype: str - """ + """ # noqa: E501 return self._pkg_name @pkg_name.setter def pkg_name(self, pkg_name): - """Sets the pkg_name of this PkgMeta. + """Set the pkg_name of this PkgMeta. - - :param pkg_name: The pkg_name of this PkgMeta. # noqa: E501 + :param pkg_name: The pkg_name of this PkgMeta. :type: str - """ - + """ # noqa: E501 self._pkg_name = pkg_name @property def pkg_version(self): - """Gets the pkg_version of this PkgMeta. # noqa: E501 - + """Get the pkg_version of this PkgMeta. - :return: The pkg_version of this PkgMeta. # noqa: E501 + :return: The pkg_version of this PkgMeta. :rtype: str - """ + """ # noqa: E501 return self._pkg_version @pkg_version.setter def pkg_version(self, pkg_version): - """Sets the pkg_version of this PkgMeta. + """Set the pkg_version of this PkgMeta. - - :param pkg_version: The pkg_version of this PkgMeta. # noqa: E501 + :param pkg_version: The pkg_version of this PkgMeta. :type: str - """ - + """ # noqa: E501 self._pkg_version = pkg_version def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -145,20 +136,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PkgMeta): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pkg_spec.py b/influxdb_client/domain/pkg_spec.py index 1d7ceb00..8006f87e 100644 --- a/influxdb_client/domain/pkg_spec.py +++ b/influxdb_client/domain/pkg_spec.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PkgSpec(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class PkgSpec(object): 'resources': 'resources' } - def __init__(self, resources=None): # noqa: E501 - """PkgSpec - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, resources=None): # noqa: E501,D401,D403 + """PkgSpec - a model defined in OpenAPI.""" # noqa: E501 self._resources = None self.discriminator = None @@ -49,27 +49,24 @@ def __init__(self, resources=None): # noqa: E501 @property def resources(self): - """Gets the resources of this PkgSpec. # noqa: E501 - + """Get the resources of this PkgSpec. - :return: The resources of this PkgSpec. # noqa: E501 + :return: The resources of this PkgSpec. :rtype: list[object] - """ + """ # noqa: E501 return self._resources @resources.setter def resources(self, resources): - """Sets the resources of this PkgSpec. + """Set the resources of this PkgSpec. - - :param resources: The resources of this PkgSpec. # noqa: E501 + :param resources: The resources of this PkgSpec. :type: list[object] - """ - + """ # noqa: E501 self._resources = resources def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -93,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PkgSpec): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pkg_summary.py b/influxdb_client/domain/pkg_summary.py index be98063c..04da042e 100644 --- a/influxdb_client/domain/pkg_summary.py +++ b/influxdb_client/domain/pkg_summary.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PkgSummary(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class PkgSummary(object): 'errors': 'errors' } - def __init__(self, summary=None, diff=None, errors=None): # noqa: E501 - """PkgSummary - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, summary=None, diff=None, errors=None): # noqa: E501,D401,D403 + """PkgSummary - a model defined in OpenAPI.""" # noqa: E501 self._summary = None self._diff = None self._errors = None @@ -59,69 +59,60 @@ def __init__(self, summary=None, diff=None, errors=None): # noqa: E501 @property def summary(self): - """Gets the summary of this PkgSummary. # noqa: E501 - + """Get the summary of this PkgSummary. - :return: The summary of this PkgSummary. # noqa: E501 + :return: The summary of this PkgSummary. :rtype: PkgSummarySummary - """ + """ # noqa: E501 return self._summary @summary.setter def summary(self, summary): - """Sets the summary of this PkgSummary. + """Set the summary of this PkgSummary. - - :param summary: The summary of this PkgSummary. # noqa: E501 + :param summary: The summary of this PkgSummary. :type: PkgSummarySummary - """ - + """ # noqa: E501 self._summary = summary @property def diff(self): - """Gets the diff of this PkgSummary. # noqa: E501 - + """Get the diff of this PkgSummary. - :return: The diff of this PkgSummary. # noqa: E501 + :return: The diff of this PkgSummary. :rtype: PkgSummaryDiff - """ + """ # noqa: E501 return self._diff @diff.setter def diff(self, diff): - """Sets the diff of this PkgSummary. + """Set the diff of this PkgSummary. - - :param diff: The diff of this PkgSummary. # noqa: E501 + :param diff: The diff of this PkgSummary. :type: PkgSummaryDiff - """ - + """ # noqa: E501 self._diff = diff @property def errors(self): - """Gets the errors of this PkgSummary. # noqa: E501 - + """Get the errors of this PkgSummary. - :return: The errors of this PkgSummary. # noqa: E501 + :return: The errors of this PkgSummary. :rtype: list[PkgSummaryErrors] - """ + """ # noqa: E501 return self._errors @errors.setter def errors(self, errors): - """Sets the errors of this PkgSummary. + """Set the errors of this PkgSummary. - - :param errors: The errors of this PkgSummary. # noqa: E501 + :param errors: The errors of this PkgSummary. :type: list[PkgSummaryErrors] - """ - + """ # noqa: E501 self._errors = errors def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -145,20 +136,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PkgSummary): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pkg_summary_diff.py b/influxdb_client/domain/pkg_summary_diff.py index f220de3a..f8c1a4d5 100644 --- a/influxdb_client/domain/pkg_summary_diff.py +++ b/influxdb_client/domain/pkg_summary_diff.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PkgSummaryDiff(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -46,9 +47,8 @@ class PkgSummaryDiff(object): 'variables': 'variables' } - def __init__(self, buckets=None, dashboards=None, labels=None, label_mappings=None, variables=None): # noqa: E501 - """PkgSummaryDiff - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, buckets=None, dashboards=None, labels=None, label_mappings=None, variables=None): # noqa: E501,D401,D403 + """PkgSummaryDiff - a model defined in OpenAPI.""" # noqa: E501 self._buckets = None self._dashboards = None self._labels = None @@ -69,111 +69,96 @@ def __init__(self, buckets=None, dashboards=None, labels=None, label_mappings=No @property def buckets(self): - """Gets the buckets of this PkgSummaryDiff. # noqa: E501 - + """Get the buckets of this PkgSummaryDiff. - :return: The buckets of this PkgSummaryDiff. # noqa: E501 + :return: The buckets of this PkgSummaryDiff. :rtype: list[PkgSummaryDiffBuckets] - """ + """ # noqa: E501 return self._buckets @buckets.setter def buckets(self, buckets): - """Sets the buckets of this PkgSummaryDiff. + """Set the buckets of this PkgSummaryDiff. - - :param buckets: The buckets of this PkgSummaryDiff. # noqa: E501 + :param buckets: The buckets of this PkgSummaryDiff. :type: list[PkgSummaryDiffBuckets] - """ - + """ # noqa: E501 self._buckets = buckets @property def dashboards(self): - """Gets the dashboards of this PkgSummaryDiff. # noqa: E501 + """Get the dashboards of this PkgSummaryDiff. - - :return: The dashboards of this PkgSummaryDiff. # noqa: E501 + :return: The dashboards of this PkgSummaryDiff. :rtype: list[PkgSummaryDiffDashboards] - """ + """ # noqa: E501 return self._dashboards @dashboards.setter def dashboards(self, dashboards): - """Sets the dashboards of this PkgSummaryDiff. - + """Set the dashboards of this PkgSummaryDiff. - :param dashboards: The dashboards of this PkgSummaryDiff. # noqa: E501 + :param dashboards: The dashboards of this PkgSummaryDiff. :type: list[PkgSummaryDiffDashboards] - """ - + """ # noqa: E501 self._dashboards = dashboards @property def labels(self): - """Gets the labels of this PkgSummaryDiff. # noqa: E501 - + """Get the labels of this PkgSummaryDiff. - :return: The labels of this PkgSummaryDiff. # noqa: E501 + :return: The labels of this PkgSummaryDiff. :rtype: list[PkgSummaryDiffLabels] - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this PkgSummaryDiff. + """Set the labels of this PkgSummaryDiff. - - :param labels: The labels of this PkgSummaryDiff. # noqa: E501 + :param labels: The labels of this PkgSummaryDiff. :type: list[PkgSummaryDiffLabels] - """ - + """ # noqa: E501 self._labels = labels @property def label_mappings(self): - """Gets the label_mappings of this PkgSummaryDiff. # noqa: E501 + """Get the label_mappings of this PkgSummaryDiff. - - :return: The label_mappings of this PkgSummaryDiff. # noqa: E501 + :return: The label_mappings of this PkgSummaryDiff. :rtype: list[PkgSummaryDiffLabelMappings] - """ + """ # noqa: E501 return self._label_mappings @label_mappings.setter def label_mappings(self, label_mappings): - """Sets the label_mappings of this PkgSummaryDiff. - + """Set the label_mappings of this PkgSummaryDiff. - :param label_mappings: The label_mappings of this PkgSummaryDiff. # noqa: E501 + :param label_mappings: The label_mappings of this PkgSummaryDiff. :type: list[PkgSummaryDiffLabelMappings] - """ - + """ # noqa: E501 self._label_mappings = label_mappings @property def variables(self): - """Gets the variables of this PkgSummaryDiff. # noqa: E501 - + """Get the variables of this PkgSummaryDiff. - :return: The variables of this PkgSummaryDiff. # noqa: E501 + :return: The variables of this PkgSummaryDiff. :rtype: list[PkgSummaryDiffVariables] - """ + """ # noqa: E501 return self._variables @variables.setter def variables(self, variables): - """Sets the variables of this PkgSummaryDiff. + """Set the variables of this PkgSummaryDiff. - - :param variables: The variables of this PkgSummaryDiff. # noqa: E501 + :param variables: The variables of this PkgSummaryDiff. :type: list[PkgSummaryDiffVariables] - """ - + """ # noqa: E501 self._variables = variables def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -197,20 +182,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PkgSummaryDiff): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pkg_summary_diff_buckets.py b/influxdb_client/domain/pkg_summary_diff_buckets.py index 337c59af..20c5ddf8 100644 --- a/influxdb_client/domain/pkg_summary_diff_buckets.py +++ b/influxdb_client/domain/pkg_summary_diff_buckets.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PkgSummaryDiffBuckets(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -48,9 +49,8 @@ class PkgSummaryDiffBuckets(object): 'new_rp': 'newRP' } - def __init__(self, id=None, name=None, old_description=None, new_description=None, old_rp=None, new_rp=None): # noqa: E501 - """PkgSummaryDiffBuckets - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, id=None, name=None, old_description=None, new_description=None, old_rp=None, new_rp=None): # noqa: E501,D401,D403 + """PkgSummaryDiffBuckets - a model defined in OpenAPI.""" # noqa: E501 self._id = None self._name = None self._old_description = None @@ -74,132 +74,114 @@ def __init__(self, id=None, name=None, old_description=None, new_description=Non @property def id(self): - """Gets the id of this PkgSummaryDiffBuckets. # noqa: E501 - + """Get the id of this PkgSummaryDiffBuckets. - :return: The id of this PkgSummaryDiffBuckets. # noqa: E501 + :return: The id of this PkgSummaryDiffBuckets. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this PkgSummaryDiffBuckets. + """Set the id of this PkgSummaryDiffBuckets. - - :param id: The id of this PkgSummaryDiffBuckets. # noqa: E501 + :param id: The id of this PkgSummaryDiffBuckets. :type: str - """ - + """ # noqa: E501 self._id = id @property def name(self): - """Gets the name of this PkgSummaryDiffBuckets. # noqa: E501 + """Get the name of this PkgSummaryDiffBuckets. - - :return: The name of this PkgSummaryDiffBuckets. # noqa: E501 + :return: The name of this PkgSummaryDiffBuckets. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this PkgSummaryDiffBuckets. - + """Set the name of this PkgSummaryDiffBuckets. - :param name: The name of this PkgSummaryDiffBuckets. # noqa: E501 + :param name: The name of this PkgSummaryDiffBuckets. :type: str - """ - + """ # noqa: E501 self._name = name @property def old_description(self): - """Gets the old_description of this PkgSummaryDiffBuckets. # noqa: E501 + """Get the old_description of this PkgSummaryDiffBuckets. - - :return: The old_description of this PkgSummaryDiffBuckets. # noqa: E501 + :return: The old_description of this PkgSummaryDiffBuckets. :rtype: str - """ + """ # noqa: E501 return self._old_description @old_description.setter def old_description(self, old_description): - """Sets the old_description of this PkgSummaryDiffBuckets. - + """Set the old_description of this PkgSummaryDiffBuckets. - :param old_description: The old_description of this PkgSummaryDiffBuckets. # noqa: E501 + :param old_description: The old_description of this PkgSummaryDiffBuckets. :type: str - """ - + """ # noqa: E501 self._old_description = old_description @property def new_description(self): - """Gets the new_description of this PkgSummaryDiffBuckets. # noqa: E501 - + """Get the new_description of this PkgSummaryDiffBuckets. - :return: The new_description of this PkgSummaryDiffBuckets. # noqa: E501 + :return: The new_description of this PkgSummaryDiffBuckets. :rtype: str - """ + """ # noqa: E501 return self._new_description @new_description.setter def new_description(self, new_description): - """Sets the new_description of this PkgSummaryDiffBuckets. - + """Set the new_description of this PkgSummaryDiffBuckets. - :param new_description: The new_description of this PkgSummaryDiffBuckets. # noqa: E501 + :param new_description: The new_description of this PkgSummaryDiffBuckets. :type: str - """ - + """ # noqa: E501 self._new_description = new_description @property def old_rp(self): - """Gets the old_rp of this PkgSummaryDiffBuckets. # noqa: E501 - + """Get the old_rp of this PkgSummaryDiffBuckets. - :return: The old_rp of this PkgSummaryDiffBuckets. # noqa: E501 + :return: The old_rp of this PkgSummaryDiffBuckets. :rtype: str - """ + """ # noqa: E501 return self._old_rp @old_rp.setter def old_rp(self, old_rp): - """Sets the old_rp of this PkgSummaryDiffBuckets. + """Set the old_rp of this PkgSummaryDiffBuckets. - - :param old_rp: The old_rp of this PkgSummaryDiffBuckets. # noqa: E501 + :param old_rp: The old_rp of this PkgSummaryDiffBuckets. :type: str - """ - + """ # noqa: E501 self._old_rp = old_rp @property def new_rp(self): - """Gets the new_rp of this PkgSummaryDiffBuckets. # noqa: E501 - + """Get the new_rp of this PkgSummaryDiffBuckets. - :return: The new_rp of this PkgSummaryDiffBuckets. # noqa: E501 + :return: The new_rp of this PkgSummaryDiffBuckets. :rtype: str - """ + """ # noqa: E501 return self._new_rp @new_rp.setter def new_rp(self, new_rp): - """Sets the new_rp of this PkgSummaryDiffBuckets. + """Set the new_rp of this PkgSummaryDiffBuckets. - - :param new_rp: The new_rp of this PkgSummaryDiffBuckets. # noqa: E501 + :param new_rp: The new_rp of this PkgSummaryDiffBuckets. :type: str - """ - + """ # noqa: E501 self._new_rp = new_rp def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -223,20 +205,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PkgSummaryDiffBuckets): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pkg_summary_diff_dashboards.py b/influxdb_client/domain/pkg_summary_diff_dashboards.py index fc318c31..e1f093fb 100644 --- a/influxdb_client/domain/pkg_summary_diff_dashboards.py +++ b/influxdb_client/domain/pkg_summary_diff_dashboards.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PkgSummaryDiffDashboards(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class PkgSummaryDiffDashboards(object): 'charts': 'charts' } - def __init__(self, name=None, description=None, charts=None): # noqa: E501 - """PkgSummaryDiffDashboards - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, name=None, description=None, charts=None): # noqa: E501,D401,D403 + """PkgSummaryDiffDashboards - a model defined in OpenAPI.""" # noqa: E501 self._name = None self._description = None self._charts = None @@ -59,69 +59,60 @@ def __init__(self, name=None, description=None, charts=None): # noqa: E501 @property def name(self): - """Gets the name of this PkgSummaryDiffDashboards. # noqa: E501 - + """Get the name of this PkgSummaryDiffDashboards. - :return: The name of this PkgSummaryDiffDashboards. # noqa: E501 + :return: The name of this PkgSummaryDiffDashboards. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this PkgSummaryDiffDashboards. + """Set the name of this PkgSummaryDiffDashboards. - - :param name: The name of this PkgSummaryDiffDashboards. # noqa: E501 + :param name: The name of this PkgSummaryDiffDashboards. :type: str - """ - + """ # noqa: E501 self._name = name @property def description(self): - """Gets the description of this PkgSummaryDiffDashboards. # noqa: E501 - + """Get the description of this PkgSummaryDiffDashboards. - :return: The description of this PkgSummaryDiffDashboards. # noqa: E501 + :return: The description of this PkgSummaryDiffDashboards. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this PkgSummaryDiffDashboards. + """Set the description of this PkgSummaryDiffDashboards. - - :param description: The description of this PkgSummaryDiffDashboards. # noqa: E501 + :param description: The description of this PkgSummaryDiffDashboards. :type: str - """ - + """ # noqa: E501 self._description = description @property def charts(self): - """Gets the charts of this PkgSummaryDiffDashboards. # noqa: E501 - + """Get the charts of this PkgSummaryDiffDashboards. - :return: The charts of this PkgSummaryDiffDashboards. # noqa: E501 + :return: The charts of this PkgSummaryDiffDashboards. :rtype: list[PkgChart] - """ + """ # noqa: E501 return self._charts @charts.setter def charts(self, charts): - """Sets the charts of this PkgSummaryDiffDashboards. + """Set the charts of this PkgSummaryDiffDashboards. - - :param charts: The charts of this PkgSummaryDiffDashboards. # noqa: E501 + :param charts: The charts of this PkgSummaryDiffDashboards. :type: list[PkgChart] - """ - + """ # noqa: E501 self._charts = charts def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -145,20 +136,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PkgSummaryDiffDashboards): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pkg_summary_diff_label_mappings.py b/influxdb_client/domain/pkg_summary_diff_label_mappings.py index 1848a7e8..85c5b53a 100644 --- a/influxdb_client/domain/pkg_summary_diff_label_mappings.py +++ b/influxdb_client/domain/pkg_summary_diff_label_mappings.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PkgSummaryDiffLabelMappings(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -48,9 +49,8 @@ class PkgSummaryDiffLabelMappings(object): 'label_name': 'labelName' } - def __init__(self, is_new=None, resource_type=None, resource_id=None, resource_name=None, label_id=None, label_name=None): # noqa: E501 - """PkgSummaryDiffLabelMappings - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, is_new=None, resource_type=None, resource_id=None, resource_name=None, label_id=None, label_name=None): # noqa: E501,D401,D403 + """PkgSummaryDiffLabelMappings - a model defined in OpenAPI.""" # noqa: E501 self._is_new = None self._resource_type = None self._resource_id = None @@ -74,132 +74,114 @@ def __init__(self, is_new=None, resource_type=None, resource_id=None, resource_n @property def is_new(self): - """Gets the is_new of this PkgSummaryDiffLabelMappings. # noqa: E501 - + """Get the is_new of this PkgSummaryDiffLabelMappings. - :return: The is_new of this PkgSummaryDiffLabelMappings. # noqa: E501 + :return: The is_new of this PkgSummaryDiffLabelMappings. :rtype: bool - """ + """ # noqa: E501 return self._is_new @is_new.setter def is_new(self, is_new): - """Sets the is_new of this PkgSummaryDiffLabelMappings. + """Set the is_new of this PkgSummaryDiffLabelMappings. - - :param is_new: The is_new of this PkgSummaryDiffLabelMappings. # noqa: E501 + :param is_new: The is_new of this PkgSummaryDiffLabelMappings. :type: bool - """ - + """ # noqa: E501 self._is_new = is_new @property def resource_type(self): - """Gets the resource_type of this PkgSummaryDiffLabelMappings. # noqa: E501 + """Get the resource_type of this PkgSummaryDiffLabelMappings. - - :return: The resource_type of this PkgSummaryDiffLabelMappings. # noqa: E501 + :return: The resource_type of this PkgSummaryDiffLabelMappings. :rtype: str - """ + """ # noqa: E501 return self._resource_type @resource_type.setter def resource_type(self, resource_type): - """Sets the resource_type of this PkgSummaryDiffLabelMappings. - + """Set the resource_type of this PkgSummaryDiffLabelMappings. - :param resource_type: The resource_type of this PkgSummaryDiffLabelMappings. # noqa: E501 + :param resource_type: The resource_type of this PkgSummaryDiffLabelMappings. :type: str - """ - + """ # noqa: E501 self._resource_type = resource_type @property def resource_id(self): - """Gets the resource_id of this PkgSummaryDiffLabelMappings. # noqa: E501 + """Get the resource_id of this PkgSummaryDiffLabelMappings. - - :return: The resource_id of this PkgSummaryDiffLabelMappings. # noqa: E501 + :return: The resource_id of this PkgSummaryDiffLabelMappings. :rtype: str - """ + """ # noqa: E501 return self._resource_id @resource_id.setter def resource_id(self, resource_id): - """Sets the resource_id of this PkgSummaryDiffLabelMappings. - + """Set the resource_id of this PkgSummaryDiffLabelMappings. - :param resource_id: The resource_id of this PkgSummaryDiffLabelMappings. # noqa: E501 + :param resource_id: The resource_id of this PkgSummaryDiffLabelMappings. :type: str - """ - + """ # noqa: E501 self._resource_id = resource_id @property def resource_name(self): - """Gets the resource_name of this PkgSummaryDiffLabelMappings. # noqa: E501 - + """Get the resource_name of this PkgSummaryDiffLabelMappings. - :return: The resource_name of this PkgSummaryDiffLabelMappings. # noqa: E501 + :return: The resource_name of this PkgSummaryDiffLabelMappings. :rtype: str - """ + """ # noqa: E501 return self._resource_name @resource_name.setter def resource_name(self, resource_name): - """Sets the resource_name of this PkgSummaryDiffLabelMappings. - + """Set the resource_name of this PkgSummaryDiffLabelMappings. - :param resource_name: The resource_name of this PkgSummaryDiffLabelMappings. # noqa: E501 + :param resource_name: The resource_name of this PkgSummaryDiffLabelMappings. :type: str - """ - + """ # noqa: E501 self._resource_name = resource_name @property def label_id(self): - """Gets the label_id of this PkgSummaryDiffLabelMappings. # noqa: E501 - + """Get the label_id of this PkgSummaryDiffLabelMappings. - :return: The label_id of this PkgSummaryDiffLabelMappings. # noqa: E501 + :return: The label_id of this PkgSummaryDiffLabelMappings. :rtype: str - """ + """ # noqa: E501 return self._label_id @label_id.setter def label_id(self, label_id): - """Sets the label_id of this PkgSummaryDiffLabelMappings. + """Set the label_id of this PkgSummaryDiffLabelMappings. - - :param label_id: The label_id of this PkgSummaryDiffLabelMappings. # noqa: E501 + :param label_id: The label_id of this PkgSummaryDiffLabelMappings. :type: str - """ - + """ # noqa: E501 self._label_id = label_id @property def label_name(self): - """Gets the label_name of this PkgSummaryDiffLabelMappings. # noqa: E501 - + """Get the label_name of this PkgSummaryDiffLabelMappings. - :return: The label_name of this PkgSummaryDiffLabelMappings. # noqa: E501 + :return: The label_name of this PkgSummaryDiffLabelMappings. :rtype: str - """ + """ # noqa: E501 return self._label_name @label_name.setter def label_name(self, label_name): - """Sets the label_name of this PkgSummaryDiffLabelMappings. + """Set the label_name of this PkgSummaryDiffLabelMappings. - - :param label_name: The label_name of this PkgSummaryDiffLabelMappings. # noqa: E501 + :param label_name: The label_name of this PkgSummaryDiffLabelMappings. :type: str - """ - + """ # noqa: E501 self._label_name = label_name def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -223,20 +205,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PkgSummaryDiffLabelMappings): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pkg_summary_diff_labels.py b/influxdb_client/domain/pkg_summary_diff_labels.py index a75cfd2e..2c8e055e 100644 --- a/influxdb_client/domain/pkg_summary_diff_labels.py +++ b/influxdb_client/domain/pkg_summary_diff_labels.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PkgSummaryDiffLabels(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -48,9 +49,8 @@ class PkgSummaryDiffLabels(object): 'new_color': 'newColor' } - def __init__(self, id=None, name=None, old_description=None, new_description=None, old_color=None, new_color=None): # noqa: E501 - """PkgSummaryDiffLabels - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, id=None, name=None, old_description=None, new_description=None, old_color=None, new_color=None): # noqa: E501,D401,D403 + """PkgSummaryDiffLabels - a model defined in OpenAPI.""" # noqa: E501 self._id = None self._name = None self._old_description = None @@ -74,132 +74,114 @@ def __init__(self, id=None, name=None, old_description=None, new_description=Non @property def id(self): - """Gets the id of this PkgSummaryDiffLabels. # noqa: E501 - + """Get the id of this PkgSummaryDiffLabels. - :return: The id of this PkgSummaryDiffLabels. # noqa: E501 + :return: The id of this PkgSummaryDiffLabels. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this PkgSummaryDiffLabels. + """Set the id of this PkgSummaryDiffLabels. - - :param id: The id of this PkgSummaryDiffLabels. # noqa: E501 + :param id: The id of this PkgSummaryDiffLabels. :type: str - """ - + """ # noqa: E501 self._id = id @property def name(self): - """Gets the name of this PkgSummaryDiffLabels. # noqa: E501 + """Get the name of this PkgSummaryDiffLabels. - - :return: The name of this PkgSummaryDiffLabels. # noqa: E501 + :return: The name of this PkgSummaryDiffLabels. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this PkgSummaryDiffLabels. - + """Set the name of this PkgSummaryDiffLabels. - :param name: The name of this PkgSummaryDiffLabels. # noqa: E501 + :param name: The name of this PkgSummaryDiffLabels. :type: str - """ - + """ # noqa: E501 self._name = name @property def old_description(self): - """Gets the old_description of this PkgSummaryDiffLabels. # noqa: E501 + """Get the old_description of this PkgSummaryDiffLabels. - - :return: The old_description of this PkgSummaryDiffLabels. # noqa: E501 + :return: The old_description of this PkgSummaryDiffLabels. :rtype: str - """ + """ # noqa: E501 return self._old_description @old_description.setter def old_description(self, old_description): - """Sets the old_description of this PkgSummaryDiffLabels. - + """Set the old_description of this PkgSummaryDiffLabels. - :param old_description: The old_description of this PkgSummaryDiffLabels. # noqa: E501 + :param old_description: The old_description of this PkgSummaryDiffLabels. :type: str - """ - + """ # noqa: E501 self._old_description = old_description @property def new_description(self): - """Gets the new_description of this PkgSummaryDiffLabels. # noqa: E501 - + """Get the new_description of this PkgSummaryDiffLabels. - :return: The new_description of this PkgSummaryDiffLabels. # noqa: E501 + :return: The new_description of this PkgSummaryDiffLabels. :rtype: str - """ + """ # noqa: E501 return self._new_description @new_description.setter def new_description(self, new_description): - """Sets the new_description of this PkgSummaryDiffLabels. - + """Set the new_description of this PkgSummaryDiffLabels. - :param new_description: The new_description of this PkgSummaryDiffLabels. # noqa: E501 + :param new_description: The new_description of this PkgSummaryDiffLabels. :type: str - """ - + """ # noqa: E501 self._new_description = new_description @property def old_color(self): - """Gets the old_color of this PkgSummaryDiffLabels. # noqa: E501 - + """Get the old_color of this PkgSummaryDiffLabels. - :return: The old_color of this PkgSummaryDiffLabels. # noqa: E501 + :return: The old_color of this PkgSummaryDiffLabels. :rtype: str - """ + """ # noqa: E501 return self._old_color @old_color.setter def old_color(self, old_color): - """Sets the old_color of this PkgSummaryDiffLabels. + """Set the old_color of this PkgSummaryDiffLabels. - - :param old_color: The old_color of this PkgSummaryDiffLabels. # noqa: E501 + :param old_color: The old_color of this PkgSummaryDiffLabels. :type: str - """ - + """ # noqa: E501 self._old_color = old_color @property def new_color(self): - """Gets the new_color of this PkgSummaryDiffLabels. # noqa: E501 - + """Get the new_color of this PkgSummaryDiffLabels. - :return: The new_color of this PkgSummaryDiffLabels. # noqa: E501 + :return: The new_color of this PkgSummaryDiffLabels. :rtype: str - """ + """ # noqa: E501 return self._new_color @new_color.setter def new_color(self, new_color): - """Sets the new_color of this PkgSummaryDiffLabels. + """Set the new_color of this PkgSummaryDiffLabels. - - :param new_color: The new_color of this PkgSummaryDiffLabels. # noqa: E501 + :param new_color: The new_color of this PkgSummaryDiffLabels. :type: str - """ - + """ # noqa: E501 self._new_color = new_color def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -223,20 +205,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PkgSummaryDiffLabels): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pkg_summary_diff_variables.py b/influxdb_client/domain/pkg_summary_diff_variables.py index f134d0f7..87d501a5 100644 --- a/influxdb_client/domain/pkg_summary_diff_variables.py +++ b/influxdb_client/domain/pkg_summary_diff_variables.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PkgSummaryDiffVariables(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -48,9 +49,8 @@ class PkgSummaryDiffVariables(object): 'new_args': 'newArgs' } - def __init__(self, id=None, name=None, old_description=None, new_description=None, old_args=None, new_args=None): # noqa: E501 - """PkgSummaryDiffVariables - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, id=None, name=None, old_description=None, new_description=None, old_args=None, new_args=None): # noqa: E501,D401,D403 + """PkgSummaryDiffVariables - a model defined in OpenAPI.""" # noqa: E501 self._id = None self._name = None self._old_description = None @@ -74,132 +74,114 @@ def __init__(self, id=None, name=None, old_description=None, new_description=Non @property def id(self): - """Gets the id of this PkgSummaryDiffVariables. # noqa: E501 - + """Get the id of this PkgSummaryDiffVariables. - :return: The id of this PkgSummaryDiffVariables. # noqa: E501 + :return: The id of this PkgSummaryDiffVariables. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this PkgSummaryDiffVariables. + """Set the id of this PkgSummaryDiffVariables. - - :param id: The id of this PkgSummaryDiffVariables. # noqa: E501 + :param id: The id of this PkgSummaryDiffVariables. :type: str - """ - + """ # noqa: E501 self._id = id @property def name(self): - """Gets the name of this PkgSummaryDiffVariables. # noqa: E501 + """Get the name of this PkgSummaryDiffVariables. - - :return: The name of this PkgSummaryDiffVariables. # noqa: E501 + :return: The name of this PkgSummaryDiffVariables. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this PkgSummaryDiffVariables. - + """Set the name of this PkgSummaryDiffVariables. - :param name: The name of this PkgSummaryDiffVariables. # noqa: E501 + :param name: The name of this PkgSummaryDiffVariables. :type: str - """ - + """ # noqa: E501 self._name = name @property def old_description(self): - """Gets the old_description of this PkgSummaryDiffVariables. # noqa: E501 + """Get the old_description of this PkgSummaryDiffVariables. - - :return: The old_description of this PkgSummaryDiffVariables. # noqa: E501 + :return: The old_description of this PkgSummaryDiffVariables. :rtype: str - """ + """ # noqa: E501 return self._old_description @old_description.setter def old_description(self, old_description): - """Sets the old_description of this PkgSummaryDiffVariables. - + """Set the old_description of this PkgSummaryDiffVariables. - :param old_description: The old_description of this PkgSummaryDiffVariables. # noqa: E501 + :param old_description: The old_description of this PkgSummaryDiffVariables. :type: str - """ - + """ # noqa: E501 self._old_description = old_description @property def new_description(self): - """Gets the new_description of this PkgSummaryDiffVariables. # noqa: E501 - + """Get the new_description of this PkgSummaryDiffVariables. - :return: The new_description of this PkgSummaryDiffVariables. # noqa: E501 + :return: The new_description of this PkgSummaryDiffVariables. :rtype: str - """ + """ # noqa: E501 return self._new_description @new_description.setter def new_description(self, new_description): - """Sets the new_description of this PkgSummaryDiffVariables. - + """Set the new_description of this PkgSummaryDiffVariables. - :param new_description: The new_description of this PkgSummaryDiffVariables. # noqa: E501 + :param new_description: The new_description of this PkgSummaryDiffVariables. :type: str - """ - + """ # noqa: E501 self._new_description = new_description @property def old_args(self): - """Gets the old_args of this PkgSummaryDiffVariables. # noqa: E501 - + """Get the old_args of this PkgSummaryDiffVariables. - :return: The old_args of this PkgSummaryDiffVariables. # noqa: E501 + :return: The old_args of this PkgSummaryDiffVariables. :rtype: VariableProperties - """ + """ # noqa: E501 return self._old_args @old_args.setter def old_args(self, old_args): - """Sets the old_args of this PkgSummaryDiffVariables. + """Set the old_args of this PkgSummaryDiffVariables. - - :param old_args: The old_args of this PkgSummaryDiffVariables. # noqa: E501 + :param old_args: The old_args of this PkgSummaryDiffVariables. :type: VariableProperties - """ - + """ # noqa: E501 self._old_args = old_args @property def new_args(self): - """Gets the new_args of this PkgSummaryDiffVariables. # noqa: E501 - + """Get the new_args of this PkgSummaryDiffVariables. - :return: The new_args of this PkgSummaryDiffVariables. # noqa: E501 + :return: The new_args of this PkgSummaryDiffVariables. :rtype: VariableProperties - """ + """ # noqa: E501 return self._new_args @new_args.setter def new_args(self, new_args): - """Sets the new_args of this PkgSummaryDiffVariables. + """Set the new_args of this PkgSummaryDiffVariables. - - :param new_args: The new_args of this PkgSummaryDiffVariables. # noqa: E501 + :param new_args: The new_args of this PkgSummaryDiffVariables. :type: VariableProperties - """ - + """ # noqa: E501 self._new_args = new_args def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -223,20 +205,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PkgSummaryDiffVariables): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pkg_summary_errors.py b/influxdb_client/domain/pkg_summary_errors.py index 0b957483..0477cc13 100644 --- a/influxdb_client/domain/pkg_summary_errors.py +++ b/influxdb_client/domain/pkg_summary_errors.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PkgSummaryErrors(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class PkgSummaryErrors(object): 'indexes': 'indexes' } - def __init__(self, kind=None, reason=None, fields=None, indexes=None): # noqa: E501 - """PkgSummaryErrors - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, kind=None, reason=None, fields=None, indexes=None): # noqa: E501,D401,D403 + """PkgSummaryErrors - a model defined in OpenAPI.""" # noqa: E501 self._kind = None self._reason = None self._fields = None @@ -64,90 +64,78 @@ def __init__(self, kind=None, reason=None, fields=None, indexes=None): # noqa: @property def kind(self): - """Gets the kind of this PkgSummaryErrors. # noqa: E501 + """Get the kind of this PkgSummaryErrors. - - :return: The kind of this PkgSummaryErrors. # noqa: E501 + :return: The kind of this PkgSummaryErrors. :rtype: str - """ + """ # noqa: E501 return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this PkgSummaryErrors. - + """Set the kind of this PkgSummaryErrors. - :param kind: The kind of this PkgSummaryErrors. # noqa: E501 + :param kind: The kind of this PkgSummaryErrors. :type: str - """ - + """ # noqa: E501 self._kind = kind @property def reason(self): - """Gets the reason of this PkgSummaryErrors. # noqa: E501 - + """Get the reason of this PkgSummaryErrors. - :return: The reason of this PkgSummaryErrors. # noqa: E501 + :return: The reason of this PkgSummaryErrors. :rtype: str - """ + """ # noqa: E501 return self._reason @reason.setter def reason(self, reason): - """Sets the reason of this PkgSummaryErrors. - + """Set the reason of this PkgSummaryErrors. - :param reason: The reason of this PkgSummaryErrors. # noqa: E501 + :param reason: The reason of this PkgSummaryErrors. :type: str - """ - + """ # noqa: E501 self._reason = reason @property def fields(self): - """Gets the fields of this PkgSummaryErrors. # noqa: E501 - + """Get the fields of this PkgSummaryErrors. - :return: The fields of this PkgSummaryErrors. # noqa: E501 + :return: The fields of this PkgSummaryErrors. :rtype: list[str] - """ + """ # noqa: E501 return self._fields @fields.setter def fields(self, fields): - """Sets the fields of this PkgSummaryErrors. + """Set the fields of this PkgSummaryErrors. - - :param fields: The fields of this PkgSummaryErrors. # noqa: E501 + :param fields: The fields of this PkgSummaryErrors. :type: list[str] - """ - + """ # noqa: E501 self._fields = fields @property def indexes(self): - """Gets the indexes of this PkgSummaryErrors. # noqa: E501 + """Get the indexes of this PkgSummaryErrors. - - :return: The indexes of this PkgSummaryErrors. # noqa: E501 + :return: The indexes of this PkgSummaryErrors. :rtype: list[int] - """ + """ # noqa: E501 return self._indexes @indexes.setter def indexes(self, indexes): - """Sets the indexes of this PkgSummaryErrors. - + """Set the indexes of this PkgSummaryErrors. - :param indexes: The indexes of this PkgSummaryErrors. # noqa: E501 + :param indexes: The indexes of this PkgSummaryErrors. :type: list[int] - """ - + """ # noqa: E501 self._indexes = indexes def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -171,20 +159,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PkgSummaryErrors): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pkg_summary_summary.py b/influxdb_client/domain/pkg_summary_summary.py index 30b844af..aea16f28 100644 --- a/influxdb_client/domain/pkg_summary_summary.py +++ b/influxdb_client/domain/pkg_summary_summary.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PkgSummarySummary(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -46,9 +47,8 @@ class PkgSummarySummary(object): 'variables': 'variables' } - def __init__(self, buckets=None, labels=None, dashboards=None, label_mappings=None, variables=None): # noqa: E501 - """PkgSummarySummary - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, buckets=None, labels=None, dashboards=None, label_mappings=None, variables=None): # noqa: E501,D401,D403 + """PkgSummarySummary - a model defined in OpenAPI.""" # noqa: E501 self._buckets = None self._labels = None self._dashboards = None @@ -69,111 +69,96 @@ def __init__(self, buckets=None, labels=None, dashboards=None, label_mappings=No @property def buckets(self): - """Gets the buckets of this PkgSummarySummary. # noqa: E501 - + """Get the buckets of this PkgSummarySummary. - :return: The buckets of this PkgSummarySummary. # noqa: E501 + :return: The buckets of this PkgSummarySummary. :rtype: list[Bucket] - """ + """ # noqa: E501 return self._buckets @buckets.setter def buckets(self, buckets): - """Sets the buckets of this PkgSummarySummary. + """Set the buckets of this PkgSummarySummary. - - :param buckets: The buckets of this PkgSummarySummary. # noqa: E501 + :param buckets: The buckets of this PkgSummarySummary. :type: list[Bucket] - """ - + """ # noqa: E501 self._buckets = buckets @property def labels(self): - """Gets the labels of this PkgSummarySummary. # noqa: E501 + """Get the labels of this PkgSummarySummary. - - :return: The labels of this PkgSummarySummary. # noqa: E501 + :return: The labels of this PkgSummarySummary. :rtype: list[Label] - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this PkgSummarySummary. - + """Set the labels of this PkgSummarySummary. - :param labels: The labels of this PkgSummarySummary. # noqa: E501 + :param labels: The labels of this PkgSummarySummary. :type: list[Label] - """ - + """ # noqa: E501 self._labels = labels @property def dashboards(self): - """Gets the dashboards of this PkgSummarySummary. # noqa: E501 - + """Get the dashboards of this PkgSummarySummary. - :return: The dashboards of this PkgSummarySummary. # noqa: E501 + :return: The dashboards of this PkgSummarySummary. :rtype: list[PkgSummarySummaryDashboards] - """ + """ # noqa: E501 return self._dashboards @dashboards.setter def dashboards(self, dashboards): - """Sets the dashboards of this PkgSummarySummary. + """Set the dashboards of this PkgSummarySummary. - - :param dashboards: The dashboards of this PkgSummarySummary. # noqa: E501 + :param dashboards: The dashboards of this PkgSummarySummary. :type: list[PkgSummarySummaryDashboards] - """ - + """ # noqa: E501 self._dashboards = dashboards @property def label_mappings(self): - """Gets the label_mappings of this PkgSummarySummary. # noqa: E501 + """Get the label_mappings of this PkgSummarySummary. - - :return: The label_mappings of this PkgSummarySummary. # noqa: E501 + :return: The label_mappings of this PkgSummarySummary. :rtype: list[PkgSummarySummaryLabelMappings] - """ + """ # noqa: E501 return self._label_mappings @label_mappings.setter def label_mappings(self, label_mappings): - """Sets the label_mappings of this PkgSummarySummary. - + """Set the label_mappings of this PkgSummarySummary. - :param label_mappings: The label_mappings of this PkgSummarySummary. # noqa: E501 + :param label_mappings: The label_mappings of this PkgSummarySummary. :type: list[PkgSummarySummaryLabelMappings] - """ - + """ # noqa: E501 self._label_mappings = label_mappings @property def variables(self): - """Gets the variables of this PkgSummarySummary. # noqa: E501 - + """Get the variables of this PkgSummarySummary. - :return: The variables of this PkgSummarySummary. # noqa: E501 + :return: The variables of this PkgSummarySummary. :rtype: list[Variable] - """ + """ # noqa: E501 return self._variables @variables.setter def variables(self, variables): - """Sets the variables of this PkgSummarySummary. + """Set the variables of this PkgSummarySummary. - - :param variables: The variables of this PkgSummarySummary. # noqa: E501 + :param variables: The variables of this PkgSummarySummary. :type: list[Variable] - """ - + """ # noqa: E501 self._variables = variables def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -197,20 +182,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PkgSummarySummary): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pkg_summary_summary_dashboards.py b/influxdb_client/domain/pkg_summary_summary_dashboards.py index 5cc2fc41..ce5e06ce 100644 --- a/influxdb_client/domain/pkg_summary_summary_dashboards.py +++ b/influxdb_client/domain/pkg_summary_summary_dashboards.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PkgSummarySummaryDashboards(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -48,9 +49,8 @@ class PkgSummarySummaryDashboards(object): 'charts': 'charts' } - def __init__(self, id=None, org_id=None, name=None, description=None, label_associations=None, charts=None): # noqa: E501 - """PkgSummarySummaryDashboards - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, id=None, org_id=None, name=None, description=None, label_associations=None, charts=None): # noqa: E501,D401,D403 + """PkgSummarySummaryDashboards - a model defined in OpenAPI.""" # noqa: E501 self._id = None self._org_id = None self._name = None @@ -74,132 +74,114 @@ def __init__(self, id=None, org_id=None, name=None, description=None, label_asso @property def id(self): - """Gets the id of this PkgSummarySummaryDashboards. # noqa: E501 - + """Get the id of this PkgSummarySummaryDashboards. - :return: The id of this PkgSummarySummaryDashboards. # noqa: E501 + :return: The id of this PkgSummarySummaryDashboards. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this PkgSummarySummaryDashboards. + """Set the id of this PkgSummarySummaryDashboards. - - :param id: The id of this PkgSummarySummaryDashboards. # noqa: E501 + :param id: The id of this PkgSummarySummaryDashboards. :type: str - """ - + """ # noqa: E501 self._id = id @property def org_id(self): - """Gets the org_id of this PkgSummarySummaryDashboards. # noqa: E501 + """Get the org_id of this PkgSummarySummaryDashboards. - - :return: The org_id of this PkgSummarySummaryDashboards. # noqa: E501 + :return: The org_id of this PkgSummarySummaryDashboards. :rtype: str - """ + """ # noqa: E501 return self._org_id @org_id.setter def org_id(self, org_id): - """Sets the org_id of this PkgSummarySummaryDashboards. - + """Set the org_id of this PkgSummarySummaryDashboards. - :param org_id: The org_id of this PkgSummarySummaryDashboards. # noqa: E501 + :param org_id: The org_id of this PkgSummarySummaryDashboards. :type: str - """ - + """ # noqa: E501 self._org_id = org_id @property def name(self): - """Gets the name of this PkgSummarySummaryDashboards. # noqa: E501 + """Get the name of this PkgSummarySummaryDashboards. - - :return: The name of this PkgSummarySummaryDashboards. # noqa: E501 + :return: The name of this PkgSummarySummaryDashboards. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this PkgSummarySummaryDashboards. - + """Set the name of this PkgSummarySummaryDashboards. - :param name: The name of this PkgSummarySummaryDashboards. # noqa: E501 + :param name: The name of this PkgSummarySummaryDashboards. :type: str - """ - + """ # noqa: E501 self._name = name @property def description(self): - """Gets the description of this PkgSummarySummaryDashboards. # noqa: E501 - + """Get the description of this PkgSummarySummaryDashboards. - :return: The description of this PkgSummarySummaryDashboards. # noqa: E501 + :return: The description of this PkgSummarySummaryDashboards. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this PkgSummarySummaryDashboards. - + """Set the description of this PkgSummarySummaryDashboards. - :param description: The description of this PkgSummarySummaryDashboards. # noqa: E501 + :param description: The description of this PkgSummarySummaryDashboards. :type: str - """ - + """ # noqa: E501 self._description = description @property def label_associations(self): - """Gets the label_associations of this PkgSummarySummaryDashboards. # noqa: E501 - + """Get the label_associations of this PkgSummarySummaryDashboards. - :return: The label_associations of this PkgSummarySummaryDashboards. # noqa: E501 + :return: The label_associations of this PkgSummarySummaryDashboards. :rtype: list[Label] - """ + """ # noqa: E501 return self._label_associations @label_associations.setter def label_associations(self, label_associations): - """Sets the label_associations of this PkgSummarySummaryDashboards. + """Set the label_associations of this PkgSummarySummaryDashboards. - - :param label_associations: The label_associations of this PkgSummarySummaryDashboards. # noqa: E501 + :param label_associations: The label_associations of this PkgSummarySummaryDashboards. :type: list[Label] - """ - + """ # noqa: E501 self._label_associations = label_associations @property def charts(self): - """Gets the charts of this PkgSummarySummaryDashboards. # noqa: E501 - + """Get the charts of this PkgSummarySummaryDashboards. - :return: The charts of this PkgSummarySummaryDashboards. # noqa: E501 + :return: The charts of this PkgSummarySummaryDashboards. :rtype: list[PkgChart] - """ + """ # noqa: E501 return self._charts @charts.setter def charts(self, charts): - """Sets the charts of this PkgSummarySummaryDashboards. + """Set the charts of this PkgSummarySummaryDashboards. - - :param charts: The charts of this PkgSummarySummaryDashboards. # noqa: E501 + :param charts: The charts of this PkgSummarySummaryDashboards. :type: list[PkgChart] - """ - + """ # noqa: E501 self._charts = charts def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -223,20 +205,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PkgSummarySummaryDashboards): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/pkg_summary_summary_label_mappings.py b/influxdb_client/domain/pkg_summary_summary_label_mappings.py index 67f0df22..dc6f5dd4 100644 --- a/influxdb_client/domain/pkg_summary_summary_label_mappings.py +++ b/influxdb_client/domain/pkg_summary_summary_label_mappings.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PkgSummarySummaryLabelMappings(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -46,9 +47,8 @@ class PkgSummarySummaryLabelMappings(object): 'label_id': 'labelID' } - def __init__(self, resource_name=None, resource_id=None, resource_type=None, label_name=None, label_id=None): # noqa: E501 - """PkgSummarySummaryLabelMappings - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, resource_name=None, resource_id=None, resource_type=None, label_name=None, label_id=None): # noqa: E501,D401,D403 + """PkgSummarySummaryLabelMappings - a model defined in OpenAPI.""" # noqa: E501 self._resource_name = None self._resource_id = None self._resource_type = None @@ -69,111 +69,96 @@ def __init__(self, resource_name=None, resource_id=None, resource_type=None, lab @property def resource_name(self): - """Gets the resource_name of this PkgSummarySummaryLabelMappings. # noqa: E501 - + """Get the resource_name of this PkgSummarySummaryLabelMappings. - :return: The resource_name of this PkgSummarySummaryLabelMappings. # noqa: E501 + :return: The resource_name of this PkgSummarySummaryLabelMappings. :rtype: str - """ + """ # noqa: E501 return self._resource_name @resource_name.setter def resource_name(self, resource_name): - """Sets the resource_name of this PkgSummarySummaryLabelMappings. + """Set the resource_name of this PkgSummarySummaryLabelMappings. - - :param resource_name: The resource_name of this PkgSummarySummaryLabelMappings. # noqa: E501 + :param resource_name: The resource_name of this PkgSummarySummaryLabelMappings. :type: str - """ - + """ # noqa: E501 self._resource_name = resource_name @property def resource_id(self): - """Gets the resource_id of this PkgSummarySummaryLabelMappings. # noqa: E501 + """Get the resource_id of this PkgSummarySummaryLabelMappings. - - :return: The resource_id of this PkgSummarySummaryLabelMappings. # noqa: E501 + :return: The resource_id of this PkgSummarySummaryLabelMappings. :rtype: str - """ + """ # noqa: E501 return self._resource_id @resource_id.setter def resource_id(self, resource_id): - """Sets the resource_id of this PkgSummarySummaryLabelMappings. - + """Set the resource_id of this PkgSummarySummaryLabelMappings. - :param resource_id: The resource_id of this PkgSummarySummaryLabelMappings. # noqa: E501 + :param resource_id: The resource_id of this PkgSummarySummaryLabelMappings. :type: str - """ - + """ # noqa: E501 self._resource_id = resource_id @property def resource_type(self): - """Gets the resource_type of this PkgSummarySummaryLabelMappings. # noqa: E501 - + """Get the resource_type of this PkgSummarySummaryLabelMappings. - :return: The resource_type of this PkgSummarySummaryLabelMappings. # noqa: E501 + :return: The resource_type of this PkgSummarySummaryLabelMappings. :rtype: str - """ + """ # noqa: E501 return self._resource_type @resource_type.setter def resource_type(self, resource_type): - """Sets the resource_type of this PkgSummarySummaryLabelMappings. + """Set the resource_type of this PkgSummarySummaryLabelMappings. - - :param resource_type: The resource_type of this PkgSummarySummaryLabelMappings. # noqa: E501 + :param resource_type: The resource_type of this PkgSummarySummaryLabelMappings. :type: str - """ - + """ # noqa: E501 self._resource_type = resource_type @property def label_name(self): - """Gets the label_name of this PkgSummarySummaryLabelMappings. # noqa: E501 + """Get the label_name of this PkgSummarySummaryLabelMappings. - - :return: The label_name of this PkgSummarySummaryLabelMappings. # noqa: E501 + :return: The label_name of this PkgSummarySummaryLabelMappings. :rtype: str - """ + """ # noqa: E501 return self._label_name @label_name.setter def label_name(self, label_name): - """Sets the label_name of this PkgSummarySummaryLabelMappings. - + """Set the label_name of this PkgSummarySummaryLabelMappings. - :param label_name: The label_name of this PkgSummarySummaryLabelMappings. # noqa: E501 + :param label_name: The label_name of this PkgSummarySummaryLabelMappings. :type: str - """ - + """ # noqa: E501 self._label_name = label_name @property def label_id(self): - """Gets the label_id of this PkgSummarySummaryLabelMappings. # noqa: E501 - + """Get the label_id of this PkgSummarySummaryLabelMappings. - :return: The label_id of this PkgSummarySummaryLabelMappings. # noqa: E501 + :return: The label_id of this PkgSummarySummaryLabelMappings. :rtype: str - """ + """ # noqa: E501 return self._label_id @label_id.setter def label_id(self, label_id): - """Sets the label_id of this PkgSummarySummaryLabelMappings. + """Set the label_id of this PkgSummarySummaryLabelMappings. - - :param label_id: The label_id of this PkgSummarySummaryLabelMappings. # noqa: E501 + :param label_id: The label_id of this PkgSummarySummaryLabelMappings. :type: str - """ - + """ # noqa: E501 self._label_id = label_id def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -197,20 +182,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PkgSummarySummaryLabelMappings): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/post_bucket_request.py b/influxdb_client/domain/post_bucket_request.py index e045fa2d..0d799670 100644 --- a/influxdb_client/domain/post_bucket_request.py +++ b/influxdb_client/domain/post_bucket_request.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PostBucketRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -46,9 +47,8 @@ class PostBucketRequest(object): 'retention_rules': 'retentionRules' } - def __init__(self, org_id=None, name=None, description=None, rp=None, retention_rules=None): # noqa: E501 - """PostBucketRequest - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, org_id=None, name=None, description=None, rp=None, retention_rules=None): # noqa: E501,D401,D403 + """PostBucketRequest - a model defined in OpenAPI.""" # noqa: E501 self._org_id = None self._name = None self._description = None @@ -67,117 +67,104 @@ def __init__(self, org_id=None, name=None, description=None, rp=None, retention_ @property def org_id(self): - """Gets the org_id of this PostBucketRequest. # noqa: E501 + """Get the org_id of this PostBucketRequest. - - :return: The org_id of this PostBucketRequest. # noqa: E501 + :return: The org_id of this PostBucketRequest. :rtype: str - """ + """ # noqa: E501 return self._org_id @org_id.setter def org_id(self, org_id): - """Sets the org_id of this PostBucketRequest. - + """Set the org_id of this PostBucketRequest. - :param org_id: The org_id of this PostBucketRequest. # noqa: E501 + :param org_id: The org_id of this PostBucketRequest. :type: str - """ - + """ # noqa: E501 self._org_id = org_id @property def name(self): - """Gets the name of this PostBucketRequest. # noqa: E501 - + """Get the name of this PostBucketRequest. - :return: The name of this PostBucketRequest. # noqa: E501 + :return: The name of this PostBucketRequest. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this PostBucketRequest. + """Set the name of this PostBucketRequest. - - :param name: The name of this PostBucketRequest. # noqa: E501 + :param name: The name of this PostBucketRequest. :type: str - """ + """ # noqa: E501 if name is None: raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - self._name = name @property def description(self): - """Gets the description of this PostBucketRequest. # noqa: E501 + """Get the description of this PostBucketRequest. - - :return: The description of this PostBucketRequest. # noqa: E501 + :return: The description of this PostBucketRequest. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this PostBucketRequest. - + """Set the description of this PostBucketRequest. - :param description: The description of this PostBucketRequest. # noqa: E501 + :param description: The description of this PostBucketRequest. :type: str - """ - + """ # noqa: E501 self._description = description @property def rp(self): - """Gets the rp of this PostBucketRequest. # noqa: E501 - + """Get the rp of this PostBucketRequest. - :return: The rp of this PostBucketRequest. # noqa: E501 + :return: The rp of this PostBucketRequest. :rtype: str - """ + """ # noqa: E501 return self._rp @rp.setter def rp(self, rp): - """Sets the rp of this PostBucketRequest. + """Set the rp of this PostBucketRequest. - - :param rp: The rp of this PostBucketRequest. # noqa: E501 + :param rp: The rp of this PostBucketRequest. :type: str - """ - + """ # noqa: E501 self._rp = rp @property def retention_rules(self): - """Gets the retention_rules of this PostBucketRequest. # noqa: E501 + """Get the retention_rules of this PostBucketRequest. - Rules to expire or retain data. No rules means data never expires. # noqa: E501 + Rules to expire or retain data. No rules means data never expires. - :return: The retention_rules of this PostBucketRequest. # noqa: E501 + :return: The retention_rules of this PostBucketRequest. :rtype: list[BucketRetentionRules] - """ + """ # noqa: E501 return self._retention_rules @retention_rules.setter def retention_rules(self, retention_rules): - """Sets the retention_rules of this PostBucketRequest. + """Set the retention_rules of this PostBucketRequest. - Rules to expire or retain data. No rules means data never expires. # noqa: E501 + Rules to expire or retain data. No rules means data never expires. - :param retention_rules: The retention_rules of this PostBucketRequest. # noqa: E501 + :param retention_rules: The retention_rules of this PostBucketRequest. :type: list[BucketRetentionRules] - """ + """ # noqa: E501 if retention_rules is None: raise ValueError("Invalid value for `retention_rules`, must not be `None`") # noqa: E501 - self._retention_rules = retention_rules def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -201,20 +188,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PostBucketRequest): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/post_check.py b/influxdb_client/domain/post_check.py index 26d56a17..41f90c91 100644 --- a/influxdb_client/domain/post_check.py +++ b/influxdb_client/domain/post_check.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PostCheck(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -36,12 +37,11 @@ class PostCheck(object): attribute_map = { } - def __init__(self): # noqa: E501 - """PostCheck - a model defined in OpenAPI""" # noqa: E501 - self.discriminator = None + def __init__(self): # noqa: E501,D401,D403 + """PostCheck - a model defined in OpenAPI.""" # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -65,20 +65,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PostCheck): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/post_notification_endpoint.py b/influxdb_client/domain/post_notification_endpoint.py index b3c929bf..518de843 100644 --- a/influxdb_client/domain/post_notification_endpoint.py +++ b/influxdb_client/domain/post_notification_endpoint.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PostNotificationEndpoint(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -36,12 +37,11 @@ class PostNotificationEndpoint(object): attribute_map = { } - def __init__(self): # noqa: E501 - """PostNotificationEndpoint - a model defined in OpenAPI""" # noqa: E501 - self.discriminator = None + def __init__(self): # noqa: E501,D401,D403 + """PostNotificationEndpoint - a model defined in OpenAPI.""" # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -65,20 +65,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PostNotificationEndpoint): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/post_notification_rule.py b/influxdb_client/domain/post_notification_rule.py index 9714d72f..77ed32dd 100644 --- a/influxdb_client/domain/post_notification_rule.py +++ b/influxdb_client/domain/post_notification_rule.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class PostNotificationRule(NotificationRuleDiscriminator): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -37,13 +38,13 @@ class PostNotificationRule(NotificationRuleDiscriminator): attribute_map = { } - def __init__(self): # noqa: E501 - """PostNotificationRule - a model defined in OpenAPI""" # noqa: E501 + def __init__(self): # noqa: E501,D401,D403 + """PostNotificationRule - a model defined in OpenAPI.""" # noqa: E501 NotificationRuleDiscriminator.__init__(self) # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -67,20 +68,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PostNotificationRule): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/property_key.py b/influxdb_client/domain/property_key.py index 4147cca9..809a7499 100644 --- a/influxdb_client/domain/property_key.py +++ b/influxdb_client/domain/property_key.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class PropertyKey(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -36,12 +37,11 @@ class PropertyKey(object): attribute_map = { } - def __init__(self): # noqa: E501 - """PropertyKey - a model defined in OpenAPI""" # noqa: E501 - self.discriminator = None + def __init__(self): # noqa: E501,D401,D403 + """PropertyKey - a model defined in OpenAPI.""" # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -65,20 +65,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, PropertyKey): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/query.py b/influxdb_client/domain/query.py index 7222681a..1d86dec6 100644 --- a/influxdb_client/domain/query.py +++ b/influxdb_client/domain/query.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Query(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -46,9 +47,8 @@ class Query(object): 'now': 'now' } - def __init__(self, extern=None, query=None, type=None, dialect=None, now=None): # noqa: E501 - """Query - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, extern=None, query=None, type=None, dialect=None, now=None): # noqa: E501,D401,D403 + """Query - a model defined in OpenAPI.""" # noqa: E501 self._extern = None self._query = None self._type = None @@ -68,119 +68,110 @@ def __init__(self, extern=None, query=None, type=None, dialect=None, now=None): @property def extern(self): - """Gets the extern of this Query. # noqa: E501 - + """Get the extern of this Query. - :return: The extern of this Query. # noqa: E501 + :return: The extern of this Query. :rtype: File - """ + """ # noqa: E501 return self._extern @extern.setter def extern(self, extern): - """Sets the extern of this Query. + """Set the extern of this Query. - - :param extern: The extern of this Query. # noqa: E501 + :param extern: The extern of this Query. :type: File - """ - + """ # noqa: E501 self._extern = extern @property def query(self): - """Gets the query of this Query. # noqa: E501 + """Get the query of this Query. - Query script to execute. # noqa: E501 + Query script to execute. - :return: The query of this Query. # noqa: E501 + :return: The query of this Query. :rtype: str - """ + """ # noqa: E501 return self._query @query.setter def query(self, query): - """Sets the query of this Query. + """Set the query of this Query. - Query script to execute. # noqa: E501 + Query script to execute. - :param query: The query of this Query. # noqa: E501 + :param query: The query of this Query. :type: str - """ + """ # noqa: E501 if query is None: raise ValueError("Invalid value for `query`, must not be `None`") # noqa: E501 - self._query = query @property def type(self): - """Gets the type of this Query. # noqa: E501 + """Get the type of this Query. - The type of query. Must be \"flux\". # noqa: E501 + The type of query. Must be "flux". - :return: The type of this Query. # noqa: E501 + :return: The type of this Query. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this Query. + """Set the type of this Query. - The type of query. Must be \"flux\". # noqa: E501 + The type of query. Must be "flux". - :param type: The type of this Query. # noqa: E501 + :param type: The type of this Query. :type: str - """ - + """ # noqa: E501 self._type = type @property def dialect(self): - """Gets the dialect of this Query. # noqa: E501 - + """Get the dialect of this Query. - :return: The dialect of this Query. # noqa: E501 + :return: The dialect of this Query. :rtype: Dialect - """ + """ # noqa: E501 return self._dialect @dialect.setter def dialect(self, dialect): - """Sets the dialect of this Query. - + """Set the dialect of this Query. - :param dialect: The dialect of this Query. # noqa: E501 + :param dialect: The dialect of this Query. :type: Dialect - """ - + """ # noqa: E501 self._dialect = dialect @property def now(self): - """Gets the now of this Query. # noqa: E501 + """Get the now of this Query. - Specifies the time that should be reported as \"now\" in the query. Default is the server's now time. # noqa: E501 + Specifies the time that should be reported as "now" in the query. Default is the server's now time. - :return: The now of this Query. # noqa: E501 + :return: The now of this Query. :rtype: datetime - """ + """ # noqa: E501 return self._now @now.setter def now(self, now): - """Sets the now of this Query. + """Set the now of this Query. - Specifies the time that should be reported as \"now\" in the query. Default is the server's now time. # noqa: E501 + Specifies the time that should be reported as "now" in the query. Default is the server's now time. - :param now: The now of this Query. # noqa: E501 + :param now: The now of this Query. :type: datetime - """ - + """ # noqa: E501 self._now = now def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -204,20 +195,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Query): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/query_edit_mode.py b/influxdb_client/domain/query_edit_mode.py index 8d98db51..94f50032 100644 --- a/influxdb_client/domain/query_edit_mode.py +++ b/influxdb_client/domain/query_edit_mode.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class QueryEditMode(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,12 +43,11 @@ class QueryEditMode(object): attribute_map = { } - def __init__(self): # noqa: E501 - """QueryEditMode - a model defined in OpenAPI""" # noqa: E501 - self.discriminator = None + def __init__(self): # noqa: E501,D401,D403 + """QueryEditMode - a model defined in OpenAPI.""" # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -71,20 +71,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, QueryEditMode): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/query_variable_properties.py b/influxdb_client/domain/query_variable_properties.py index 61f707ce..c9410959 100644 --- a/influxdb_client/domain/query_variable_properties.py +++ b/influxdb_client/domain/query_variable_properties.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class QueryVariableProperties(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class QueryVariableProperties(object): 'values': 'values' } - def __init__(self, type=None, values=None): # noqa: E501 - """QueryVariableProperties - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, values=None): # noqa: E501,D401,D403 + """QueryVariableProperties - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._values = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, type=None, values=None): # noqa: E501 @property def type(self): - """Gets the type of this QueryVariableProperties. # noqa: E501 + """Get the type of this QueryVariableProperties. - - :return: The type of this QueryVariableProperties. # noqa: E501 + :return: The type of this QueryVariableProperties. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this QueryVariableProperties. - + """Set the type of this QueryVariableProperties. - :param type: The type of this QueryVariableProperties. # noqa: E501 + :param type: The type of this QueryVariableProperties. :type: str - """ - + """ # noqa: E501 self._type = type @property def values(self): - """Gets the values of this QueryVariableProperties. # noqa: E501 - + """Get the values of this QueryVariableProperties. - :return: The values of this QueryVariableProperties. # noqa: E501 + :return: The values of this QueryVariableProperties. :rtype: QueryVariablePropertiesValues - """ + """ # noqa: E501 return self._values @values.setter def values(self, values): - """Sets the values of this QueryVariableProperties. + """Set the values of this QueryVariableProperties. - - :param values: The values of this QueryVariableProperties. # noqa: E501 + :param values: The values of this QueryVariableProperties. :type: QueryVariablePropertiesValues - """ - + """ # noqa: E501 self._values = values def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, QueryVariableProperties): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/query_variable_properties_values.py b/influxdb_client/domain/query_variable_properties_values.py index 26cf4e76..aaa78cf5 100644 --- a/influxdb_client/domain/query_variable_properties_values.py +++ b/influxdb_client/domain/query_variable_properties_values.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class QueryVariablePropertiesValues(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class QueryVariablePropertiesValues(object): 'language': 'language' } - def __init__(self, query=None, language=None): # noqa: E501 - """QueryVariablePropertiesValues - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, query=None, language=None): # noqa: E501,D401,D403 + """QueryVariablePropertiesValues - a model defined in OpenAPI.""" # noqa: E501 self._query = None self._language = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, query=None, language=None): # noqa: E501 @property def query(self): - """Gets the query of this QueryVariablePropertiesValues. # noqa: E501 + """Get the query of this QueryVariablePropertiesValues. - - :return: The query of this QueryVariablePropertiesValues. # noqa: E501 + :return: The query of this QueryVariablePropertiesValues. :rtype: str - """ + """ # noqa: E501 return self._query @query.setter def query(self, query): - """Sets the query of this QueryVariablePropertiesValues. - + """Set the query of this QueryVariablePropertiesValues. - :param query: The query of this QueryVariablePropertiesValues. # noqa: E501 + :param query: The query of this QueryVariablePropertiesValues. :type: str - """ - + """ # noqa: E501 self._query = query @property def language(self): - """Gets the language of this QueryVariablePropertiesValues. # noqa: E501 - + """Get the language of this QueryVariablePropertiesValues. - :return: The language of this QueryVariablePropertiesValues. # noqa: E501 + :return: The language of this QueryVariablePropertiesValues. :rtype: str - """ + """ # noqa: E501 return self._language @language.setter def language(self, language): - """Sets the language of this QueryVariablePropertiesValues. + """Set the language of this QueryVariablePropertiesValues. - - :param language: The language of this QueryVariablePropertiesValues. # noqa: E501 + :param language: The language of this QueryVariablePropertiesValues. :type: str - """ - + """ # noqa: E501 self._language = language def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, QueryVariablePropertiesValues): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/range_threshold.py b/influxdb_client/domain/range_threshold.py index 3cca1579..2c3e8f90 100644 --- a/influxdb_client/domain/range_threshold.py +++ b/influxdb_client/domain/range_threshold.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class RangeThreshold(Threshold): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -45,8 +46,8 @@ class RangeThreshold(Threshold): 'within': 'within' } - def __init__(self, type=None, min=None, max=None, within=None): # noqa: E501 - """RangeThreshold - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, type=None, min=None, max=None, within=None): # noqa: E501,D401,D403 + """RangeThreshold - a model defined in OpenAPI.""" # noqa: E501 Threshold.__init__(self) # noqa: E501 self._type = None @@ -62,98 +63,86 @@ def __init__(self, type=None, min=None, max=None, within=None): # noqa: E501 @property def type(self): - """Gets the type of this RangeThreshold. # noqa: E501 - + """Get the type of this RangeThreshold. - :return: The type of this RangeThreshold. # noqa: E501 + :return: The type of this RangeThreshold. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this RangeThreshold. + """Set the type of this RangeThreshold. - - :param type: The type of this RangeThreshold. # noqa: E501 + :param type: The type of this RangeThreshold. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def min(self): - """Gets the min of this RangeThreshold. # noqa: E501 + """Get the min of this RangeThreshold. - - :return: The min of this RangeThreshold. # noqa: E501 + :return: The min of this RangeThreshold. :rtype: float - """ + """ # noqa: E501 return self._min @min.setter def min(self, min): - """Sets the min of this RangeThreshold. - + """Set the min of this RangeThreshold. - :param min: The min of this RangeThreshold. # noqa: E501 + :param min: The min of this RangeThreshold. :type: float - """ + """ # noqa: E501 if min is None: raise ValueError("Invalid value for `min`, must not be `None`") # noqa: E501 - self._min = min @property def max(self): - """Gets the max of this RangeThreshold. # noqa: E501 + """Get the max of this RangeThreshold. - - :return: The max of this RangeThreshold. # noqa: E501 + :return: The max of this RangeThreshold. :rtype: float - """ + """ # noqa: E501 return self._max @max.setter def max(self, max): - """Sets the max of this RangeThreshold. - + """Set the max of this RangeThreshold. - :param max: The max of this RangeThreshold. # noqa: E501 + :param max: The max of this RangeThreshold. :type: float - """ + """ # noqa: E501 if max is None: raise ValueError("Invalid value for `max`, must not be `None`") # noqa: E501 - self._max = max @property def within(self): - """Gets the within of this RangeThreshold. # noqa: E501 + """Get the within of this RangeThreshold. - - :return: The within of this RangeThreshold. # noqa: E501 + :return: The within of this RangeThreshold. :rtype: bool - """ + """ # noqa: E501 return self._within @within.setter def within(self, within): - """Sets the within of this RangeThreshold. - + """Set the within of this RangeThreshold. - :param within: The within of this RangeThreshold. # noqa: E501 + :param within: The within of this RangeThreshold. :type: bool - """ + """ # noqa: E501 if within is None: raise ValueError("Invalid value for `within`, must not be `None`") # noqa: E501 - self._within = within def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -177,20 +166,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, RangeThreshold): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/ready.py b/influxdb_client/domain/ready.py index 713ff3f8..6bdf7410 100644 --- a/influxdb_client/domain/ready.py +++ b/influxdb_client/domain/ready.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Ready(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class Ready(object): 'up': 'up' } - def __init__(self, status=None, started=None, up=None): # noqa: E501 - """Ready - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, status=None, started=None, up=None): # noqa: E501,D401,D403 + """Ready - a model defined in OpenAPI.""" # noqa: E501 self._status = None self._started = None self._up = None @@ -59,69 +59,60 @@ def __init__(self, status=None, started=None, up=None): # noqa: E501 @property def status(self): - """Gets the status of this Ready. # noqa: E501 - + """Get the status of this Ready. - :return: The status of this Ready. # noqa: E501 + :return: The status of this Ready. :rtype: str - """ + """ # noqa: E501 return self._status @status.setter def status(self, status): - """Sets the status of this Ready. + """Set the status of this Ready. - - :param status: The status of this Ready. # noqa: E501 + :param status: The status of this Ready. :type: str - """ - + """ # noqa: E501 self._status = status @property def started(self): - """Gets the started of this Ready. # noqa: E501 - + """Get the started of this Ready. - :return: The started of this Ready. # noqa: E501 + :return: The started of this Ready. :rtype: datetime - """ + """ # noqa: E501 return self._started @started.setter def started(self, started): - """Sets the started of this Ready. + """Set the started of this Ready. - - :param started: The started of this Ready. # noqa: E501 + :param started: The started of this Ready. :type: datetime - """ - + """ # noqa: E501 self._started = started @property def up(self): - """Gets the up of this Ready. # noqa: E501 - + """Get the up of this Ready. - :return: The up of this Ready. # noqa: E501 + :return: The up of this Ready. :rtype: str - """ + """ # noqa: E501 return self._up @up.setter def up(self, up): - """Sets the up of this Ready. + """Set the up of this Ready. - - :param up: The up of this Ready. # noqa: E501 + :param up: The up of this Ready. :type: str - """ - + """ # noqa: E501 self._up = up def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -145,20 +136,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Ready): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/regexp_literal.py b/influxdb_client/domain/regexp_literal.py index ec054f2e..aee69b35 100644 --- a/influxdb_client/domain/regexp_literal.py +++ b/influxdb_client/domain/regexp_literal.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class RegexpLiteral(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class RegexpLiteral(object): 'value': 'value' } - def __init__(self, type=None, value=None): # noqa: E501 - """RegexpLiteral - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, value=None): # noqa: E501,D401,D403 + """RegexpLiteral - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._value = None self.discriminator = None @@ -54,50 +54,46 @@ def __init__(self, type=None, value=None): # noqa: E501 @property def type(self): - """Gets the type of this RegexpLiteral. # noqa: E501 + """Get the type of this RegexpLiteral. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this RegexpLiteral. # noqa: E501 + :return: The type of this RegexpLiteral. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this RegexpLiteral. + """Set the type of this RegexpLiteral. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this RegexpLiteral. # noqa: E501 + :param type: The type of this RegexpLiteral. :type: str - """ - + """ # noqa: E501 self._type = type @property def value(self): - """Gets the value of this RegexpLiteral. # noqa: E501 + """Get the value of this RegexpLiteral. - - :return: The value of this RegexpLiteral. # noqa: E501 + :return: The value of this RegexpLiteral. :rtype: str - """ + """ # noqa: E501 return self._value @value.setter def value(self, value): - """Sets the value of this RegexpLiteral. - + """Set the value of this RegexpLiteral. - :param value: The value of this RegexpLiteral. # noqa: E501 + :param value: The value of this RegexpLiteral. :type: str - """ - + """ # noqa: E501 self._value = value def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +117,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, RegexpLiteral): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/renamable_field.py b/influxdb_client/domain/renamable_field.py index 5788a673..7ffb2b6c 100644 --- a/influxdb_client/domain/renamable_field.py +++ b/influxdb_client/domain/renamable_field.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class RenamableField(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class RenamableField(object): 'visible': 'visible' } - def __init__(self, internal_name=None, display_name=None, visible=None): # noqa: E501 - """RenamableField - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, internal_name=None, display_name=None, visible=None): # noqa: E501,D401,D403 + """RenamableField - a model defined in OpenAPI.""" # noqa: E501 self._internal_name = None self._display_name = None self._visible = None @@ -59,75 +59,72 @@ def __init__(self, internal_name=None, display_name=None, visible=None): # noqa @property def internal_name(self): - """Gets the internal_name of this RenamableField. # noqa: E501 + """Get the internal_name of this RenamableField. - The calculated name of a field. # noqa: E501 + The calculated name of a field. - :return: The internal_name of this RenamableField. # noqa: E501 + :return: The internal_name of this RenamableField. :rtype: str - """ + """ # noqa: E501 return self._internal_name @internal_name.setter def internal_name(self, internal_name): - """Sets the internal_name of this RenamableField. + """Set the internal_name of this RenamableField. - The calculated name of a field. # noqa: E501 + The calculated name of a field. - :param internal_name: The internal_name of this RenamableField. # noqa: E501 + :param internal_name: The internal_name of this RenamableField. :type: str - """ - + """ # noqa: E501 self._internal_name = internal_name @property def display_name(self): - """Gets the display_name of this RenamableField. # noqa: E501 + """Get the display_name of this RenamableField. - The name that a field is renamed to by the user. # noqa: E501 + The name that a field is renamed to by the user. - :return: The display_name of this RenamableField. # noqa: E501 + :return: The display_name of this RenamableField. :rtype: str - """ + """ # noqa: E501 return self._display_name @display_name.setter def display_name(self, display_name): - """Sets the display_name of this RenamableField. + """Set the display_name of this RenamableField. - The name that a field is renamed to by the user. # noqa: E501 + The name that a field is renamed to by the user. - :param display_name: The display_name of this RenamableField. # noqa: E501 + :param display_name: The display_name of this RenamableField. :type: str - """ - + """ # noqa: E501 self._display_name = display_name @property def visible(self): - """Gets the visible of this RenamableField. # noqa: E501 + """Get the visible of this RenamableField. - Indicates whether this field should be visible on the table. # noqa: E501 + Indicates whether this field should be visible on the table. - :return: The visible of this RenamableField. # noqa: E501 + :return: The visible of this RenamableField. :rtype: bool - """ + """ # noqa: E501 return self._visible @visible.setter def visible(self, visible): - """Sets the visible of this RenamableField. + """Set the visible of this RenamableField. - Indicates whether this field should be visible on the table. # noqa: E501 + Indicates whether this field should be visible on the table. - :param visible: The visible of this RenamableField. # noqa: E501 + :param visible: The visible of this RenamableField. :type: bool - """ - + """ # noqa: E501 self._visible = visible def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -151,20 +148,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, RenamableField): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/resource_member.py b/influxdb_client/domain/resource_member.py index b5ab31d0..47435359 100644 --- a/influxdb_client/domain/resource_member.py +++ b/influxdb_client/domain/resource_member.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class ResourceMember(User): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -49,8 +50,8 @@ class ResourceMember(User): 'links': 'links' } - def __init__(self, role='member', id=None, oauth_id=None, name=None, status='active', links=None): # noqa: E501 - """ResourceMember - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, role='member', id=None, oauth_id=None, name=None, status='active', links=None): # noqa: E501,D401,D403 + """ResourceMember - a model defined in OpenAPI.""" # noqa: E501 User.__init__(self, id=id, oauth_id=oauth_id, name=name, status=status, links=links) # noqa: E501 self._role = None @@ -61,27 +62,24 @@ def __init__(self, role='member', id=None, oauth_id=None, name=None, status='act @property def role(self): - """Gets the role of this ResourceMember. # noqa: E501 - + """Get the role of this ResourceMember. - :return: The role of this ResourceMember. # noqa: E501 + :return: The role of this ResourceMember. :rtype: str - """ + """ # noqa: E501 return self._role @role.setter def role(self, role): - """Sets the role of this ResourceMember. + """Set the role of this ResourceMember. - - :param role: The role of this ResourceMember. # noqa: E501 + :param role: The role of this ResourceMember. :type: str - """ - + """ # noqa: E501 self._role = role def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -105,20 +103,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ResourceMember): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/resource_members.py b/influxdb_client/domain/resource_members.py index f6bf98f3..e02d3289 100644 --- a/influxdb_client/domain/resource_members.py +++ b/influxdb_client/domain/resource_members.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class ResourceMembers(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class ResourceMembers(object): 'users': 'users' } - def __init__(self, links=None, users=None): # noqa: E501 - """ResourceMembers - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, links=None, users=None): # noqa: E501,D401,D403 + """ResourceMembers - a model defined in OpenAPI.""" # noqa: E501 self._links = None self._users = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, links=None, users=None): # noqa: E501 @property def links(self): - """Gets the links of this ResourceMembers. # noqa: E501 + """Get the links of this ResourceMembers. - - :return: The links of this ResourceMembers. # noqa: E501 + :return: The links of this ResourceMembers. :rtype: UsersLinks - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this ResourceMembers. - + """Set the links of this ResourceMembers. - :param links: The links of this ResourceMembers. # noqa: E501 + :param links: The links of this ResourceMembers. :type: UsersLinks - """ - + """ # noqa: E501 self._links = links @property def users(self): - """Gets the users of this ResourceMembers. # noqa: E501 - + """Get the users of this ResourceMembers. - :return: The users of this ResourceMembers. # noqa: E501 + :return: The users of this ResourceMembers. :rtype: list[ResourceMember] - """ + """ # noqa: E501 return self._users @users.setter def users(self, users): - """Sets the users of this ResourceMembers. + """Set the users of this ResourceMembers. - - :param users: The users of this ResourceMembers. # noqa: E501 + :param users: The users of this ResourceMembers. :type: list[ResourceMember] - """ - + """ # noqa: E501 self._users = users def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ResourceMembers): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/resource_owner.py b/influxdb_client/domain/resource_owner.py index 8c496ffb..09dd8c45 100644 --- a/influxdb_client/domain/resource_owner.py +++ b/influxdb_client/domain/resource_owner.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class ResourceOwner(User): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -49,8 +50,8 @@ class ResourceOwner(User): 'links': 'links' } - def __init__(self, role='owner', id=None, oauth_id=None, name=None, status='active', links=None): # noqa: E501 - """ResourceOwner - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, role='owner', id=None, oauth_id=None, name=None, status='active', links=None): # noqa: E501,D401,D403 + """ResourceOwner - a model defined in OpenAPI.""" # noqa: E501 User.__init__(self, id=id, oauth_id=oauth_id, name=name, status=status, links=links) # noqa: E501 self._role = None @@ -61,27 +62,24 @@ def __init__(self, role='owner', id=None, oauth_id=None, name=None, status='acti @property def role(self): - """Gets the role of this ResourceOwner. # noqa: E501 - + """Get the role of this ResourceOwner. - :return: The role of this ResourceOwner. # noqa: E501 + :return: The role of this ResourceOwner. :rtype: str - """ + """ # noqa: E501 return self._role @role.setter def role(self, role): - """Sets the role of this ResourceOwner. + """Set the role of this ResourceOwner. - - :param role: The role of this ResourceOwner. # noqa: E501 + :param role: The role of this ResourceOwner. :type: str - """ - + """ # noqa: E501 self._role = role def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -105,20 +103,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ResourceOwner): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/resource_owners.py b/influxdb_client/domain/resource_owners.py index 020237e8..48fbf309 100644 --- a/influxdb_client/domain/resource_owners.py +++ b/influxdb_client/domain/resource_owners.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class ResourceOwners(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class ResourceOwners(object): 'users': 'users' } - def __init__(self, links=None, users=None): # noqa: E501 - """ResourceOwners - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, links=None, users=None): # noqa: E501,D401,D403 + """ResourceOwners - a model defined in OpenAPI.""" # noqa: E501 self._links = None self._users = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, links=None, users=None): # noqa: E501 @property def links(self): - """Gets the links of this ResourceOwners. # noqa: E501 + """Get the links of this ResourceOwners. - - :return: The links of this ResourceOwners. # noqa: E501 + :return: The links of this ResourceOwners. :rtype: UsersLinks - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this ResourceOwners. - + """Set the links of this ResourceOwners. - :param links: The links of this ResourceOwners. # noqa: E501 + :param links: The links of this ResourceOwners. :type: UsersLinks - """ - + """ # noqa: E501 self._links = links @property def users(self): - """Gets the users of this ResourceOwners. # noqa: E501 - + """Get the users of this ResourceOwners. - :return: The users of this ResourceOwners. # noqa: E501 + :return: The users of this ResourceOwners. :rtype: list[ResourceOwner] - """ + """ # noqa: E501 return self._users @users.setter def users(self, users): - """Sets the users of this ResourceOwners. + """Set the users of this ResourceOwners. - - :param users: The users of this ResourceOwners. # noqa: E501 + :param users: The users of this ResourceOwners. :type: list[ResourceOwner] - """ - + """ # noqa: E501 self._users = users def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ResourceOwners): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/return_statement.py b/influxdb_client/domain/return_statement.py index d7033c2d..5b5f5a11 100644 --- a/influxdb_client/domain/return_statement.py +++ b/influxdb_client/domain/return_statement.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class ReturnStatement(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class ReturnStatement(object): 'argument': 'argument' } - def __init__(self, type=None, argument=None): # noqa: E501 - """ReturnStatement - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, argument=None): # noqa: E501,D401,D403 + """ReturnStatement - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._argument = None self.discriminator = None @@ -54,50 +54,46 @@ def __init__(self, type=None, argument=None): # noqa: E501 @property def type(self): - """Gets the type of this ReturnStatement. # noqa: E501 + """Get the type of this ReturnStatement. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this ReturnStatement. # noqa: E501 + :return: The type of this ReturnStatement. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this ReturnStatement. + """Set the type of this ReturnStatement. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this ReturnStatement. # noqa: E501 + :param type: The type of this ReturnStatement. :type: str - """ - + """ # noqa: E501 self._type = type @property def argument(self): - """Gets the argument of this ReturnStatement. # noqa: E501 + """Get the argument of this ReturnStatement. - - :return: The argument of this ReturnStatement. # noqa: E501 + :return: The argument of this ReturnStatement. :rtype: Expression - """ + """ # noqa: E501 return self._argument @argument.setter def argument(self, argument): - """Sets the argument of this ReturnStatement. - + """Set the argument of this ReturnStatement. - :param argument: The argument of this ReturnStatement. # noqa: E501 + :param argument: The argument of this ReturnStatement. :type: Expression - """ - + """ # noqa: E501 self._argument = argument def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +117,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ReturnStatement): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/routes.py b/influxdb_client/domain/routes.py index eebfca23..497a9476 100644 --- a/influxdb_client/domain/routes.py +++ b/influxdb_client/domain/routes.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Routes(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -70,9 +71,8 @@ class Routes(object): 'write': 'write' } - def __init__(self, authorizations=None, buckets=None, dashboards=None, external=None, variables=None, me=None, orgs=None, query=None, setup=None, signin=None, signout=None, sources=None, system=None, tasks=None, telegrafs=None, users=None, write=None): # noqa: E501 - """Routes - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, authorizations=None, buckets=None, dashboards=None, external=None, variables=None, me=None, orgs=None, query=None, setup=None, signin=None, signout=None, sources=None, system=None, tasks=None, telegrafs=None, users=None, write=None): # noqa: E501,D401,D403 + """Routes - a model defined in OpenAPI.""" # noqa: E501 self._authorizations = None self._buckets = None self._dashboards = None @@ -129,363 +129,312 @@ def __init__(self, authorizations=None, buckets=None, dashboards=None, external= @property def authorizations(self): - """Gets the authorizations of this Routes. # noqa: E501 + """Get the authorizations of this Routes. - - :return: The authorizations of this Routes. # noqa: E501 + :return: The authorizations of this Routes. :rtype: str - """ + """ # noqa: E501 return self._authorizations @authorizations.setter def authorizations(self, authorizations): - """Sets the authorizations of this Routes. - + """Set the authorizations of this Routes. - :param authorizations: The authorizations of this Routes. # noqa: E501 + :param authorizations: The authorizations of this Routes. :type: str - """ - + """ # noqa: E501 self._authorizations = authorizations @property def buckets(self): - """Gets the buckets of this Routes. # noqa: E501 - + """Get the buckets of this Routes. - :return: The buckets of this Routes. # noqa: E501 + :return: The buckets of this Routes. :rtype: str - """ + """ # noqa: E501 return self._buckets @buckets.setter def buckets(self, buckets): - """Sets the buckets of this Routes. - + """Set the buckets of this Routes. - :param buckets: The buckets of this Routes. # noqa: E501 + :param buckets: The buckets of this Routes. :type: str - """ - + """ # noqa: E501 self._buckets = buckets @property def dashboards(self): - """Gets the dashboards of this Routes. # noqa: E501 - + """Get the dashboards of this Routes. - :return: The dashboards of this Routes. # noqa: E501 + :return: The dashboards of this Routes. :rtype: str - """ + """ # noqa: E501 return self._dashboards @dashboards.setter def dashboards(self, dashboards): - """Sets the dashboards of this Routes. + """Set the dashboards of this Routes. - - :param dashboards: The dashboards of this Routes. # noqa: E501 + :param dashboards: The dashboards of this Routes. :type: str - """ - + """ # noqa: E501 self._dashboards = dashboards @property def external(self): - """Gets the external of this Routes. # noqa: E501 + """Get the external of this Routes. - - :return: The external of this Routes. # noqa: E501 + :return: The external of this Routes. :rtype: RoutesExternal - """ + """ # noqa: E501 return self._external @external.setter def external(self, external): - """Sets the external of this Routes. - + """Set the external of this Routes. - :param external: The external of this Routes. # noqa: E501 + :param external: The external of this Routes. :type: RoutesExternal - """ - + """ # noqa: E501 self._external = external @property def variables(self): - """Gets the variables of this Routes. # noqa: E501 + """Get the variables of this Routes. - - :return: The variables of this Routes. # noqa: E501 + :return: The variables of this Routes. :rtype: str - """ + """ # noqa: E501 return self._variables @variables.setter def variables(self, variables): - """Sets the variables of this Routes. - + """Set the variables of this Routes. - :param variables: The variables of this Routes. # noqa: E501 + :param variables: The variables of this Routes. :type: str - """ - + """ # noqa: E501 self._variables = variables @property def me(self): - """Gets the me of this Routes. # noqa: E501 - + """Get the me of this Routes. - :return: The me of this Routes. # noqa: E501 + :return: The me of this Routes. :rtype: str - """ + """ # noqa: E501 return self._me @me.setter def me(self, me): - """Sets the me of this Routes. + """Set the me of this Routes. - - :param me: The me of this Routes. # noqa: E501 + :param me: The me of this Routes. :type: str - """ - + """ # noqa: E501 self._me = me @property def orgs(self): - """Gets the orgs of this Routes. # noqa: E501 - + """Get the orgs of this Routes. - :return: The orgs of this Routes. # noqa: E501 + :return: The orgs of this Routes. :rtype: str - """ + """ # noqa: E501 return self._orgs @orgs.setter def orgs(self, orgs): - """Sets the orgs of this Routes. + """Set the orgs of this Routes. - - :param orgs: The orgs of this Routes. # noqa: E501 + :param orgs: The orgs of this Routes. :type: str - """ - + """ # noqa: E501 self._orgs = orgs @property def query(self): - """Gets the query of this Routes. # noqa: E501 - + """Get the query of this Routes. - :return: The query of this Routes. # noqa: E501 + :return: The query of this Routes. :rtype: RoutesQuery - """ + """ # noqa: E501 return self._query @query.setter def query(self, query): - """Sets the query of this Routes. + """Set the query of this Routes. - - :param query: The query of this Routes. # noqa: E501 + :param query: The query of this Routes. :type: RoutesQuery - """ - + """ # noqa: E501 self._query = query @property def setup(self): - """Gets the setup of this Routes. # noqa: E501 - + """Get the setup of this Routes. - :return: The setup of this Routes. # noqa: E501 + :return: The setup of this Routes. :rtype: str - """ + """ # noqa: E501 return self._setup @setup.setter def setup(self, setup): - """Sets the setup of this Routes. + """Set the setup of this Routes. - - :param setup: The setup of this Routes. # noqa: E501 + :param setup: The setup of this Routes. :type: str - """ - + """ # noqa: E501 self._setup = setup @property def signin(self): - """Gets the signin of this Routes. # noqa: E501 + """Get the signin of this Routes. - - :return: The signin of this Routes. # noqa: E501 + :return: The signin of this Routes. :rtype: str - """ + """ # noqa: E501 return self._signin @signin.setter def signin(self, signin): - """Sets the signin of this Routes. - + """Set the signin of this Routes. - :param signin: The signin of this Routes. # noqa: E501 + :param signin: The signin of this Routes. :type: str - """ - + """ # noqa: E501 self._signin = signin @property def signout(self): - """Gets the signout of this Routes. # noqa: E501 - + """Get the signout of this Routes. - :return: The signout of this Routes. # noqa: E501 + :return: The signout of this Routes. :rtype: str - """ + """ # noqa: E501 return self._signout @signout.setter def signout(self, signout): - """Sets the signout of this Routes. - + """Set the signout of this Routes. - :param signout: The signout of this Routes. # noqa: E501 + :param signout: The signout of this Routes. :type: str - """ - + """ # noqa: E501 self._signout = signout @property def sources(self): - """Gets the sources of this Routes. # noqa: E501 - + """Get the sources of this Routes. - :return: The sources of this Routes. # noqa: E501 + :return: The sources of this Routes. :rtype: str - """ + """ # noqa: E501 return self._sources @sources.setter def sources(self, sources): - """Sets the sources of this Routes. - + """Set the sources of this Routes. - :param sources: The sources of this Routes. # noqa: E501 + :param sources: The sources of this Routes. :type: str - """ - + """ # noqa: E501 self._sources = sources @property def system(self): - """Gets the system of this Routes. # noqa: E501 - + """Get the system of this Routes. - :return: The system of this Routes. # noqa: E501 + :return: The system of this Routes. :rtype: RoutesSystem - """ + """ # noqa: E501 return self._system @system.setter def system(self, system): - """Sets the system of this Routes. - + """Set the system of this Routes. - :param system: The system of this Routes. # noqa: E501 + :param system: The system of this Routes. :type: RoutesSystem - """ - + """ # noqa: E501 self._system = system @property def tasks(self): - """Gets the tasks of this Routes. # noqa: E501 - + """Get the tasks of this Routes. - :return: The tasks of this Routes. # noqa: E501 + :return: The tasks of this Routes. :rtype: str - """ + """ # noqa: E501 return self._tasks @tasks.setter def tasks(self, tasks): - """Sets the tasks of this Routes. + """Set the tasks of this Routes. - - :param tasks: The tasks of this Routes. # noqa: E501 + :param tasks: The tasks of this Routes. :type: str - """ - + """ # noqa: E501 self._tasks = tasks @property def telegrafs(self): - """Gets the telegrafs of this Routes. # noqa: E501 + """Get the telegrafs of this Routes. - - :return: The telegrafs of this Routes. # noqa: E501 + :return: The telegrafs of this Routes. :rtype: str - """ + """ # noqa: E501 return self._telegrafs @telegrafs.setter def telegrafs(self, telegrafs): - """Sets the telegrafs of this Routes. - + """Set the telegrafs of this Routes. - :param telegrafs: The telegrafs of this Routes. # noqa: E501 + :param telegrafs: The telegrafs of this Routes. :type: str - """ - + """ # noqa: E501 self._telegrafs = telegrafs @property def users(self): - """Gets the users of this Routes. # noqa: E501 + """Get the users of this Routes. - - :return: The users of this Routes. # noqa: E501 + :return: The users of this Routes. :rtype: str - """ + """ # noqa: E501 return self._users @users.setter def users(self, users): - """Sets the users of this Routes. - + """Set the users of this Routes. - :param users: The users of this Routes. # noqa: E501 + :param users: The users of this Routes. :type: str - """ - + """ # noqa: E501 self._users = users @property def write(self): - """Gets the write of this Routes. # noqa: E501 + """Get the write of this Routes. - - :return: The write of this Routes. # noqa: E501 + :return: The write of this Routes. :rtype: str - """ + """ # noqa: E501 return self._write @write.setter def write(self, write): - """Sets the write of this Routes. - + """Set the write of this Routes. - :param write: The write of this Routes. # noqa: E501 + :param write: The write of this Routes. :type: str - """ - + """ # noqa: E501 self._write = write def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -509,20 +458,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Routes): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/routes_external.py b/influxdb_client/domain/routes_external.py index f84be2f2..a35ce10b 100644 --- a/influxdb_client/domain/routes_external.py +++ b/influxdb_client/domain/routes_external.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class RoutesExternal(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class RoutesExternal(object): 'status_feed': 'statusFeed' } - def __init__(self, status_feed=None): # noqa: E501 - """RoutesExternal - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, status_feed=None): # noqa: E501,D401,D403 + """RoutesExternal - a model defined in OpenAPI.""" # noqa: E501 self._status_feed = None self.discriminator = None @@ -49,27 +49,24 @@ def __init__(self, status_feed=None): # noqa: E501 @property def status_feed(self): - """Gets the status_feed of this RoutesExternal. # noqa: E501 - + """Get the status_feed of this RoutesExternal. - :return: The status_feed of this RoutesExternal. # noqa: E501 + :return: The status_feed of this RoutesExternal. :rtype: str - """ + """ # noqa: E501 return self._status_feed @status_feed.setter def status_feed(self, status_feed): - """Sets the status_feed of this RoutesExternal. + """Set the status_feed of this RoutesExternal. - - :param status_feed: The status_feed of this RoutesExternal. # noqa: E501 + :param status_feed: The status_feed of this RoutesExternal. :type: str - """ - + """ # noqa: E501 self._status_feed = status_feed def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -93,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, RoutesExternal): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/routes_query.py b/influxdb_client/domain/routes_query.py index 61c17bca..7bfa239e 100644 --- a/influxdb_client/domain/routes_query.py +++ b/influxdb_client/domain/routes_query.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class RoutesQuery(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class RoutesQuery(object): 'suggestions': 'suggestions' } - def __init__(self, _self=None, ast=None, analyze=None, suggestions=None): # noqa: E501 - """RoutesQuery - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, _self=None, ast=None, analyze=None, suggestions=None): # noqa: E501,D401,D403 + """RoutesQuery - a model defined in OpenAPI.""" # noqa: E501 self.__self = None self._ast = None self._analyze = None @@ -64,90 +64,78 @@ def __init__(self, _self=None, ast=None, analyze=None, suggestions=None): # noq @property def _self(self): - """Gets the _self of this RoutesQuery. # noqa: E501 + """Get the _self of this RoutesQuery. - - :return: The _self of this RoutesQuery. # noqa: E501 + :return: The _self of this RoutesQuery. :rtype: str - """ + """ # noqa: E501 return self.__self @_self.setter def _self(self, _self): - """Sets the _self of this RoutesQuery. - + """Set the _self of this RoutesQuery. - :param _self: The _self of this RoutesQuery. # noqa: E501 + :param _self: The _self of this RoutesQuery. :type: str - """ - + """ # noqa: E501 self.__self = _self @property def ast(self): - """Gets the ast of this RoutesQuery. # noqa: E501 - + """Get the ast of this RoutesQuery. - :return: The ast of this RoutesQuery. # noqa: E501 + :return: The ast of this RoutesQuery. :rtype: str - """ + """ # noqa: E501 return self._ast @ast.setter def ast(self, ast): - """Sets the ast of this RoutesQuery. - + """Set the ast of this RoutesQuery. - :param ast: The ast of this RoutesQuery. # noqa: E501 + :param ast: The ast of this RoutesQuery. :type: str - """ - + """ # noqa: E501 self._ast = ast @property def analyze(self): - """Gets the analyze of this RoutesQuery. # noqa: E501 - + """Get the analyze of this RoutesQuery. - :return: The analyze of this RoutesQuery. # noqa: E501 + :return: The analyze of this RoutesQuery. :rtype: str - """ + """ # noqa: E501 return self._analyze @analyze.setter def analyze(self, analyze): - """Sets the analyze of this RoutesQuery. + """Set the analyze of this RoutesQuery. - - :param analyze: The analyze of this RoutesQuery. # noqa: E501 + :param analyze: The analyze of this RoutesQuery. :type: str - """ - + """ # noqa: E501 self._analyze = analyze @property def suggestions(self): - """Gets the suggestions of this RoutesQuery. # noqa: E501 + """Get the suggestions of this RoutesQuery. - - :return: The suggestions of this RoutesQuery. # noqa: E501 + :return: The suggestions of this RoutesQuery. :rtype: str - """ + """ # noqa: E501 return self._suggestions @suggestions.setter def suggestions(self, suggestions): - """Sets the suggestions of this RoutesQuery. - + """Set the suggestions of this RoutesQuery. - :param suggestions: The suggestions of this RoutesQuery. # noqa: E501 + :param suggestions: The suggestions of this RoutesQuery. :type: str - """ - + """ # noqa: E501 self._suggestions = suggestions def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -171,20 +159,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, RoutesQuery): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/routes_system.py b/influxdb_client/domain/routes_system.py index a8dc4b98..66f46601 100644 --- a/influxdb_client/domain/routes_system.py +++ b/influxdb_client/domain/routes_system.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class RoutesSystem(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class RoutesSystem(object): 'health': 'health' } - def __init__(self, metrics=None, debug=None, health=None): # noqa: E501 - """RoutesSystem - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, metrics=None, debug=None, health=None): # noqa: E501,D401,D403 + """RoutesSystem - a model defined in OpenAPI.""" # noqa: E501 self._metrics = None self._debug = None self._health = None @@ -59,69 +59,60 @@ def __init__(self, metrics=None, debug=None, health=None): # noqa: E501 @property def metrics(self): - """Gets the metrics of this RoutesSystem. # noqa: E501 - + """Get the metrics of this RoutesSystem. - :return: The metrics of this RoutesSystem. # noqa: E501 + :return: The metrics of this RoutesSystem. :rtype: str - """ + """ # noqa: E501 return self._metrics @metrics.setter def metrics(self, metrics): - """Sets the metrics of this RoutesSystem. + """Set the metrics of this RoutesSystem. - - :param metrics: The metrics of this RoutesSystem. # noqa: E501 + :param metrics: The metrics of this RoutesSystem. :type: str - """ - + """ # noqa: E501 self._metrics = metrics @property def debug(self): - """Gets the debug of this RoutesSystem. # noqa: E501 - + """Get the debug of this RoutesSystem. - :return: The debug of this RoutesSystem. # noqa: E501 + :return: The debug of this RoutesSystem. :rtype: str - """ + """ # noqa: E501 return self._debug @debug.setter def debug(self, debug): - """Sets the debug of this RoutesSystem. + """Set the debug of this RoutesSystem. - - :param debug: The debug of this RoutesSystem. # noqa: E501 + :param debug: The debug of this RoutesSystem. :type: str - """ - + """ # noqa: E501 self._debug = debug @property def health(self): - """Gets the health of this RoutesSystem. # noqa: E501 - + """Get the health of this RoutesSystem. - :return: The health of this RoutesSystem. # noqa: E501 + :return: The health of this RoutesSystem. :rtype: str - """ + """ # noqa: E501 return self._health @health.setter def health(self, health): - """Sets the health of this RoutesSystem. + """Set the health of this RoutesSystem. - - :param health: The health of this RoutesSystem. # noqa: E501 + :param health: The health of this RoutesSystem. :type: str - """ - + """ # noqa: E501 self._health = health def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -145,20 +136,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, RoutesSystem): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/rule_status_level.py b/influxdb_client/domain/rule_status_level.py index 7d13b215..6f62b432 100644 --- a/influxdb_client/domain/rule_status_level.py +++ b/influxdb_client/domain/rule_status_level.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class RuleStatusLevel(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -46,12 +47,11 @@ class RuleStatusLevel(object): attribute_map = { } - def __init__(self): # noqa: E501 - """RuleStatusLevel - a model defined in OpenAPI""" # noqa: E501 - self.discriminator = None + def __init__(self): # noqa: E501,D401,D403 + """RuleStatusLevel - a model defined in OpenAPI.""" # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -75,20 +75,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, RuleStatusLevel): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/run.py b/influxdb_client/domain/run.py index 32499ed5..7f6c3170 100644 --- a/influxdb_client/domain/run.py +++ b/influxdb_client/domain/run.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Run(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -54,9 +55,8 @@ class Run(object): 'links': 'links' } - def __init__(self, id=None, task_id=None, status=None, scheduled_for=None, log=None, started_at=None, finished_at=None, requested_at=None, links=None): # noqa: E501 - """Run - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, id=None, task_id=None, status=None, scheduled_for=None, log=None, started_at=None, finished_at=None, requested_at=None, links=None): # noqa: E501,D401,D403 + """Run - a model defined in OpenAPI.""" # noqa: E501 self._id = None self._task_id = None self._status = None @@ -89,205 +89,188 @@ def __init__(self, id=None, task_id=None, status=None, scheduled_for=None, log=N @property def id(self): - """Gets the id of this Run. # noqa: E501 - + """Get the id of this Run. - :return: The id of this Run. # noqa: E501 + :return: The id of this Run. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this Run. + """Set the id of this Run. - - :param id: The id of this Run. # noqa: E501 + :param id: The id of this Run. :type: str - """ - + """ # noqa: E501 self._id = id @property def task_id(self): - """Gets the task_id of this Run. # noqa: E501 + """Get the task_id of this Run. - - :return: The task_id of this Run. # noqa: E501 + :return: The task_id of this Run. :rtype: str - """ + """ # noqa: E501 return self._task_id @task_id.setter def task_id(self, task_id): - """Sets the task_id of this Run. - + """Set the task_id of this Run. - :param task_id: The task_id of this Run. # noqa: E501 + :param task_id: The task_id of this Run. :type: str - """ - + """ # noqa: E501 self._task_id = task_id @property def status(self): - """Gets the status of this Run. # noqa: E501 + """Get the status of this Run. - - :return: The status of this Run. # noqa: E501 + :return: The status of this Run. :rtype: str - """ + """ # noqa: E501 return self._status @status.setter def status(self, status): - """Sets the status of this Run. - + """Set the status of this Run. - :param status: The status of this Run. # noqa: E501 + :param status: The status of this Run. :type: str - """ - + """ # noqa: E501 self._status = status @property def scheduled_for(self): - """Gets the scheduled_for of this Run. # noqa: E501 + """Get the scheduled_for of this Run. - Time used for run's \"now\" option, RFC3339. # noqa: E501 + Time used for run's "now" option, RFC3339. - :return: The scheduled_for of this Run. # noqa: E501 + :return: The scheduled_for of this Run. :rtype: datetime - """ + """ # noqa: E501 return self._scheduled_for @scheduled_for.setter def scheduled_for(self, scheduled_for): - """Sets the scheduled_for of this Run. + """Set the scheduled_for of this Run. - Time used for run's \"now\" option, RFC3339. # noqa: E501 + Time used for run's "now" option, RFC3339. - :param scheduled_for: The scheduled_for of this Run. # noqa: E501 + :param scheduled_for: The scheduled_for of this Run. :type: datetime - """ - + """ # noqa: E501 self._scheduled_for = scheduled_for @property def log(self): - """Gets the log of this Run. # noqa: E501 + """Get the log of this Run. - An array of logs associated with the run. # noqa: E501 + An array of logs associated with the run. - :return: The log of this Run. # noqa: E501 + :return: The log of this Run. :rtype: list[RunLog] - """ + """ # noqa: E501 return self._log @log.setter def log(self, log): - """Sets the log of this Run. + """Set the log of this Run. - An array of logs associated with the run. # noqa: E501 + An array of logs associated with the run. - :param log: The log of this Run. # noqa: E501 + :param log: The log of this Run. :type: list[RunLog] - """ - + """ # noqa: E501 self._log = log @property def started_at(self): - """Gets the started_at of this Run. # noqa: E501 + """Get the started_at of this Run. - Time run started executing, RFC3339Nano. # noqa: E501 + Time run started executing, RFC3339Nano. - :return: The started_at of this Run. # noqa: E501 + :return: The started_at of this Run. :rtype: datetime - """ + """ # noqa: E501 return self._started_at @started_at.setter def started_at(self, started_at): - """Sets the started_at of this Run. + """Set the started_at of this Run. - Time run started executing, RFC3339Nano. # noqa: E501 + Time run started executing, RFC3339Nano. - :param started_at: The started_at of this Run. # noqa: E501 + :param started_at: The started_at of this Run. :type: datetime - """ - + """ # noqa: E501 self._started_at = started_at @property def finished_at(self): - """Gets the finished_at of this Run. # noqa: E501 + """Get the finished_at of this Run. - Time run finished executing, RFC3339Nano. # noqa: E501 + Time run finished executing, RFC3339Nano. - :return: The finished_at of this Run. # noqa: E501 + :return: The finished_at of this Run. :rtype: datetime - """ + """ # noqa: E501 return self._finished_at @finished_at.setter def finished_at(self, finished_at): - """Sets the finished_at of this Run. + """Set the finished_at of this Run. - Time run finished executing, RFC3339Nano. # noqa: E501 + Time run finished executing, RFC3339Nano. - :param finished_at: The finished_at of this Run. # noqa: E501 + :param finished_at: The finished_at of this Run. :type: datetime - """ - + """ # noqa: E501 self._finished_at = finished_at @property def requested_at(self): - """Gets the requested_at of this Run. # noqa: E501 + """Get the requested_at of this Run. - Time run was manually requested, RFC3339Nano. # noqa: E501 + Time run was manually requested, RFC3339Nano. - :return: The requested_at of this Run. # noqa: E501 + :return: The requested_at of this Run. :rtype: datetime - """ + """ # noqa: E501 return self._requested_at @requested_at.setter def requested_at(self, requested_at): - """Sets the requested_at of this Run. + """Set the requested_at of this Run. - Time run was manually requested, RFC3339Nano. # noqa: E501 + Time run was manually requested, RFC3339Nano. - :param requested_at: The requested_at of this Run. # noqa: E501 + :param requested_at: The requested_at of this Run. :type: datetime - """ - + """ # noqa: E501 self._requested_at = requested_at @property def links(self): - """Gets the links of this Run. # noqa: E501 - + """Get the links of this Run. - :return: The links of this Run. # noqa: E501 + :return: The links of this Run. :rtype: RunLinks - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Run. + """Set the links of this Run. - - :param links: The links of this Run. # noqa: E501 + :param links: The links of this Run. :type: RunLinks - """ - + """ # noqa: E501 self._links = links def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -311,20 +294,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Run): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/run_links.py b/influxdb_client/domain/run_links.py index 732c9a44..65715151 100644 --- a/influxdb_client/domain/run_links.py +++ b/influxdb_client/domain/run_links.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class RunLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class RunLinks(object): 'retry': 'retry' } - def __init__(self, _self=None, task=None, retry=None): # noqa: E501 - """RunLinks - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, _self=None, task=None, retry=None): # noqa: E501,D401,D403 + """RunLinks - a model defined in OpenAPI.""" # noqa: E501 self.__self = None self._task = None self._retry = None @@ -59,69 +59,60 @@ def __init__(self, _self=None, task=None, retry=None): # noqa: E501 @property def _self(self): - """Gets the _self of this RunLinks. # noqa: E501 - + """Get the _self of this RunLinks. - :return: The _self of this RunLinks. # noqa: E501 + :return: The _self of this RunLinks. :rtype: str - """ + """ # noqa: E501 return self.__self @_self.setter def _self(self, _self): - """Sets the _self of this RunLinks. + """Set the _self of this RunLinks. - - :param _self: The _self of this RunLinks. # noqa: E501 + :param _self: The _self of this RunLinks. :type: str - """ - + """ # noqa: E501 self.__self = _self @property def task(self): - """Gets the task of this RunLinks. # noqa: E501 - + """Get the task of this RunLinks. - :return: The task of this RunLinks. # noqa: E501 + :return: The task of this RunLinks. :rtype: str - """ + """ # noqa: E501 return self._task @task.setter def task(self, task): - """Sets the task of this RunLinks. + """Set the task of this RunLinks. - - :param task: The task of this RunLinks. # noqa: E501 + :param task: The task of this RunLinks. :type: str - """ - + """ # noqa: E501 self._task = task @property def retry(self): - """Gets the retry of this RunLinks. # noqa: E501 - + """Get the retry of this RunLinks. - :return: The retry of this RunLinks. # noqa: E501 + :return: The retry of this RunLinks. :rtype: str - """ + """ # noqa: E501 return self._retry @retry.setter def retry(self, retry): - """Sets the retry of this RunLinks. + """Set the retry of this RunLinks. - - :param retry: The retry of this RunLinks. # noqa: E501 + :param retry: The retry of this RunLinks. :type: str - """ - + """ # noqa: E501 self._retry = retry def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -145,20 +136,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, RunLinks): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/run_log.py b/influxdb_client/domain/run_log.py index 84ac5153..2d81e13e 100644 --- a/influxdb_client/domain/run_log.py +++ b/influxdb_client/domain/run_log.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class RunLog(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class RunLog(object): 'message': 'message' } - def __init__(self, run_id=None, time=None, message=None): # noqa: E501 - """RunLog - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, run_id=None, time=None, message=None): # noqa: E501,D401,D403 + """RunLog - a model defined in OpenAPI.""" # noqa: E501 self._run_id = None self._time = None self._message = None @@ -59,69 +59,60 @@ def __init__(self, run_id=None, time=None, message=None): # noqa: E501 @property def run_id(self): - """Gets the run_id of this RunLog. # noqa: E501 - + """Get the run_id of this RunLog. - :return: The run_id of this RunLog. # noqa: E501 + :return: The run_id of this RunLog. :rtype: str - """ + """ # noqa: E501 return self._run_id @run_id.setter def run_id(self, run_id): - """Sets the run_id of this RunLog. + """Set the run_id of this RunLog. - - :param run_id: The run_id of this RunLog. # noqa: E501 + :param run_id: The run_id of this RunLog. :type: str - """ - + """ # noqa: E501 self._run_id = run_id @property def time(self): - """Gets the time of this RunLog. # noqa: E501 - + """Get the time of this RunLog. - :return: The time of this RunLog. # noqa: E501 + :return: The time of this RunLog. :rtype: str - """ + """ # noqa: E501 return self._time @time.setter def time(self, time): - """Sets the time of this RunLog. + """Set the time of this RunLog. - - :param time: The time of this RunLog. # noqa: E501 + :param time: The time of this RunLog. :type: str - """ - + """ # noqa: E501 self._time = time @property def message(self): - """Gets the message of this RunLog. # noqa: E501 - + """Get the message of this RunLog. - :return: The message of this RunLog. # noqa: E501 + :return: The message of this RunLog. :rtype: str - """ + """ # noqa: E501 return self._message @message.setter def message(self, message): - """Sets the message of this RunLog. + """Set the message of this RunLog. - - :param message: The message of this RunLog. # noqa: E501 + :param message: The message of this RunLog. :type: str - """ - + """ # noqa: E501 self._message = message def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -145,20 +136,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, RunLog): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/run_manually.py b/influxdb_client/domain/run_manually.py index 14da61e5..c867391d 100644 --- a/influxdb_client/domain/run_manually.py +++ b/influxdb_client/domain/run_manually.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class RunManually(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class RunManually(object): 'scheduled_for': 'scheduledFor' } - def __init__(self, scheduled_for=None): # noqa: E501 - """RunManually - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, scheduled_for=None): # noqa: E501,D401,D403 + """RunManually - a model defined in OpenAPI.""" # noqa: E501 self._scheduled_for = None self.discriminator = None @@ -48,29 +48,28 @@ def __init__(self, scheduled_for=None): # noqa: E501 @property def scheduled_for(self): - """Gets the scheduled_for of this RunManually. # noqa: E501 + """Get the scheduled_for of this RunManually. - Time used for run's \"now\" option, RFC3339. Default is the server's now time. # noqa: E501 + Time used for run's "now" option, RFC3339. Default is the server's now time. - :return: The scheduled_for of this RunManually. # noqa: E501 + :return: The scheduled_for of this RunManually. :rtype: datetime - """ + """ # noqa: E501 return self._scheduled_for @scheduled_for.setter def scheduled_for(self, scheduled_for): - """Sets the scheduled_for of this RunManually. + """Set the scheduled_for of this RunManually. - Time used for run's \"now\" option, RFC3339. Default is the server's now time. # noqa: E501 + Time used for run's "now" option, RFC3339. Default is the server's now time. - :param scheduled_for: The scheduled_for of this RunManually. # noqa: E501 + :param scheduled_for: The scheduled_for of this RunManually. :type: datetime - """ - + """ # noqa: E501 self._scheduled_for = scheduled_for def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -94,20 +93,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, RunManually): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/runs.py b/influxdb_client/domain/runs.py index 018a9dc8..5b1f1ffc 100644 --- a/influxdb_client/domain/runs.py +++ b/influxdb_client/domain/runs.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Runs(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class Runs(object): 'runs': 'runs' } - def __init__(self, links=None, runs=None): # noqa: E501 - """Runs - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, links=None, runs=None): # noqa: E501,D401,D403 + """Runs - a model defined in OpenAPI.""" # noqa: E501 self._links = None self._runs = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, links=None, runs=None): # noqa: E501 @property def links(self): - """Gets the links of this Runs. # noqa: E501 + """Get the links of this Runs. - - :return: The links of this Runs. # noqa: E501 + :return: The links of this Runs. :rtype: Links - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Runs. - + """Set the links of this Runs. - :param links: The links of this Runs. # noqa: E501 + :param links: The links of this Runs. :type: Links - """ - + """ # noqa: E501 self._links = links @property def runs(self): - """Gets the runs of this Runs. # noqa: E501 - + """Get the runs of this Runs. - :return: The runs of this Runs. # noqa: E501 + :return: The runs of this Runs. :rtype: list[Run] - """ + """ # noqa: E501 return self._runs @runs.setter def runs(self, runs): - """Sets the runs of this Runs. + """Set the runs of this Runs. - - :param runs: The runs of this Runs. # noqa: E501 + :param runs: The runs of this Runs. :type: list[Run] - """ - + """ # noqa: E501 self._runs = runs def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Runs): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/scatter_view_properties.py b/influxdb_client/domain/scatter_view_properties.py index dd1ee2e8..dea2ccc0 100644 --- a/influxdb_client/domain/scatter_view_properties.py +++ b/influxdb_client/domain/scatter_view_properties.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class ScatterViewProperties(ViewProperties): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -75,8 +76,8 @@ class ScatterViewProperties(ViewProperties): 'y_suffix': 'ySuffix' } - def __init__(self, time_format=None, type=None, queries=None, colors=None, shape=None, note=None, show_note_when_empty=None, x_column=None, y_column=None, fill_columns=None, symbol_columns=None, x_domain=None, y_domain=None, x_axis_label=None, y_axis_label=None, x_prefix=None, x_suffix=None, y_prefix=None, y_suffix=None): # noqa: E501 - """ScatterViewProperties - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, time_format=None, type=None, queries=None, colors=None, shape=None, note=None, show_note_when_empty=None, x_column=None, y_column=None, fill_columns=None, symbol_columns=None, x_domain=None, y_domain=None, x_axis_label=None, y_axis_label=None, x_prefix=None, x_suffix=None, y_prefix=None, y_suffix=None): # noqa: E501,D401,D403 + """ScatterViewProperties - a model defined in OpenAPI.""" # noqa: E501 ViewProperties.__init__(self) # noqa: E501 self._time_format = None @@ -123,445 +124,392 @@ def __init__(self, time_format=None, type=None, queries=None, colors=None, shape @property def time_format(self): - """Gets the time_format of this ScatterViewProperties. # noqa: E501 - + """Get the time_format of this ScatterViewProperties. - :return: The time_format of this ScatterViewProperties. # noqa: E501 + :return: The time_format of this ScatterViewProperties. :rtype: str - """ + """ # noqa: E501 return self._time_format @time_format.setter def time_format(self, time_format): - """Sets the time_format of this ScatterViewProperties. + """Set the time_format of this ScatterViewProperties. - - :param time_format: The time_format of this ScatterViewProperties. # noqa: E501 + :param time_format: The time_format of this ScatterViewProperties. :type: str - """ - + """ # noqa: E501 self._time_format = time_format @property def type(self): - """Gets the type of this ScatterViewProperties. # noqa: E501 + """Get the type of this ScatterViewProperties. - - :return: The type of this ScatterViewProperties. # noqa: E501 + :return: The type of this ScatterViewProperties. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this ScatterViewProperties. - + """Set the type of this ScatterViewProperties. - :param type: The type of this ScatterViewProperties. # noqa: E501 + :param type: The type of this ScatterViewProperties. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def queries(self): - """Gets the queries of this ScatterViewProperties. # noqa: E501 + """Get the queries of this ScatterViewProperties. - - :return: The queries of this ScatterViewProperties. # noqa: E501 + :return: The queries of this ScatterViewProperties. :rtype: list[DashboardQuery] - """ + """ # noqa: E501 return self._queries @queries.setter def queries(self, queries): - """Sets the queries of this ScatterViewProperties. - + """Set the queries of this ScatterViewProperties. - :param queries: The queries of this ScatterViewProperties. # noqa: E501 + :param queries: The queries of this ScatterViewProperties. :type: list[DashboardQuery] - """ + """ # noqa: E501 if queries is None: raise ValueError("Invalid value for `queries`, must not be `None`") # noqa: E501 - self._queries = queries @property def colors(self): - """Gets the colors of this ScatterViewProperties. # noqa: E501 + """Get the colors of this ScatterViewProperties. - Colors define color encoding of data into a visualization # noqa: E501 + Colors define color encoding of data into a visualization - :return: The colors of this ScatterViewProperties. # noqa: E501 + :return: The colors of this ScatterViewProperties. :rtype: list[str] - """ + """ # noqa: E501 return self._colors @colors.setter def colors(self, colors): - """Sets the colors of this ScatterViewProperties. + """Set the colors of this ScatterViewProperties. - Colors define color encoding of data into a visualization # noqa: E501 + Colors define color encoding of data into a visualization - :param colors: The colors of this ScatterViewProperties. # noqa: E501 + :param colors: The colors of this ScatterViewProperties. :type: list[str] - """ + """ # noqa: E501 if colors is None: raise ValueError("Invalid value for `colors`, must not be `None`") # noqa: E501 - self._colors = colors @property def shape(self): - """Gets the shape of this ScatterViewProperties. # noqa: E501 + """Get the shape of this ScatterViewProperties. - - :return: The shape of this ScatterViewProperties. # noqa: E501 + :return: The shape of this ScatterViewProperties. :rtype: str - """ + """ # noqa: E501 return self._shape @shape.setter def shape(self, shape): - """Sets the shape of this ScatterViewProperties. - + """Set the shape of this ScatterViewProperties. - :param shape: The shape of this ScatterViewProperties. # noqa: E501 + :param shape: The shape of this ScatterViewProperties. :type: str - """ + """ # noqa: E501 if shape is None: raise ValueError("Invalid value for `shape`, must not be `None`") # noqa: E501 - self._shape = shape @property def note(self): - """Gets the note of this ScatterViewProperties. # noqa: E501 + """Get the note of this ScatterViewProperties. - - :return: The note of this ScatterViewProperties. # noqa: E501 + :return: The note of this ScatterViewProperties. :rtype: str - """ + """ # noqa: E501 return self._note @note.setter def note(self, note): - """Sets the note of this ScatterViewProperties. - + """Set the note of this ScatterViewProperties. - :param note: The note of this ScatterViewProperties. # noqa: E501 + :param note: The note of this ScatterViewProperties. :type: str - """ + """ # noqa: E501 if note is None: raise ValueError("Invalid value for `note`, must not be `None`") # noqa: E501 - self._note = note @property def show_note_when_empty(self): - """Gets the show_note_when_empty of this ScatterViewProperties. # noqa: E501 + """Get the show_note_when_empty of this ScatterViewProperties. - If true, will display note when empty # noqa: E501 + If true, will display note when empty - :return: The show_note_when_empty of this ScatterViewProperties. # noqa: E501 + :return: The show_note_when_empty of this ScatterViewProperties. :rtype: bool - """ + """ # noqa: E501 return self._show_note_when_empty @show_note_when_empty.setter def show_note_when_empty(self, show_note_when_empty): - """Sets the show_note_when_empty of this ScatterViewProperties. + """Set the show_note_when_empty of this ScatterViewProperties. - If true, will display note when empty # noqa: E501 + If true, will display note when empty - :param show_note_when_empty: The show_note_when_empty of this ScatterViewProperties. # noqa: E501 + :param show_note_when_empty: The show_note_when_empty of this ScatterViewProperties. :type: bool - """ + """ # noqa: E501 if show_note_when_empty is None: raise ValueError("Invalid value for `show_note_when_empty`, must not be `None`") # noqa: E501 - self._show_note_when_empty = show_note_when_empty @property def x_column(self): - """Gets the x_column of this ScatterViewProperties. # noqa: E501 + """Get the x_column of this ScatterViewProperties. - - :return: The x_column of this ScatterViewProperties. # noqa: E501 + :return: The x_column of this ScatterViewProperties. :rtype: str - """ + """ # noqa: E501 return self._x_column @x_column.setter def x_column(self, x_column): - """Sets the x_column of this ScatterViewProperties. - + """Set the x_column of this ScatterViewProperties. - :param x_column: The x_column of this ScatterViewProperties. # noqa: E501 + :param x_column: The x_column of this ScatterViewProperties. :type: str - """ + """ # noqa: E501 if x_column is None: raise ValueError("Invalid value for `x_column`, must not be `None`") # noqa: E501 - self._x_column = x_column @property def y_column(self): - """Gets the y_column of this ScatterViewProperties. # noqa: E501 + """Get the y_column of this ScatterViewProperties. - - :return: The y_column of this ScatterViewProperties. # noqa: E501 + :return: The y_column of this ScatterViewProperties. :rtype: str - """ + """ # noqa: E501 return self._y_column @y_column.setter def y_column(self, y_column): - """Sets the y_column of this ScatterViewProperties. - + """Set the y_column of this ScatterViewProperties. - :param y_column: The y_column of this ScatterViewProperties. # noqa: E501 + :param y_column: The y_column of this ScatterViewProperties. :type: str - """ + """ # noqa: E501 if y_column is None: raise ValueError("Invalid value for `y_column`, must not be `None`") # noqa: E501 - self._y_column = y_column @property def fill_columns(self): - """Gets the fill_columns of this ScatterViewProperties. # noqa: E501 + """Get the fill_columns of this ScatterViewProperties. - - :return: The fill_columns of this ScatterViewProperties. # noqa: E501 + :return: The fill_columns of this ScatterViewProperties. :rtype: list[str] - """ + """ # noqa: E501 return self._fill_columns @fill_columns.setter def fill_columns(self, fill_columns): - """Sets the fill_columns of this ScatterViewProperties. - + """Set the fill_columns of this ScatterViewProperties. - :param fill_columns: The fill_columns of this ScatterViewProperties. # noqa: E501 + :param fill_columns: The fill_columns of this ScatterViewProperties. :type: list[str] - """ + """ # noqa: E501 if fill_columns is None: raise ValueError("Invalid value for `fill_columns`, must not be `None`") # noqa: E501 - self._fill_columns = fill_columns @property def symbol_columns(self): - """Gets the symbol_columns of this ScatterViewProperties. # noqa: E501 + """Get the symbol_columns of this ScatterViewProperties. - - :return: The symbol_columns of this ScatterViewProperties. # noqa: E501 + :return: The symbol_columns of this ScatterViewProperties. :rtype: list[str] - """ + """ # noqa: E501 return self._symbol_columns @symbol_columns.setter def symbol_columns(self, symbol_columns): - """Sets the symbol_columns of this ScatterViewProperties. - + """Set the symbol_columns of this ScatterViewProperties. - :param symbol_columns: The symbol_columns of this ScatterViewProperties. # noqa: E501 + :param symbol_columns: The symbol_columns of this ScatterViewProperties. :type: list[str] - """ + """ # noqa: E501 if symbol_columns is None: raise ValueError("Invalid value for `symbol_columns`, must not be `None`") # noqa: E501 - self._symbol_columns = symbol_columns @property def x_domain(self): - """Gets the x_domain of this ScatterViewProperties. # noqa: E501 - + """Get the x_domain of this ScatterViewProperties. - :return: The x_domain of this ScatterViewProperties. # noqa: E501 + :return: The x_domain of this ScatterViewProperties. :rtype: list[float] - """ + """ # noqa: E501 return self._x_domain @x_domain.setter def x_domain(self, x_domain): - """Sets the x_domain of this ScatterViewProperties. + """Set the x_domain of this ScatterViewProperties. - - :param x_domain: The x_domain of this ScatterViewProperties. # noqa: E501 + :param x_domain: The x_domain of this ScatterViewProperties. :type: list[float] - """ + """ # noqa: E501 if x_domain is None: raise ValueError("Invalid value for `x_domain`, must not be `None`") # noqa: E501 - self._x_domain = x_domain @property def y_domain(self): - """Gets the y_domain of this ScatterViewProperties. # noqa: E501 - + """Get the y_domain of this ScatterViewProperties. - :return: The y_domain of this ScatterViewProperties. # noqa: E501 + :return: The y_domain of this ScatterViewProperties. :rtype: list[float] - """ + """ # noqa: E501 return self._y_domain @y_domain.setter def y_domain(self, y_domain): - """Sets the y_domain of this ScatterViewProperties. + """Set the y_domain of this ScatterViewProperties. - - :param y_domain: The y_domain of this ScatterViewProperties. # noqa: E501 + :param y_domain: The y_domain of this ScatterViewProperties. :type: list[float] - """ + """ # noqa: E501 if y_domain is None: raise ValueError("Invalid value for `y_domain`, must not be `None`") # noqa: E501 - self._y_domain = y_domain @property def x_axis_label(self): - """Gets the x_axis_label of this ScatterViewProperties. # noqa: E501 + """Get the x_axis_label of this ScatterViewProperties. - - :return: The x_axis_label of this ScatterViewProperties. # noqa: E501 + :return: The x_axis_label of this ScatterViewProperties. :rtype: str - """ + """ # noqa: E501 return self._x_axis_label @x_axis_label.setter def x_axis_label(self, x_axis_label): - """Sets the x_axis_label of this ScatterViewProperties. - + """Set the x_axis_label of this ScatterViewProperties. - :param x_axis_label: The x_axis_label of this ScatterViewProperties. # noqa: E501 + :param x_axis_label: The x_axis_label of this ScatterViewProperties. :type: str - """ + """ # noqa: E501 if x_axis_label is None: raise ValueError("Invalid value for `x_axis_label`, must not be `None`") # noqa: E501 - self._x_axis_label = x_axis_label @property def y_axis_label(self): - """Gets the y_axis_label of this ScatterViewProperties. # noqa: E501 - + """Get the y_axis_label of this ScatterViewProperties. - :return: The y_axis_label of this ScatterViewProperties. # noqa: E501 + :return: The y_axis_label of this ScatterViewProperties. :rtype: str - """ + """ # noqa: E501 return self._y_axis_label @y_axis_label.setter def y_axis_label(self, y_axis_label): - """Sets the y_axis_label of this ScatterViewProperties. - + """Set the y_axis_label of this ScatterViewProperties. - :param y_axis_label: The y_axis_label of this ScatterViewProperties. # noqa: E501 + :param y_axis_label: The y_axis_label of this ScatterViewProperties. :type: str - """ + """ # noqa: E501 if y_axis_label is None: raise ValueError("Invalid value for `y_axis_label`, must not be `None`") # noqa: E501 - self._y_axis_label = y_axis_label @property def x_prefix(self): - """Gets the x_prefix of this ScatterViewProperties. # noqa: E501 - + """Get the x_prefix of this ScatterViewProperties. - :return: The x_prefix of this ScatterViewProperties. # noqa: E501 + :return: The x_prefix of this ScatterViewProperties. :rtype: str - """ + """ # noqa: E501 return self._x_prefix @x_prefix.setter def x_prefix(self, x_prefix): - """Sets the x_prefix of this ScatterViewProperties. + """Set the x_prefix of this ScatterViewProperties. - - :param x_prefix: The x_prefix of this ScatterViewProperties. # noqa: E501 + :param x_prefix: The x_prefix of this ScatterViewProperties. :type: str - """ + """ # noqa: E501 if x_prefix is None: raise ValueError("Invalid value for `x_prefix`, must not be `None`") # noqa: E501 - self._x_prefix = x_prefix @property def x_suffix(self): - """Gets the x_suffix of this ScatterViewProperties. # noqa: E501 + """Get the x_suffix of this ScatterViewProperties. - - :return: The x_suffix of this ScatterViewProperties. # noqa: E501 + :return: The x_suffix of this ScatterViewProperties. :rtype: str - """ + """ # noqa: E501 return self._x_suffix @x_suffix.setter def x_suffix(self, x_suffix): - """Sets the x_suffix of this ScatterViewProperties. - + """Set the x_suffix of this ScatterViewProperties. - :param x_suffix: The x_suffix of this ScatterViewProperties. # noqa: E501 + :param x_suffix: The x_suffix of this ScatterViewProperties. :type: str - """ + """ # noqa: E501 if x_suffix is None: raise ValueError("Invalid value for `x_suffix`, must not be `None`") # noqa: E501 - self._x_suffix = x_suffix @property def y_prefix(self): - """Gets the y_prefix of this ScatterViewProperties. # noqa: E501 + """Get the y_prefix of this ScatterViewProperties. - - :return: The y_prefix of this ScatterViewProperties. # noqa: E501 + :return: The y_prefix of this ScatterViewProperties. :rtype: str - """ + """ # noqa: E501 return self._y_prefix @y_prefix.setter def y_prefix(self, y_prefix): - """Sets the y_prefix of this ScatterViewProperties. - + """Set the y_prefix of this ScatterViewProperties. - :param y_prefix: The y_prefix of this ScatterViewProperties. # noqa: E501 + :param y_prefix: The y_prefix of this ScatterViewProperties. :type: str - """ + """ # noqa: E501 if y_prefix is None: raise ValueError("Invalid value for `y_prefix`, must not be `None`") # noqa: E501 - self._y_prefix = y_prefix @property def y_suffix(self): - """Gets the y_suffix of this ScatterViewProperties. # noqa: E501 + """Get the y_suffix of this ScatterViewProperties. - - :return: The y_suffix of this ScatterViewProperties. # noqa: E501 + :return: The y_suffix of this ScatterViewProperties. :rtype: str - """ + """ # noqa: E501 return self._y_suffix @y_suffix.setter def y_suffix(self, y_suffix): - """Sets the y_suffix of this ScatterViewProperties. - + """Set the y_suffix of this ScatterViewProperties. - :param y_suffix: The y_suffix of this ScatterViewProperties. # noqa: E501 + :param y_suffix: The y_suffix of this ScatterViewProperties. :type: str - """ + """ # noqa: E501 if y_suffix is None: raise ValueError("Invalid value for `y_suffix`, must not be `None`") # noqa: E501 - self._y_suffix = y_suffix def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -585,20 +533,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ScatterViewProperties): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/scraper_target_request.py b/influxdb_client/domain/scraper_target_request.py index d8922e66..79a8dd77 100644 --- a/influxdb_client/domain/scraper_target_request.py +++ b/influxdb_client/domain/scraper_target_request.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class ScraperTargetRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -46,9 +47,8 @@ class ScraperTargetRequest(object): 'bucket_id': 'bucketID' } - def __init__(self, name=None, type=None, url=None, org_id=None, bucket_id=None): # noqa: E501 - """ScraperTargetRequest - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, name=None, type=None, url=None, org_id=None, bucket_id=None): # noqa: E501,D401,D403 + """ScraperTargetRequest - a model defined in OpenAPI.""" # noqa: E501 self._name = None self._type = None self._url = None @@ -69,121 +69,116 @@ def __init__(self, name=None, type=None, url=None, org_id=None, bucket_id=None): @property def name(self): - """Gets the name of this ScraperTargetRequest. # noqa: E501 + """Get the name of this ScraperTargetRequest. - The name of the scraper target. # noqa: E501 + The name of the scraper target. - :return: The name of this ScraperTargetRequest. # noqa: E501 + :return: The name of this ScraperTargetRequest. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this ScraperTargetRequest. + """Set the name of this ScraperTargetRequest. - The name of the scraper target. # noqa: E501 + The name of the scraper target. - :param name: The name of this ScraperTargetRequest. # noqa: E501 + :param name: The name of this ScraperTargetRequest. :type: str - """ - + """ # noqa: E501 self._name = name @property def type(self): - """Gets the type of this ScraperTargetRequest. # noqa: E501 + """Get the type of this ScraperTargetRequest. - The type of the metrics to be parsed. # noqa: E501 + The type of the metrics to be parsed. - :return: The type of this ScraperTargetRequest. # noqa: E501 + :return: The type of this ScraperTargetRequest. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this ScraperTargetRequest. + """Set the type of this ScraperTargetRequest. - The type of the metrics to be parsed. # noqa: E501 + The type of the metrics to be parsed. - :param type: The type of this ScraperTargetRequest. # noqa: E501 + :param type: The type of this ScraperTargetRequest. :type: str - """ - + """ # noqa: E501 self._type = type @property def url(self): - """Gets the url of this ScraperTargetRequest. # noqa: E501 + """Get the url of this ScraperTargetRequest. - The URL of the metrics endpoint. # noqa: E501 + The URL of the metrics endpoint. - :return: The url of this ScraperTargetRequest. # noqa: E501 + :return: The url of this ScraperTargetRequest. :rtype: str - """ + """ # noqa: E501 return self._url @url.setter def url(self, url): - """Sets the url of this ScraperTargetRequest. + """Set the url of this ScraperTargetRequest. - The URL of the metrics endpoint. # noqa: E501 + The URL of the metrics endpoint. - :param url: The url of this ScraperTargetRequest. # noqa: E501 + :param url: The url of this ScraperTargetRequest. :type: str - """ - + """ # noqa: E501 self._url = url @property def org_id(self): - """Gets the org_id of this ScraperTargetRequest. # noqa: E501 + """Get the org_id of this ScraperTargetRequest. - The organization ID. # noqa: E501 + The organization ID. - :return: The org_id of this ScraperTargetRequest. # noqa: E501 + :return: The org_id of this ScraperTargetRequest. :rtype: str - """ + """ # noqa: E501 return self._org_id @org_id.setter def org_id(self, org_id): - """Sets the org_id of this ScraperTargetRequest. + """Set the org_id of this ScraperTargetRequest. - The organization ID. # noqa: E501 + The organization ID. - :param org_id: The org_id of this ScraperTargetRequest. # noqa: E501 + :param org_id: The org_id of this ScraperTargetRequest. :type: str - """ - + """ # noqa: E501 self._org_id = org_id @property def bucket_id(self): - """Gets the bucket_id of this ScraperTargetRequest. # noqa: E501 + """Get the bucket_id of this ScraperTargetRequest. - The ID of the bucket to write to. # noqa: E501 + The ID of the bucket to write to. - :return: The bucket_id of this ScraperTargetRequest. # noqa: E501 + :return: The bucket_id of this ScraperTargetRequest. :rtype: str - """ + """ # noqa: E501 return self._bucket_id @bucket_id.setter def bucket_id(self, bucket_id): - """Sets the bucket_id of this ScraperTargetRequest. + """Set the bucket_id of this ScraperTargetRequest. - The ID of the bucket to write to. # noqa: E501 + The ID of the bucket to write to. - :param bucket_id: The bucket_id of this ScraperTargetRequest. # noqa: E501 + :param bucket_id: The bucket_id of this ScraperTargetRequest. :type: str - """ - + """ # noqa: E501 self._bucket_id = bucket_id def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -207,20 +202,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ScraperTargetRequest): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/scraper_target_response.py b/influxdb_client/domain/scraper_target_response.py index 2ae0c3da..79403b71 100644 --- a/influxdb_client/domain/scraper_target_response.py +++ b/influxdb_client/domain/scraper_target_response.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class ScraperTargetResponse(ScraperTargetRequest): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -55,8 +56,8 @@ class ScraperTargetResponse(ScraperTargetRequest): 'bucket_id': 'bucketID' } - def __init__(self, id=None, org=None, bucket=None, links=None, name=None, type=None, url=None, org_id=None, bucket_id=None): # noqa: E501 - """ScraperTargetResponse - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, id=None, org=None, bucket=None, links=None, name=None, type=None, url=None, org_id=None, bucket_id=None): # noqa: E501,D401,D403 + """ScraperTargetResponse - a model defined in OpenAPI.""" # noqa: E501 ScraperTargetRequest.__init__(self, name=name, type=type, url=url, org_id=org_id, bucket_id=bucket_id) # noqa: E501 self._id = None @@ -76,94 +77,86 @@ def __init__(self, id=None, org=None, bucket=None, links=None, name=None, type=N @property def id(self): - """Gets the id of this ScraperTargetResponse. # noqa: E501 - + """Get the id of this ScraperTargetResponse. - :return: The id of this ScraperTargetResponse. # noqa: E501 + :return: The id of this ScraperTargetResponse. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this ScraperTargetResponse. - + """Set the id of this ScraperTargetResponse. - :param id: The id of this ScraperTargetResponse. # noqa: E501 + :param id: The id of this ScraperTargetResponse. :type: str - """ - + """ # noqa: E501 self._id = id @property def org(self): - """Gets the org of this ScraperTargetResponse. # noqa: E501 + """Get the org of this ScraperTargetResponse. - The organization name. # noqa: E501 + The organization name. - :return: The org of this ScraperTargetResponse. # noqa: E501 + :return: The org of this ScraperTargetResponse. :rtype: str - """ + """ # noqa: E501 return self._org @org.setter def org(self, org): - """Sets the org of this ScraperTargetResponse. + """Set the org of this ScraperTargetResponse. - The organization name. # noqa: E501 + The organization name. - :param org: The org of this ScraperTargetResponse. # noqa: E501 + :param org: The org of this ScraperTargetResponse. :type: str - """ - + """ # noqa: E501 self._org = org @property def bucket(self): - """Gets the bucket of this ScraperTargetResponse. # noqa: E501 + """Get the bucket of this ScraperTargetResponse. - The bucket name. # noqa: E501 + The bucket name. - :return: The bucket of this ScraperTargetResponse. # noqa: E501 + :return: The bucket of this ScraperTargetResponse. :rtype: str - """ + """ # noqa: E501 return self._bucket @bucket.setter def bucket(self, bucket): - """Sets the bucket of this ScraperTargetResponse. + """Set the bucket of this ScraperTargetResponse. - The bucket name. # noqa: E501 + The bucket name. - :param bucket: The bucket of this ScraperTargetResponse. # noqa: E501 + :param bucket: The bucket of this ScraperTargetResponse. :type: str - """ - + """ # noqa: E501 self._bucket = bucket @property def links(self): - """Gets the links of this ScraperTargetResponse. # noqa: E501 - + """Get the links of this ScraperTargetResponse. - :return: The links of this ScraperTargetResponse. # noqa: E501 + :return: The links of this ScraperTargetResponse. :rtype: object - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this ScraperTargetResponse. + """Set the links of this ScraperTargetResponse. - - :param links: The links of this ScraperTargetResponse. # noqa: E501 + :param links: The links of this ScraperTargetResponse. :type: object - """ - + """ # noqa: E501 self._links = links def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -187,20 +180,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ScraperTargetResponse): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/scraper_target_responses.py b/influxdb_client/domain/scraper_target_responses.py index f29fb2c4..f875e983 100644 --- a/influxdb_client/domain/scraper_target_responses.py +++ b/influxdb_client/domain/scraper_target_responses.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class ScraperTargetResponses(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class ScraperTargetResponses(object): 'configurations': 'configurations' } - def __init__(self, configurations=None): # noqa: E501 - """ScraperTargetResponses - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, configurations=None): # noqa: E501,D401,D403 + """ScraperTargetResponses - a model defined in OpenAPI.""" # noqa: E501 self._configurations = None self.discriminator = None @@ -49,27 +49,24 @@ def __init__(self, configurations=None): # noqa: E501 @property def configurations(self): - """Gets the configurations of this ScraperTargetResponses. # noqa: E501 - + """Get the configurations of this ScraperTargetResponses. - :return: The configurations of this ScraperTargetResponses. # noqa: E501 + :return: The configurations of this ScraperTargetResponses. :rtype: list[ScraperTargetResponse] - """ + """ # noqa: E501 return self._configurations @configurations.setter def configurations(self, configurations): - """Sets the configurations of this ScraperTargetResponses. + """Set the configurations of this ScraperTargetResponses. - - :param configurations: The configurations of this ScraperTargetResponses. # noqa: E501 + :param configurations: The configurations of this ScraperTargetResponses. :type: list[ScraperTargetResponse] - """ - + """ # noqa: E501 self._configurations = configurations def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -93,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ScraperTargetResponses): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/secret_keys.py b/influxdb_client/domain/secret_keys.py index d86aa17e..139e0044 100644 --- a/influxdb_client/domain/secret_keys.py +++ b/influxdb_client/domain/secret_keys.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class SecretKeys(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class SecretKeys(object): 'secrets': 'secrets' } - def __init__(self, secrets=None): # noqa: E501 - """SecretKeys - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, secrets=None): # noqa: E501,D401,D403 + """SecretKeys - a model defined in OpenAPI.""" # noqa: E501 self._secrets = None self.discriminator = None @@ -49,27 +49,24 @@ def __init__(self, secrets=None): # noqa: E501 @property def secrets(self): - """Gets the secrets of this SecretKeys. # noqa: E501 - + """Get the secrets of this SecretKeys. - :return: The secrets of this SecretKeys. # noqa: E501 + :return: The secrets of this SecretKeys. :rtype: list[str] - """ + """ # noqa: E501 return self._secrets @secrets.setter def secrets(self, secrets): - """Sets the secrets of this SecretKeys. + """Set the secrets of this SecretKeys. - - :param secrets: The secrets of this SecretKeys. # noqa: E501 + :param secrets: The secrets of this SecretKeys. :type: list[str] - """ - + """ # noqa: E501 self._secrets = secrets def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -93,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, SecretKeys): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/secret_keys_response.py b/influxdb_client/domain/secret_keys_response.py index 48d6ae35..0207c69e 100644 --- a/influxdb_client/domain/secret_keys_response.py +++ b/influxdb_client/domain/secret_keys_response.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class SecretKeysResponse(SecretKeys): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -41,8 +42,8 @@ class SecretKeysResponse(SecretKeys): 'secrets': 'secrets' } - def __init__(self, links=None, secrets=None): # noqa: E501 - """SecretKeysResponse - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, links=None, secrets=None): # noqa: E501,D401,D403 + """SecretKeysResponse - a model defined in OpenAPI.""" # noqa: E501 SecretKeys.__init__(self, secrets=secrets) # noqa: E501 self._links = None @@ -53,27 +54,24 @@ def __init__(self, links=None, secrets=None): # noqa: E501 @property def links(self): - """Gets the links of this SecretKeysResponse. # noqa: E501 - + """Get the links of this SecretKeysResponse. - :return: The links of this SecretKeysResponse. # noqa: E501 + :return: The links of this SecretKeysResponse. :rtype: object - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this SecretKeysResponse. + """Set the links of this SecretKeysResponse. - - :param links: The links of this SecretKeysResponse. # noqa: E501 + :param links: The links of this SecretKeysResponse. :type: object - """ - + """ # noqa: E501 self._links = links def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -97,20 +95,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, SecretKeysResponse): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/single_stat_view_properties.py b/influxdb_client/domain/single_stat_view_properties.py index 139bb263..a4f6c6c8 100644 --- a/influxdb_client/domain/single_stat_view_properties.py +++ b/influxdb_client/domain/single_stat_view_properties.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class SingleStatViewProperties(ViewProperties): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -61,8 +62,8 @@ class SingleStatViewProperties(ViewProperties): 'decimal_places': 'decimalPlaces' } - def __init__(self, type=None, queries=None, colors=None, shape=None, note=None, show_note_when_empty=None, prefix=None, tick_prefix=None, suffix=None, tick_suffix=None, legend=None, decimal_places=None): # noqa: E501 - """SingleStatViewProperties - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, type=None, queries=None, colors=None, shape=None, note=None, show_note_when_empty=None, prefix=None, tick_prefix=None, suffix=None, tick_suffix=None, legend=None, decimal_places=None): # noqa: E501,D401,D403 + """SingleStatViewProperties - a model defined in OpenAPI.""" # noqa: E501 ViewProperties.__init__(self) # noqa: E501 self._type = None @@ -94,286 +95,254 @@ def __init__(self, type=None, queries=None, colors=None, shape=None, note=None, @property def type(self): - """Gets the type of this SingleStatViewProperties. # noqa: E501 - + """Get the type of this SingleStatViewProperties. - :return: The type of this SingleStatViewProperties. # noqa: E501 + :return: The type of this SingleStatViewProperties. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this SingleStatViewProperties. - + """Set the type of this SingleStatViewProperties. - :param type: The type of this SingleStatViewProperties. # noqa: E501 + :param type: The type of this SingleStatViewProperties. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def queries(self): - """Gets the queries of this SingleStatViewProperties. # noqa: E501 - + """Get the queries of this SingleStatViewProperties. - :return: The queries of this SingleStatViewProperties. # noqa: E501 + :return: The queries of this SingleStatViewProperties. :rtype: list[DashboardQuery] - """ + """ # noqa: E501 return self._queries @queries.setter def queries(self, queries): - """Sets the queries of this SingleStatViewProperties. + """Set the queries of this SingleStatViewProperties. - - :param queries: The queries of this SingleStatViewProperties. # noqa: E501 + :param queries: The queries of this SingleStatViewProperties. :type: list[DashboardQuery] - """ + """ # noqa: E501 if queries is None: raise ValueError("Invalid value for `queries`, must not be `None`") # noqa: E501 - self._queries = queries @property def colors(self): - """Gets the colors of this SingleStatViewProperties. # noqa: E501 + """Get the colors of this SingleStatViewProperties. - Colors define color encoding of data into a visualization # noqa: E501 + Colors define color encoding of data into a visualization - :return: The colors of this SingleStatViewProperties. # noqa: E501 + :return: The colors of this SingleStatViewProperties. :rtype: list[DashboardColor] - """ + """ # noqa: E501 return self._colors @colors.setter def colors(self, colors): - """Sets the colors of this SingleStatViewProperties. + """Set the colors of this SingleStatViewProperties. - Colors define color encoding of data into a visualization # noqa: E501 + Colors define color encoding of data into a visualization - :param colors: The colors of this SingleStatViewProperties. # noqa: E501 + :param colors: The colors of this SingleStatViewProperties. :type: list[DashboardColor] - """ + """ # noqa: E501 if colors is None: raise ValueError("Invalid value for `colors`, must not be `None`") # noqa: E501 - self._colors = colors @property def shape(self): - """Gets the shape of this SingleStatViewProperties. # noqa: E501 - + """Get the shape of this SingleStatViewProperties. - :return: The shape of this SingleStatViewProperties. # noqa: E501 + :return: The shape of this SingleStatViewProperties. :rtype: str - """ + """ # noqa: E501 return self._shape @shape.setter def shape(self, shape): - """Sets the shape of this SingleStatViewProperties. + """Set the shape of this SingleStatViewProperties. - - :param shape: The shape of this SingleStatViewProperties. # noqa: E501 + :param shape: The shape of this SingleStatViewProperties. :type: str - """ + """ # noqa: E501 if shape is None: raise ValueError("Invalid value for `shape`, must not be `None`") # noqa: E501 - self._shape = shape @property def note(self): - """Gets the note of this SingleStatViewProperties. # noqa: E501 + """Get the note of this SingleStatViewProperties. - - :return: The note of this SingleStatViewProperties. # noqa: E501 + :return: The note of this SingleStatViewProperties. :rtype: str - """ + """ # noqa: E501 return self._note @note.setter def note(self, note): - """Sets the note of this SingleStatViewProperties. - + """Set the note of this SingleStatViewProperties. - :param note: The note of this SingleStatViewProperties. # noqa: E501 + :param note: The note of this SingleStatViewProperties. :type: str - """ + """ # noqa: E501 if note is None: raise ValueError("Invalid value for `note`, must not be `None`") # noqa: E501 - self._note = note @property def show_note_when_empty(self): - """Gets the show_note_when_empty of this SingleStatViewProperties. # noqa: E501 + """Get the show_note_when_empty of this SingleStatViewProperties. - If true, will display note when empty # noqa: E501 + If true, will display note when empty - :return: The show_note_when_empty of this SingleStatViewProperties. # noqa: E501 + :return: The show_note_when_empty of this SingleStatViewProperties. :rtype: bool - """ + """ # noqa: E501 return self._show_note_when_empty @show_note_when_empty.setter def show_note_when_empty(self, show_note_when_empty): - """Sets the show_note_when_empty of this SingleStatViewProperties. + """Set the show_note_when_empty of this SingleStatViewProperties. - If true, will display note when empty # noqa: E501 + If true, will display note when empty - :param show_note_when_empty: The show_note_when_empty of this SingleStatViewProperties. # noqa: E501 + :param show_note_when_empty: The show_note_when_empty of this SingleStatViewProperties. :type: bool - """ + """ # noqa: E501 if show_note_when_empty is None: raise ValueError("Invalid value for `show_note_when_empty`, must not be `None`") # noqa: E501 - self._show_note_when_empty = show_note_when_empty @property def prefix(self): - """Gets the prefix of this SingleStatViewProperties. # noqa: E501 + """Get the prefix of this SingleStatViewProperties. - - :return: The prefix of this SingleStatViewProperties. # noqa: E501 + :return: The prefix of this SingleStatViewProperties. :rtype: str - """ + """ # noqa: E501 return self._prefix @prefix.setter def prefix(self, prefix): - """Sets the prefix of this SingleStatViewProperties. - + """Set the prefix of this SingleStatViewProperties. - :param prefix: The prefix of this SingleStatViewProperties. # noqa: E501 + :param prefix: The prefix of this SingleStatViewProperties. :type: str - """ + """ # noqa: E501 if prefix is None: raise ValueError("Invalid value for `prefix`, must not be `None`") # noqa: E501 - self._prefix = prefix @property def tick_prefix(self): - """Gets the tick_prefix of this SingleStatViewProperties. # noqa: E501 - + """Get the tick_prefix of this SingleStatViewProperties. - :return: The tick_prefix of this SingleStatViewProperties. # noqa: E501 + :return: The tick_prefix of this SingleStatViewProperties. :rtype: str - """ + """ # noqa: E501 return self._tick_prefix @tick_prefix.setter def tick_prefix(self, tick_prefix): - """Sets the tick_prefix of this SingleStatViewProperties. + """Set the tick_prefix of this SingleStatViewProperties. - - :param tick_prefix: The tick_prefix of this SingleStatViewProperties. # noqa: E501 + :param tick_prefix: The tick_prefix of this SingleStatViewProperties. :type: str - """ + """ # noqa: E501 if tick_prefix is None: raise ValueError("Invalid value for `tick_prefix`, must not be `None`") # noqa: E501 - self._tick_prefix = tick_prefix @property def suffix(self): - """Gets the suffix of this SingleStatViewProperties. # noqa: E501 + """Get the suffix of this SingleStatViewProperties. - - :return: The suffix of this SingleStatViewProperties. # noqa: E501 + :return: The suffix of this SingleStatViewProperties. :rtype: str - """ + """ # noqa: E501 return self._suffix @suffix.setter def suffix(self, suffix): - """Sets the suffix of this SingleStatViewProperties. - + """Set the suffix of this SingleStatViewProperties. - :param suffix: The suffix of this SingleStatViewProperties. # noqa: E501 + :param suffix: The suffix of this SingleStatViewProperties. :type: str - """ + """ # noqa: E501 if suffix is None: raise ValueError("Invalid value for `suffix`, must not be `None`") # noqa: E501 - self._suffix = suffix @property def tick_suffix(self): - """Gets the tick_suffix of this SingleStatViewProperties. # noqa: E501 - + """Get the tick_suffix of this SingleStatViewProperties. - :return: The tick_suffix of this SingleStatViewProperties. # noqa: E501 + :return: The tick_suffix of this SingleStatViewProperties. :rtype: str - """ + """ # noqa: E501 return self._tick_suffix @tick_suffix.setter def tick_suffix(self, tick_suffix): - """Sets the tick_suffix of this SingleStatViewProperties. + """Set the tick_suffix of this SingleStatViewProperties. - - :param tick_suffix: The tick_suffix of this SingleStatViewProperties. # noqa: E501 + :param tick_suffix: The tick_suffix of this SingleStatViewProperties. :type: str - """ + """ # noqa: E501 if tick_suffix is None: raise ValueError("Invalid value for `tick_suffix`, must not be `None`") # noqa: E501 - self._tick_suffix = tick_suffix @property def legend(self): - """Gets the legend of this SingleStatViewProperties. # noqa: E501 + """Get the legend of this SingleStatViewProperties. - - :return: The legend of this SingleStatViewProperties. # noqa: E501 + :return: The legend of this SingleStatViewProperties. :rtype: Legend - """ + """ # noqa: E501 return self._legend @legend.setter def legend(self, legend): - """Sets the legend of this SingleStatViewProperties. - + """Set the legend of this SingleStatViewProperties. - :param legend: The legend of this SingleStatViewProperties. # noqa: E501 + :param legend: The legend of this SingleStatViewProperties. :type: Legend - """ + """ # noqa: E501 if legend is None: raise ValueError("Invalid value for `legend`, must not be `None`") # noqa: E501 - self._legend = legend @property def decimal_places(self): - """Gets the decimal_places of this SingleStatViewProperties. # noqa: E501 - + """Get the decimal_places of this SingleStatViewProperties. - :return: The decimal_places of this SingleStatViewProperties. # noqa: E501 + :return: The decimal_places of this SingleStatViewProperties. :rtype: DecimalPlaces - """ + """ # noqa: E501 return self._decimal_places @decimal_places.setter def decimal_places(self, decimal_places): - """Sets the decimal_places of this SingleStatViewProperties. + """Set the decimal_places of this SingleStatViewProperties. - - :param decimal_places: The decimal_places of this SingleStatViewProperties. # noqa: E501 + :param decimal_places: The decimal_places of this SingleStatViewProperties. :type: DecimalPlaces - """ + """ # noqa: E501 if decimal_places is None: raise ValueError("Invalid value for `decimal_places`, must not be `None`") # noqa: E501 - self._decimal_places = decimal_places def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -397,20 +366,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, SingleStatViewProperties): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/slack_notification_endpoint.py b/influxdb_client/domain/slack_notification_endpoint.py index 11a1dee0..aac2fb92 100644 --- a/influxdb_client/domain/slack_notification_endpoint.py +++ b/influxdb_client/domain/slack_notification_endpoint.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class SlackNotificationEndpoint(NotificationEndpoint): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -41,8 +42,8 @@ class SlackNotificationEndpoint(NotificationEndpoint): 'token': 'token' } - def __init__(self, url=None, token=None): # noqa: E501 - """SlackNotificationEndpoint - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, url=None, token=None): # noqa: E501,D401,D403 + """SlackNotificationEndpoint - a model defined in OpenAPI.""" # noqa: E501 NotificationEndpoint.__init__(self) # noqa: E501 self._url = None @@ -55,54 +56,52 @@ def __init__(self, url=None, token=None): # noqa: E501 @property def url(self): - """Gets the url of this SlackNotificationEndpoint. # noqa: E501 + """Get the url of this SlackNotificationEndpoint. - Specifies the URL of the Slack endpoint. Specify either `URL` or `Token`. # noqa: E501 + Specifies the URL of the Slack endpoint. Specify either `URL` or `Token`. - :return: The url of this SlackNotificationEndpoint. # noqa: E501 + :return: The url of this SlackNotificationEndpoint. :rtype: str - """ + """ # noqa: E501 return self._url @url.setter def url(self, url): - """Sets the url of this SlackNotificationEndpoint. + """Set the url of this SlackNotificationEndpoint. - Specifies the URL of the Slack endpoint. Specify either `URL` or `Token`. # noqa: E501 + Specifies the URL of the Slack endpoint. Specify either `URL` or `Token`. - :param url: The url of this SlackNotificationEndpoint. # noqa: E501 + :param url: The url of this SlackNotificationEndpoint. :type: str - """ + """ # noqa: E501 if url is None: raise ValueError("Invalid value for `url`, must not be `None`") # noqa: E501 - self._url = url @property def token(self): - """Gets the token of this SlackNotificationEndpoint. # noqa: E501 + """Get the token of this SlackNotificationEndpoint. - Specifies the API token string. Specify either `URL` or `Token`. # noqa: E501 + Specifies the API token string. Specify either `URL` or `Token`. - :return: The token of this SlackNotificationEndpoint. # noqa: E501 + :return: The token of this SlackNotificationEndpoint. :rtype: str - """ + """ # noqa: E501 return self._token @token.setter def token(self, token): - """Sets the token of this SlackNotificationEndpoint. + """Set the token of this SlackNotificationEndpoint. - Specifies the API token string. Specify either `URL` or `Token`. # noqa: E501 + Specifies the API token string. Specify either `URL` or `Token`. - :param token: The token of this SlackNotificationEndpoint. # noqa: E501 + :param token: The token of this SlackNotificationEndpoint. :type: str - """ - + """ # noqa: E501 self._token = token def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -126,20 +125,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, SlackNotificationEndpoint): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/slack_notification_rule.py b/influxdb_client/domain/slack_notification_rule.py index 3d084aa0..bb0e7f6a 100644 --- a/influxdb_client/domain/slack_notification_rule.py +++ b/influxdb_client/domain/slack_notification_rule.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class SlackNotificationRule(SlackNotificationRuleBase): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -43,13 +44,13 @@ class SlackNotificationRule(SlackNotificationRuleBase): 'message_template': 'messageTemplate' } - def __init__(self, type=None, channel=None, message_template=None): # noqa: E501 - """SlackNotificationRule - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, type=None, channel=None, message_template=None): # noqa: E501,D401,D403 + """SlackNotificationRule - a model defined in OpenAPI.""" # noqa: E501 SlackNotificationRuleBase.__init__(self, type=type, channel=channel, message_template=message_template) # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -73,20 +74,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, SlackNotificationRule): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/slack_notification_rule_base.py b/influxdb_client/domain/slack_notification_rule_base.py index 8da17a3f..e04a1fe8 100644 --- a/influxdb_client/domain/slack_notification_rule_base.py +++ b/influxdb_client/domain/slack_notification_rule_base.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class SlackNotificationRuleBase(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class SlackNotificationRuleBase(object): 'message_template': 'messageTemplate' } - def __init__(self, type=None, channel=None, message_template=None): # noqa: E501 - """SlackNotificationRuleBase - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, channel=None, message_template=None): # noqa: E501,D401,D403 + """SlackNotificationRuleBase - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._channel = None self._message_template = None @@ -57,73 +57,64 @@ def __init__(self, type=None, channel=None, message_template=None): # noqa: E50 @property def type(self): - """Gets the type of this SlackNotificationRuleBase. # noqa: E501 - + """Get the type of this SlackNotificationRuleBase. - :return: The type of this SlackNotificationRuleBase. # noqa: E501 + :return: The type of this SlackNotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this SlackNotificationRuleBase. + """Set the type of this SlackNotificationRuleBase. - - :param type: The type of this SlackNotificationRuleBase. # noqa: E501 + :param type: The type of this SlackNotificationRuleBase. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def channel(self): - """Gets the channel of this SlackNotificationRuleBase. # noqa: E501 - + """Get the channel of this SlackNotificationRuleBase. - :return: The channel of this SlackNotificationRuleBase. # noqa: E501 + :return: The channel of this SlackNotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._channel @channel.setter def channel(self, channel): - """Sets the channel of this SlackNotificationRuleBase. + """Set the channel of this SlackNotificationRuleBase. - - :param channel: The channel of this SlackNotificationRuleBase. # noqa: E501 + :param channel: The channel of this SlackNotificationRuleBase. :type: str - """ - + """ # noqa: E501 self._channel = channel @property def message_template(self): - """Gets the message_template of this SlackNotificationRuleBase. # noqa: E501 - + """Get the message_template of this SlackNotificationRuleBase. - :return: The message_template of this SlackNotificationRuleBase. # noqa: E501 + :return: The message_template of this SlackNotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._message_template @message_template.setter def message_template(self, message_template): - """Sets the message_template of this SlackNotificationRuleBase. + """Set the message_template of this SlackNotificationRuleBase. - - :param message_template: The message_template of this SlackNotificationRuleBase. # noqa: E501 + :param message_template: The message_template of this SlackNotificationRuleBase. :type: str - """ + """ # noqa: E501 if message_template is None: raise ValueError("Invalid value for `message_template`, must not be `None`") # noqa: E501 - self._message_template = message_template def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -147,20 +138,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, SlackNotificationRuleBase): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/smtp_notification_rule.py b/influxdb_client/domain/smtp_notification_rule.py index a0a04f61..f0a98217 100644 --- a/influxdb_client/domain/smtp_notification_rule.py +++ b/influxdb_client/domain/smtp_notification_rule.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class SMTPNotificationRule(SMTPNotificationRuleBase): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -45,13 +46,13 @@ class SMTPNotificationRule(SMTPNotificationRuleBase): 'to': 'to' } - def __init__(self, type=None, subject_template=None, body_template=None, to=None): # noqa: E501 - """SMTPNotificationRule - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, type=None, subject_template=None, body_template=None, to=None): # noqa: E501,D401,D403 + """SMTPNotificationRule - a model defined in OpenAPI.""" # noqa: E501 SMTPNotificationRuleBase.__init__(self, type=type, subject_template=subject_template, body_template=body_template, to=to) # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -75,20 +76,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, SMTPNotificationRule): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/smtp_notification_rule_base.py b/influxdb_client/domain/smtp_notification_rule_base.py index b14bb3e4..01103350 100644 --- a/influxdb_client/domain/smtp_notification_rule_base.py +++ b/influxdb_client/domain/smtp_notification_rule_base.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class SMTPNotificationRuleBase(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class SMTPNotificationRuleBase(object): 'to': 'to' } - def __init__(self, type=None, subject_template=None, body_template=None, to=None): # noqa: E501 - """SMTPNotificationRuleBase - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, subject_template=None, body_template=None, to=None): # noqa: E501,D401,D403 + """SMTPNotificationRuleBase - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._subject_template = None self._body_template = None @@ -61,96 +61,84 @@ def __init__(self, type=None, subject_template=None, body_template=None, to=None @property def type(self): - """Gets the type of this SMTPNotificationRuleBase. # noqa: E501 + """Get the type of this SMTPNotificationRuleBase. - - :return: The type of this SMTPNotificationRuleBase. # noqa: E501 + :return: The type of this SMTPNotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this SMTPNotificationRuleBase. - + """Set the type of this SMTPNotificationRuleBase. - :param type: The type of this SMTPNotificationRuleBase. # noqa: E501 + :param type: The type of this SMTPNotificationRuleBase. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def subject_template(self): - """Gets the subject_template of this SMTPNotificationRuleBase. # noqa: E501 - + """Get the subject_template of this SMTPNotificationRuleBase. - :return: The subject_template of this SMTPNotificationRuleBase. # noqa: E501 + :return: The subject_template of this SMTPNotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._subject_template @subject_template.setter def subject_template(self, subject_template): - """Sets the subject_template of this SMTPNotificationRuleBase. - + """Set the subject_template of this SMTPNotificationRuleBase. - :param subject_template: The subject_template of this SMTPNotificationRuleBase. # noqa: E501 + :param subject_template: The subject_template of this SMTPNotificationRuleBase. :type: str - """ + """ # noqa: E501 if subject_template is None: raise ValueError("Invalid value for `subject_template`, must not be `None`") # noqa: E501 - self._subject_template = subject_template @property def body_template(self): - """Gets the body_template of this SMTPNotificationRuleBase. # noqa: E501 - + """Get the body_template of this SMTPNotificationRuleBase. - :return: The body_template of this SMTPNotificationRuleBase. # noqa: E501 + :return: The body_template of this SMTPNotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._body_template @body_template.setter def body_template(self, body_template): - """Sets the body_template of this SMTPNotificationRuleBase. + """Set the body_template of this SMTPNotificationRuleBase. - - :param body_template: The body_template of this SMTPNotificationRuleBase. # noqa: E501 + :param body_template: The body_template of this SMTPNotificationRuleBase. :type: str - """ - + """ # noqa: E501 self._body_template = body_template @property def to(self): - """Gets the to of this SMTPNotificationRuleBase. # noqa: E501 + """Get the to of this SMTPNotificationRuleBase. - - :return: The to of this SMTPNotificationRuleBase. # noqa: E501 + :return: The to of this SMTPNotificationRuleBase. :rtype: str - """ + """ # noqa: E501 return self._to @to.setter def to(self, to): - """Sets the to of this SMTPNotificationRuleBase. - + """Set the to of this SMTPNotificationRuleBase. - :param to: The to of this SMTPNotificationRuleBase. # noqa: E501 + :param to: The to of this SMTPNotificationRuleBase. :type: str - """ + """ # noqa: E501 if to is None: raise ValueError("Invalid value for `to`, must not be `None`") # noqa: E501 - self._to = to def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -174,20 +162,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, SMTPNotificationRuleBase): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/source.py b/influxdb_client/domain/source.py index 887e6ad6..d3e626df 100644 --- a/influxdb_client/domain/source.py +++ b/influxdb_client/domain/source.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Source(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -68,9 +69,8 @@ class Source(object): 'languages': 'languages' } - def __init__(self, links=None, id=None, org_id=None, default=None, name=None, type=None, url=None, insecure_skip_verify=None, telegraf=None, token=None, username=None, password=None, shared_secret=None, meta_url=None, default_rp=None, languages=None): # noqa: E501 - """Source - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, links=None, id=None, org_id=None, default=None, name=None, type=None, url=None, insecure_skip_verify=None, telegraf=None, token=None, username=None, password=None, shared_secret=None, meta_url=None, default_rp=None, languages=None): # noqa: E501,D401,D403 + """Source - a model defined in OpenAPI.""" # noqa: E501 self._links = None self._id = None self._org_id = None @@ -124,337 +124,290 @@ def __init__(self, links=None, id=None, org_id=None, default=None, name=None, ty @property def links(self): - """Gets the links of this Source. # noqa: E501 + """Get the links of this Source. - - :return: The links of this Source. # noqa: E501 + :return: The links of this Source. :rtype: SourceLinks - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Source. - + """Set the links of this Source. - :param links: The links of this Source. # noqa: E501 + :param links: The links of this Source. :type: SourceLinks - """ - + """ # noqa: E501 self._links = links @property def id(self): - """Gets the id of this Source. # noqa: E501 - + """Get the id of this Source. - :return: The id of this Source. # noqa: E501 + :return: The id of this Source. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this Source. - + """Set the id of this Source. - :param id: The id of this Source. # noqa: E501 + :param id: The id of this Source. :type: str - """ - + """ # noqa: E501 self._id = id @property def org_id(self): - """Gets the org_id of this Source. # noqa: E501 - + """Get the org_id of this Source. - :return: The org_id of this Source. # noqa: E501 + :return: The org_id of this Source. :rtype: str - """ + """ # noqa: E501 return self._org_id @org_id.setter def org_id(self, org_id): - """Sets the org_id of this Source. - + """Set the org_id of this Source. - :param org_id: The org_id of this Source. # noqa: E501 + :param org_id: The org_id of this Source. :type: str - """ - + """ # noqa: E501 self._org_id = org_id @property def default(self): - """Gets the default of this Source. # noqa: E501 - + """Get the default of this Source. - :return: The default of this Source. # noqa: E501 + :return: The default of this Source. :rtype: bool - """ + """ # noqa: E501 return self._default @default.setter def default(self, default): - """Sets the default of this Source. - + """Set the default of this Source. - :param default: The default of this Source. # noqa: E501 + :param default: The default of this Source. :type: bool - """ - + """ # noqa: E501 self._default = default @property def name(self): - """Gets the name of this Source. # noqa: E501 - + """Get the name of this Source. - :return: The name of this Source. # noqa: E501 + :return: The name of this Source. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this Source. - + """Set the name of this Source. - :param name: The name of this Source. # noqa: E501 + :param name: The name of this Source. :type: str - """ - + """ # noqa: E501 self._name = name @property def type(self): - """Gets the type of this Source. # noqa: E501 - + """Get the type of this Source. - :return: The type of this Source. # noqa: E501 + :return: The type of this Source. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this Source. - + """Set the type of this Source. - :param type: The type of this Source. # noqa: E501 + :param type: The type of this Source. :type: str - """ - + """ # noqa: E501 self._type = type @property def url(self): - """Gets the url of this Source. # noqa: E501 - + """Get the url of this Source. - :return: The url of this Source. # noqa: E501 + :return: The url of this Source. :rtype: str - """ + """ # noqa: E501 return self._url @url.setter def url(self, url): - """Sets the url of this Source. - + """Set the url of this Source. - :param url: The url of this Source. # noqa: E501 + :param url: The url of this Source. :type: str - """ - + """ # noqa: E501 self._url = url @property def insecure_skip_verify(self): - """Gets the insecure_skip_verify of this Source. # noqa: E501 - + """Get the insecure_skip_verify of this Source. - :return: The insecure_skip_verify of this Source. # noqa: E501 + :return: The insecure_skip_verify of this Source. :rtype: bool - """ + """ # noqa: E501 return self._insecure_skip_verify @insecure_skip_verify.setter def insecure_skip_verify(self, insecure_skip_verify): - """Sets the insecure_skip_verify of this Source. - + """Set the insecure_skip_verify of this Source. - :param insecure_skip_verify: The insecure_skip_verify of this Source. # noqa: E501 + :param insecure_skip_verify: The insecure_skip_verify of this Source. :type: bool - """ - + """ # noqa: E501 self._insecure_skip_verify = insecure_skip_verify @property def telegraf(self): - """Gets the telegraf of this Source. # noqa: E501 - + """Get the telegraf of this Source. - :return: The telegraf of this Source. # noqa: E501 + :return: The telegraf of this Source. :rtype: str - """ + """ # noqa: E501 return self._telegraf @telegraf.setter def telegraf(self, telegraf): - """Sets the telegraf of this Source. + """Set the telegraf of this Source. - - :param telegraf: The telegraf of this Source. # noqa: E501 + :param telegraf: The telegraf of this Source. :type: str - """ - + """ # noqa: E501 self._telegraf = telegraf @property def token(self): - """Gets the token of this Source. # noqa: E501 + """Get the token of this Source. - - :return: The token of this Source. # noqa: E501 + :return: The token of this Source. :rtype: str - """ + """ # noqa: E501 return self._token @token.setter def token(self, token): - """Sets the token of this Source. - + """Set the token of this Source. - :param token: The token of this Source. # noqa: E501 + :param token: The token of this Source. :type: str - """ - + """ # noqa: E501 self._token = token @property def username(self): - """Gets the username of this Source. # noqa: E501 + """Get the username of this Source. - - :return: The username of this Source. # noqa: E501 + :return: The username of this Source. :rtype: str - """ + """ # noqa: E501 return self._username @username.setter def username(self, username): - """Sets the username of this Source. - + """Set the username of this Source. - :param username: The username of this Source. # noqa: E501 + :param username: The username of this Source. :type: str - """ - + """ # noqa: E501 self._username = username @property def password(self): - """Gets the password of this Source. # noqa: E501 + """Get the password of this Source. - - :return: The password of this Source. # noqa: E501 + :return: The password of this Source. :rtype: str - """ + """ # noqa: E501 return self._password @password.setter def password(self, password): - """Sets the password of this Source. - + """Set the password of this Source. - :param password: The password of this Source. # noqa: E501 + :param password: The password of this Source. :type: str - """ - + """ # noqa: E501 self._password = password @property def shared_secret(self): - """Gets the shared_secret of this Source. # noqa: E501 + """Get the shared_secret of this Source. - - :return: The shared_secret of this Source. # noqa: E501 + :return: The shared_secret of this Source. :rtype: str - """ + """ # noqa: E501 return self._shared_secret @shared_secret.setter def shared_secret(self, shared_secret): - """Sets the shared_secret of this Source. - + """Set the shared_secret of this Source. - :param shared_secret: The shared_secret of this Source. # noqa: E501 + :param shared_secret: The shared_secret of this Source. :type: str - """ - + """ # noqa: E501 self._shared_secret = shared_secret @property def meta_url(self): - """Gets the meta_url of this Source. # noqa: E501 + """Get the meta_url of this Source. - - :return: The meta_url of this Source. # noqa: E501 + :return: The meta_url of this Source. :rtype: str - """ + """ # noqa: E501 return self._meta_url @meta_url.setter def meta_url(self, meta_url): - """Sets the meta_url of this Source. - + """Set the meta_url of this Source. - :param meta_url: The meta_url of this Source. # noqa: E501 + :param meta_url: The meta_url of this Source. :type: str - """ - + """ # noqa: E501 self._meta_url = meta_url @property def default_rp(self): - """Gets the default_rp of this Source. # noqa: E501 + """Get the default_rp of this Source. - - :return: The default_rp of this Source. # noqa: E501 + :return: The default_rp of this Source. :rtype: str - """ + """ # noqa: E501 return self._default_rp @default_rp.setter def default_rp(self, default_rp): - """Sets the default_rp of this Source. - + """Set the default_rp of this Source. - :param default_rp: The default_rp of this Source. # noqa: E501 + :param default_rp: The default_rp of this Source. :type: str - """ - + """ # noqa: E501 self._default_rp = default_rp @property def languages(self): - """Gets the languages of this Source. # noqa: E501 + """Get the languages of this Source. - - :return: The languages of this Source. # noqa: E501 + :return: The languages of this Source. :rtype: list[str] - """ + """ # noqa: E501 return self._languages @languages.setter def languages(self, languages): - """Sets the languages of this Source. - + """Set the languages of this Source. - :param languages: The languages of this Source. # noqa: E501 + :param languages: The languages of this Source. :type: list[str] - """ + """ # noqa: E501 allowed_values = ["flux", "influxql"] # noqa: E501 if not set(languages).issubset(set(allowed_values)): raise ValueError( @@ -462,11 +415,10 @@ def languages(self, languages): .format(", ".join(map(str, set(languages) - set(allowed_values))), # noqa: E501 ", ".join(map(str, allowed_values))) ) - self._languages = languages def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -490,20 +442,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Source): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/source_links.py b/influxdb_client/domain/source_links.py index 206826d7..d0ca4765 100644 --- a/influxdb_client/domain/source_links.py +++ b/influxdb_client/domain/source_links.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class SourceLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class SourceLinks(object): 'buckets': 'buckets' } - def __init__(self, _self=None, query=None, health=None, buckets=None): # noqa: E501 - """SourceLinks - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, _self=None, query=None, health=None, buckets=None): # noqa: E501,D401,D403 + """SourceLinks - a model defined in OpenAPI.""" # noqa: E501 self.__self = None self._query = None self._health = None @@ -64,90 +64,78 @@ def __init__(self, _self=None, query=None, health=None, buckets=None): # noqa: @property def _self(self): - """Gets the _self of this SourceLinks. # noqa: E501 + """Get the _self of this SourceLinks. - - :return: The _self of this SourceLinks. # noqa: E501 + :return: The _self of this SourceLinks. :rtype: str - """ + """ # noqa: E501 return self.__self @_self.setter def _self(self, _self): - """Sets the _self of this SourceLinks. - + """Set the _self of this SourceLinks. - :param _self: The _self of this SourceLinks. # noqa: E501 + :param _self: The _self of this SourceLinks. :type: str - """ - + """ # noqa: E501 self.__self = _self @property def query(self): - """Gets the query of this SourceLinks. # noqa: E501 - + """Get the query of this SourceLinks. - :return: The query of this SourceLinks. # noqa: E501 + :return: The query of this SourceLinks. :rtype: str - """ + """ # noqa: E501 return self._query @query.setter def query(self, query): - """Sets the query of this SourceLinks. - + """Set the query of this SourceLinks. - :param query: The query of this SourceLinks. # noqa: E501 + :param query: The query of this SourceLinks. :type: str - """ - + """ # noqa: E501 self._query = query @property def health(self): - """Gets the health of this SourceLinks. # noqa: E501 - + """Get the health of this SourceLinks. - :return: The health of this SourceLinks. # noqa: E501 + :return: The health of this SourceLinks. :rtype: str - """ + """ # noqa: E501 return self._health @health.setter def health(self, health): - """Sets the health of this SourceLinks. + """Set the health of this SourceLinks. - - :param health: The health of this SourceLinks. # noqa: E501 + :param health: The health of this SourceLinks. :type: str - """ - + """ # noqa: E501 self._health = health @property def buckets(self): - """Gets the buckets of this SourceLinks. # noqa: E501 + """Get the buckets of this SourceLinks. - - :return: The buckets of this SourceLinks. # noqa: E501 + :return: The buckets of this SourceLinks. :rtype: str - """ + """ # noqa: E501 return self._buckets @buckets.setter def buckets(self, buckets): - """Sets the buckets of this SourceLinks. - + """Set the buckets of this SourceLinks. - :param buckets: The buckets of this SourceLinks. # noqa: E501 + :param buckets: The buckets of this SourceLinks. :type: str - """ - + """ # noqa: E501 self._buckets = buckets def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -171,20 +159,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, SourceLinks): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/sources.py b/influxdb_client/domain/sources.py index 2588e860..bf856826 100644 --- a/influxdb_client/domain/sources.py +++ b/influxdb_client/domain/sources.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Sources(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class Sources(object): 'sources': 'sources' } - def __init__(self, links=None, sources=None): # noqa: E501 - """Sources - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, links=None, sources=None): # noqa: E501,D401,D403 + """Sources - a model defined in OpenAPI.""" # noqa: E501 self._links = None self._sources = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, links=None, sources=None): # noqa: E501 @property def links(self): - """Gets the links of this Sources. # noqa: E501 + """Get the links of this Sources. - - :return: The links of this Sources. # noqa: E501 + :return: The links of this Sources. :rtype: UsersLinks - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Sources. - + """Set the links of this Sources. - :param links: The links of this Sources. # noqa: E501 + :param links: The links of this Sources. :type: UsersLinks - """ - + """ # noqa: E501 self._links = links @property def sources(self): - """Gets the sources of this Sources. # noqa: E501 - + """Get the sources of this Sources. - :return: The sources of this Sources. # noqa: E501 + :return: The sources of this Sources. :rtype: list[Source] - """ + """ # noqa: E501 return self._sources @sources.setter def sources(self, sources): - """Sets the sources of this Sources. + """Set the sources of this Sources. - - :param sources: The sources of this Sources. # noqa: E501 + :param sources: The sources of this Sources. :type: list[Source] - """ - + """ # noqa: E501 self._sources = sources def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Sources): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/statement.py b/influxdb_client/domain/statement.py index 8daf89dd..96930971 100644 --- a/influxdb_client/domain/statement.py +++ b/influxdb_client/domain/statement.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Statement(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -36,12 +37,11 @@ class Statement(object): attribute_map = { } - def __init__(self): # noqa: E501 - """Statement - a model defined in OpenAPI""" # noqa: E501 - self.discriminator = None + def __init__(self): # noqa: E501,D401,D403 + """Statement - a model defined in OpenAPI.""" # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -65,20 +65,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Statement): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/status_rule.py b/influxdb_client/domain/status_rule.py index ba74c346..6779f52f 100644 --- a/influxdb_client/domain/status_rule.py +++ b/influxdb_client/domain/status_rule.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class StatusRule(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class StatusRule(object): 'period': 'period' } - def __init__(self, current_level=None, previous_level=None, count=None, period=None): # noqa: E501 - """StatusRule - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, current_level=None, previous_level=None, count=None, period=None): # noqa: E501,D401,D403 + """StatusRule - a model defined in OpenAPI.""" # noqa: E501 self._current_level = None self._previous_level = None self._count = None @@ -64,90 +64,78 @@ def __init__(self, current_level=None, previous_level=None, count=None, period=N @property def current_level(self): - """Gets the current_level of this StatusRule. # noqa: E501 + """Get the current_level of this StatusRule. - - :return: The current_level of this StatusRule. # noqa: E501 + :return: The current_level of this StatusRule. :rtype: RuleStatusLevel - """ + """ # noqa: E501 return self._current_level @current_level.setter def current_level(self, current_level): - """Sets the current_level of this StatusRule. - + """Set the current_level of this StatusRule. - :param current_level: The current_level of this StatusRule. # noqa: E501 + :param current_level: The current_level of this StatusRule. :type: RuleStatusLevel - """ - + """ # noqa: E501 self._current_level = current_level @property def previous_level(self): - """Gets the previous_level of this StatusRule. # noqa: E501 - + """Get the previous_level of this StatusRule. - :return: The previous_level of this StatusRule. # noqa: E501 + :return: The previous_level of this StatusRule. :rtype: RuleStatusLevel - """ + """ # noqa: E501 return self._previous_level @previous_level.setter def previous_level(self, previous_level): - """Sets the previous_level of this StatusRule. - + """Set the previous_level of this StatusRule. - :param previous_level: The previous_level of this StatusRule. # noqa: E501 + :param previous_level: The previous_level of this StatusRule. :type: RuleStatusLevel - """ - + """ # noqa: E501 self._previous_level = previous_level @property def count(self): - """Gets the count of this StatusRule. # noqa: E501 - + """Get the count of this StatusRule. - :return: The count of this StatusRule. # noqa: E501 + :return: The count of this StatusRule. :rtype: int - """ + """ # noqa: E501 return self._count @count.setter def count(self, count): - """Sets the count of this StatusRule. + """Set the count of this StatusRule. - - :param count: The count of this StatusRule. # noqa: E501 + :param count: The count of this StatusRule. :type: int - """ - + """ # noqa: E501 self._count = count @property def period(self): - """Gets the period of this StatusRule. # noqa: E501 + """Get the period of this StatusRule. - - :return: The period of this StatusRule. # noqa: E501 + :return: The period of this StatusRule. :rtype: str - """ + """ # noqa: E501 return self._period @period.setter def period(self, period): - """Sets the period of this StatusRule. - + """Set the period of this StatusRule. - :param period: The period of this StatusRule. # noqa: E501 + :param period: The period of this StatusRule. :type: str - """ - + """ # noqa: E501 self._period = period def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -171,20 +159,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, StatusRule): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/string_literal.py b/influxdb_client/domain/string_literal.py index 05a7f286..d923c49b 100644 --- a/influxdb_client/domain/string_literal.py +++ b/influxdb_client/domain/string_literal.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class StringLiteral(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class StringLiteral(object): 'value': 'value' } - def __init__(self, type=None, value=None): # noqa: E501 - """StringLiteral - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, value=None): # noqa: E501,D401,D403 + """StringLiteral - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._value = None self.discriminator = None @@ -54,50 +54,46 @@ def __init__(self, type=None, value=None): # noqa: E501 @property def type(self): - """Gets the type of this StringLiteral. # noqa: E501 + """Get the type of this StringLiteral. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this StringLiteral. # noqa: E501 + :return: The type of this StringLiteral. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this StringLiteral. + """Set the type of this StringLiteral. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this StringLiteral. # noqa: E501 + :param type: The type of this StringLiteral. :type: str - """ - + """ # noqa: E501 self._type = type @property def value(self): - """Gets the value of this StringLiteral. # noqa: E501 + """Get the value of this StringLiteral. - - :return: The value of this StringLiteral. # noqa: E501 + :return: The value of this StringLiteral. :rtype: str - """ + """ # noqa: E501 return self._value @value.setter def value(self, value): - """Sets the value of this StringLiteral. - + """Set the value of this StringLiteral. - :param value: The value of this StringLiteral. # noqa: E501 + :param value: The value of this StringLiteral. :type: str - """ - + """ # noqa: E501 self._value = value def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +117,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, StringLiteral): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/table_view_properties.py b/influxdb_client/domain/table_view_properties.py index b2a3e8c8..ee79fc75 100644 --- a/influxdb_client/domain/table_view_properties.py +++ b/influxdb_client/domain/table_view_properties.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class TableViewProperties(ViewProperties): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -57,8 +58,8 @@ class TableViewProperties(ViewProperties): 'decimal_places': 'decimalPlaces' } - def __init__(self, type=None, queries=None, colors=None, shape=None, note=None, show_note_when_empty=None, table_options=None, field_options=None, time_format=None, decimal_places=None): # noqa: E501 - """TableViewProperties - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, type=None, queries=None, colors=None, shape=None, note=None, show_note_when_empty=None, table_options=None, field_options=None, time_format=None, decimal_places=None): # noqa: E501,D401,D403 + """TableViewProperties - a model defined in OpenAPI.""" # noqa: E501 ViewProperties.__init__(self) # noqa: E501 self._type = None @@ -86,244 +87,222 @@ def __init__(self, type=None, queries=None, colors=None, shape=None, note=None, @property def type(self): - """Gets the type of this TableViewProperties. # noqa: E501 - + """Get the type of this TableViewProperties. - :return: The type of this TableViewProperties. # noqa: E501 + :return: The type of this TableViewProperties. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this TableViewProperties. - + """Set the type of this TableViewProperties. - :param type: The type of this TableViewProperties. # noqa: E501 + :param type: The type of this TableViewProperties. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def queries(self): - """Gets the queries of this TableViewProperties. # noqa: E501 - + """Get the queries of this TableViewProperties. - :return: The queries of this TableViewProperties. # noqa: E501 + :return: The queries of this TableViewProperties. :rtype: list[DashboardQuery] - """ + """ # noqa: E501 return self._queries @queries.setter def queries(self, queries): - """Sets the queries of this TableViewProperties. - + """Set the queries of this TableViewProperties. - :param queries: The queries of this TableViewProperties. # noqa: E501 + :param queries: The queries of this TableViewProperties. :type: list[DashboardQuery] - """ + """ # noqa: E501 if queries is None: raise ValueError("Invalid value for `queries`, must not be `None`") # noqa: E501 - self._queries = queries @property def colors(self): - """Gets the colors of this TableViewProperties. # noqa: E501 + """Get the colors of this TableViewProperties. - Colors define color encoding of data into a visualization # noqa: E501 + Colors define color encoding of data into a visualization - :return: The colors of this TableViewProperties. # noqa: E501 + :return: The colors of this TableViewProperties. :rtype: list[DashboardColor] - """ + """ # noqa: E501 return self._colors @colors.setter def colors(self, colors): - """Sets the colors of this TableViewProperties. + """Set the colors of this TableViewProperties. - Colors define color encoding of data into a visualization # noqa: E501 + Colors define color encoding of data into a visualization - :param colors: The colors of this TableViewProperties. # noqa: E501 + :param colors: The colors of this TableViewProperties. :type: list[DashboardColor] - """ + """ # noqa: E501 if colors is None: raise ValueError("Invalid value for `colors`, must not be `None`") # noqa: E501 - self._colors = colors @property def shape(self): - """Gets the shape of this TableViewProperties. # noqa: E501 - + """Get the shape of this TableViewProperties. - :return: The shape of this TableViewProperties. # noqa: E501 + :return: The shape of this TableViewProperties. :rtype: str - """ + """ # noqa: E501 return self._shape @shape.setter def shape(self, shape): - """Sets the shape of this TableViewProperties. + """Set the shape of this TableViewProperties. - - :param shape: The shape of this TableViewProperties. # noqa: E501 + :param shape: The shape of this TableViewProperties. :type: str - """ + """ # noqa: E501 if shape is None: raise ValueError("Invalid value for `shape`, must not be `None`") # noqa: E501 - self._shape = shape @property def note(self): - """Gets the note of this TableViewProperties. # noqa: E501 - + """Get the note of this TableViewProperties. - :return: The note of this TableViewProperties. # noqa: E501 + :return: The note of this TableViewProperties. :rtype: str - """ + """ # noqa: E501 return self._note @note.setter def note(self, note): - """Sets the note of this TableViewProperties. + """Set the note of this TableViewProperties. - - :param note: The note of this TableViewProperties. # noqa: E501 + :param note: The note of this TableViewProperties. :type: str - """ + """ # noqa: E501 if note is None: raise ValueError("Invalid value for `note`, must not be `None`") # noqa: E501 - self._note = note @property def show_note_when_empty(self): - """Gets the show_note_when_empty of this TableViewProperties. # noqa: E501 + """Get the show_note_when_empty of this TableViewProperties. - If true, will display note when empty # noqa: E501 + If true, will display note when empty - :return: The show_note_when_empty of this TableViewProperties. # noqa: E501 + :return: The show_note_when_empty of this TableViewProperties. :rtype: bool - """ + """ # noqa: E501 return self._show_note_when_empty @show_note_when_empty.setter def show_note_when_empty(self, show_note_when_empty): - """Sets the show_note_when_empty of this TableViewProperties. + """Set the show_note_when_empty of this TableViewProperties. - If true, will display note when empty # noqa: E501 + If true, will display note when empty - :param show_note_when_empty: The show_note_when_empty of this TableViewProperties. # noqa: E501 + :param show_note_when_empty: The show_note_when_empty of this TableViewProperties. :type: bool - """ + """ # noqa: E501 if show_note_when_empty is None: raise ValueError("Invalid value for `show_note_when_empty`, must not be `None`") # noqa: E501 - self._show_note_when_empty = show_note_when_empty @property def table_options(self): - """Gets the table_options of this TableViewProperties. # noqa: E501 + """Get the table_options of this TableViewProperties. - - :return: The table_options of this TableViewProperties. # noqa: E501 + :return: The table_options of this TableViewProperties. :rtype: object - """ + """ # noqa: E501 return self._table_options @table_options.setter def table_options(self, table_options): - """Sets the table_options of this TableViewProperties. - + """Set the table_options of this TableViewProperties. - :param table_options: The table_options of this TableViewProperties. # noqa: E501 + :param table_options: The table_options of this TableViewProperties. :type: object - """ + """ # noqa: E501 if table_options is None: raise ValueError("Invalid value for `table_options`, must not be `None`") # noqa: E501 - self._table_options = table_options @property def field_options(self): - """Gets the field_options of this TableViewProperties. # noqa: E501 + """Get the field_options of this TableViewProperties. - fieldOptions represent the fields retrieved by the query with customization options # noqa: E501 + fieldOptions represent the fields retrieved by the query with customization options - :return: The field_options of this TableViewProperties. # noqa: E501 + :return: The field_options of this TableViewProperties. :rtype: list[RenamableField] - """ + """ # noqa: E501 return self._field_options @field_options.setter def field_options(self, field_options): - """Sets the field_options of this TableViewProperties. + """Set the field_options of this TableViewProperties. - fieldOptions represent the fields retrieved by the query with customization options # noqa: E501 + fieldOptions represent the fields retrieved by the query with customization options - :param field_options: The field_options of this TableViewProperties. # noqa: E501 + :param field_options: The field_options of this TableViewProperties. :type: list[RenamableField] - """ + """ # noqa: E501 if field_options is None: raise ValueError("Invalid value for `field_options`, must not be `None`") # noqa: E501 - self._field_options = field_options @property def time_format(self): - """Gets the time_format of this TableViewProperties. # noqa: E501 + """Get the time_format of this TableViewProperties. - timeFormat describes the display format for time values according to moment.js date formatting # noqa: E501 + timeFormat describes the display format for time values according to moment.js date formatting - :return: The time_format of this TableViewProperties. # noqa: E501 + :return: The time_format of this TableViewProperties. :rtype: str - """ + """ # noqa: E501 return self._time_format @time_format.setter def time_format(self, time_format): - """Sets the time_format of this TableViewProperties. + """Set the time_format of this TableViewProperties. - timeFormat describes the display format for time values according to moment.js date formatting # noqa: E501 + timeFormat describes the display format for time values according to moment.js date formatting - :param time_format: The time_format of this TableViewProperties. # noqa: E501 + :param time_format: The time_format of this TableViewProperties. :type: str - """ + """ # noqa: E501 if time_format is None: raise ValueError("Invalid value for `time_format`, must not be `None`") # noqa: E501 - self._time_format = time_format @property def decimal_places(self): - """Gets the decimal_places of this TableViewProperties. # noqa: E501 - + """Get the decimal_places of this TableViewProperties. - :return: The decimal_places of this TableViewProperties. # noqa: E501 + :return: The decimal_places of this TableViewProperties. :rtype: DecimalPlaces - """ + """ # noqa: E501 return self._decimal_places @decimal_places.setter def decimal_places(self, decimal_places): - """Sets the decimal_places of this TableViewProperties. + """Set the decimal_places of this TableViewProperties. - - :param decimal_places: The decimal_places of this TableViewProperties. # noqa: E501 + :param decimal_places: The decimal_places of this TableViewProperties. :type: DecimalPlaces - """ + """ # noqa: E501 if decimal_places is None: raise ValueError("Invalid value for `decimal_places`, must not be `None`") # noqa: E501 - self._decimal_places = decimal_places def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -347,20 +326,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, TableViewProperties): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/tag_rule.py b/influxdb_client/domain/tag_rule.py index ce343dc2..3624fc40 100644 --- a/influxdb_client/domain/tag_rule.py +++ b/influxdb_client/domain/tag_rule.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class TagRule(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class TagRule(object): 'operator': 'operator' } - def __init__(self, key=None, value=None, operator=None): # noqa: E501 - """TagRule - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, key=None, value=None, operator=None): # noqa: E501,D401,D403 + """TagRule - a model defined in OpenAPI.""" # noqa: E501 self._key = None self._value = None self._operator = None @@ -59,69 +59,60 @@ def __init__(self, key=None, value=None, operator=None): # noqa: E501 @property def key(self): - """Gets the key of this TagRule. # noqa: E501 - + """Get the key of this TagRule. - :return: The key of this TagRule. # noqa: E501 + :return: The key of this TagRule. :rtype: str - """ + """ # noqa: E501 return self._key @key.setter def key(self, key): - """Sets the key of this TagRule. + """Set the key of this TagRule. - - :param key: The key of this TagRule. # noqa: E501 + :param key: The key of this TagRule. :type: str - """ - + """ # noqa: E501 self._key = key @property def value(self): - """Gets the value of this TagRule. # noqa: E501 - + """Get the value of this TagRule. - :return: The value of this TagRule. # noqa: E501 + :return: The value of this TagRule. :rtype: str - """ + """ # noqa: E501 return self._value @value.setter def value(self, value): - """Sets the value of this TagRule. + """Set the value of this TagRule. - - :param value: The value of this TagRule. # noqa: E501 + :param value: The value of this TagRule. :type: str - """ - + """ # noqa: E501 self._value = value @property def operator(self): - """Gets the operator of this TagRule. # noqa: E501 - + """Get the operator of this TagRule. - :return: The operator of this TagRule. # noqa: E501 + :return: The operator of this TagRule. :rtype: str - """ + """ # noqa: E501 return self._operator @operator.setter def operator(self, operator): - """Sets the operator of this TagRule. + """Set the operator of this TagRule. - - :param operator: The operator of this TagRule. # noqa: E501 + :param operator: The operator of this TagRule. :type: str - """ - + """ # noqa: E501 self._operator = operator def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -145,20 +136,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, TagRule): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/task.py b/influxdb_client/domain/task.py index 5b4bee53..a2c371e1 100644 --- a/influxdb_client/domain/task.py +++ b/influxdb_client/domain/task.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Task(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -74,9 +75,8 @@ class Task(object): 'links': 'links' } - def __init__(self, id=None, type=None, org_id=None, org=None, name=None, description=None, status=None, labels=None, authorization_id=None, flux=None, every=None, cron=None, offset=None, latest_completed=None, last_run_status=None, last_run_error=None, created_at=None, updated_at=None, links=None): # noqa: E501 - """Task - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, id=None, type=None, org_id=None, org=None, name=None, description=None, status=None, labels=None, authorization_id=None, flux=None, every=None, cron=None, offset=None, latest_completed=None, last_run_status=None, last_run_error=None, created_at=None, updated_at=None, links=None): # noqa: E501,D401,D403 + """Task - a model defined in OpenAPI.""" # noqa: E501 self._id = None self._type = None self._org_id = None @@ -135,435 +135,400 @@ def __init__(self, id=None, type=None, org_id=None, org=None, name=None, descrip @property def id(self): - """Gets the id of this Task. # noqa: E501 - + """Get the id of this Task. - :return: The id of this Task. # noqa: E501 + :return: The id of this Task. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this Task. + """Set the id of this Task. - - :param id: The id of this Task. # noqa: E501 + :param id: The id of this Task. :type: str - """ + """ # noqa: E501 if id is None: raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 - self._id = id @property def type(self): - """Gets the type of this Task. # noqa: E501 + """Get the type of this Task. - The type of task, this can be used for filtering tasks on list actions. # noqa: E501 + The type of task, this can be used for filtering tasks on list actions. - :return: The type of this Task. # noqa: E501 + :return: The type of this Task. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this Task. + """Set the type of this Task. - The type of task, this can be used for filtering tasks on list actions. # noqa: E501 + The type of task, this can be used for filtering tasks on list actions. - :param type: The type of this Task. # noqa: E501 + :param type: The type of this Task. :type: str - """ - + """ # noqa: E501 self._type = type @property def org_id(self): - """Gets the org_id of this Task. # noqa: E501 + """Get the org_id of this Task. - The ID of the organization that owns this Task. # noqa: E501 + The ID of the organization that owns this Task. - :return: The org_id of this Task. # noqa: E501 + :return: The org_id of this Task. :rtype: str - """ + """ # noqa: E501 return self._org_id @org_id.setter def org_id(self, org_id): - """Sets the org_id of this Task. + """Set the org_id of this Task. - The ID of the organization that owns this Task. # noqa: E501 + The ID of the organization that owns this Task. - :param org_id: The org_id of this Task. # noqa: E501 + :param org_id: The org_id of this Task. :type: str - """ + """ # noqa: E501 if org_id is None: raise ValueError("Invalid value for `org_id`, must not be `None`") # noqa: E501 - self._org_id = org_id @property def org(self): - """Gets the org of this Task. # noqa: E501 + """Get the org of this Task. - The name of the organization that owns this Task. # noqa: E501 + The name of the organization that owns this Task. - :return: The org of this Task. # noqa: E501 + :return: The org of this Task. :rtype: str - """ + """ # noqa: E501 return self._org @org.setter def org(self, org): - """Sets the org of this Task. + """Set the org of this Task. - The name of the organization that owns this Task. # noqa: E501 + The name of the organization that owns this Task. - :param org: The org of this Task. # noqa: E501 + :param org: The org of this Task. :type: str - """ - + """ # noqa: E501 self._org = org @property def name(self): - """Gets the name of this Task. # noqa: E501 + """Get the name of this Task. - The name of the task. # noqa: E501 + The name of the task. - :return: The name of this Task. # noqa: E501 + :return: The name of this Task. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this Task. + """Set the name of this Task. - The name of the task. # noqa: E501 + The name of the task. - :param name: The name of this Task. # noqa: E501 + :param name: The name of this Task. :type: str - """ + """ # noqa: E501 if name is None: raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - self._name = name @property def description(self): - """Gets the description of this Task. # noqa: E501 + """Get the description of this Task. - An optional description of the task. # noqa: E501 + An optional description of the task. - :return: The description of this Task. # noqa: E501 + :return: The description of this Task. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this Task. + """Set the description of this Task. - An optional description of the task. # noqa: E501 + An optional description of the task. - :param description: The description of this Task. # noqa: E501 + :param description: The description of this Task. :type: str - """ - + """ # noqa: E501 self._description = description @property def status(self): - """Gets the status of this Task. # noqa: E501 + """Get the status of this Task. - - :return: The status of this Task. # noqa: E501 + :return: The status of this Task. :rtype: TaskStatusType - """ + """ # noqa: E501 return self._status @status.setter def status(self, status): - """Sets the status of this Task. - + """Set the status of this Task. - :param status: The status of this Task. # noqa: E501 + :param status: The status of this Task. :type: TaskStatusType - """ - + """ # noqa: E501 self._status = status @property def labels(self): - """Gets the labels of this Task. # noqa: E501 + """Get the labels of this Task. - - :return: The labels of this Task. # noqa: E501 + :return: The labels of this Task. :rtype: list[Label] - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this Task. - + """Set the labels of this Task. - :param labels: The labels of this Task. # noqa: E501 + :param labels: The labels of this Task. :type: list[Label] - """ - + """ # noqa: E501 self._labels = labels @property def authorization_id(self): - """Gets the authorization_id of this Task. # noqa: E501 + """Get the authorization_id of this Task. - The ID of the authorization used when this task communicates with the query engine. # noqa: E501 + The ID of the authorization used when this task communicates with the query engine. - :return: The authorization_id of this Task. # noqa: E501 + :return: The authorization_id of this Task. :rtype: str - """ + """ # noqa: E501 return self._authorization_id @authorization_id.setter def authorization_id(self, authorization_id): - """Sets the authorization_id of this Task. + """Set the authorization_id of this Task. - The ID of the authorization used when this task communicates with the query engine. # noqa: E501 + The ID of the authorization used when this task communicates with the query engine. - :param authorization_id: The authorization_id of this Task. # noqa: E501 + :param authorization_id: The authorization_id of this Task. :type: str - """ - + """ # noqa: E501 self._authorization_id = authorization_id @property def flux(self): - """Gets the flux of this Task. # noqa: E501 + """Get the flux of this Task. - The Flux script to run for this task. # noqa: E501 + The Flux script to run for this task. - :return: The flux of this Task. # noqa: E501 + :return: The flux of this Task. :rtype: str - """ + """ # noqa: E501 return self._flux @flux.setter def flux(self, flux): - """Sets the flux of this Task. + """Set the flux of this Task. - The Flux script to run for this task. # noqa: E501 + The Flux script to run for this task. - :param flux: The flux of this Task. # noqa: E501 + :param flux: The flux of this Task. :type: str - """ + """ # noqa: E501 if flux is None: raise ValueError("Invalid value for `flux`, must not be `None`") # noqa: E501 - self._flux = flux @property def every(self): - """Gets the every of this Task. # noqa: E501 + """Get the every of this Task. - A simple task repetition schedule; parsed from Flux. # noqa: E501 + A simple task repetition schedule; parsed from Flux. - :return: The every of this Task. # noqa: E501 + :return: The every of this Task. :rtype: str - """ + """ # noqa: E501 return self._every @every.setter def every(self, every): - """Sets the every of this Task. + """Set the every of this Task. - A simple task repetition schedule; parsed from Flux. # noqa: E501 + A simple task repetition schedule; parsed from Flux. - :param every: The every of this Task. # noqa: E501 + :param every: The every of this Task. :type: str - """ - + """ # noqa: E501 self._every = every @property def cron(self): - """Gets the cron of this Task. # noqa: E501 + """Get the cron of this Task. - A task repetition schedule in the form '* * * * * *'; parsed from Flux. # noqa: E501 + A task repetition schedule in the form '* * * * * *'; parsed from Flux. - :return: The cron of this Task. # noqa: E501 + :return: The cron of this Task. :rtype: str - """ + """ # noqa: E501 return self._cron @cron.setter def cron(self, cron): - """Sets the cron of this Task. + """Set the cron of this Task. - A task repetition schedule in the form '* * * * * *'; parsed from Flux. # noqa: E501 + A task repetition schedule in the form '* * * * * *'; parsed from Flux. - :param cron: The cron of this Task. # noqa: E501 + :param cron: The cron of this Task. :type: str - """ - + """ # noqa: E501 self._cron = cron @property def offset(self): - """Gets the offset of this Task. # noqa: E501 + """Get the offset of this Task. - Duration to delay after the schedule, before executing the task; parsed from flux, if set to zero it will remove this option and use 0 as the default. # noqa: E501 + Duration to delay after the schedule, before executing the task; parsed from flux, if set to zero it will remove this option and use 0 as the default. - :return: The offset of this Task. # noqa: E501 + :return: The offset of this Task. :rtype: str - """ + """ # noqa: E501 return self._offset @offset.setter def offset(self, offset): - """Sets the offset of this Task. + """Set the offset of this Task. - Duration to delay after the schedule, before executing the task; parsed from flux, if set to zero it will remove this option and use 0 as the default. # noqa: E501 + Duration to delay after the schedule, before executing the task; parsed from flux, if set to zero it will remove this option and use 0 as the default. - :param offset: The offset of this Task. # noqa: E501 + :param offset: The offset of this Task. :type: str - """ - + """ # noqa: E501 self._offset = offset @property def latest_completed(self): - """Gets the latest_completed of this Task. # noqa: E501 + """Get the latest_completed of this Task. - Timestamp of latest scheduled, completed run, RFC3339. # noqa: E501 + Timestamp of latest scheduled, completed run, RFC3339. - :return: The latest_completed of this Task. # noqa: E501 + :return: The latest_completed of this Task. :rtype: datetime - """ + """ # noqa: E501 return self._latest_completed @latest_completed.setter def latest_completed(self, latest_completed): - """Sets the latest_completed of this Task. + """Set the latest_completed of this Task. - Timestamp of latest scheduled, completed run, RFC3339. # noqa: E501 + Timestamp of latest scheduled, completed run, RFC3339. - :param latest_completed: The latest_completed of this Task. # noqa: E501 + :param latest_completed: The latest_completed of this Task. :type: datetime - """ - + """ # noqa: E501 self._latest_completed = latest_completed @property def last_run_status(self): - """Gets the last_run_status of this Task. # noqa: E501 + """Get the last_run_status of this Task. - - :return: The last_run_status of this Task. # noqa: E501 + :return: The last_run_status of this Task. :rtype: str - """ + """ # noqa: E501 return self._last_run_status @last_run_status.setter def last_run_status(self, last_run_status): - """Sets the last_run_status of this Task. - + """Set the last_run_status of this Task. - :param last_run_status: The last_run_status of this Task. # noqa: E501 + :param last_run_status: The last_run_status of this Task. :type: str - """ - + """ # noqa: E501 self._last_run_status = last_run_status @property def last_run_error(self): - """Gets the last_run_error of this Task. # noqa: E501 - + """Get the last_run_error of this Task. - :return: The last_run_error of this Task. # noqa: E501 + :return: The last_run_error of this Task. :rtype: str - """ + """ # noqa: E501 return self._last_run_error @last_run_error.setter def last_run_error(self, last_run_error): - """Sets the last_run_error of this Task. + """Set the last_run_error of this Task. - - :param last_run_error: The last_run_error of this Task. # noqa: E501 + :param last_run_error: The last_run_error of this Task. :type: str - """ - + """ # noqa: E501 self._last_run_error = last_run_error @property def created_at(self): - """Gets the created_at of this Task. # noqa: E501 + """Get the created_at of this Task. - - :return: The created_at of this Task. # noqa: E501 + :return: The created_at of this Task. :rtype: datetime - """ + """ # noqa: E501 return self._created_at @created_at.setter def created_at(self, created_at): - """Sets the created_at of this Task. - + """Set the created_at of this Task. - :param created_at: The created_at of this Task. # noqa: E501 + :param created_at: The created_at of this Task. :type: datetime - """ - + """ # noqa: E501 self._created_at = created_at @property def updated_at(self): - """Gets the updated_at of this Task. # noqa: E501 + """Get the updated_at of this Task. - - :return: The updated_at of this Task. # noqa: E501 + :return: The updated_at of this Task. :rtype: datetime - """ + """ # noqa: E501 return self._updated_at @updated_at.setter def updated_at(self, updated_at): - """Sets the updated_at of this Task. - + """Set the updated_at of this Task. - :param updated_at: The updated_at of this Task. # noqa: E501 + :param updated_at: The updated_at of this Task. :type: datetime - """ - + """ # noqa: E501 self._updated_at = updated_at @property def links(self): - """Gets the links of this Task. # noqa: E501 - + """Get the links of this Task. - :return: The links of this Task. # noqa: E501 + :return: The links of this Task. :rtype: TaskLinks - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Task. + """Set the links of this Task. - - :param links: The links of this Task. # noqa: E501 + :param links: The links of this Task. :type: TaskLinks - """ - + """ # noqa: E501 self._links = links def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -587,20 +552,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Task): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/task_create_request.py b/influxdb_client/domain/task_create_request.py index ae7d8147..031864bf 100644 --- a/influxdb_client/domain/task_create_request.py +++ b/influxdb_client/domain/task_create_request.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class TaskCreateRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -48,9 +49,8 @@ class TaskCreateRequest(object): 'description': 'description' } - def __init__(self, type=None, org_id=None, org=None, status=None, flux=None, description=None): # noqa: E501 - """TaskCreateRequest - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, org_id=None, org=None, status=None, flux=None, description=None): # noqa: E501,D401,D403 + """TaskCreateRequest - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._org_id = None self._org = None @@ -73,144 +73,136 @@ def __init__(self, type=None, org_id=None, org=None, status=None, flux=None, des @property def type(self): - """Gets the type of this TaskCreateRequest. # noqa: E501 + """Get the type of this TaskCreateRequest. - The type of task, this can be used for filtering tasks on list actions. # noqa: E501 + The type of task, this can be used for filtering tasks on list actions. - :return: The type of this TaskCreateRequest. # noqa: E501 + :return: The type of this TaskCreateRequest. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this TaskCreateRequest. + """Set the type of this TaskCreateRequest. - The type of task, this can be used for filtering tasks on list actions. # noqa: E501 + The type of task, this can be used for filtering tasks on list actions. - :param type: The type of this TaskCreateRequest. # noqa: E501 + :param type: The type of this TaskCreateRequest. :type: str - """ - + """ # noqa: E501 self._type = type @property def org_id(self): - """Gets the org_id of this TaskCreateRequest. # noqa: E501 + """Get the org_id of this TaskCreateRequest. - The ID of the organization that owns this Task. # noqa: E501 + The ID of the organization that owns this Task. - :return: The org_id of this TaskCreateRequest. # noqa: E501 + :return: The org_id of this TaskCreateRequest. :rtype: str - """ + """ # noqa: E501 return self._org_id @org_id.setter def org_id(self, org_id): - """Sets the org_id of this TaskCreateRequest. + """Set the org_id of this TaskCreateRequest. - The ID of the organization that owns this Task. # noqa: E501 + The ID of the organization that owns this Task. - :param org_id: The org_id of this TaskCreateRequest. # noqa: E501 + :param org_id: The org_id of this TaskCreateRequest. :type: str - """ - + """ # noqa: E501 self._org_id = org_id @property def org(self): - """Gets the org of this TaskCreateRequest. # noqa: E501 + """Get the org of this TaskCreateRequest. - The name of the organization that owns this Task. # noqa: E501 + The name of the organization that owns this Task. - :return: The org of this TaskCreateRequest. # noqa: E501 + :return: The org of this TaskCreateRequest. :rtype: str - """ + """ # noqa: E501 return self._org @org.setter def org(self, org): - """Sets the org of this TaskCreateRequest. + """Set the org of this TaskCreateRequest. - The name of the organization that owns this Task. # noqa: E501 + The name of the organization that owns this Task. - :param org: The org of this TaskCreateRequest. # noqa: E501 + :param org: The org of this TaskCreateRequest. :type: str - """ - + """ # noqa: E501 self._org = org @property def status(self): - """Gets the status of this TaskCreateRequest. # noqa: E501 + """Get the status of this TaskCreateRequest. - - :return: The status of this TaskCreateRequest. # noqa: E501 + :return: The status of this TaskCreateRequest. :rtype: TaskStatusType - """ + """ # noqa: E501 return self._status @status.setter def status(self, status): - """Sets the status of this TaskCreateRequest. - + """Set the status of this TaskCreateRequest. - :param status: The status of this TaskCreateRequest. # noqa: E501 + :param status: The status of this TaskCreateRequest. :type: TaskStatusType - """ - + """ # noqa: E501 self._status = status @property def flux(self): - """Gets the flux of this TaskCreateRequest. # noqa: E501 + """Get the flux of this TaskCreateRequest. - The Flux script to run for this task. # noqa: E501 + The Flux script to run for this task. - :return: The flux of this TaskCreateRequest. # noqa: E501 + :return: The flux of this TaskCreateRequest. :rtype: str - """ + """ # noqa: E501 return self._flux @flux.setter def flux(self, flux): - """Sets the flux of this TaskCreateRequest. + """Set the flux of this TaskCreateRequest. - The Flux script to run for this task. # noqa: E501 + The Flux script to run for this task. - :param flux: The flux of this TaskCreateRequest. # noqa: E501 + :param flux: The flux of this TaskCreateRequest. :type: str - """ + """ # noqa: E501 if flux is None: raise ValueError("Invalid value for `flux`, must not be `None`") # noqa: E501 - self._flux = flux @property def description(self): - """Gets the description of this TaskCreateRequest. # noqa: E501 + """Get the description of this TaskCreateRequest. - An optional description of the task. # noqa: E501 + An optional description of the task. - :return: The description of this TaskCreateRequest. # noqa: E501 + :return: The description of this TaskCreateRequest. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this TaskCreateRequest. + """Set the description of this TaskCreateRequest. - An optional description of the task. # noqa: E501 + An optional description of the task. - :param description: The description of this TaskCreateRequest. # noqa: E501 + :param description: The description of this TaskCreateRequest. :type: str - """ - + """ # noqa: E501 self._description = description def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -234,20 +226,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, TaskCreateRequest): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/task_links.py b/influxdb_client/domain/task_links.py index ec1ffe09..3a302390 100644 --- a/influxdb_client/domain/task_links.py +++ b/influxdb_client/domain/task_links.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class TaskLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -48,9 +49,8 @@ class TaskLinks(object): 'labels': 'labels' } - def __init__(self, _self=None, owners=None, members=None, runs=None, logs=None, labels=None): # noqa: E501 - """TaskLinks - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, _self=None, owners=None, members=None, runs=None, logs=None, labels=None): # noqa: E501,D401,D403 + """TaskLinks - a model defined in OpenAPI.""" # noqa: E501 self.__self = None self._owners = None self._members = None @@ -74,144 +74,138 @@ def __init__(self, _self=None, owners=None, members=None, runs=None, logs=None, @property def _self(self): - """Gets the _self of this TaskLinks. # noqa: E501 + """Get the _self of this TaskLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The _self of this TaskLinks. # noqa: E501 + :return: The _self of this TaskLinks. :rtype: str - """ + """ # noqa: E501 return self.__self @_self.setter def _self(self, _self): - """Sets the _self of this TaskLinks. + """Set the _self of this TaskLinks. - URI of resource. # noqa: E501 + URI of resource. - :param _self: The _self of this TaskLinks. # noqa: E501 + :param _self: The _self of this TaskLinks. :type: str - """ - + """ # noqa: E501 self.__self = _self @property def owners(self): - """Gets the owners of this TaskLinks. # noqa: E501 + """Get the owners of this TaskLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The owners of this TaskLinks. # noqa: E501 + :return: The owners of this TaskLinks. :rtype: str - """ + """ # noqa: E501 return self._owners @owners.setter def owners(self, owners): - """Sets the owners of this TaskLinks. + """Set the owners of this TaskLinks. - URI of resource. # noqa: E501 + URI of resource. - :param owners: The owners of this TaskLinks. # noqa: E501 + :param owners: The owners of this TaskLinks. :type: str - """ - + """ # noqa: E501 self._owners = owners @property def members(self): - """Gets the members of this TaskLinks. # noqa: E501 + """Get the members of this TaskLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The members of this TaskLinks. # noqa: E501 + :return: The members of this TaskLinks. :rtype: str - """ + """ # noqa: E501 return self._members @members.setter def members(self, members): - """Sets the members of this TaskLinks. + """Set the members of this TaskLinks. - URI of resource. # noqa: E501 + URI of resource. - :param members: The members of this TaskLinks. # noqa: E501 + :param members: The members of this TaskLinks. :type: str - """ - + """ # noqa: E501 self._members = members @property def runs(self): - """Gets the runs of this TaskLinks. # noqa: E501 + """Get the runs of this TaskLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The runs of this TaskLinks. # noqa: E501 + :return: The runs of this TaskLinks. :rtype: str - """ + """ # noqa: E501 return self._runs @runs.setter def runs(self, runs): - """Sets the runs of this TaskLinks. + """Set the runs of this TaskLinks. - URI of resource. # noqa: E501 + URI of resource. - :param runs: The runs of this TaskLinks. # noqa: E501 + :param runs: The runs of this TaskLinks. :type: str - """ - + """ # noqa: E501 self._runs = runs @property def logs(self): - """Gets the logs of this TaskLinks. # noqa: E501 + """Get the logs of this TaskLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The logs of this TaskLinks. # noqa: E501 + :return: The logs of this TaskLinks. :rtype: str - """ + """ # noqa: E501 return self._logs @logs.setter def logs(self, logs): - """Sets the logs of this TaskLinks. + """Set the logs of this TaskLinks. - URI of resource. # noqa: E501 + URI of resource. - :param logs: The logs of this TaskLinks. # noqa: E501 + :param logs: The logs of this TaskLinks. :type: str - """ - + """ # noqa: E501 self._logs = logs @property def labels(self): - """Gets the labels of this TaskLinks. # noqa: E501 + """Get the labels of this TaskLinks. - URI of resource. # noqa: E501 + URI of resource. - :return: The labels of this TaskLinks. # noqa: E501 + :return: The labels of this TaskLinks. :rtype: str - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this TaskLinks. + """Set the labels of this TaskLinks. - URI of resource. # noqa: E501 + URI of resource. - :param labels: The labels of this TaskLinks. # noqa: E501 + :param labels: The labels of this TaskLinks. :type: str - """ - + """ # noqa: E501 self._labels = labels def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -235,20 +229,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, TaskLinks): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/task_status_type.py b/influxdb_client/domain/task_status_type.py index 9952cf63..93d123ca 100644 --- a/influxdb_client/domain/task_status_type.py +++ b/influxdb_client/domain/task_status_type.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class TaskStatusType(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,12 +43,11 @@ class TaskStatusType(object): attribute_map = { } - def __init__(self): # noqa: E501 - """TaskStatusType - a model defined in OpenAPI""" # noqa: E501 - self.discriminator = None + def __init__(self): # noqa: E501,D401,D403 + """TaskStatusType - a model defined in OpenAPI.""" # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -71,20 +71,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, TaskStatusType): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/task_update_request.py b/influxdb_client/domain/task_update_request.py index ceac5fe2..f344ae3b 100644 --- a/influxdb_client/domain/task_update_request.py +++ b/influxdb_client/domain/task_update_request.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class TaskUpdateRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -50,9 +51,8 @@ class TaskUpdateRequest(object): 'description': 'description' } - def __init__(self, status=None, flux=None, name=None, every=None, cron=None, offset=None, description=None): # noqa: E501 - """TaskUpdateRequest - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, status=None, flux=None, name=None, every=None, cron=None, offset=None, description=None): # noqa: E501,D401,D403 + """TaskUpdateRequest - a model defined in OpenAPI.""" # noqa: E501 self._status = None self._flux = None self._name = None @@ -79,165 +79,156 @@ def __init__(self, status=None, flux=None, name=None, every=None, cron=None, off @property def status(self): - """Gets the status of this TaskUpdateRequest. # noqa: E501 - + """Get the status of this TaskUpdateRequest. - :return: The status of this TaskUpdateRequest. # noqa: E501 + :return: The status of this TaskUpdateRequest. :rtype: TaskStatusType - """ + """ # noqa: E501 return self._status @status.setter def status(self, status): - """Sets the status of this TaskUpdateRequest. + """Set the status of this TaskUpdateRequest. - - :param status: The status of this TaskUpdateRequest. # noqa: E501 + :param status: The status of this TaskUpdateRequest. :type: TaskStatusType - """ - + """ # noqa: E501 self._status = status @property def flux(self): - """Gets the flux of this TaskUpdateRequest. # noqa: E501 + """Get the flux of this TaskUpdateRequest. - The Flux script to run for this task. # noqa: E501 + The Flux script to run for this task. - :return: The flux of this TaskUpdateRequest. # noqa: E501 + :return: The flux of this TaskUpdateRequest. :rtype: str - """ + """ # noqa: E501 return self._flux @flux.setter def flux(self, flux): - """Sets the flux of this TaskUpdateRequest. + """Set the flux of this TaskUpdateRequest. - The Flux script to run for this task. # noqa: E501 + The Flux script to run for this task. - :param flux: The flux of this TaskUpdateRequest. # noqa: E501 + :param flux: The flux of this TaskUpdateRequest. :type: str - """ - + """ # noqa: E501 self._flux = flux @property def name(self): - """Gets the name of this TaskUpdateRequest. # noqa: E501 + """Get the name of this TaskUpdateRequest. - Override the 'name' option in the flux script. # noqa: E501 + Override the 'name' option in the flux script. - :return: The name of this TaskUpdateRequest. # noqa: E501 + :return: The name of this TaskUpdateRequest. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this TaskUpdateRequest. + """Set the name of this TaskUpdateRequest. - Override the 'name' option in the flux script. # noqa: E501 + Override the 'name' option in the flux script. - :param name: The name of this TaskUpdateRequest. # noqa: E501 + :param name: The name of this TaskUpdateRequest. :type: str - """ - + """ # noqa: E501 self._name = name @property def every(self): - """Gets the every of this TaskUpdateRequest. # noqa: E501 + """Get the every of this TaskUpdateRequest. - Override the 'every' option in the flux script. # noqa: E501 + Override the 'every' option in the flux script. - :return: The every of this TaskUpdateRequest. # noqa: E501 + :return: The every of this TaskUpdateRequest. :rtype: str - """ + """ # noqa: E501 return self._every @every.setter def every(self, every): - """Sets the every of this TaskUpdateRequest. + """Set the every of this TaskUpdateRequest. - Override the 'every' option in the flux script. # noqa: E501 + Override the 'every' option in the flux script. - :param every: The every of this TaskUpdateRequest. # noqa: E501 + :param every: The every of this TaskUpdateRequest. :type: str - """ - + """ # noqa: E501 self._every = every @property def cron(self): - """Gets the cron of this TaskUpdateRequest. # noqa: E501 + """Get the cron of this TaskUpdateRequest. - Override the 'cron' option in the flux script. # noqa: E501 + Override the 'cron' option in the flux script. - :return: The cron of this TaskUpdateRequest. # noqa: E501 + :return: The cron of this TaskUpdateRequest. :rtype: str - """ + """ # noqa: E501 return self._cron @cron.setter def cron(self, cron): - """Sets the cron of this TaskUpdateRequest. + """Set the cron of this TaskUpdateRequest. - Override the 'cron' option in the flux script. # noqa: E501 + Override the 'cron' option in the flux script. - :param cron: The cron of this TaskUpdateRequest. # noqa: E501 + :param cron: The cron of this TaskUpdateRequest. :type: str - """ - + """ # noqa: E501 self._cron = cron @property def offset(self): - """Gets the offset of this TaskUpdateRequest. # noqa: E501 + """Get the offset of this TaskUpdateRequest. - Override the 'offset' option in the flux script. # noqa: E501 + Override the 'offset' option in the flux script. - :return: The offset of this TaskUpdateRequest. # noqa: E501 + :return: The offset of this TaskUpdateRequest. :rtype: str - """ + """ # noqa: E501 return self._offset @offset.setter def offset(self, offset): - """Sets the offset of this TaskUpdateRequest. + """Set the offset of this TaskUpdateRequest. - Override the 'offset' option in the flux script. # noqa: E501 + Override the 'offset' option in the flux script. - :param offset: The offset of this TaskUpdateRequest. # noqa: E501 + :param offset: The offset of this TaskUpdateRequest. :type: str - """ - + """ # noqa: E501 self._offset = offset @property def description(self): - """Gets the description of this TaskUpdateRequest. # noqa: E501 + """Get the description of this TaskUpdateRequest. - An optional description of the task. # noqa: E501 + An optional description of the task. - :return: The description of this TaskUpdateRequest. # noqa: E501 + :return: The description of this TaskUpdateRequest. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this TaskUpdateRequest. + """Set the description of this TaskUpdateRequest. - An optional description of the task. # noqa: E501 + An optional description of the task. - :param description: The description of this TaskUpdateRequest. # noqa: E501 + :param description: The description of this TaskUpdateRequest. :type: str - """ - + """ # noqa: E501 self._description = description def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -261,20 +252,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, TaskUpdateRequest): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/tasks.py b/influxdb_client/domain/tasks.py index d76c7d3a..dc898b39 100644 --- a/influxdb_client/domain/tasks.py +++ b/influxdb_client/domain/tasks.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Tasks(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class Tasks(object): 'tasks': 'tasks' } - def __init__(self, links=None, tasks=None): # noqa: E501 - """Tasks - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, links=None, tasks=None): # noqa: E501,D401,D403 + """Tasks - a model defined in OpenAPI.""" # noqa: E501 self._links = None self._tasks = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, links=None, tasks=None): # noqa: E501 @property def links(self): - """Gets the links of this Tasks. # noqa: E501 + """Get the links of this Tasks. - - :return: The links of this Tasks. # noqa: E501 + :return: The links of this Tasks. :rtype: Links - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Tasks. - + """Set the links of this Tasks. - :param links: The links of this Tasks. # noqa: E501 + :param links: The links of this Tasks. :type: Links - """ - + """ # noqa: E501 self._links = links @property def tasks(self): - """Gets the tasks of this Tasks. # noqa: E501 - + """Get the tasks of this Tasks. - :return: The tasks of this Tasks. # noqa: E501 + :return: The tasks of this Tasks. :rtype: list[Task] - """ + """ # noqa: E501 return self._tasks @tasks.setter def tasks(self, tasks): - """Sets the tasks of this Tasks. + """Set the tasks of this Tasks. - - :param tasks: The tasks of this Tasks. # noqa: E501 + :param tasks: The tasks of this Tasks. :type: list[Task] - """ - + """ # noqa: E501 self._tasks = tasks def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Tasks): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/telegraf.py b/influxdb_client/domain/telegraf.py index 5c13078f..ff245c14 100644 --- a/influxdb_client/domain/telegraf.py +++ b/influxdb_client/domain/telegraf.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class Telegraf(TelegrafRequest): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -53,8 +54,8 @@ class Telegraf(TelegrafRequest): 'org_id': 'orgID' } - def __init__(self, id=None, links=None, labels=None, name=None, description=None, metadata=None, config=None, org_id=None): # noqa: E501 - """Telegraf - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, id=None, links=None, labels=None, name=None, description=None, metadata=None, config=None, org_id=None): # noqa: E501,D401,D403 + """Telegraf - a model defined in OpenAPI.""" # noqa: E501 TelegrafRequest.__init__(self, name=name, description=description, metadata=metadata, config=config, org_id=org_id) # noqa: E501 self._id = None @@ -71,69 +72,60 @@ def __init__(self, id=None, links=None, labels=None, name=None, description=None @property def id(self): - """Gets the id of this Telegraf. # noqa: E501 - + """Get the id of this Telegraf. - :return: The id of this Telegraf. # noqa: E501 + :return: The id of this Telegraf. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this Telegraf. - + """Set the id of this Telegraf. - :param id: The id of this Telegraf. # noqa: E501 + :param id: The id of this Telegraf. :type: str - """ - + """ # noqa: E501 self._id = id @property def links(self): - """Gets the links of this Telegraf. # noqa: E501 - + """Get the links of this Telegraf. - :return: The links of this Telegraf. # noqa: E501 + :return: The links of this Telegraf. :rtype: object - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Telegraf. + """Set the links of this Telegraf. - - :param links: The links of this Telegraf. # noqa: E501 + :param links: The links of this Telegraf. :type: object - """ - + """ # noqa: E501 self._links = links @property def labels(self): - """Gets the labels of this Telegraf. # noqa: E501 - + """Get the labels of this Telegraf. - :return: The labels of this Telegraf. # noqa: E501 + :return: The labels of this Telegraf. :rtype: list[Label] - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this Telegraf. + """Set the labels of this Telegraf. - - :param labels: The labels of this Telegraf. # noqa: E501 + :param labels: The labels of this Telegraf. :type: list[Label] - """ - + """ # noqa: E501 self._labels = labels def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -157,20 +149,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Telegraf): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/telegraf_plugin.py b/influxdb_client/domain/telegraf_plugin.py index 1f1c600f..1d8f1540 100644 --- a/influxdb_client/domain/telegraf_plugin.py +++ b/influxdb_client/domain/telegraf_plugin.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class TelegrafPlugin(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class TelegrafPlugin(object): 'config': 'config' } - def __init__(self, type=None, name=None, description=None, config=None): # noqa: E501 - """TelegrafPlugin - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, name=None, description=None, config=None): # noqa: E501,D401,D403 + """TelegrafPlugin - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._name = None self._description = None @@ -64,90 +64,78 @@ def __init__(self, type=None, name=None, description=None, config=None): # noqa @property def type(self): - """Gets the type of this TelegrafPlugin. # noqa: E501 + """Get the type of this TelegrafPlugin. - - :return: The type of this TelegrafPlugin. # noqa: E501 + :return: The type of this TelegrafPlugin. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this TelegrafPlugin. - + """Set the type of this TelegrafPlugin. - :param type: The type of this TelegrafPlugin. # noqa: E501 + :param type: The type of this TelegrafPlugin. :type: str - """ - + """ # noqa: E501 self._type = type @property def name(self): - """Gets the name of this TelegrafPlugin. # noqa: E501 - + """Get the name of this TelegrafPlugin. - :return: The name of this TelegrafPlugin. # noqa: E501 + :return: The name of this TelegrafPlugin. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this TelegrafPlugin. - + """Set the name of this TelegrafPlugin. - :param name: The name of this TelegrafPlugin. # noqa: E501 + :param name: The name of this TelegrafPlugin. :type: str - """ - + """ # noqa: E501 self._name = name @property def description(self): - """Gets the description of this TelegrafPlugin. # noqa: E501 - + """Get the description of this TelegrafPlugin. - :return: The description of this TelegrafPlugin. # noqa: E501 + :return: The description of this TelegrafPlugin. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this TelegrafPlugin. + """Set the description of this TelegrafPlugin. - - :param description: The description of this TelegrafPlugin. # noqa: E501 + :param description: The description of this TelegrafPlugin. :type: str - """ - + """ # noqa: E501 self._description = description @property def config(self): - """Gets the config of this TelegrafPlugin. # noqa: E501 + """Get the config of this TelegrafPlugin. - - :return: The config of this TelegrafPlugin. # noqa: E501 + :return: The config of this TelegrafPlugin. :rtype: dict(str, object) - """ + """ # noqa: E501 return self._config @config.setter def config(self, config): - """Sets the config of this TelegrafPlugin. - + """Set the config of this TelegrafPlugin. - :param config: The config of this TelegrafPlugin. # noqa: E501 + :param config: The config of this TelegrafPlugin. :type: dict(str, object) - """ - + """ # noqa: E501 self._config = config def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -171,20 +159,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, TelegrafPlugin): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/telegraf_request.py b/influxdb_client/domain/telegraf_request.py index 258633e9..3b161e28 100644 --- a/influxdb_client/domain/telegraf_request.py +++ b/influxdb_client/domain/telegraf_request.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class TelegrafRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -46,9 +47,8 @@ class TelegrafRequest(object): 'org_id': 'orgID' } - def __init__(self, name=None, description=None, metadata=None, config=None, org_id=None): # noqa: E501 - """TelegrafRequest - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, name=None, description=None, metadata=None, config=None, org_id=None): # noqa: E501,D401,D403 + """TelegrafRequest - a model defined in OpenAPI.""" # noqa: E501 self._name = None self._description = None self._metadata = None @@ -69,111 +69,96 @@ def __init__(self, name=None, description=None, metadata=None, config=None, org_ @property def name(self): - """Gets the name of this TelegrafRequest. # noqa: E501 - + """Get the name of this TelegrafRequest. - :return: The name of this TelegrafRequest. # noqa: E501 + :return: The name of this TelegrafRequest. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this TelegrafRequest. + """Set the name of this TelegrafRequest. - - :param name: The name of this TelegrafRequest. # noqa: E501 + :param name: The name of this TelegrafRequest. :type: str - """ - + """ # noqa: E501 self._name = name @property def description(self): - """Gets the description of this TelegrafRequest. # noqa: E501 + """Get the description of this TelegrafRequest. - - :return: The description of this TelegrafRequest. # noqa: E501 + :return: The description of this TelegrafRequest. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this TelegrafRequest. - + """Set the description of this TelegrafRequest. - :param description: The description of this TelegrafRequest. # noqa: E501 + :param description: The description of this TelegrafRequest. :type: str - """ - + """ # noqa: E501 self._description = description @property def metadata(self): - """Gets the metadata of this TelegrafRequest. # noqa: E501 - + """Get the metadata of this TelegrafRequest. - :return: The metadata of this TelegrafRequest. # noqa: E501 + :return: The metadata of this TelegrafRequest. :rtype: TelegrafRequestMetadata - """ + """ # noqa: E501 return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this TelegrafRequest. + """Set the metadata of this TelegrafRequest. - - :param metadata: The metadata of this TelegrafRequest. # noqa: E501 + :param metadata: The metadata of this TelegrafRequest. :type: TelegrafRequestMetadata - """ - + """ # noqa: E501 self._metadata = metadata @property def config(self): - """Gets the config of this TelegrafRequest. # noqa: E501 + """Get the config of this TelegrafRequest. - - :return: The config of this TelegrafRequest. # noqa: E501 + :return: The config of this TelegrafRequest. :rtype: str - """ + """ # noqa: E501 return self._config @config.setter def config(self, config): - """Sets the config of this TelegrafRequest. - + """Set the config of this TelegrafRequest. - :param config: The config of this TelegrafRequest. # noqa: E501 + :param config: The config of this TelegrafRequest. :type: str - """ - + """ # noqa: E501 self._config = config @property def org_id(self): - """Gets the org_id of this TelegrafRequest. # noqa: E501 - + """Get the org_id of this TelegrafRequest. - :return: The org_id of this TelegrafRequest. # noqa: E501 + :return: The org_id of this TelegrafRequest. :rtype: str - """ + """ # noqa: E501 return self._org_id @org_id.setter def org_id(self, org_id): - """Sets the org_id of this TelegrafRequest. + """Set the org_id of this TelegrafRequest. - - :param org_id: The org_id of this TelegrafRequest. # noqa: E501 + :param org_id: The org_id of this TelegrafRequest. :type: str - """ - + """ # noqa: E501 self._org_id = org_id def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -197,20 +182,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, TelegrafRequest): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/telegraf_request_metadata.py b/influxdb_client/domain/telegraf_request_metadata.py index 0e5eaad1..bed40102 100644 --- a/influxdb_client/domain/telegraf_request_metadata.py +++ b/influxdb_client/domain/telegraf_request_metadata.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class TelegrafRequestMetadata(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class TelegrafRequestMetadata(object): 'buckets': 'buckets' } - def __init__(self, buckets=None): # noqa: E501 - """TelegrafRequestMetadata - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, buckets=None): # noqa: E501,D401,D403 + """TelegrafRequestMetadata - a model defined in OpenAPI.""" # noqa: E501 self._buckets = None self.discriminator = None @@ -49,27 +49,24 @@ def __init__(self, buckets=None): # noqa: E501 @property def buckets(self): - """Gets the buckets of this TelegrafRequestMetadata. # noqa: E501 - + """Get the buckets of this TelegrafRequestMetadata. - :return: The buckets of this TelegrafRequestMetadata. # noqa: E501 + :return: The buckets of this TelegrafRequestMetadata. :rtype: list[str] - """ + """ # noqa: E501 return self._buckets @buckets.setter def buckets(self, buckets): - """Sets the buckets of this TelegrafRequestMetadata. + """Set the buckets of this TelegrafRequestMetadata. - - :param buckets: The buckets of this TelegrafRequestMetadata. # noqa: E501 + :param buckets: The buckets of this TelegrafRequestMetadata. :type: list[str] - """ - + """ # noqa: E501 self._buckets = buckets def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -93,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, TelegrafRequestMetadata): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/telegrafs.py b/influxdb_client/domain/telegrafs.py index 497e0c2a..59abf07f 100644 --- a/influxdb_client/domain/telegrafs.py +++ b/influxdb_client/domain/telegrafs.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Telegrafs(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class Telegrafs(object): 'configurations': 'configurations' } - def __init__(self, configurations=None): # noqa: E501 - """Telegrafs - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, configurations=None): # noqa: E501,D401,D403 + """Telegrafs - a model defined in OpenAPI.""" # noqa: E501 self._configurations = None self.discriminator = None @@ -49,27 +49,24 @@ def __init__(self, configurations=None): # noqa: E501 @property def configurations(self): - """Gets the configurations of this Telegrafs. # noqa: E501 - + """Get the configurations of this Telegrafs. - :return: The configurations of this Telegrafs. # noqa: E501 + :return: The configurations of this Telegrafs. :rtype: list[Telegraf] - """ + """ # noqa: E501 return self._configurations @configurations.setter def configurations(self, configurations): - """Sets the configurations of this Telegrafs. + """Set the configurations of this Telegrafs. - - :param configurations: The configurations of this Telegrafs. # noqa: E501 + :param configurations: The configurations of this Telegrafs. :type: list[Telegraf] - """ - + """ # noqa: E501 self._configurations = configurations def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -93,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Telegrafs): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/test_statement.py b/influxdb_client/domain/test_statement.py index 0370d6f3..33c431c9 100644 --- a/influxdb_client/domain/test_statement.py +++ b/influxdb_client/domain/test_statement.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class TestStatement(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class TestStatement(object): 'assignment': 'assignment' } - def __init__(self, type=None, assignment=None): # noqa: E501 - """TestStatement - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, assignment=None): # noqa: E501,D401,D403 + """TestStatement - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._assignment = None self.discriminator = None @@ -54,50 +54,46 @@ def __init__(self, type=None, assignment=None): # noqa: E501 @property def type(self): - """Gets the type of this TestStatement. # noqa: E501 + """Get the type of this TestStatement. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this TestStatement. # noqa: E501 + :return: The type of this TestStatement. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this TestStatement. + """Set the type of this TestStatement. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this TestStatement. # noqa: E501 + :param type: The type of this TestStatement. :type: str - """ - + """ # noqa: E501 self._type = type @property def assignment(self): - """Gets the assignment of this TestStatement. # noqa: E501 + """Get the assignment of this TestStatement. - - :return: The assignment of this TestStatement. # noqa: E501 + :return: The assignment of this TestStatement. :rtype: VariableAssignment - """ + """ # noqa: E501 return self._assignment @assignment.setter def assignment(self, assignment): - """Sets the assignment of this TestStatement. - + """Set the assignment of this TestStatement. - :param assignment: The assignment of this TestStatement. # noqa: E501 + :param assignment: The assignment of this TestStatement. :type: VariableAssignment - """ - + """ # noqa: E501 self._assignment = assignment def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +117,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, TestStatement): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/threshold.py b/influxdb_client/domain/threshold.py index c9be39de..0a3df1a3 100644 --- a/influxdb_client/domain/threshold.py +++ b/influxdb_client/domain/threshold.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class Threshold(ThresholdBase): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -47,19 +48,19 @@ class Threshold(ThresholdBase): 'GreaterThreshold': 'GreaterThreshold' } - def __init__(self, level=None, all_values=None): # noqa: E501 - """Threshold - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, level=None, all_values=None): # noqa: E501,D401,D403 + """Threshold - a model defined in OpenAPI.""" # noqa: E501 ThresholdBase.__init__(self, level=level, all_values=all_values) # noqa: E501 self.discriminator = 'type' def get_real_child_model(self, data): - """Returns the real base class specified by the discriminator""" + """Return the real base class specified by the discriminator.""" discriminator_key = self.attribute_map[self.discriminator] discriminator_value = data[discriminator_key] return self.discriminator_value_class_map.get(discriminator_value) def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -83,20 +84,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Threshold): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/threshold_base.py b/influxdb_client/domain/threshold_base.py index b5c8703a..f1398b35 100644 --- a/influxdb_client/domain/threshold_base.py +++ b/influxdb_client/domain/threshold_base.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class ThresholdBase(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class ThresholdBase(object): 'all_values': 'allValues' } - def __init__(self, level=None, all_values=None): # noqa: E501 - """ThresholdBase - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, level=None, all_values=None): # noqa: E501,D401,D403 + """ThresholdBase - a model defined in OpenAPI.""" # noqa: E501 self._level = None self._all_values = None self.discriminator = None @@ -54,50 +54,46 @@ def __init__(self, level=None, all_values=None): # noqa: E501 @property def level(self): - """Gets the level of this ThresholdBase. # noqa: E501 - + """Get the level of this ThresholdBase. - :return: The level of this ThresholdBase. # noqa: E501 + :return: The level of this ThresholdBase. :rtype: CheckStatusLevel - """ + """ # noqa: E501 return self._level @level.setter def level(self, level): - """Sets the level of this ThresholdBase. + """Set the level of this ThresholdBase. - - :param level: The level of this ThresholdBase. # noqa: E501 + :param level: The level of this ThresholdBase. :type: CheckStatusLevel - """ - + """ # noqa: E501 self._level = level @property def all_values(self): - """Gets the all_values of this ThresholdBase. # noqa: E501 + """Get the all_values of this ThresholdBase. - If true, only alert if all values meet threshold. # noqa: E501 + If true, only alert if all values meet threshold. - :return: The all_values of this ThresholdBase. # noqa: E501 + :return: The all_values of this ThresholdBase. :rtype: bool - """ + """ # noqa: E501 return self._all_values @all_values.setter def all_values(self, all_values): - """Sets the all_values of this ThresholdBase. + """Set the all_values of this ThresholdBase. - If true, only alert if all values meet threshold. # noqa: E501 + If true, only alert if all values meet threshold. - :param all_values: The all_values of this ThresholdBase. # noqa: E501 + :param all_values: The all_values of this ThresholdBase. :type: bool - """ - + """ # noqa: E501 self._all_values = all_values def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +117,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ThresholdBase): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/threshold_check.py b/influxdb_client/domain/threshold_check.py index 5691ba63..d460490c 100644 --- a/influxdb_client/domain/threshold_check.py +++ b/influxdb_client/domain/threshold_check.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class ThresholdCheck(Check): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -41,8 +42,8 @@ class ThresholdCheck(Check): 'thresholds': 'thresholds' } - def __init__(self, type=None, thresholds=None): # noqa: E501 - """ThresholdCheck - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, type=None, thresholds=None): # noqa: E501,D401,D403 + """ThresholdCheck - a model defined in OpenAPI.""" # noqa: E501 Check.__init__(self) # noqa: E501 self._type = None @@ -56,48 +57,42 @@ def __init__(self, type=None, thresholds=None): # noqa: E501 @property def type(self): - """Gets the type of this ThresholdCheck. # noqa: E501 - + """Get the type of this ThresholdCheck. - :return: The type of this ThresholdCheck. # noqa: E501 + :return: The type of this ThresholdCheck. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this ThresholdCheck. + """Set the type of this ThresholdCheck. - - :param type: The type of this ThresholdCheck. # noqa: E501 + :param type: The type of this ThresholdCheck. :type: str - """ - + """ # noqa: E501 self._type = type @property def thresholds(self): - """Gets the thresholds of this ThresholdCheck. # noqa: E501 + """Get the thresholds of this ThresholdCheck. - - :return: The thresholds of this ThresholdCheck. # noqa: E501 + :return: The thresholds of this ThresholdCheck. :rtype: list[Threshold] - """ + """ # noqa: E501 return self._thresholds @thresholds.setter def thresholds(self, thresholds): - """Sets the thresholds of this ThresholdCheck. - + """Set the thresholds of this ThresholdCheck. - :param thresholds: The thresholds of this ThresholdCheck. # noqa: E501 + :param thresholds: The thresholds of this ThresholdCheck. :type: list[Threshold] - """ - + """ # noqa: E501 self._thresholds = thresholds def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +116,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ThresholdCheck): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/unary_expression.py b/influxdb_client/domain/unary_expression.py index bedb996c..72b555db 100644 --- a/influxdb_client/domain/unary_expression.py +++ b/influxdb_client/domain/unary_expression.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class UnaryExpression(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class UnaryExpression(object): 'argument': 'argument' } - def __init__(self, type=None, operator=None, argument=None): # noqa: E501 - """UnaryExpression - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, operator=None, argument=None): # noqa: E501,D401,D403 + """UnaryExpression - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._operator = None self._argument = None @@ -59,71 +59,64 @@ def __init__(self, type=None, operator=None, argument=None): # noqa: E501 @property def type(self): - """Gets the type of this UnaryExpression. # noqa: E501 + """Get the type of this UnaryExpression. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this UnaryExpression. # noqa: E501 + :return: The type of this UnaryExpression. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this UnaryExpression. + """Set the type of this UnaryExpression. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this UnaryExpression. # noqa: E501 + :param type: The type of this UnaryExpression. :type: str - """ - + """ # noqa: E501 self._type = type @property def operator(self): - """Gets the operator of this UnaryExpression. # noqa: E501 + """Get the operator of this UnaryExpression. - - :return: The operator of this UnaryExpression. # noqa: E501 + :return: The operator of this UnaryExpression. :rtype: str - """ + """ # noqa: E501 return self._operator @operator.setter def operator(self, operator): - """Sets the operator of this UnaryExpression. - + """Set the operator of this UnaryExpression. - :param operator: The operator of this UnaryExpression. # noqa: E501 + :param operator: The operator of this UnaryExpression. :type: str - """ - + """ # noqa: E501 self._operator = operator @property def argument(self): - """Gets the argument of this UnaryExpression. # noqa: E501 - + """Get the argument of this UnaryExpression. - :return: The argument of this UnaryExpression. # noqa: E501 + :return: The argument of this UnaryExpression. :rtype: Expression - """ + """ # noqa: E501 return self._argument @argument.setter def argument(self, argument): - """Sets the argument of this UnaryExpression. + """Set the argument of this UnaryExpression. - - :param argument: The argument of this UnaryExpression. # noqa: E501 + :param argument: The argument of this UnaryExpression. :type: Expression - """ - + """ # noqa: E501 self._argument = argument def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -147,20 +140,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, UnaryExpression): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/unsigned_integer_literal.py b/influxdb_client/domain/unsigned_integer_literal.py index dfb9f7ef..3dee88a2 100644 --- a/influxdb_client/domain/unsigned_integer_literal.py +++ b/influxdb_client/domain/unsigned_integer_literal.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class UnsignedIntegerLiteral(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class UnsignedIntegerLiteral(object): 'value': 'value' } - def __init__(self, type=None, value=None): # noqa: E501 - """UnsignedIntegerLiteral - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, value=None): # noqa: E501,D401,D403 + """UnsignedIntegerLiteral - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._value = None self.discriminator = None @@ -54,50 +54,46 @@ def __init__(self, type=None, value=None): # noqa: E501 @property def type(self): - """Gets the type of this UnsignedIntegerLiteral. # noqa: E501 + """Get the type of this UnsignedIntegerLiteral. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this UnsignedIntegerLiteral. # noqa: E501 + :return: The type of this UnsignedIntegerLiteral. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this UnsignedIntegerLiteral. + """Set the type of this UnsignedIntegerLiteral. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this UnsignedIntegerLiteral. # noqa: E501 + :param type: The type of this UnsignedIntegerLiteral. :type: str - """ - + """ # noqa: E501 self._type = type @property def value(self): - """Gets the value of this UnsignedIntegerLiteral. # noqa: E501 + """Get the value of this UnsignedIntegerLiteral. - - :return: The value of this UnsignedIntegerLiteral. # noqa: E501 + :return: The value of this UnsignedIntegerLiteral. :rtype: str - """ + """ # noqa: E501 return self._value @value.setter def value(self, value): - """Sets the value of this UnsignedIntegerLiteral. - + """Set the value of this UnsignedIntegerLiteral. - :param value: The value of this UnsignedIntegerLiteral. # noqa: E501 + :param value: The value of this UnsignedIntegerLiteral. :type: str - """ - + """ # noqa: E501 self._value = value def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -121,20 +117,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, UnsignedIntegerLiteral): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/user.py b/influxdb_client/domain/user.py index bfb5cc98..33770b1e 100644 --- a/influxdb_client/domain/user.py +++ b/influxdb_client/domain/user.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class User(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -46,9 +47,8 @@ class User(object): 'links': 'links' } - def __init__(self, id=None, oauth_id=None, name=None, status='active', links=None): # noqa: E501 - """User - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, id=None, oauth_id=None, name=None, status='active', links=None): # noqa: E501,D401,D403 + """User - a model defined in OpenAPI.""" # noqa: E501 self._id = None self._oauth_id = None self._name = None @@ -68,115 +68,102 @@ def __init__(self, id=None, oauth_id=None, name=None, status='active', links=Non @property def id(self): - """Gets the id of this User. # noqa: E501 + """Get the id of this User. - - :return: The id of this User. # noqa: E501 + :return: The id of this User. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this User. - + """Set the id of this User. - :param id: The id of this User. # noqa: E501 + :param id: The id of this User. :type: str - """ - + """ # noqa: E501 self._id = id @property def oauth_id(self): - """Gets the oauth_id of this User. # noqa: E501 - + """Get the oauth_id of this User. - :return: The oauth_id of this User. # noqa: E501 + :return: The oauth_id of this User. :rtype: str - """ + """ # noqa: E501 return self._oauth_id @oauth_id.setter def oauth_id(self, oauth_id): - """Sets the oauth_id of this User. + """Set the oauth_id of this User. - - :param oauth_id: The oauth_id of this User. # noqa: E501 + :param oauth_id: The oauth_id of this User. :type: str - """ - + """ # noqa: E501 self._oauth_id = oauth_id @property def name(self): - """Gets the name of this User. # noqa: E501 + """Get the name of this User. - - :return: The name of this User. # noqa: E501 + :return: The name of this User. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this User. - + """Set the name of this User. - :param name: The name of this User. # noqa: E501 + :param name: The name of this User. :type: str - """ + """ # noqa: E501 if name is None: raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - self._name = name @property def status(self): - """Gets the status of this User. # noqa: E501 + """Get the status of this User. - If inactive the user is inactive. # noqa: E501 + If inactive the user is inactive. - :return: The status of this User. # noqa: E501 + :return: The status of this User. :rtype: str - """ + """ # noqa: E501 return self._status @status.setter def status(self, status): - """Sets the status of this User. + """Set the status of this User. - If inactive the user is inactive. # noqa: E501 + If inactive the user is inactive. - :param status: The status of this User. # noqa: E501 + :param status: The status of this User. :type: str - """ - + """ # noqa: E501 self._status = status @property def links(self): - """Gets the links of this User. # noqa: E501 + """Get the links of this User. - - :return: The links of this User. # noqa: E501 + :return: The links of this User. :rtype: UserLinks - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this User. - + """Set the links of this User. - :param links: The links of this User. # noqa: E501 + :param links: The links of this User. :type: UserLinks - """ - + """ # noqa: E501 self._links = links def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -200,20 +187,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, User): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/user_links.py b/influxdb_client/domain/user_links.py index fd82fb98..1f8112f2 100644 --- a/influxdb_client/domain/user_links.py +++ b/influxdb_client/domain/user_links.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class UserLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class UserLinks(object): '_self': 'self' } - def __init__(self, _self=None): # noqa: E501 - """UserLinks - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, _self=None): # noqa: E501,D401,D403 + """UserLinks - a model defined in OpenAPI.""" # noqa: E501 self.__self = None self.discriminator = None @@ -49,27 +49,24 @@ def __init__(self, _self=None): # noqa: E501 @property def _self(self): - """Gets the _self of this UserLinks. # noqa: E501 - + """Get the _self of this UserLinks. - :return: The _self of this UserLinks. # noqa: E501 + :return: The _self of this UserLinks. :rtype: str - """ + """ # noqa: E501 return self.__self @_self.setter def _self(self, _self): - """Sets the _self of this UserLinks. + """Set the _self of this UserLinks. - - :param _self: The _self of this UserLinks. # noqa: E501 + :param _self: The _self of this UserLinks. :type: str - """ - + """ # noqa: E501 self.__self = _self def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -93,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, UserLinks): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/users.py b/influxdb_client/domain/users.py index b3c26792..f3774bae 100644 --- a/influxdb_client/domain/users.py +++ b/influxdb_client/domain/users.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Users(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class Users(object): 'users': 'users' } - def __init__(self, links=None, users=None): # noqa: E501 - """Users - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, links=None, users=None): # noqa: E501,D401,D403 + """Users - a model defined in OpenAPI.""" # noqa: E501 self._links = None self._users = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, links=None, users=None): # noqa: E501 @property def links(self): - """Gets the links of this Users. # noqa: E501 + """Get the links of this Users. - - :return: The links of this Users. # noqa: E501 + :return: The links of this Users. :rtype: UsersLinks - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Users. - + """Set the links of this Users. - :param links: The links of this Users. # noqa: E501 + :param links: The links of this Users. :type: UsersLinks - """ - + """ # noqa: E501 self._links = links @property def users(self): - """Gets the users of this Users. # noqa: E501 - + """Get the users of this Users. - :return: The users of this Users. # noqa: E501 + :return: The users of this Users. :rtype: list[User] - """ + """ # noqa: E501 return self._users @users.setter def users(self, users): - """Sets the users of this Users. + """Set the users of this Users. - - :param users: The users of this Users. # noqa: E501 + :param users: The users of this Users. :type: list[User] - """ - + """ # noqa: E501 self._users = users def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Users): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/users_links.py b/influxdb_client/domain/users_links.py index 084b0dda..719d20b7 100644 --- a/influxdb_client/domain/users_links.py +++ b/influxdb_client/domain/users_links.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class UsersLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class UsersLinks(object): '_self': 'self' } - def __init__(self, _self=None): # noqa: E501 - """UsersLinks - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, _self=None): # noqa: E501,D401,D403 + """UsersLinks - a model defined in OpenAPI.""" # noqa: E501 self.__self = None self.discriminator = None @@ -49,27 +49,24 @@ def __init__(self, _self=None): # noqa: E501 @property def _self(self): - """Gets the _self of this UsersLinks. # noqa: E501 - + """Get the _self of this UsersLinks. - :return: The _self of this UsersLinks. # noqa: E501 + :return: The _self of this UsersLinks. :rtype: str - """ + """ # noqa: E501 return self.__self @_self.setter def _self(self, _self): - """Sets the _self of this UsersLinks. + """Set the _self of this UsersLinks. - - :param _self: The _self of this UsersLinks. # noqa: E501 + :param _self: The _self of this UsersLinks. :type: str - """ - + """ # noqa: E501 self.__self = _self def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -93,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, UsersLinks): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/variable.py b/influxdb_client/domain/variable.py index 48d1f544..f2d8841f 100644 --- a/influxdb_client/domain/variable.py +++ b/influxdb_client/domain/variable.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Variable(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -56,9 +57,8 @@ class Variable(object): 'updated_at': 'updatedAt' } - def __init__(self, links=None, id=None, org_id=None, name=None, description=None, selected=None, labels=None, arguments=None, created_at=None, updated_at=None): # noqa: E501 - """Variable - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, links=None, id=None, org_id=None, name=None, description=None, selected=None, labels=None, arguments=None, created_at=None, updated_at=None): # noqa: E501,D401,D403 + """Variable - a model defined in OpenAPI.""" # noqa: E501 self._links = None self._id = None self._org_id = None @@ -91,222 +91,192 @@ def __init__(self, links=None, id=None, org_id=None, name=None, description=None @property def links(self): - """Gets the links of this Variable. # noqa: E501 + """Get the links of this Variable. - - :return: The links of this Variable. # noqa: E501 + :return: The links of this Variable. :rtype: VariableLinks - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Variable. - + """Set the links of this Variable. - :param links: The links of this Variable. # noqa: E501 + :param links: The links of this Variable. :type: VariableLinks - """ - + """ # noqa: E501 self._links = links @property def id(self): - """Gets the id of this Variable. # noqa: E501 - + """Get the id of this Variable. - :return: The id of this Variable. # noqa: E501 + :return: The id of this Variable. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this Variable. + """Set the id of this Variable. - - :param id: The id of this Variable. # noqa: E501 + :param id: The id of this Variable. :type: str - """ - + """ # noqa: E501 self._id = id @property def org_id(self): - """Gets the org_id of this Variable. # noqa: E501 + """Get the org_id of this Variable. - - :return: The org_id of this Variable. # noqa: E501 + :return: The org_id of this Variable. :rtype: str - """ + """ # noqa: E501 return self._org_id @org_id.setter def org_id(self, org_id): - """Sets the org_id of this Variable. - + """Set the org_id of this Variable. - :param org_id: The org_id of this Variable. # noqa: E501 + :param org_id: The org_id of this Variable. :type: str - """ + """ # noqa: E501 if org_id is None: raise ValueError("Invalid value for `org_id`, must not be `None`") # noqa: E501 - self._org_id = org_id @property def name(self): - """Gets the name of this Variable. # noqa: E501 - + """Get the name of this Variable. - :return: The name of this Variable. # noqa: E501 + :return: The name of this Variable. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this Variable. + """Set the name of this Variable. - - :param name: The name of this Variable. # noqa: E501 + :param name: The name of this Variable. :type: str - """ + """ # noqa: E501 if name is None: raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - self._name = name @property def description(self): - """Gets the description of this Variable. # noqa: E501 + """Get the description of this Variable. - - :return: The description of this Variable. # noqa: E501 + :return: The description of this Variable. :rtype: str - """ + """ # noqa: E501 return self._description @description.setter def description(self, description): - """Sets the description of this Variable. - + """Set the description of this Variable. - :param description: The description of this Variable. # noqa: E501 + :param description: The description of this Variable. :type: str - """ - + """ # noqa: E501 self._description = description @property def selected(self): - """Gets the selected of this Variable. # noqa: E501 - + """Get the selected of this Variable. - :return: The selected of this Variable. # noqa: E501 + :return: The selected of this Variable. :rtype: list[str] - """ + """ # noqa: E501 return self._selected @selected.setter def selected(self, selected): - """Sets the selected of this Variable. + """Set the selected of this Variable. - - :param selected: The selected of this Variable. # noqa: E501 + :param selected: The selected of this Variable. :type: list[str] - """ - + """ # noqa: E501 self._selected = selected @property def labels(self): - """Gets the labels of this Variable. # noqa: E501 + """Get the labels of this Variable. - - :return: The labels of this Variable. # noqa: E501 + :return: The labels of this Variable. :rtype: list[Label] - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this Variable. - + """Set the labels of this Variable. - :param labels: The labels of this Variable. # noqa: E501 + :param labels: The labels of this Variable. :type: list[Label] - """ - + """ # noqa: E501 self._labels = labels @property def arguments(self): - """Gets the arguments of this Variable. # noqa: E501 - + """Get the arguments of this Variable. - :return: The arguments of this Variable. # noqa: E501 + :return: The arguments of this Variable. :rtype: VariableProperties - """ + """ # noqa: E501 return self._arguments @arguments.setter def arguments(self, arguments): - """Sets the arguments of this Variable. + """Set the arguments of this Variable. - - :param arguments: The arguments of this Variable. # noqa: E501 + :param arguments: The arguments of this Variable. :type: VariableProperties - """ + """ # noqa: E501 if arguments is None: raise ValueError("Invalid value for `arguments`, must not be `None`") # noqa: E501 - self._arguments = arguments @property def created_at(self): - """Gets the created_at of this Variable. # noqa: E501 + """Get the created_at of this Variable. - - :return: The created_at of this Variable. # noqa: E501 + :return: The created_at of this Variable. :rtype: datetime - """ + """ # noqa: E501 return self._created_at @created_at.setter def created_at(self, created_at): - """Sets the created_at of this Variable. - + """Set the created_at of this Variable. - :param created_at: The created_at of this Variable. # noqa: E501 + :param created_at: The created_at of this Variable. :type: datetime - """ - + """ # noqa: E501 self._created_at = created_at @property def updated_at(self): - """Gets the updated_at of this Variable. # noqa: E501 - + """Get the updated_at of this Variable. - :return: The updated_at of this Variable. # noqa: E501 + :return: The updated_at of this Variable. :rtype: datetime - """ + """ # noqa: E501 return self._updated_at @updated_at.setter def updated_at(self, updated_at): - """Sets the updated_at of this Variable. + """Set the updated_at of this Variable. - - :param updated_at: The updated_at of this Variable. # noqa: E501 + :param updated_at: The updated_at of this Variable. :type: datetime - """ - + """ # noqa: E501 self._updated_at = updated_at def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -330,20 +300,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Variable): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/variable_assignment.py b/influxdb_client/domain/variable_assignment.py index 69389e1b..12ecffba 100644 --- a/influxdb_client/domain/variable_assignment.py +++ b/influxdb_client/domain/variable_assignment.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class VariableAssignment(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class VariableAssignment(object): 'init': 'init' } - def __init__(self, type=None, id=None, init=None): # noqa: E501 - """VariableAssignment - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, type=None, id=None, init=None): # noqa: E501,D401,D403 + """VariableAssignment - a model defined in OpenAPI.""" # noqa: E501 self._type = None self._id = None self._init = None @@ -59,71 +59,64 @@ def __init__(self, type=None, id=None, init=None): # noqa: E501 @property def type(self): - """Gets the type of this VariableAssignment. # noqa: E501 + """Get the type of this VariableAssignment. - Type of AST node # noqa: E501 + Type of AST node - :return: The type of this VariableAssignment. # noqa: E501 + :return: The type of this VariableAssignment. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this VariableAssignment. + """Set the type of this VariableAssignment. - Type of AST node # noqa: E501 + Type of AST node - :param type: The type of this VariableAssignment. # noqa: E501 + :param type: The type of this VariableAssignment. :type: str - """ - + """ # noqa: E501 self._type = type @property def id(self): - """Gets the id of this VariableAssignment. # noqa: E501 + """Get the id of this VariableAssignment. - - :return: The id of this VariableAssignment. # noqa: E501 + :return: The id of this VariableAssignment. :rtype: Identifier - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this VariableAssignment. - + """Set the id of this VariableAssignment. - :param id: The id of this VariableAssignment. # noqa: E501 + :param id: The id of this VariableAssignment. :type: Identifier - """ - + """ # noqa: E501 self._id = id @property def init(self): - """Gets the init of this VariableAssignment. # noqa: E501 - + """Get the init of this VariableAssignment. - :return: The init of this VariableAssignment. # noqa: E501 + :return: The init of this VariableAssignment. :rtype: Expression - """ + """ # noqa: E501 return self._init @init.setter def init(self, init): - """Sets the init of this VariableAssignment. + """Set the init of this VariableAssignment. - - :param init: The init of this VariableAssignment. # noqa: E501 + :param init: The init of this VariableAssignment. :type: Expression - """ - + """ # noqa: E501 self._init = init def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -147,20 +140,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, VariableAssignment): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/variable_links.py b/influxdb_client/domain/variable_links.py index 6280b6f0..ef4abb92 100644 --- a/influxdb_client/domain/variable_links.py +++ b/influxdb_client/domain/variable_links.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class VariableLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -42,9 +43,8 @@ class VariableLinks(object): 'labels': 'labels' } - def __init__(self, _self=None, org=None, labels=None): # noqa: E501 - """VariableLinks - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, _self=None, org=None, labels=None): # noqa: E501,D401,D403 + """VariableLinks - a model defined in OpenAPI.""" # noqa: E501 self.__self = None self._org = None self._labels = None @@ -59,69 +59,60 @@ def __init__(self, _self=None, org=None, labels=None): # noqa: E501 @property def _self(self): - """Gets the _self of this VariableLinks. # noqa: E501 - + """Get the _self of this VariableLinks. - :return: The _self of this VariableLinks. # noqa: E501 + :return: The _self of this VariableLinks. :rtype: str - """ + """ # noqa: E501 return self.__self @_self.setter def _self(self, _self): - """Sets the _self of this VariableLinks. + """Set the _self of this VariableLinks. - - :param _self: The _self of this VariableLinks. # noqa: E501 + :param _self: The _self of this VariableLinks. :type: str - """ - + """ # noqa: E501 self.__self = _self @property def org(self): - """Gets the org of this VariableLinks. # noqa: E501 - + """Get the org of this VariableLinks. - :return: The org of this VariableLinks. # noqa: E501 + :return: The org of this VariableLinks. :rtype: str - """ + """ # noqa: E501 return self._org @org.setter def org(self, org): - """Sets the org of this VariableLinks. + """Set the org of this VariableLinks. - - :param org: The org of this VariableLinks. # noqa: E501 + :param org: The org of this VariableLinks. :type: str - """ - + """ # noqa: E501 self._org = org @property def labels(self): - """Gets the labels of this VariableLinks. # noqa: E501 - + """Get the labels of this VariableLinks. - :return: The labels of this VariableLinks. # noqa: E501 + :return: The labels of this VariableLinks. :rtype: str - """ + """ # noqa: E501 return self._labels @labels.setter def labels(self, labels): - """Sets the labels of this VariableLinks. + """Set the labels of this VariableLinks. - - :param labels: The labels of this VariableLinks. # noqa: E501 + :param labels: The labels of this VariableLinks. :type: str - """ - + """ # noqa: E501 self._labels = labels def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -145,20 +136,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, VariableLinks): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/variable_properties.py b/influxdb_client/domain/variable_properties.py index ed242dbc..1b485e5d 100644 --- a/influxdb_client/domain/variable_properties.py +++ b/influxdb_client/domain/variable_properties.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class VariableProperties(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -36,12 +37,11 @@ class VariableProperties(object): attribute_map = { } - def __init__(self): # noqa: E501 - """VariableProperties - a model defined in OpenAPI""" # noqa: E501 - self.discriminator = None + def __init__(self): # noqa: E501,D401,D403 + """VariableProperties - a model defined in OpenAPI.""" # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -65,20 +65,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, VariableProperties): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/variables.py b/influxdb_client/domain/variables.py index 77af94ba..460e4a5b 100644 --- a/influxdb_client/domain/variables.py +++ b/influxdb_client/domain/variables.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Variables(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class Variables(object): 'variables': 'variables' } - def __init__(self, variables=None): # noqa: E501 - """Variables - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, variables=None): # noqa: E501,D401,D403 + """Variables - a model defined in OpenAPI.""" # noqa: E501 self._variables = None self.discriminator = None @@ -49,27 +49,24 @@ def __init__(self, variables=None): # noqa: E501 @property def variables(self): - """Gets the variables of this Variables. # noqa: E501 - + """Get the variables of this Variables. - :return: The variables of this Variables. # noqa: E501 + :return: The variables of this Variables. :rtype: list[Variable] - """ + """ # noqa: E501 return self._variables @variables.setter def variables(self, variables): - """Sets the variables of this Variables. + """Set the variables of this Variables. - - :param variables: The variables of this Variables. # noqa: E501 + :param variables: The variables of this Variables. :type: list[Variable] - """ - + """ # noqa: E501 self._variables = variables def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -93,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Variables): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/view.py b/influxdb_client/domain/view.py index 2c7078b5..bf74c666 100644 --- a/influxdb_client/domain/view.py +++ b/influxdb_client/domain/view.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class View(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,9 +45,8 @@ class View(object): 'properties': 'properties' } - def __init__(self, links=None, id=None, name=None, properties=None): # noqa: E501 - """View - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, links=None, id=None, name=None, properties=None): # noqa: E501,D401,D403 + """View - a model defined in OpenAPI.""" # noqa: E501 self._links = None self._id = None self._name = None @@ -62,94 +62,82 @@ def __init__(self, links=None, id=None, name=None, properties=None): # noqa: E5 @property def links(self): - """Gets the links of this View. # noqa: E501 + """Get the links of this View. - - :return: The links of this View. # noqa: E501 + :return: The links of this View. :rtype: ViewLinks - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this View. - + """Set the links of this View. - :param links: The links of this View. # noqa: E501 + :param links: The links of this View. :type: ViewLinks - """ - + """ # noqa: E501 self._links = links @property def id(self): - """Gets the id of this View. # noqa: E501 - + """Get the id of this View. - :return: The id of this View. # noqa: E501 + :return: The id of this View. :rtype: str - """ + """ # noqa: E501 return self._id @id.setter def id(self, id): - """Sets the id of this View. - + """Set the id of this View. - :param id: The id of this View. # noqa: E501 + :param id: The id of this View. :type: str - """ - + """ # noqa: E501 self._id = id @property def name(self): - """Gets the name of this View. # noqa: E501 - + """Get the name of this View. - :return: The name of this View. # noqa: E501 + :return: The name of this View. :rtype: str - """ + """ # noqa: E501 return self._name @name.setter def name(self, name): - """Sets the name of this View. + """Set the name of this View. - - :param name: The name of this View. # noqa: E501 + :param name: The name of this View. :type: str - """ + """ # noqa: E501 if name is None: raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 - self._name = name @property def properties(self): - """Gets the properties of this View. # noqa: E501 + """Get the properties of this View. - - :return: The properties of this View. # noqa: E501 + :return: The properties of this View. :rtype: ViewProperties - """ + """ # noqa: E501 return self._properties @properties.setter def properties(self, properties): - """Sets the properties of this View. - + """Set the properties of this View. - :param properties: The properties of this View. # noqa: E501 + :param properties: The properties of this View. :type: ViewProperties - """ + """ # noqa: E501 if properties is None: raise ValueError("Invalid value for `properties`, must not be `None`") # noqa: E501 - self._properties = properties def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -173,20 +161,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, View): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/view_links.py b/influxdb_client/domain/view_links.py index a569d4c7..3c4c353c 100644 --- a/influxdb_client/domain/view_links.py +++ b/influxdb_client/domain/view_links.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class ViewLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -38,9 +39,8 @@ class ViewLinks(object): '_self': 'self' } - def __init__(self, _self=None): # noqa: E501 - """ViewLinks - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, _self=None): # noqa: E501,D401,D403 + """ViewLinks - a model defined in OpenAPI.""" # noqa: E501 self.__self = None self.discriminator = None @@ -49,27 +49,24 @@ def __init__(self, _self=None): # noqa: E501 @property def _self(self): - """Gets the _self of this ViewLinks. # noqa: E501 - + """Get the _self of this ViewLinks. - :return: The _self of this ViewLinks. # noqa: E501 + :return: The _self of this ViewLinks. :rtype: str - """ + """ # noqa: E501 return self.__self @_self.setter def _self(self, _self): - """Sets the _self of this ViewLinks. + """Set the _self of this ViewLinks. - - :param _self: The _self of this ViewLinks. # noqa: E501 + :param _self: The _self of this ViewLinks. :type: str - """ - + """ # noqa: E501 self.__self = _self def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -93,20 +90,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ViewLinks): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/view_properties.py b/influxdb_client/domain/view_properties.py index 66e8689a..8414b40b 100644 --- a/influxdb_client/domain/view_properties.py +++ b/influxdb_client/domain/view_properties.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class ViewProperties(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -36,12 +37,11 @@ class ViewProperties(object): attribute_map = { } - def __init__(self): # noqa: E501 - """ViewProperties - a model defined in OpenAPI""" # noqa: E501 - self.discriminator = None + def __init__(self): # noqa: E501,D401,D403 + """ViewProperties - a model defined in OpenAPI.""" # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -65,20 +65,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, ViewProperties): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/views.py b/influxdb_client/domain/views.py index d5bb7868..a36a5c98 100644 --- a/influxdb_client/domain/views.py +++ b/influxdb_client/domain/views.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class Views(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -40,9 +41,8 @@ class Views(object): 'views': 'views' } - def __init__(self, links=None, views=None): # noqa: E501 - """Views - a model defined in OpenAPI""" # noqa: E501 - + def __init__(self, links=None, views=None): # noqa: E501,D401,D403 + """Views - a model defined in OpenAPI.""" # noqa: E501 self._links = None self._views = None self.discriminator = None @@ -54,48 +54,42 @@ def __init__(self, links=None, views=None): # noqa: E501 @property def links(self): - """Gets the links of this Views. # noqa: E501 + """Get the links of this Views. - - :return: The links of this Views. # noqa: E501 + :return: The links of this Views. :rtype: ViewLinks - """ + """ # noqa: E501 return self._links @links.setter def links(self, links): - """Sets the links of this Views. - + """Set the links of this Views. - :param links: The links of this Views. # noqa: E501 + :param links: The links of this Views. :type: ViewLinks - """ - + """ # noqa: E501 self._links = links @property def views(self): - """Gets the views of this Views. # noqa: E501 - + """Get the views of this Views. - :return: The views of this Views. # noqa: E501 + :return: The views of this Views. :rtype: list[View] - """ + """ # noqa: E501 return self._views @views.setter def views(self, views): - """Sets the views of this Views. + """Set the views of this Views. - - :param views: The views of this Views. # noqa: E501 + :param views: The views of this Views. :type: list[View] - """ - + """ # noqa: E501 self._views = views def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -119,20 +113,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, Views): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/write_precision.py b/influxdb_client/domain/write_precision.py index ec14f4c4..7471f365 100644 --- a/influxdb_client/domain/write_precision.py +++ b/influxdb_client/domain/write_precision.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class WritePrecision(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -44,12 +45,11 @@ class WritePrecision(object): attribute_map = { } - def __init__(self): # noqa: E501 - """WritePrecision - a model defined in OpenAPI""" # noqa: E501 - self.discriminator = None + def __init__(self): # noqa: E501,D401,D403 + """WritePrecision - a model defined in OpenAPI.""" # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -73,20 +73,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, WritePrecision): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/xy_geom.py b/influxdb_client/domain/xy_geom.py index b0a6b241..a781d77b 100644 --- a/influxdb_client/domain/xy_geom.py +++ b/influxdb_client/domain/xy_geom.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -18,6 +18,7 @@ class XYGeom(object): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -45,12 +46,11 @@ class XYGeom(object): attribute_map = { } - def __init__(self): # noqa: E501 - """XYGeom - a model defined in OpenAPI""" # noqa: E501 - self.discriminator = None + def __init__(self): # noqa: E501,D401,D403 + """XYGeom - a model defined in OpenAPI.""" # noqa: E501 self.discriminator = None def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -74,20 +74,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, XYGeom): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/domain/xy_view_properties.py b/influxdb_client/domain/xy_view_properties.py index 1ccc8b70..a45ea103 100644 --- a/influxdb_client/domain/xy_view_properties.py +++ b/influxdb_client/domain/xy_view_properties.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -19,6 +19,7 @@ class XYViewProperties(ViewProperties): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -65,8 +66,8 @@ class XYViewProperties(ViewProperties): 'geom': 'geom' } - def __init__(self, time_format=None, type=None, queries=None, colors=None, shape=None, note=None, show_note_when_empty=None, axes=None, legend=None, x_column=None, y_column=None, shade_below=None, position=None, geom=None): # noqa: E501 - """XYViewProperties - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, time_format=None, type=None, queries=None, colors=None, shape=None, note=None, show_note_when_empty=None, axes=None, legend=None, x_column=None, y_column=None, shade_below=None, position=None, geom=None): # noqa: E501,D401,D403 + """XYViewProperties - a model defined in OpenAPI.""" # noqa: E501 ViewProperties.__init__(self) # noqa: E501 self._time_format = None @@ -106,324 +107,286 @@ def __init__(self, time_format=None, type=None, queries=None, colors=None, shape @property def time_format(self): - """Gets the time_format of this XYViewProperties. # noqa: E501 - + """Get the time_format of this XYViewProperties. - :return: The time_format of this XYViewProperties. # noqa: E501 + :return: The time_format of this XYViewProperties. :rtype: str - """ + """ # noqa: E501 return self._time_format @time_format.setter def time_format(self, time_format): - """Sets the time_format of this XYViewProperties. - + """Set the time_format of this XYViewProperties. - :param time_format: The time_format of this XYViewProperties. # noqa: E501 + :param time_format: The time_format of this XYViewProperties. :type: str - """ - + """ # noqa: E501 self._time_format = time_format @property def type(self): - """Gets the type of this XYViewProperties. # noqa: E501 - + """Get the type of this XYViewProperties. - :return: The type of this XYViewProperties. # noqa: E501 + :return: The type of this XYViewProperties. :rtype: str - """ + """ # noqa: E501 return self._type @type.setter def type(self, type): - """Sets the type of this XYViewProperties. + """Set the type of this XYViewProperties. - - :param type: The type of this XYViewProperties. # noqa: E501 + :param type: The type of this XYViewProperties. :type: str - """ + """ # noqa: E501 if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - self._type = type @property def queries(self): - """Gets the queries of this XYViewProperties. # noqa: E501 - + """Get the queries of this XYViewProperties. - :return: The queries of this XYViewProperties. # noqa: E501 + :return: The queries of this XYViewProperties. :rtype: list[DashboardQuery] - """ + """ # noqa: E501 return self._queries @queries.setter def queries(self, queries): - """Sets the queries of this XYViewProperties. + """Set the queries of this XYViewProperties. - - :param queries: The queries of this XYViewProperties. # noqa: E501 + :param queries: The queries of this XYViewProperties. :type: list[DashboardQuery] - """ + """ # noqa: E501 if queries is None: raise ValueError("Invalid value for `queries`, must not be `None`") # noqa: E501 - self._queries = queries @property def colors(self): - """Gets the colors of this XYViewProperties. # noqa: E501 + """Get the colors of this XYViewProperties. - Colors define color encoding of data into a visualization # noqa: E501 + Colors define color encoding of data into a visualization - :return: The colors of this XYViewProperties. # noqa: E501 + :return: The colors of this XYViewProperties. :rtype: list[DashboardColor] - """ + """ # noqa: E501 return self._colors @colors.setter def colors(self, colors): - """Sets the colors of this XYViewProperties. + """Set the colors of this XYViewProperties. - Colors define color encoding of data into a visualization # noqa: E501 + Colors define color encoding of data into a visualization - :param colors: The colors of this XYViewProperties. # noqa: E501 + :param colors: The colors of this XYViewProperties. :type: list[DashboardColor] - """ + """ # noqa: E501 if colors is None: raise ValueError("Invalid value for `colors`, must not be `None`") # noqa: E501 - self._colors = colors @property def shape(self): - """Gets the shape of this XYViewProperties. # noqa: E501 - + """Get the shape of this XYViewProperties. - :return: The shape of this XYViewProperties. # noqa: E501 + :return: The shape of this XYViewProperties. :rtype: str - """ + """ # noqa: E501 return self._shape @shape.setter def shape(self, shape): - """Sets the shape of this XYViewProperties. - + """Set the shape of this XYViewProperties. - :param shape: The shape of this XYViewProperties. # noqa: E501 + :param shape: The shape of this XYViewProperties. :type: str - """ + """ # noqa: E501 if shape is None: raise ValueError("Invalid value for `shape`, must not be `None`") # noqa: E501 - self._shape = shape @property def note(self): - """Gets the note of this XYViewProperties. # noqa: E501 - + """Get the note of this XYViewProperties. - :return: The note of this XYViewProperties. # noqa: E501 + :return: The note of this XYViewProperties. :rtype: str - """ + """ # noqa: E501 return self._note @note.setter def note(self, note): - """Sets the note of this XYViewProperties. + """Set the note of this XYViewProperties. - - :param note: The note of this XYViewProperties. # noqa: E501 + :param note: The note of this XYViewProperties. :type: str - """ + """ # noqa: E501 if note is None: raise ValueError("Invalid value for `note`, must not be `None`") # noqa: E501 - self._note = note @property def show_note_when_empty(self): - """Gets the show_note_when_empty of this XYViewProperties. # noqa: E501 + """Get the show_note_when_empty of this XYViewProperties. - If true, will display note when empty # noqa: E501 + If true, will display note when empty - :return: The show_note_when_empty of this XYViewProperties. # noqa: E501 + :return: The show_note_when_empty of this XYViewProperties. :rtype: bool - """ + """ # noqa: E501 return self._show_note_when_empty @show_note_when_empty.setter def show_note_when_empty(self, show_note_when_empty): - """Sets the show_note_when_empty of this XYViewProperties. + """Set the show_note_when_empty of this XYViewProperties. - If true, will display note when empty # noqa: E501 + If true, will display note when empty - :param show_note_when_empty: The show_note_when_empty of this XYViewProperties. # noqa: E501 + :param show_note_when_empty: The show_note_when_empty of this XYViewProperties. :type: bool - """ + """ # noqa: E501 if show_note_when_empty is None: raise ValueError("Invalid value for `show_note_when_empty`, must not be `None`") # noqa: E501 - self._show_note_when_empty = show_note_when_empty @property def axes(self): - """Gets the axes of this XYViewProperties. # noqa: E501 + """Get the axes of this XYViewProperties. - - :return: The axes of this XYViewProperties. # noqa: E501 + :return: The axes of this XYViewProperties. :rtype: Axes - """ + """ # noqa: E501 return self._axes @axes.setter def axes(self, axes): - """Sets the axes of this XYViewProperties. - + """Set the axes of this XYViewProperties. - :param axes: The axes of this XYViewProperties. # noqa: E501 + :param axes: The axes of this XYViewProperties. :type: Axes - """ + """ # noqa: E501 if axes is None: raise ValueError("Invalid value for `axes`, must not be `None`") # noqa: E501 - self._axes = axes @property def legend(self): - """Gets the legend of this XYViewProperties. # noqa: E501 - + """Get the legend of this XYViewProperties. - :return: The legend of this XYViewProperties. # noqa: E501 + :return: The legend of this XYViewProperties. :rtype: Legend - """ + """ # noqa: E501 return self._legend @legend.setter def legend(self, legend): - """Sets the legend of this XYViewProperties. - + """Set the legend of this XYViewProperties. - :param legend: The legend of this XYViewProperties. # noqa: E501 + :param legend: The legend of this XYViewProperties. :type: Legend - """ + """ # noqa: E501 if legend is None: raise ValueError("Invalid value for `legend`, must not be `None`") # noqa: E501 - self._legend = legend @property def x_column(self): - """Gets the x_column of this XYViewProperties. # noqa: E501 - + """Get the x_column of this XYViewProperties. - :return: The x_column of this XYViewProperties. # noqa: E501 + :return: The x_column of this XYViewProperties. :rtype: str - """ + """ # noqa: E501 return self._x_column @x_column.setter def x_column(self, x_column): - """Sets the x_column of this XYViewProperties. + """Set the x_column of this XYViewProperties. - - :param x_column: The x_column of this XYViewProperties. # noqa: E501 + :param x_column: The x_column of this XYViewProperties. :type: str - """ - + """ # noqa: E501 self._x_column = x_column @property def y_column(self): - """Gets the y_column of this XYViewProperties. # noqa: E501 - + """Get the y_column of this XYViewProperties. - :return: The y_column of this XYViewProperties. # noqa: E501 + :return: The y_column of this XYViewProperties. :rtype: str - """ + """ # noqa: E501 return self._y_column @y_column.setter def y_column(self, y_column): - """Sets the y_column of this XYViewProperties. + """Set the y_column of this XYViewProperties. - - :param y_column: The y_column of this XYViewProperties. # noqa: E501 + :param y_column: The y_column of this XYViewProperties. :type: str - """ - + """ # noqa: E501 self._y_column = y_column @property def shade_below(self): - """Gets the shade_below of this XYViewProperties. # noqa: E501 + """Get the shade_below of this XYViewProperties. - - :return: The shade_below of this XYViewProperties. # noqa: E501 + :return: The shade_below of this XYViewProperties. :rtype: bool - """ + """ # noqa: E501 return self._shade_below @shade_below.setter def shade_below(self, shade_below): - """Sets the shade_below of this XYViewProperties. - + """Set the shade_below of this XYViewProperties. - :param shade_below: The shade_below of this XYViewProperties. # noqa: E501 + :param shade_below: The shade_below of this XYViewProperties. :type: bool - """ - + """ # noqa: E501 self._shade_below = shade_below @property def position(self): - """Gets the position of this XYViewProperties. # noqa: E501 + """Get the position of this XYViewProperties. - - :return: The position of this XYViewProperties. # noqa: E501 + :return: The position of this XYViewProperties. :rtype: str - """ + """ # noqa: E501 return self._position @position.setter def position(self, position): - """Sets the position of this XYViewProperties. - + """Set the position of this XYViewProperties. - :param position: The position of this XYViewProperties. # noqa: E501 + :param position: The position of this XYViewProperties. :type: str - """ + """ # noqa: E501 if position is None: raise ValueError("Invalid value for `position`, must not be `None`") # noqa: E501 - self._position = position @property def geom(self): - """Gets the geom of this XYViewProperties. # noqa: E501 - + """Get the geom of this XYViewProperties. - :return: The geom of this XYViewProperties. # noqa: E501 + :return: The geom of this XYViewProperties. :rtype: XYGeom - """ + """ # noqa: E501 return self._geom @geom.setter def geom(self, geom): - """Sets the geom of this XYViewProperties. + """Set the geom of this XYViewProperties. - - :param geom: The geom of this XYViewProperties. # noqa: E501 + :param geom: The geom of this XYViewProperties. :type: XYGeom - """ + """ # noqa: E501 if geom is None: raise ValueError("Invalid value for `geom`, must not be `None`") # noqa: E501 - self._geom = geom def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -447,20 +410,20 @@ def to_dict(self): return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, XYViewProperties): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other diff --git a/influxdb_client/extras.py b/influxdb_client/extras.py index a6e89985..63ceb3b3 100644 --- a/influxdb_client/extras.py +++ b/influxdb_client/extras.py @@ -1,3 +1,5 @@ +"""Extras to selectively import Pandas or NumPy.""" + try: import pandas as pd except ModuleNotFoundError as err: diff --git a/influxdb_client/rest.py b/influxdb_client/rest.py index 7dc3eacd..fdb62730 100644 --- a/influxdb_client/rest.py +++ b/influxdb_client/rest.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -33,25 +33,37 @@ class RESTResponse(io.IOBase): + """NOTE: This class is auto generated by OpenAPI Generator. + + Ref: https://openapi-generator.tech + Do not edit the class manually. + """ def __init__(self, resp): + """Initialize with HTTP response.""" self.urllib3_response = resp self.status = resp.status self.reason = resp.reason self.data = resp.data def getheaders(self): - """Returns a dictionary of the response headers.""" + """Return a dictionary of the response headers.""" return self.urllib3_response.getheaders() def getheader(self, name, default=None): - """Returns a given response header.""" + """Return a given response header.""" return self.urllib3_response.getheader(name, default) class RESTClientObject(object): + """NOTE: This class is auto generated by OpenAPI Generator. + + Ref: https://openapi-generator.tech + Do not edit the class manually. + """ def __init__(self, configuration, pools_size=4, maxsize=None): + """Initialize REST client.""" # urllib3.PoolManager will pass all kw parameters to connectionpool # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501 # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680 # noqa: E501 @@ -234,6 +246,7 @@ def request(self, method, url, query_params=None, headers=None, def GET(self, url, headers=None, query_params=None, _preload_content=True, _request_timeout=None): + """Perform GET HTTP request.""" return self.request("GET", url, headers=headers, _preload_content=_preload_content, @@ -242,6 +255,7 @@ def GET(self, url, headers=None, query_params=None, _preload_content=True, def HEAD(self, url, headers=None, query_params=None, _preload_content=True, _request_timeout=None): + """Perform HEAD HTTP request.""" return self.request("HEAD", url, headers=headers, _preload_content=_preload_content, @@ -250,6 +264,7 @@ def HEAD(self, url, headers=None, query_params=None, _preload_content=True, def OPTIONS(self, url, headers=None, query_params=None, post_params=None, body=None, _preload_content=True, _request_timeout=None): + """Perform OPTIONS HTTP request.""" return self.request("OPTIONS", url, headers=headers, query_params=query_params, @@ -260,6 +275,7 @@ def OPTIONS(self, url, headers=None, query_params=None, post_params=None, def DELETE(self, url, headers=None, query_params=None, body=None, _preload_content=True, _request_timeout=None): + """Perform DELETE HTTP request.""" return self.request("DELETE", url, headers=headers, query_params=query_params, @@ -269,6 +285,7 @@ def DELETE(self, url, headers=None, query_params=None, body=None, def POST(self, url, headers=None, query_params=None, post_params=None, body=None, _preload_content=True, _request_timeout=None): + """Perform POST HTTP request.""" return self.request("POST", url, headers=headers, query_params=query_params, @@ -279,6 +296,7 @@ def POST(self, url, headers=None, query_params=None, post_params=None, def PUT(self, url, headers=None, query_params=None, post_params=None, body=None, _preload_content=True, _request_timeout=None): + """Perform PUT HTTP request.""" return self.request("PUT", url, headers=headers, query_params=query_params, @@ -289,6 +307,7 @@ def PUT(self, url, headers=None, query_params=None, post_params=None, def PATCH(self, url, headers=None, query_params=None, post_params=None, body=None, _preload_content=True, _request_timeout=None): + """Perform PATCH HTTP request.""" return self.request("PATCH", url, headers=headers, query_params=query_params, @@ -298,20 +317,28 @@ def PATCH(self, url, headers=None, query_params=None, post_params=None, body=body) def __getstate__(self): + """Return a dict of attributes that you want to pickle.""" state = self.__dict__.copy() # Remove Pool managaer del state['pool_manager'] return state def __setstate__(self, state): + """Set your object with the provided dict.""" self.__dict__.update(state) # Init Pool manager self.__init__(self.configuration, self.pools_size, self.maxsize) class ApiException(Exception): + """NOTE: This class is auto generated by OpenAPI Generator. + + Ref: https://openapi-generator.tech + Do not edit the class manually. + """ def __init__(self, status=None, reason=None, http_resp=None): + """Initialize with HTTP response.""" if http_resp: self.status = http_resp.status self.reason = http_resp.reason @@ -324,7 +351,7 @@ def __init__(self, status=None, reason=None, http_resp=None): self.headers = None def __str__(self): - """Custom error messages for exception""" + """Get custom error messages for exception.""" error_message = "({0})\n"\ "Reason: {1}\n".format(self.status, self.reason) if self.headers: diff --git a/influxdb_client/service/__init__.py b/influxdb_client/service/__init__.py index 9777d6e3..9cce6043 100644 --- a/influxdb_client/service/__init__.py +++ b/influxdb_client/service/__init__.py @@ -1,7 +1,17 @@ -from __future__ import absolute_import - # flake8: noqa +""" +Influx API Service. + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + # import apis into api package from influxdb_client.service.authorizations_service import AuthorizationsService from influxdb_client.service.buckets_service import BucketsService diff --git a/influxdb_client/service/authorizations_service.py b/influxdb_client/service/authorizations_service.py index 0b32ac7b..9f20e825 100644 --- a/influxdb_client/service/authorizations_service.py +++ b/influxdb_client/service/authorizations_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class AuthorizationsService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """AuthorizationsService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def delete_authorizations_id(self, auth_id, **kwargs): # noqa: E501 - """Delete a authorization # noqa: E501 + def delete_authorizations_id(self, auth_id, **kwargs): # noqa: E501,D401,D403 + """Delete a authorization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -46,7 +48,7 @@ def delete_authorizations_id(self, auth_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_authorizations_id_with_http_info(auth_id, **kwargs) # noqa: E501 @@ -54,8 +56,8 @@ def delete_authorizations_id(self, auth_id, **kwargs): # noqa: E501 (data) = self.delete_authorizations_id_with_http_info(auth_id, **kwargs) # noqa: E501 return data - def delete_authorizations_id_with_http_info(self, auth_id, **kwargs): # noqa: E501 - """Delete a authorization # noqa: E501 + def delete_authorizations_id_with_http_info(self, auth_id, **kwargs): # noqa: E501,D401,D403 + """Delete a authorization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -68,8 +70,7 @@ def delete_authorizations_id_with_http_info(self, auth_id, **kwargs): # noqa: E :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['auth_id', 'zap_trace_span'] # noqa: E501 @@ -130,8 +131,8 @@ def delete_authorizations_id_with_http_info(self, auth_id, **kwargs): # noqa: E _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_authorizations(self, **kwargs): # noqa: E501 - """List all authorizations # noqa: E501 + def get_authorizations(self, **kwargs): # noqa: E501,D401,D403 + """List all authorizations. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -147,7 +148,7 @@ def get_authorizations(self, **kwargs): # noqa: E501 :return: Authorizations If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_authorizations_with_http_info(**kwargs) # noqa: E501 @@ -155,8 +156,8 @@ def get_authorizations(self, **kwargs): # noqa: E501 (data) = self.get_authorizations_with_http_info(**kwargs) # noqa: E501 return data - def get_authorizations_with_http_info(self, **kwargs): # noqa: E501 - """List all authorizations # noqa: E501 + def get_authorizations_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """List all authorizations. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -172,8 +173,7 @@ def get_authorizations_with_http_info(self, **kwargs): # noqa: E501 :return: Authorizations If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span', 'user_id', 'user', 'org_id', 'org'] # noqa: E501 @@ -236,8 +236,8 @@ def get_authorizations_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_authorizations_id(self, auth_id, **kwargs): # noqa: E501 - """Retrieve an authorization # noqa: E501 + def get_authorizations_id(self, auth_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve an authorization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -250,7 +250,7 @@ def get_authorizations_id(self, auth_id, **kwargs): # noqa: E501 :return: Authorization If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_authorizations_id_with_http_info(auth_id, **kwargs) # noqa: E501 @@ -258,8 +258,8 @@ def get_authorizations_id(self, auth_id, **kwargs): # noqa: E501 (data) = self.get_authorizations_id_with_http_info(auth_id, **kwargs) # noqa: E501 return data - def get_authorizations_id_with_http_info(self, auth_id, **kwargs): # noqa: E501 - """Retrieve an authorization # noqa: E501 + def get_authorizations_id_with_http_info(self, auth_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve an authorization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -272,8 +272,7 @@ def get_authorizations_id_with_http_info(self, auth_id, **kwargs): # noqa: E501 :return: Authorization If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['auth_id', 'zap_trace_span'] # noqa: E501 @@ -334,8 +333,8 @@ def get_authorizations_id_with_http_info(self, auth_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_authorizations_id(self, auth_id, authorization_update_request, **kwargs): # noqa: E501 - """Update an authorization to be active or inactive # noqa: E501 + def patch_authorizations_id(self, auth_id, authorization_update_request, **kwargs): # noqa: E501,D401,D403 + """Update an authorization to be active or inactive. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -349,7 +348,7 @@ def patch_authorizations_id(self, auth_id, authorization_update_request, **kwarg :return: Authorization If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_authorizations_id_with_http_info(auth_id, authorization_update_request, **kwargs) # noqa: E501 @@ -357,8 +356,8 @@ def patch_authorizations_id(self, auth_id, authorization_update_request, **kwarg (data) = self.patch_authorizations_id_with_http_info(auth_id, authorization_update_request, **kwargs) # noqa: E501 return data - def patch_authorizations_id_with_http_info(self, auth_id, authorization_update_request, **kwargs): # noqa: E501 - """Update an authorization to be active or inactive # noqa: E501 + def patch_authorizations_id_with_http_info(self, auth_id, authorization_update_request, **kwargs): # noqa: E501,D401,D403 + """Update an authorization to be active or inactive. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -372,8 +371,7 @@ def patch_authorizations_id_with_http_info(self, auth_id, authorization_update_r :return: Authorization If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['auth_id', 'authorization_update_request', 'zap_trace_span'] # noqa: E501 @@ -444,8 +442,8 @@ def patch_authorizations_id_with_http_info(self, auth_id, authorization_update_r _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_authorizations(self, authorization, **kwargs): # noqa: E501 - """Create an authorization # noqa: E501 + def post_authorizations(self, authorization, **kwargs): # noqa: E501,D401,D403 + """Create an authorization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -458,7 +456,7 @@ def post_authorizations(self, authorization, **kwargs): # noqa: E501 :return: Authorization If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_authorizations_with_http_info(authorization, **kwargs) # noqa: E501 @@ -466,8 +464,8 @@ def post_authorizations(self, authorization, **kwargs): # noqa: E501 (data) = self.post_authorizations_with_http_info(authorization, **kwargs) # noqa: E501 return data - def post_authorizations_with_http_info(self, authorization, **kwargs): # noqa: E501 - """Create an authorization # noqa: E501 + def post_authorizations_with_http_info(self, authorization, **kwargs): # noqa: E501,D401,D403 + """Create an authorization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -480,8 +478,7 @@ def post_authorizations_with_http_info(self, authorization, **kwargs): # noqa: :return: Authorization If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['authorization', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/buckets_service.py b/influxdb_client/service/buckets_service.py index 9dfd408a..7c28a7ba 100644 --- a/influxdb_client/service/buckets_service.py +++ b/influxdb_client/service/buckets_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class BucketsService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """BucketsService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def delete_buckets_id(self, bucket_id, **kwargs): # noqa: E501 - """Delete a bucket # noqa: E501 + def delete_buckets_id(self, bucket_id, **kwargs): # noqa: E501,D401,D403 + """Delete a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -46,7 +48,7 @@ def delete_buckets_id(self, bucket_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_buckets_id_with_http_info(bucket_id, **kwargs) # noqa: E501 @@ -54,8 +56,8 @@ def delete_buckets_id(self, bucket_id, **kwargs): # noqa: E501 (data) = self.delete_buckets_id_with_http_info(bucket_id, **kwargs) # noqa: E501 return data - def delete_buckets_id_with_http_info(self, bucket_id, **kwargs): # noqa: E501 - """Delete a bucket # noqa: E501 + def delete_buckets_id_with_http_info(self, bucket_id, **kwargs): # noqa: E501,D401,D403 + """Delete a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -68,8 +70,7 @@ def delete_buckets_id_with_http_info(self, bucket_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['bucket_id', 'zap_trace_span'] # noqa: E501 @@ -130,8 +131,8 @@ def delete_buckets_id_with_http_info(self, bucket_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_buckets_id_labels_id(self, bucket_id, label_id, **kwargs): # noqa: E501 - """delete a label from a bucket # noqa: E501 + def delete_buckets_id_labels_id(self, bucket_id, label_id, **kwargs): # noqa: E501,D401,D403 + """delete a label from a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -145,7 +146,7 @@ def delete_buckets_id_labels_id(self, bucket_id, label_id, **kwargs): # noqa: E :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_buckets_id_labels_id_with_http_info(bucket_id, label_id, **kwargs) # noqa: E501 @@ -153,8 +154,8 @@ def delete_buckets_id_labels_id(self, bucket_id, label_id, **kwargs): # noqa: E (data) = self.delete_buckets_id_labels_id_with_http_info(bucket_id, label_id, **kwargs) # noqa: E501 return data - def delete_buckets_id_labels_id_with_http_info(self, bucket_id, label_id, **kwargs): # noqa: E501 - """delete a label from a bucket # noqa: E501 + def delete_buckets_id_labels_id_with_http_info(self, bucket_id, label_id, **kwargs): # noqa: E501,D401,D403 + """delete a label from a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -168,8 +169,7 @@ def delete_buckets_id_labels_id_with_http_info(self, bucket_id, label_id, **kwar :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['bucket_id', 'label_id', 'zap_trace_span'] # noqa: E501 @@ -236,8 +236,8 @@ def delete_buckets_id_labels_id_with_http_info(self, bucket_id, label_id, **kwar _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_buckets_id_members_id(self, user_id, bucket_id, **kwargs): # noqa: E501 - """Remove a member from a bucket # noqa: E501 + def delete_buckets_id_members_id(self, user_id, bucket_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -251,7 +251,7 @@ def delete_buckets_id_members_id(self, user_id, bucket_id, **kwargs): # noqa: E :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_buckets_id_members_id_with_http_info(user_id, bucket_id, **kwargs) # noqa: E501 @@ -259,8 +259,8 @@ def delete_buckets_id_members_id(self, user_id, bucket_id, **kwargs): # noqa: E (data) = self.delete_buckets_id_members_id_with_http_info(user_id, bucket_id, **kwargs) # noqa: E501 return data - def delete_buckets_id_members_id_with_http_info(self, user_id, bucket_id, **kwargs): # noqa: E501 - """Remove a member from a bucket # noqa: E501 + def delete_buckets_id_members_id_with_http_info(self, user_id, bucket_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -274,8 +274,7 @@ def delete_buckets_id_members_id_with_http_info(self, user_id, bucket_id, **kwar :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'bucket_id', 'zap_trace_span'] # noqa: E501 @@ -342,8 +341,8 @@ def delete_buckets_id_members_id_with_http_info(self, user_id, bucket_id, **kwar _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_buckets_id_owners_id(self, user_id, bucket_id, **kwargs): # noqa: E501 - """Remove an owner from a bucket # noqa: E501 + def delete_buckets_id_owners_id(self, user_id, bucket_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -357,7 +356,7 @@ def delete_buckets_id_owners_id(self, user_id, bucket_id, **kwargs): # noqa: E5 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_buckets_id_owners_id_with_http_info(user_id, bucket_id, **kwargs) # noqa: E501 @@ -365,8 +364,8 @@ def delete_buckets_id_owners_id(self, user_id, bucket_id, **kwargs): # noqa: E5 (data) = self.delete_buckets_id_owners_id_with_http_info(user_id, bucket_id, **kwargs) # noqa: E501 return data - def delete_buckets_id_owners_id_with_http_info(self, user_id, bucket_id, **kwargs): # noqa: E501 - """Remove an owner from a bucket # noqa: E501 + def delete_buckets_id_owners_id_with_http_info(self, user_id, bucket_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -380,8 +379,7 @@ def delete_buckets_id_owners_id_with_http_info(self, user_id, bucket_id, **kwarg :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'bucket_id', 'zap_trace_span'] # noqa: E501 @@ -448,8 +446,8 @@ def delete_buckets_id_owners_id_with_http_info(self, user_id, bucket_id, **kwarg _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_buckets(self, **kwargs): # noqa: E501 - """List all buckets # noqa: E501 + def get_buckets(self, **kwargs): # noqa: E501,D401,D403 + """List all buckets. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -466,7 +464,7 @@ def get_buckets(self, **kwargs): # noqa: E501 :return: Buckets If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_buckets_with_http_info(**kwargs) # noqa: E501 @@ -474,8 +472,8 @@ def get_buckets(self, **kwargs): # noqa: E501 (data) = self.get_buckets_with_http_info(**kwargs) # noqa: E501 return data - def get_buckets_with_http_info(self, **kwargs): # noqa: E501 - """List all buckets # noqa: E501 + def get_buckets_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """List all buckets. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -492,8 +490,7 @@ def get_buckets_with_http_info(self, **kwargs): # noqa: E501 :return: Buckets If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span', 'offset', 'limit', 'org', 'org_id', 'name'] # noqa: E501 @@ -564,8 +561,8 @@ def get_buckets_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_buckets_id(self, bucket_id, **kwargs): # noqa: E501 - """Retrieve a bucket # noqa: E501 + def get_buckets_id(self, bucket_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -578,7 +575,7 @@ def get_buckets_id(self, bucket_id, **kwargs): # noqa: E501 :return: Bucket If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_buckets_id_with_http_info(bucket_id, **kwargs) # noqa: E501 @@ -586,8 +583,8 @@ def get_buckets_id(self, bucket_id, **kwargs): # noqa: E501 (data) = self.get_buckets_id_with_http_info(bucket_id, **kwargs) # noqa: E501 return data - def get_buckets_id_with_http_info(self, bucket_id, **kwargs): # noqa: E501 - """Retrieve a bucket # noqa: E501 + def get_buckets_id_with_http_info(self, bucket_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -600,8 +597,7 @@ def get_buckets_id_with_http_info(self, bucket_id, **kwargs): # noqa: E501 :return: Bucket If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['bucket_id', 'zap_trace_span'] # noqa: E501 @@ -662,8 +658,8 @@ def get_buckets_id_with_http_info(self, bucket_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_buckets_id_labels(self, bucket_id, **kwargs): # noqa: E501 - """List all labels for a bucket # noqa: E501 + def get_buckets_id_labels(self, bucket_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -676,7 +672,7 @@ def get_buckets_id_labels(self, bucket_id, **kwargs): # noqa: E501 :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_buckets_id_labels_with_http_info(bucket_id, **kwargs) # noqa: E501 @@ -684,8 +680,8 @@ def get_buckets_id_labels(self, bucket_id, **kwargs): # noqa: E501 (data) = self.get_buckets_id_labels_with_http_info(bucket_id, **kwargs) # noqa: E501 return data - def get_buckets_id_labels_with_http_info(self, bucket_id, **kwargs): # noqa: E501 - """List all labels for a bucket # noqa: E501 + def get_buckets_id_labels_with_http_info(self, bucket_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -698,8 +694,7 @@ def get_buckets_id_labels_with_http_info(self, bucket_id, **kwargs): # noqa: E5 :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['bucket_id', 'zap_trace_span'] # noqa: E501 @@ -760,8 +755,8 @@ def get_buckets_id_labels_with_http_info(self, bucket_id, **kwargs): # noqa: E5 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_buckets_id_members(self, bucket_id, **kwargs): # noqa: E501 - """List all users with member privileges for a bucket # noqa: E501 + def get_buckets_id_members(self, bucket_id, **kwargs): # noqa: E501,D401,D403 + """List all users with member privileges for a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -774,7 +769,7 @@ def get_buckets_id_members(self, bucket_id, **kwargs): # noqa: E501 :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_buckets_id_members_with_http_info(bucket_id, **kwargs) # noqa: E501 @@ -782,8 +777,8 @@ def get_buckets_id_members(self, bucket_id, **kwargs): # noqa: E501 (data) = self.get_buckets_id_members_with_http_info(bucket_id, **kwargs) # noqa: E501 return data - def get_buckets_id_members_with_http_info(self, bucket_id, **kwargs): # noqa: E501 - """List all users with member privileges for a bucket # noqa: E501 + def get_buckets_id_members_with_http_info(self, bucket_id, **kwargs): # noqa: E501,D401,D403 + """List all users with member privileges for a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -796,8 +791,7 @@ def get_buckets_id_members_with_http_info(self, bucket_id, **kwargs): # noqa: E :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['bucket_id', 'zap_trace_span'] # noqa: E501 @@ -858,8 +852,8 @@ def get_buckets_id_members_with_http_info(self, bucket_id, **kwargs): # noqa: E _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_buckets_id_owners(self, bucket_id, **kwargs): # noqa: E501 - """List all owners of a bucket # noqa: E501 + def get_buckets_id_owners(self, bucket_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -872,7 +866,7 @@ def get_buckets_id_owners(self, bucket_id, **kwargs): # noqa: E501 :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_buckets_id_owners_with_http_info(bucket_id, **kwargs) # noqa: E501 @@ -880,8 +874,8 @@ def get_buckets_id_owners(self, bucket_id, **kwargs): # noqa: E501 (data) = self.get_buckets_id_owners_with_http_info(bucket_id, **kwargs) # noqa: E501 return data - def get_buckets_id_owners_with_http_info(self, bucket_id, **kwargs): # noqa: E501 - """List all owners of a bucket # noqa: E501 + def get_buckets_id_owners_with_http_info(self, bucket_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -894,8 +888,7 @@ def get_buckets_id_owners_with_http_info(self, bucket_id, **kwargs): # noqa: E5 :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['bucket_id', 'zap_trace_span'] # noqa: E501 @@ -956,8 +949,8 @@ def get_buckets_id_owners_with_http_info(self, bucket_id, **kwargs): # noqa: E5 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_sources_id_buckets(self, source_id, **kwargs): # noqa: E501 - """Get buckets in a source # noqa: E501 + def get_sources_id_buckets(self, source_id, **kwargs): # noqa: E501,D401,D403 + """Get buckets in a source. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -971,7 +964,7 @@ def get_sources_id_buckets(self, source_id, **kwargs): # noqa: E501 :return: Buckets If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_sources_id_buckets_with_http_info(source_id, **kwargs) # noqa: E501 @@ -979,8 +972,8 @@ def get_sources_id_buckets(self, source_id, **kwargs): # noqa: E501 (data) = self.get_sources_id_buckets_with_http_info(source_id, **kwargs) # noqa: E501 return data - def get_sources_id_buckets_with_http_info(self, source_id, **kwargs): # noqa: E501 - """Get buckets in a source # noqa: E501 + def get_sources_id_buckets_with_http_info(self, source_id, **kwargs): # noqa: E501,D401,D403 + """Get buckets in a source. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -994,8 +987,7 @@ def get_sources_id_buckets_with_http_info(self, source_id, **kwargs): # noqa: E :return: Buckets If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['source_id', 'zap_trace_span', 'org'] # noqa: E501 @@ -1058,8 +1050,8 @@ def get_sources_id_buckets_with_http_info(self, source_id, **kwargs): # noqa: E _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_buckets_id(self, bucket_id, bucket, **kwargs): # noqa: E501 - """Update a bucket # noqa: E501 + def patch_buckets_id(self, bucket_id, bucket, **kwargs): # noqa: E501,D401,D403 + """Update a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1073,7 +1065,7 @@ def patch_buckets_id(self, bucket_id, bucket, **kwargs): # noqa: E501 :return: Bucket If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_buckets_id_with_http_info(bucket_id, bucket, **kwargs) # noqa: E501 @@ -1081,8 +1073,8 @@ def patch_buckets_id(self, bucket_id, bucket, **kwargs): # noqa: E501 (data) = self.patch_buckets_id_with_http_info(bucket_id, bucket, **kwargs) # noqa: E501 return data - def patch_buckets_id_with_http_info(self, bucket_id, bucket, **kwargs): # noqa: E501 - """Update a bucket # noqa: E501 + def patch_buckets_id_with_http_info(self, bucket_id, bucket, **kwargs): # noqa: E501,D401,D403 + """Update a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1096,8 +1088,7 @@ def patch_buckets_id_with_http_info(self, bucket_id, bucket, **kwargs): # noqa: :return: Bucket If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['bucket_id', 'bucket', 'zap_trace_span'] # noqa: E501 @@ -1168,8 +1159,8 @@ def patch_buckets_id_with_http_info(self, bucket_id, bucket, **kwargs): # noqa: _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_buckets(self, post_bucket_request, **kwargs): # noqa: E501 - """Create a bucket # noqa: E501 + def post_buckets(self, post_bucket_request, **kwargs): # noqa: E501,D401,D403 + """Create a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1182,7 +1173,7 @@ def post_buckets(self, post_bucket_request, **kwargs): # noqa: E501 :return: Bucket If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_buckets_with_http_info(post_bucket_request, **kwargs) # noqa: E501 @@ -1190,8 +1181,8 @@ def post_buckets(self, post_bucket_request, **kwargs): # noqa: E501 (data) = self.post_buckets_with_http_info(post_bucket_request, **kwargs) # noqa: E501 return data - def post_buckets_with_http_info(self, post_bucket_request, **kwargs): # noqa: E501 - """Create a bucket # noqa: E501 + def post_buckets_with_http_info(self, post_bucket_request, **kwargs): # noqa: E501,D401,D403 + """Create a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1204,8 +1195,7 @@ def post_buckets_with_http_info(self, post_bucket_request, **kwargs): # noqa: E :return: Bucket If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['post_bucket_request', 'zap_trace_span'] # noqa: E501 @@ -1270,8 +1260,8 @@ def post_buckets_with_http_info(self, post_bucket_request, **kwargs): # noqa: E _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_buckets_id_labels(self, bucket_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a bucket # noqa: E501 + def post_buckets_id_labels(self, bucket_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1285,7 +1275,7 @@ def post_buckets_id_labels(self, bucket_id, label_mapping, **kwargs): # noqa: E :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_buckets_id_labels_with_http_info(bucket_id, label_mapping, **kwargs) # noqa: E501 @@ -1293,8 +1283,8 @@ def post_buckets_id_labels(self, bucket_id, label_mapping, **kwargs): # noqa: E (data) = self.post_buckets_id_labels_with_http_info(bucket_id, label_mapping, **kwargs) # noqa: E501 return data - def post_buckets_id_labels_with_http_info(self, bucket_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a bucket # noqa: E501 + def post_buckets_id_labels_with_http_info(self, bucket_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1308,8 +1298,7 @@ def post_buckets_id_labels_with_http_info(self, bucket_id, label_mapping, **kwar :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['bucket_id', 'label_mapping', 'zap_trace_span'] # noqa: E501 @@ -1380,8 +1369,8 @@ def post_buckets_id_labels_with_http_info(self, bucket_id, label_mapping, **kwar _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_buckets_id_members(self, bucket_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a bucket # noqa: E501 + def post_buckets_id_members(self, bucket_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1395,7 +1384,7 @@ def post_buckets_id_members(self, bucket_id, add_resource_member_request_body, * :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_buckets_id_members_with_http_info(bucket_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -1403,8 +1392,8 @@ def post_buckets_id_members(self, bucket_id, add_resource_member_request_body, * (data) = self.post_buckets_id_members_with_http_info(bucket_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_buckets_id_members_with_http_info(self, bucket_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a bucket # noqa: E501 + def post_buckets_id_members_with_http_info(self, bucket_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1418,8 +1407,7 @@ def post_buckets_id_members_with_http_info(self, bucket_id, add_resource_member_ :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['bucket_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -1490,8 +1478,8 @@ def post_buckets_id_members_with_http_info(self, bucket_id, add_resource_member_ _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_buckets_id_owners(self, bucket_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a bucket # noqa: E501 + def post_buckets_id_owners(self, bucket_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1505,7 +1493,7 @@ def post_buckets_id_owners(self, bucket_id, add_resource_member_request_body, ** :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_buckets_id_owners_with_http_info(bucket_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -1513,8 +1501,8 @@ def post_buckets_id_owners(self, bucket_id, add_resource_member_request_body, ** (data) = self.post_buckets_id_owners_with_http_info(bucket_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_buckets_id_owners_with_http_info(self, bucket_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a bucket # noqa: E501 + def post_buckets_id_owners_with_http_info(self, bucket_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1528,8 +1516,7 @@ def post_buckets_id_owners_with_http_info(self, bucket_id, add_resource_member_r :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['bucket_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/cells_service.py b/influxdb_client/service/cells_service.py index a13643fb..f9cd9bdb 100644 --- a/influxdb_client/service/cells_service.py +++ b/influxdb_client/service/cells_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class CellsService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """CellsService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def delete_dashboards_id_cells_id(self, dashboard_id, cell_id, **kwargs): # noqa: E501 - """Delete a dashboard cell # noqa: E501 + def delete_dashboards_id_cells_id(self, dashboard_id, cell_id, **kwargs): # noqa: E501,D401,D403 + """Delete a dashboard cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -47,7 +49,7 @@ def delete_dashboards_id_cells_id(self, dashboard_id, cell_id, **kwargs): # noq :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_dashboards_id_cells_id_with_http_info(dashboard_id, cell_id, **kwargs) # noqa: E501 @@ -55,8 +57,8 @@ def delete_dashboards_id_cells_id(self, dashboard_id, cell_id, **kwargs): # noq (data) = self.delete_dashboards_id_cells_id_with_http_info(dashboard_id, cell_id, **kwargs) # noqa: E501 return data - def delete_dashboards_id_cells_id_with_http_info(self, dashboard_id, cell_id, **kwargs): # noqa: E501 - """Delete a dashboard cell # noqa: E501 + def delete_dashboards_id_cells_id_with_http_info(self, dashboard_id, cell_id, **kwargs): # noqa: E501,D401,D403 + """Delete a dashboard cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -70,8 +72,7 @@ def delete_dashboards_id_cells_id_with_http_info(self, dashboard_id, cell_id, ** :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'cell_id', 'zap_trace_span'] # noqa: E501 @@ -138,8 +139,8 @@ def delete_dashboards_id_cells_id_with_http_info(self, dashboard_id, cell_id, ** _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_dashboards_id_cells_id_view(self, dashboard_id, cell_id, **kwargs): # noqa: E501 - """Retrieve the view for a cell # noqa: E501 + def get_dashboards_id_cells_id_view(self, dashboard_id, cell_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve the view for a cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -153,7 +154,7 @@ def get_dashboards_id_cells_id_view(self, dashboard_id, cell_id, **kwargs): # n :return: View If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_dashboards_id_cells_id_view_with_http_info(dashboard_id, cell_id, **kwargs) # noqa: E501 @@ -161,8 +162,8 @@ def get_dashboards_id_cells_id_view(self, dashboard_id, cell_id, **kwargs): # n (data) = self.get_dashboards_id_cells_id_view_with_http_info(dashboard_id, cell_id, **kwargs) # noqa: E501 return data - def get_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id, **kwargs): # noqa: E501 - """Retrieve the view for a cell # noqa: E501 + def get_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve the view for a cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -176,8 +177,7 @@ def get_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id, :return: View If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'cell_id', 'zap_trace_span'] # noqa: E501 @@ -244,10 +244,10 @@ def get_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id, _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_dashboards_id_cells_id(self, dashboard_id, cell_id, cell_update, **kwargs): # noqa: E501 - """Update the non-positional information related to a cell # noqa: E501 + def patch_dashboards_id_cells_id(self, dashboard_id, cell_id, cell_update, **kwargs): # noqa: E501,D401,D403 + """Update the non-positional information related to a cell. - Updates the non positional information related to a cell. Updates to a single cell's positional data could cause grid conflicts. # noqa: E501 + Updates the non positional information related to a cell. Updates to a single cell's positional data could cause grid conflicts. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.patch_dashboards_id_cells_id(dashboard_id, cell_id, cell_update, async_req=True) @@ -261,7 +261,7 @@ def patch_dashboards_id_cells_id(self, dashboard_id, cell_id, cell_update, **kwa :return: Cell If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_dashboards_id_cells_id_with_http_info(dashboard_id, cell_id, cell_update, **kwargs) # noqa: E501 @@ -269,10 +269,10 @@ def patch_dashboards_id_cells_id(self, dashboard_id, cell_id, cell_update, **kwa (data) = self.patch_dashboards_id_cells_id_with_http_info(dashboard_id, cell_id, cell_update, **kwargs) # noqa: E501 return data - def patch_dashboards_id_cells_id_with_http_info(self, dashboard_id, cell_id, cell_update, **kwargs): # noqa: E501 - """Update the non-positional information related to a cell # noqa: E501 + def patch_dashboards_id_cells_id_with_http_info(self, dashboard_id, cell_id, cell_update, **kwargs): # noqa: E501,D401,D403 + """Update the non-positional information related to a cell. - Updates the non positional information related to a cell. Updates to a single cell's positional data could cause grid conflicts. # noqa: E501 + Updates the non positional information related to a cell. Updates to a single cell's positional data could cause grid conflicts. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.patch_dashboards_id_cells_id_with_http_info(dashboard_id, cell_id, cell_update, async_req=True) @@ -286,8 +286,7 @@ def patch_dashboards_id_cells_id_with_http_info(self, dashboard_id, cell_id, cel :return: Cell If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'cell_id', 'cell_update', 'zap_trace_span'] # noqa: E501 @@ -364,8 +363,8 @@ def patch_dashboards_id_cells_id_with_http_info(self, dashboard_id, cell_id, cel _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_dashboards_id_cells_id_view(self, dashboard_id, cell_id, view, **kwargs): # noqa: E501 - """Update the view for a cell # noqa: E501 + def patch_dashboards_id_cells_id_view(self, dashboard_id, cell_id, view, **kwargs): # noqa: E501,D401,D403 + """Update the view for a cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -380,7 +379,7 @@ def patch_dashboards_id_cells_id_view(self, dashboard_id, cell_id, view, **kwarg :return: View If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_dashboards_id_cells_id_view_with_http_info(dashboard_id, cell_id, view, **kwargs) # noqa: E501 @@ -388,8 +387,8 @@ def patch_dashboards_id_cells_id_view(self, dashboard_id, cell_id, view, **kwarg (data) = self.patch_dashboards_id_cells_id_view_with_http_info(dashboard_id, cell_id, view, **kwargs) # noqa: E501 return data - def patch_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id, view, **kwargs): # noqa: E501 - """Update the view for a cell # noqa: E501 + def patch_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id, view, **kwargs): # noqa: E501,D401,D403 + """Update the view for a cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -404,8 +403,7 @@ def patch_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id :return: View If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'cell_id', 'view', 'zap_trace_span'] # noqa: E501 @@ -482,8 +480,8 @@ def patch_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_dashboards_id_cells(self, dashboard_id, create_cell, **kwargs): # noqa: E501 - """Create a dashboard cell # noqa: E501 + def post_dashboards_id_cells(self, dashboard_id, create_cell, **kwargs): # noqa: E501,D401,D403 + """Create a dashboard cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -497,7 +495,7 @@ def post_dashboards_id_cells(self, dashboard_id, create_cell, **kwargs): # noqa :return: Cell If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_dashboards_id_cells_with_http_info(dashboard_id, create_cell, **kwargs) # noqa: E501 @@ -505,8 +503,8 @@ def post_dashboards_id_cells(self, dashboard_id, create_cell, **kwargs): # noqa (data) = self.post_dashboards_id_cells_with_http_info(dashboard_id, create_cell, **kwargs) # noqa: E501 return data - def post_dashboards_id_cells_with_http_info(self, dashboard_id, create_cell, **kwargs): # noqa: E501 - """Create a dashboard cell # noqa: E501 + def post_dashboards_id_cells_with_http_info(self, dashboard_id, create_cell, **kwargs): # noqa: E501,D401,D403 + """Create a dashboard cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -520,8 +518,7 @@ def post_dashboards_id_cells_with_http_info(self, dashboard_id, create_cell, **k :return: Cell If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'create_cell', 'zap_trace_span'] # noqa: E501 @@ -592,10 +589,10 @@ def post_dashboards_id_cells_with_http_info(self, dashboard_id, create_cell, **k _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def put_dashboards_id_cells(self, dashboard_id, cell, **kwargs): # noqa: E501 - """Replace cells in a dashboard # noqa: E501 + def put_dashboards_id_cells(self, dashboard_id, cell, **kwargs): # noqa: E501,D401,D403 + """Replace cells in a dashboard. - Replaces all cells in a dashboard. This is used primarily to update the positional information of all cells. # noqa: E501 + Replaces all cells in a dashboard. This is used primarily to update the positional information of all cells. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.put_dashboards_id_cells(dashboard_id, cell, async_req=True) @@ -608,7 +605,7 @@ def put_dashboards_id_cells(self, dashboard_id, cell, **kwargs): # noqa: E501 :return: Dashboard If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.put_dashboards_id_cells_with_http_info(dashboard_id, cell, **kwargs) # noqa: E501 @@ -616,10 +613,10 @@ def put_dashboards_id_cells(self, dashboard_id, cell, **kwargs): # noqa: E501 (data) = self.put_dashboards_id_cells_with_http_info(dashboard_id, cell, **kwargs) # noqa: E501 return data - def put_dashboards_id_cells_with_http_info(self, dashboard_id, cell, **kwargs): # noqa: E501 - """Replace cells in a dashboard # noqa: E501 + def put_dashboards_id_cells_with_http_info(self, dashboard_id, cell, **kwargs): # noqa: E501,D401,D403 + """Replace cells in a dashboard. - Replaces all cells in a dashboard. This is used primarily to update the positional information of all cells. # noqa: E501 + Replaces all cells in a dashboard. This is used primarily to update the positional information of all cells. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.put_dashboards_id_cells_with_http_info(dashboard_id, cell, async_req=True) @@ -632,8 +629,7 @@ def put_dashboards_id_cells_with_http_info(self, dashboard_id, cell, **kwargs): :return: Dashboard If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'cell', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/checks_service.py b/influxdb_client/service/checks_service.py index 92a1897a..7bcf048d 100644 --- a/influxdb_client/service/checks_service.py +++ b/influxdb_client/service/checks_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class ChecksService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """ChecksService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def create_check(self, post_check, **kwargs): # noqa: E501 - """Add new check # noqa: E501 + def create_check(self, post_check, **kwargs): # noqa: E501,D401,D403 + """Add new check. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -45,7 +47,7 @@ def create_check(self, post_check, **kwargs): # noqa: E501 :return: Check If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.create_check_with_http_info(post_check, **kwargs) # noqa: E501 @@ -53,8 +55,8 @@ def create_check(self, post_check, **kwargs): # noqa: E501 (data) = self.create_check_with_http_info(post_check, **kwargs) # noqa: E501 return data - def create_check_with_http_info(self, post_check, **kwargs): # noqa: E501 - """Add new check # noqa: E501 + def create_check_with_http_info(self, post_check, **kwargs): # noqa: E501,D401,D403 + """Add new check. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -66,8 +68,7 @@ def create_check_with_http_info(self, post_check, **kwargs): # noqa: E501 :return: Check If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['post_check'] # noqa: E501 @@ -130,8 +131,8 @@ def create_check_with_http_info(self, post_check, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_checks_id(self, check_id, **kwargs): # noqa: E501 - """Delete a check # noqa: E501 + def delete_checks_id(self, check_id, **kwargs): # noqa: E501,D401,D403 + """Delete a check. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -144,7 +145,7 @@ def delete_checks_id(self, check_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_checks_id_with_http_info(check_id, **kwargs) # noqa: E501 @@ -152,8 +153,8 @@ def delete_checks_id(self, check_id, **kwargs): # noqa: E501 (data) = self.delete_checks_id_with_http_info(check_id, **kwargs) # noqa: E501 return data - def delete_checks_id_with_http_info(self, check_id, **kwargs): # noqa: E501 - """Delete a check # noqa: E501 + def delete_checks_id_with_http_info(self, check_id, **kwargs): # noqa: E501,D401,D403 + """Delete a check. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -166,8 +167,7 @@ def delete_checks_id_with_http_info(self, check_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['check_id', 'zap_trace_span'] # noqa: E501 @@ -228,8 +228,8 @@ def delete_checks_id_with_http_info(self, check_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_checks_id_labels_id(self, check_id, label_id, **kwargs): # noqa: E501 - """Delete label from a check # noqa: E501 + def delete_checks_id_labels_id(self, check_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete label from a check. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -243,7 +243,7 @@ def delete_checks_id_labels_id(self, check_id, label_id, **kwargs): # noqa: E50 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_checks_id_labels_id_with_http_info(check_id, label_id, **kwargs) # noqa: E501 @@ -251,8 +251,8 @@ def delete_checks_id_labels_id(self, check_id, label_id, **kwargs): # noqa: E50 (data) = self.delete_checks_id_labels_id_with_http_info(check_id, label_id, **kwargs) # noqa: E501 return data - def delete_checks_id_labels_id_with_http_info(self, check_id, label_id, **kwargs): # noqa: E501 - """Delete label from a check # noqa: E501 + def delete_checks_id_labels_id_with_http_info(self, check_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete label from a check. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -266,8 +266,7 @@ def delete_checks_id_labels_id_with_http_info(self, check_id, label_id, **kwargs :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['check_id', 'label_id', 'zap_trace_span'] # noqa: E501 @@ -334,8 +333,8 @@ def delete_checks_id_labels_id_with_http_info(self, check_id, label_id, **kwargs _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_checks(self, org_id, **kwargs): # noqa: E501 - """Get all checks # noqa: E501 + def get_checks(self, org_id, **kwargs): # noqa: E501,D401,D403 + """Get all checks. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -350,7 +349,7 @@ def get_checks(self, org_id, **kwargs): # noqa: E501 :return: Checks If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_checks_with_http_info(org_id, **kwargs) # noqa: E501 @@ -358,8 +357,8 @@ def get_checks(self, org_id, **kwargs): # noqa: E501 (data) = self.get_checks_with_http_info(org_id, **kwargs) # noqa: E501 return data - def get_checks_with_http_info(self, org_id, **kwargs): # noqa: E501 - """Get all checks # noqa: E501 + def get_checks_with_http_info(self, org_id, **kwargs): # noqa: E501,D401,D403 + """Get all checks. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -374,8 +373,7 @@ def get_checks_with_http_info(self, org_id, **kwargs): # noqa: E501 :return: Checks If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'zap_trace_span', 'offset', 'limit'] # noqa: E501 @@ -446,8 +444,8 @@ def get_checks_with_http_info(self, org_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_checks_id(self, check_id, **kwargs): # noqa: E501 - """Get a check # noqa: E501 + def get_checks_id(self, check_id, **kwargs): # noqa: E501,D401,D403 + """Get a check. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -460,7 +458,7 @@ def get_checks_id(self, check_id, **kwargs): # noqa: E501 :return: Check If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_checks_id_with_http_info(check_id, **kwargs) # noqa: E501 @@ -468,8 +466,8 @@ def get_checks_id(self, check_id, **kwargs): # noqa: E501 (data) = self.get_checks_id_with_http_info(check_id, **kwargs) # noqa: E501 return data - def get_checks_id_with_http_info(self, check_id, **kwargs): # noqa: E501 - """Get a check # noqa: E501 + def get_checks_id_with_http_info(self, check_id, **kwargs): # noqa: E501,D401,D403 + """Get a check. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -482,8 +480,7 @@ def get_checks_id_with_http_info(self, check_id, **kwargs): # noqa: E501 :return: Check If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['check_id', 'zap_trace_span'] # noqa: E501 @@ -544,8 +541,8 @@ def get_checks_id_with_http_info(self, check_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_checks_id_labels(self, check_id, **kwargs): # noqa: E501 - """List all labels for a check # noqa: E501 + def get_checks_id_labels(self, check_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a check. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -558,7 +555,7 @@ def get_checks_id_labels(self, check_id, **kwargs): # noqa: E501 :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_checks_id_labels_with_http_info(check_id, **kwargs) # noqa: E501 @@ -566,8 +563,8 @@ def get_checks_id_labels(self, check_id, **kwargs): # noqa: E501 (data) = self.get_checks_id_labels_with_http_info(check_id, **kwargs) # noqa: E501 return data - def get_checks_id_labels_with_http_info(self, check_id, **kwargs): # noqa: E501 - """List all labels for a check # noqa: E501 + def get_checks_id_labels_with_http_info(self, check_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a check. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -580,8 +577,7 @@ def get_checks_id_labels_with_http_info(self, check_id, **kwargs): # noqa: E501 :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['check_id', 'zap_trace_span'] # noqa: E501 @@ -642,8 +638,8 @@ def get_checks_id_labels_with_http_info(self, check_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_checks_id_query(self, check_id, **kwargs): # noqa: E501 - """Get a check query # noqa: E501 + def get_checks_id_query(self, check_id, **kwargs): # noqa: E501,D401,D403 + """Get a check query. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -656,7 +652,7 @@ def get_checks_id_query(self, check_id, **kwargs): # noqa: E501 :return: FluxResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_checks_id_query_with_http_info(check_id, **kwargs) # noqa: E501 @@ -664,8 +660,8 @@ def get_checks_id_query(self, check_id, **kwargs): # noqa: E501 (data) = self.get_checks_id_query_with_http_info(check_id, **kwargs) # noqa: E501 return data - def get_checks_id_query_with_http_info(self, check_id, **kwargs): # noqa: E501 - """Get a check query # noqa: E501 + def get_checks_id_query_with_http_info(self, check_id, **kwargs): # noqa: E501,D401,D403 + """Get a check query. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -678,8 +674,7 @@ def get_checks_id_query_with_http_info(self, check_id, **kwargs): # noqa: E501 :return: FluxResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['check_id', 'zap_trace_span'] # noqa: E501 @@ -740,8 +735,8 @@ def get_checks_id_query_with_http_info(self, check_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_checks_id(self, check_id, check_patch, **kwargs): # noqa: E501 - """Update a check # noqa: E501 + def patch_checks_id(self, check_id, check_patch, **kwargs): # noqa: E501,D401,D403 + """Update a check. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -755,7 +750,7 @@ def patch_checks_id(self, check_id, check_patch, **kwargs): # noqa: E501 :return: Check If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_checks_id_with_http_info(check_id, check_patch, **kwargs) # noqa: E501 @@ -763,8 +758,8 @@ def patch_checks_id(self, check_id, check_patch, **kwargs): # noqa: E501 (data) = self.patch_checks_id_with_http_info(check_id, check_patch, **kwargs) # noqa: E501 return data - def patch_checks_id_with_http_info(self, check_id, check_patch, **kwargs): # noqa: E501 - """Update a check # noqa: E501 + def patch_checks_id_with_http_info(self, check_id, check_patch, **kwargs): # noqa: E501,D401,D403 + """Update a check. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -778,8 +773,7 @@ def patch_checks_id_with_http_info(self, check_id, check_patch, **kwargs): # no :return: Check If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['check_id', 'check_patch', 'zap_trace_span'] # noqa: E501 @@ -850,8 +844,8 @@ def patch_checks_id_with_http_info(self, check_id, check_patch, **kwargs): # no _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_checks_id_labels(self, check_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a check # noqa: E501 + def post_checks_id_labels(self, check_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a check. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -865,7 +859,7 @@ def post_checks_id_labels(self, check_id, label_mapping, **kwargs): # noqa: E50 :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_checks_id_labels_with_http_info(check_id, label_mapping, **kwargs) # noqa: E501 @@ -873,8 +867,8 @@ def post_checks_id_labels(self, check_id, label_mapping, **kwargs): # noqa: E50 (data) = self.post_checks_id_labels_with_http_info(check_id, label_mapping, **kwargs) # noqa: E501 return data - def post_checks_id_labels_with_http_info(self, check_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a check # noqa: E501 + def post_checks_id_labels_with_http_info(self, check_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a check. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -888,8 +882,7 @@ def post_checks_id_labels_with_http_info(self, check_id, label_mapping, **kwargs :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['check_id', 'label_mapping', 'zap_trace_span'] # noqa: E501 @@ -960,8 +953,8 @@ def post_checks_id_labels_with_http_info(self, check_id, label_mapping, **kwargs _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def put_checks_id(self, check_id, check, **kwargs): # noqa: E501 - """Update a check # noqa: E501 + def put_checks_id(self, check_id, check, **kwargs): # noqa: E501,D401,D403 + """Update a check. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -975,7 +968,7 @@ def put_checks_id(self, check_id, check, **kwargs): # noqa: E501 :return: Check If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.put_checks_id_with_http_info(check_id, check, **kwargs) # noqa: E501 @@ -983,8 +976,8 @@ def put_checks_id(self, check_id, check, **kwargs): # noqa: E501 (data) = self.put_checks_id_with_http_info(check_id, check, **kwargs) # noqa: E501 return data - def put_checks_id_with_http_info(self, check_id, check, **kwargs): # noqa: E501 - """Update a check # noqa: E501 + def put_checks_id_with_http_info(self, check_id, check, **kwargs): # noqa: E501,D401,D403 + """Update a check. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -998,8 +991,7 @@ def put_checks_id_with_http_info(self, check_id, check, **kwargs): # noqa: E501 :return: Check If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['check_id', 'check', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/dashboards_service.py b/influxdb_client/service/dashboards_service.py index e35fa9a0..7ca033f8 100644 --- a/influxdb_client/service/dashboards_service.py +++ b/influxdb_client/service/dashboards_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class DashboardsService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """DashboardsService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def delete_dashboards_id(self, dashboard_id, **kwargs): # noqa: E501 - """Delete a dashboard # noqa: E501 + def delete_dashboards_id(self, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """Delete a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -46,7 +48,7 @@ def delete_dashboards_id(self, dashboard_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_dashboards_id_with_http_info(dashboard_id, **kwargs) # noqa: E501 @@ -54,8 +56,8 @@ def delete_dashboards_id(self, dashboard_id, **kwargs): # noqa: E501 (data) = self.delete_dashboards_id_with_http_info(dashboard_id, **kwargs) # noqa: E501 return data - def delete_dashboards_id_with_http_info(self, dashboard_id, **kwargs): # noqa: E501 - """Delete a dashboard # noqa: E501 + def delete_dashboards_id_with_http_info(self, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """Delete a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -68,8 +70,7 @@ def delete_dashboards_id_with_http_info(self, dashboard_id, **kwargs): # noqa: :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'zap_trace_span'] # noqa: E501 @@ -130,8 +131,8 @@ def delete_dashboards_id_with_http_info(self, dashboard_id, **kwargs): # noqa: _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_dashboards_id_cells_id(self, dashboard_id, cell_id, **kwargs): # noqa: E501 - """Delete a dashboard cell # noqa: E501 + def delete_dashboards_id_cells_id(self, dashboard_id, cell_id, **kwargs): # noqa: E501,D401,D403 + """Delete a dashboard cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -145,7 +146,7 @@ def delete_dashboards_id_cells_id(self, dashboard_id, cell_id, **kwargs): # noq :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_dashboards_id_cells_id_with_http_info(dashboard_id, cell_id, **kwargs) # noqa: E501 @@ -153,8 +154,8 @@ def delete_dashboards_id_cells_id(self, dashboard_id, cell_id, **kwargs): # noq (data) = self.delete_dashboards_id_cells_id_with_http_info(dashboard_id, cell_id, **kwargs) # noqa: E501 return data - def delete_dashboards_id_cells_id_with_http_info(self, dashboard_id, cell_id, **kwargs): # noqa: E501 - """Delete a dashboard cell # noqa: E501 + def delete_dashboards_id_cells_id_with_http_info(self, dashboard_id, cell_id, **kwargs): # noqa: E501,D401,D403 + """Delete a dashboard cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -168,8 +169,7 @@ def delete_dashboards_id_cells_id_with_http_info(self, dashboard_id, cell_id, ** :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'cell_id', 'zap_trace_span'] # noqa: E501 @@ -236,8 +236,8 @@ def delete_dashboards_id_cells_id_with_http_info(self, dashboard_id, cell_id, ** _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_dashboards_id_labels_id(self, dashboard_id, label_id, **kwargs): # noqa: E501 - """Delete a label from a dashboard # noqa: E501 + def delete_dashboards_id_labels_id(self, dashboard_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete a label from a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -251,7 +251,7 @@ def delete_dashboards_id_labels_id(self, dashboard_id, label_id, **kwargs): # n :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_dashboards_id_labels_id_with_http_info(dashboard_id, label_id, **kwargs) # noqa: E501 @@ -259,8 +259,8 @@ def delete_dashboards_id_labels_id(self, dashboard_id, label_id, **kwargs): # n (data) = self.delete_dashboards_id_labels_id_with_http_info(dashboard_id, label_id, **kwargs) # noqa: E501 return data - def delete_dashboards_id_labels_id_with_http_info(self, dashboard_id, label_id, **kwargs): # noqa: E501 - """Delete a label from a dashboard # noqa: E501 + def delete_dashboards_id_labels_id_with_http_info(self, dashboard_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete a label from a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -274,8 +274,7 @@ def delete_dashboards_id_labels_id_with_http_info(self, dashboard_id, label_id, :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'label_id', 'zap_trace_span'] # noqa: E501 @@ -342,8 +341,8 @@ def delete_dashboards_id_labels_id_with_http_info(self, dashboard_id, label_id, _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_dashboards_id_members_id(self, user_id, dashboard_id, **kwargs): # noqa: E501 - """Remove a member from a dashboard # noqa: E501 + def delete_dashboards_id_members_id(self, user_id, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -357,7 +356,7 @@ def delete_dashboards_id_members_id(self, user_id, dashboard_id, **kwargs): # n :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_dashboards_id_members_id_with_http_info(user_id, dashboard_id, **kwargs) # noqa: E501 @@ -365,8 +364,8 @@ def delete_dashboards_id_members_id(self, user_id, dashboard_id, **kwargs): # n (data) = self.delete_dashboards_id_members_id_with_http_info(user_id, dashboard_id, **kwargs) # noqa: E501 return data - def delete_dashboards_id_members_id_with_http_info(self, user_id, dashboard_id, **kwargs): # noqa: E501 - """Remove a member from a dashboard # noqa: E501 + def delete_dashboards_id_members_id_with_http_info(self, user_id, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -380,8 +379,7 @@ def delete_dashboards_id_members_id_with_http_info(self, user_id, dashboard_id, :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'dashboard_id', 'zap_trace_span'] # noqa: E501 @@ -448,8 +446,8 @@ def delete_dashboards_id_members_id_with_http_info(self, user_id, dashboard_id, _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_dashboards_id_owners_id(self, user_id, dashboard_id, **kwargs): # noqa: E501 - """Remove an owner from a dashboard # noqa: E501 + def delete_dashboards_id_owners_id(self, user_id, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -463,7 +461,7 @@ def delete_dashboards_id_owners_id(self, user_id, dashboard_id, **kwargs): # no :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_dashboards_id_owners_id_with_http_info(user_id, dashboard_id, **kwargs) # noqa: E501 @@ -471,8 +469,8 @@ def delete_dashboards_id_owners_id(self, user_id, dashboard_id, **kwargs): # no (data) = self.delete_dashboards_id_owners_id_with_http_info(user_id, dashboard_id, **kwargs) # noqa: E501 return data - def delete_dashboards_id_owners_id_with_http_info(self, user_id, dashboard_id, **kwargs): # noqa: E501 - """Remove an owner from a dashboard # noqa: E501 + def delete_dashboards_id_owners_id_with_http_info(self, user_id, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -486,8 +484,7 @@ def delete_dashboards_id_owners_id_with_http_info(self, user_id, dashboard_id, * :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'dashboard_id', 'zap_trace_span'] # noqa: E501 @@ -554,8 +551,8 @@ def delete_dashboards_id_owners_id_with_http_info(self, user_id, dashboard_id, * _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_dashboards(self, **kwargs): # noqa: E501 - """Get all dashboards # noqa: E501 + def get_dashboards(self, **kwargs): # noqa: E501,D401,D403 + """Get all dashboards. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -572,7 +569,7 @@ def get_dashboards(self, **kwargs): # noqa: E501 :return: Dashboards If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_dashboards_with_http_info(**kwargs) # noqa: E501 @@ -580,8 +577,8 @@ def get_dashboards(self, **kwargs): # noqa: E501 (data) = self.get_dashboards_with_http_info(**kwargs) # noqa: E501 return data - def get_dashboards_with_http_info(self, **kwargs): # noqa: E501 - """Get all dashboards # noqa: E501 + def get_dashboards_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """Get all dashboards. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -598,8 +595,7 @@ def get_dashboards_with_http_info(self, **kwargs): # noqa: E501 :return: Dashboards If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span', 'owner', 'sort_by', 'id', 'org_id', 'org'] # noqa: E501 @@ -665,8 +661,8 @@ def get_dashboards_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_dashboards_id(self, dashboard_id, **kwargs): # noqa: E501 - """Get a Dashboard # noqa: E501 + def get_dashboards_id(self, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """Get a Dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -680,7 +676,7 @@ def get_dashboards_id(self, dashboard_id, **kwargs): # noqa: E501 :return: Dashboard If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_dashboards_id_with_http_info(dashboard_id, **kwargs) # noqa: E501 @@ -688,8 +684,8 @@ def get_dashboards_id(self, dashboard_id, **kwargs): # noqa: E501 (data) = self.get_dashboards_id_with_http_info(dashboard_id, **kwargs) # noqa: E501 return data - def get_dashboards_id_with_http_info(self, dashboard_id, **kwargs): # noqa: E501 - """Get a Dashboard # noqa: E501 + def get_dashboards_id_with_http_info(self, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """Get a Dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -703,8 +699,7 @@ def get_dashboards_id_with_http_info(self, dashboard_id, **kwargs): # noqa: E50 :return: Dashboard If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'zap_trace_span', 'include'] # noqa: E501 @@ -767,8 +762,8 @@ def get_dashboards_id_with_http_info(self, dashboard_id, **kwargs): # noqa: E50 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_dashboards_id_cells_id_view(self, dashboard_id, cell_id, **kwargs): # noqa: E501 - """Retrieve the view for a cell # noqa: E501 + def get_dashboards_id_cells_id_view(self, dashboard_id, cell_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve the view for a cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -782,7 +777,7 @@ def get_dashboards_id_cells_id_view(self, dashboard_id, cell_id, **kwargs): # n :return: View If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_dashboards_id_cells_id_view_with_http_info(dashboard_id, cell_id, **kwargs) # noqa: E501 @@ -790,8 +785,8 @@ def get_dashboards_id_cells_id_view(self, dashboard_id, cell_id, **kwargs): # n (data) = self.get_dashboards_id_cells_id_view_with_http_info(dashboard_id, cell_id, **kwargs) # noqa: E501 return data - def get_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id, **kwargs): # noqa: E501 - """Retrieve the view for a cell # noqa: E501 + def get_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve the view for a cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -805,8 +800,7 @@ def get_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id, :return: View If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'cell_id', 'zap_trace_span'] # noqa: E501 @@ -873,8 +867,8 @@ def get_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id, _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_dashboards_id_labels(self, dashboard_id, **kwargs): # noqa: E501 - """list all labels for a dashboard # noqa: E501 + def get_dashboards_id_labels(self, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """list all labels for a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -887,7 +881,7 @@ def get_dashboards_id_labels(self, dashboard_id, **kwargs): # noqa: E501 :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_dashboards_id_labels_with_http_info(dashboard_id, **kwargs) # noqa: E501 @@ -895,8 +889,8 @@ def get_dashboards_id_labels(self, dashboard_id, **kwargs): # noqa: E501 (data) = self.get_dashboards_id_labels_with_http_info(dashboard_id, **kwargs) # noqa: E501 return data - def get_dashboards_id_labels_with_http_info(self, dashboard_id, **kwargs): # noqa: E501 - """list all labels for a dashboard # noqa: E501 + def get_dashboards_id_labels_with_http_info(self, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """list all labels for a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -909,8 +903,7 @@ def get_dashboards_id_labels_with_http_info(self, dashboard_id, **kwargs): # no :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'zap_trace_span'] # noqa: E501 @@ -971,8 +964,8 @@ def get_dashboards_id_labels_with_http_info(self, dashboard_id, **kwargs): # no _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_dashboards_id_members(self, dashboard_id, **kwargs): # noqa: E501 - """List all dashboard members # noqa: E501 + def get_dashboards_id_members(self, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """List all dashboard members. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -985,7 +978,7 @@ def get_dashboards_id_members(self, dashboard_id, **kwargs): # noqa: E501 :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_dashboards_id_members_with_http_info(dashboard_id, **kwargs) # noqa: E501 @@ -993,8 +986,8 @@ def get_dashboards_id_members(self, dashboard_id, **kwargs): # noqa: E501 (data) = self.get_dashboards_id_members_with_http_info(dashboard_id, **kwargs) # noqa: E501 return data - def get_dashboards_id_members_with_http_info(self, dashboard_id, **kwargs): # noqa: E501 - """List all dashboard members # noqa: E501 + def get_dashboards_id_members_with_http_info(self, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """List all dashboard members. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1007,8 +1000,7 @@ def get_dashboards_id_members_with_http_info(self, dashboard_id, **kwargs): # n :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'zap_trace_span'] # noqa: E501 @@ -1069,8 +1061,8 @@ def get_dashboards_id_members_with_http_info(self, dashboard_id, **kwargs): # n _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_dashboards_id_owners(self, dashboard_id, **kwargs): # noqa: E501 - """List all dashboard owners # noqa: E501 + def get_dashboards_id_owners(self, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """List all dashboard owners. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1083,7 +1075,7 @@ def get_dashboards_id_owners(self, dashboard_id, **kwargs): # noqa: E501 :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_dashboards_id_owners_with_http_info(dashboard_id, **kwargs) # noqa: E501 @@ -1091,8 +1083,8 @@ def get_dashboards_id_owners(self, dashboard_id, **kwargs): # noqa: E501 (data) = self.get_dashboards_id_owners_with_http_info(dashboard_id, **kwargs) # noqa: E501 return data - def get_dashboards_id_owners_with_http_info(self, dashboard_id, **kwargs): # noqa: E501 - """List all dashboard owners # noqa: E501 + def get_dashboards_id_owners_with_http_info(self, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """List all dashboard owners. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1105,8 +1097,7 @@ def get_dashboards_id_owners_with_http_info(self, dashboard_id, **kwargs): # no :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'zap_trace_span'] # noqa: E501 @@ -1167,8 +1158,8 @@ def get_dashboards_id_owners_with_http_info(self, dashboard_id, **kwargs): # no _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_dashboards_id(self, dashboard_id, dashboard, **kwargs): # noqa: E501 - """Update a dashboard # noqa: E501 + def patch_dashboards_id(self, dashboard_id, dashboard, **kwargs): # noqa: E501,D401,D403 + """Update a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1182,7 +1173,7 @@ def patch_dashboards_id(self, dashboard_id, dashboard, **kwargs): # noqa: E501 :return: Dashboard If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_dashboards_id_with_http_info(dashboard_id, dashboard, **kwargs) # noqa: E501 @@ -1190,8 +1181,8 @@ def patch_dashboards_id(self, dashboard_id, dashboard, **kwargs): # noqa: E501 (data) = self.patch_dashboards_id_with_http_info(dashboard_id, dashboard, **kwargs) # noqa: E501 return data - def patch_dashboards_id_with_http_info(self, dashboard_id, dashboard, **kwargs): # noqa: E501 - """Update a dashboard # noqa: E501 + def patch_dashboards_id_with_http_info(self, dashboard_id, dashboard, **kwargs): # noqa: E501,D401,D403 + """Update a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1205,8 +1196,7 @@ def patch_dashboards_id_with_http_info(self, dashboard_id, dashboard, **kwargs): :return: Dashboard If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'dashboard', 'zap_trace_span'] # noqa: E501 @@ -1277,10 +1267,10 @@ def patch_dashboards_id_with_http_info(self, dashboard_id, dashboard, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_dashboards_id_cells_id(self, dashboard_id, cell_id, cell_update, **kwargs): # noqa: E501 - """Update the non-positional information related to a cell # noqa: E501 + def patch_dashboards_id_cells_id(self, dashboard_id, cell_id, cell_update, **kwargs): # noqa: E501,D401,D403 + """Update the non-positional information related to a cell. - Updates the non positional information related to a cell. Updates to a single cell's positional data could cause grid conflicts. # noqa: E501 + Updates the non positional information related to a cell. Updates to a single cell's positional data could cause grid conflicts. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.patch_dashboards_id_cells_id(dashboard_id, cell_id, cell_update, async_req=True) @@ -1294,7 +1284,7 @@ def patch_dashboards_id_cells_id(self, dashboard_id, cell_id, cell_update, **kwa :return: Cell If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_dashboards_id_cells_id_with_http_info(dashboard_id, cell_id, cell_update, **kwargs) # noqa: E501 @@ -1302,10 +1292,10 @@ def patch_dashboards_id_cells_id(self, dashboard_id, cell_id, cell_update, **kwa (data) = self.patch_dashboards_id_cells_id_with_http_info(dashboard_id, cell_id, cell_update, **kwargs) # noqa: E501 return data - def patch_dashboards_id_cells_id_with_http_info(self, dashboard_id, cell_id, cell_update, **kwargs): # noqa: E501 - """Update the non-positional information related to a cell # noqa: E501 + def patch_dashboards_id_cells_id_with_http_info(self, dashboard_id, cell_id, cell_update, **kwargs): # noqa: E501,D401,D403 + """Update the non-positional information related to a cell. - Updates the non positional information related to a cell. Updates to a single cell's positional data could cause grid conflicts. # noqa: E501 + Updates the non positional information related to a cell. Updates to a single cell's positional data could cause grid conflicts. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.patch_dashboards_id_cells_id_with_http_info(dashboard_id, cell_id, cell_update, async_req=True) @@ -1319,8 +1309,7 @@ def patch_dashboards_id_cells_id_with_http_info(self, dashboard_id, cell_id, cel :return: Cell If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'cell_id', 'cell_update', 'zap_trace_span'] # noqa: E501 @@ -1397,8 +1386,8 @@ def patch_dashboards_id_cells_id_with_http_info(self, dashboard_id, cell_id, cel _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_dashboards_id_cells_id_view(self, dashboard_id, cell_id, view, **kwargs): # noqa: E501 - """Update the view for a cell # noqa: E501 + def patch_dashboards_id_cells_id_view(self, dashboard_id, cell_id, view, **kwargs): # noqa: E501,D401,D403 + """Update the view for a cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1413,7 +1402,7 @@ def patch_dashboards_id_cells_id_view(self, dashboard_id, cell_id, view, **kwarg :return: View If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_dashboards_id_cells_id_view_with_http_info(dashboard_id, cell_id, view, **kwargs) # noqa: E501 @@ -1421,8 +1410,8 @@ def patch_dashboards_id_cells_id_view(self, dashboard_id, cell_id, view, **kwarg (data) = self.patch_dashboards_id_cells_id_view_with_http_info(dashboard_id, cell_id, view, **kwargs) # noqa: E501 return data - def patch_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id, view, **kwargs): # noqa: E501 - """Update the view for a cell # noqa: E501 + def patch_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id, view, **kwargs): # noqa: E501,D401,D403 + """Update the view for a cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1437,8 +1426,7 @@ def patch_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id :return: View If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'cell_id', 'view', 'zap_trace_span'] # noqa: E501 @@ -1515,8 +1503,8 @@ def patch_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_dashboards(self, create_dashboard_request, **kwargs): # noqa: E501 - """Create a dashboard # noqa: E501 + def post_dashboards(self, create_dashboard_request, **kwargs): # noqa: E501,D401,D403 + """Create a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1529,7 +1517,7 @@ def post_dashboards(self, create_dashboard_request, **kwargs): # noqa: E501 :return: Dashboard If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_dashboards_with_http_info(create_dashboard_request, **kwargs) # noqa: E501 @@ -1537,8 +1525,8 @@ def post_dashboards(self, create_dashboard_request, **kwargs): # noqa: E501 (data) = self.post_dashboards_with_http_info(create_dashboard_request, **kwargs) # noqa: E501 return data - def post_dashboards_with_http_info(self, create_dashboard_request, **kwargs): # noqa: E501 - """Create a dashboard # noqa: E501 + def post_dashboards_with_http_info(self, create_dashboard_request, **kwargs): # noqa: E501,D401,D403 + """Create a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1551,8 +1539,7 @@ def post_dashboards_with_http_info(self, create_dashboard_request, **kwargs): # :return: Dashboard If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['create_dashboard_request', 'zap_trace_span'] # noqa: E501 @@ -1617,8 +1604,8 @@ def post_dashboards_with_http_info(self, create_dashboard_request, **kwargs): # _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_dashboards_id_cells(self, dashboard_id, create_cell, **kwargs): # noqa: E501 - """Create a dashboard cell # noqa: E501 + def post_dashboards_id_cells(self, dashboard_id, create_cell, **kwargs): # noqa: E501,D401,D403 + """Create a dashboard cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1632,7 +1619,7 @@ def post_dashboards_id_cells(self, dashboard_id, create_cell, **kwargs): # noqa :return: Cell If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_dashboards_id_cells_with_http_info(dashboard_id, create_cell, **kwargs) # noqa: E501 @@ -1640,8 +1627,8 @@ def post_dashboards_id_cells(self, dashboard_id, create_cell, **kwargs): # noqa (data) = self.post_dashboards_id_cells_with_http_info(dashboard_id, create_cell, **kwargs) # noqa: E501 return data - def post_dashboards_id_cells_with_http_info(self, dashboard_id, create_cell, **kwargs): # noqa: E501 - """Create a dashboard cell # noqa: E501 + def post_dashboards_id_cells_with_http_info(self, dashboard_id, create_cell, **kwargs): # noqa: E501,D401,D403 + """Create a dashboard cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1655,8 +1642,7 @@ def post_dashboards_id_cells_with_http_info(self, dashboard_id, create_cell, **k :return: Cell If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'create_cell', 'zap_trace_span'] # noqa: E501 @@ -1727,8 +1713,8 @@ def post_dashboards_id_cells_with_http_info(self, dashboard_id, create_cell, **k _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_dashboards_id_labels(self, dashboard_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a dashboard # noqa: E501 + def post_dashboards_id_labels(self, dashboard_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1742,7 +1728,7 @@ def post_dashboards_id_labels(self, dashboard_id, label_mapping, **kwargs): # n :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_dashboards_id_labels_with_http_info(dashboard_id, label_mapping, **kwargs) # noqa: E501 @@ -1750,8 +1736,8 @@ def post_dashboards_id_labels(self, dashboard_id, label_mapping, **kwargs): # n (data) = self.post_dashboards_id_labels_with_http_info(dashboard_id, label_mapping, **kwargs) # noqa: E501 return data - def post_dashboards_id_labels_with_http_info(self, dashboard_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a dashboard # noqa: E501 + def post_dashboards_id_labels_with_http_info(self, dashboard_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1765,8 +1751,7 @@ def post_dashboards_id_labels_with_http_info(self, dashboard_id, label_mapping, :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'label_mapping', 'zap_trace_span'] # noqa: E501 @@ -1837,8 +1822,8 @@ def post_dashboards_id_labels_with_http_info(self, dashboard_id, label_mapping, _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_dashboards_id_members(self, dashboard_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a dashboard # noqa: E501 + def post_dashboards_id_members(self, dashboard_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1852,7 +1837,7 @@ def post_dashboards_id_members(self, dashboard_id, add_resource_member_request_b :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_dashboards_id_members_with_http_info(dashboard_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -1860,8 +1845,8 @@ def post_dashboards_id_members(self, dashboard_id, add_resource_member_request_b (data) = self.post_dashboards_id_members_with_http_info(dashboard_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_dashboards_id_members_with_http_info(self, dashboard_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a dashboard # noqa: E501 + def post_dashboards_id_members_with_http_info(self, dashboard_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1875,8 +1860,7 @@ def post_dashboards_id_members_with_http_info(self, dashboard_id, add_resource_m :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -1947,8 +1931,8 @@ def post_dashboards_id_members_with_http_info(self, dashboard_id, add_resource_m _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_dashboards_id_owners(self, dashboard_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a dashboard # noqa: E501 + def post_dashboards_id_owners(self, dashboard_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1962,7 +1946,7 @@ def post_dashboards_id_owners(self, dashboard_id, add_resource_member_request_bo :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_dashboards_id_owners_with_http_info(dashboard_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -1970,8 +1954,8 @@ def post_dashboards_id_owners(self, dashboard_id, add_resource_member_request_bo (data) = self.post_dashboards_id_owners_with_http_info(dashboard_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_dashboards_id_owners_with_http_info(self, dashboard_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a dashboard # noqa: E501 + def post_dashboards_id_owners_with_http_info(self, dashboard_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1985,8 +1969,7 @@ def post_dashboards_id_owners_with_http_info(self, dashboard_id, add_resource_me :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -2057,10 +2040,10 @@ def post_dashboards_id_owners_with_http_info(self, dashboard_id, add_resource_me _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def put_dashboards_id_cells(self, dashboard_id, cell, **kwargs): # noqa: E501 - """Replace cells in a dashboard # noqa: E501 + def put_dashboards_id_cells(self, dashboard_id, cell, **kwargs): # noqa: E501,D401,D403 + """Replace cells in a dashboard. - Replaces all cells in a dashboard. This is used primarily to update the positional information of all cells. # noqa: E501 + Replaces all cells in a dashboard. This is used primarily to update the positional information of all cells. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.put_dashboards_id_cells(dashboard_id, cell, async_req=True) @@ -2073,7 +2056,7 @@ def put_dashboards_id_cells(self, dashboard_id, cell, **kwargs): # noqa: E501 :return: Dashboard If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.put_dashboards_id_cells_with_http_info(dashboard_id, cell, **kwargs) # noqa: E501 @@ -2081,10 +2064,10 @@ def put_dashboards_id_cells(self, dashboard_id, cell, **kwargs): # noqa: E501 (data) = self.put_dashboards_id_cells_with_http_info(dashboard_id, cell, **kwargs) # noqa: E501 return data - def put_dashboards_id_cells_with_http_info(self, dashboard_id, cell, **kwargs): # noqa: E501 - """Replace cells in a dashboard # noqa: E501 + def put_dashboards_id_cells_with_http_info(self, dashboard_id, cell, **kwargs): # noqa: E501,D401,D403 + """Replace cells in a dashboard. - Replaces all cells in a dashboard. This is used primarily to update the positional information of all cells. # noqa: E501 + Replaces all cells in a dashboard. This is used primarily to update the positional information of all cells. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.put_dashboards_id_cells_with_http_info(dashboard_id, cell, async_req=True) @@ -2097,8 +2080,7 @@ def put_dashboards_id_cells_with_http_info(self, dashboard_id, cell, **kwargs): :return: Dashboard If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'cell', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/dbr_ps_service.py b/influxdb_client/service/dbr_ps_service.py index 386b7648..753bd21d 100644 --- a/influxdb_client/service/dbr_ps_service.py +++ b/influxdb_client/service/dbr_ps_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class DBRPsService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """DBRPsService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def delete_dbrpid(self, org_id, dbrp_id, **kwargs): # noqa: E501 - """Delete a database retention policy # noqa: E501 + def delete_dbrpid(self, org_id, dbrp_id, **kwargs): # noqa: E501,D401,D403 + """Delete a database retention policy. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -47,7 +49,7 @@ def delete_dbrpid(self, org_id, dbrp_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_dbrpid_with_http_info(org_id, dbrp_id, **kwargs) # noqa: E501 @@ -55,8 +57,8 @@ def delete_dbrpid(self, org_id, dbrp_id, **kwargs): # noqa: E501 (data) = self.delete_dbrpid_with_http_info(org_id, dbrp_id, **kwargs) # noqa: E501 return data - def delete_dbrpid_with_http_info(self, org_id, dbrp_id, **kwargs): # noqa: E501 - """Delete a database retention policy # noqa: E501 + def delete_dbrpid_with_http_info(self, org_id, dbrp_id, **kwargs): # noqa: E501,D401,D403 + """Delete a database retention policy. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -70,8 +72,7 @@ def delete_dbrpid_with_http_info(self, org_id, dbrp_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'dbrp_id', 'zap_trace_span'] # noqa: E501 @@ -138,8 +139,8 @@ def delete_dbrpid_with_http_info(self, org_id, dbrp_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_dbr_ps(self, org_id, **kwargs): # noqa: E501 - """List all database retention policy mappings # noqa: E501 + def get_dbr_ps(self, org_id, **kwargs): # noqa: E501,D401,D403 + """List all database retention policy mappings. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -157,7 +158,7 @@ def get_dbr_ps(self, org_id, **kwargs): # noqa: E501 :return: DBRPs If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_dbr_ps_with_http_info(org_id, **kwargs) # noqa: E501 @@ -165,8 +166,8 @@ def get_dbr_ps(self, org_id, **kwargs): # noqa: E501 (data) = self.get_dbr_ps_with_http_info(org_id, **kwargs) # noqa: E501 return data - def get_dbr_ps_with_http_info(self, org_id, **kwargs): # noqa: E501 - """List all database retention policy mappings # noqa: E501 + def get_dbr_ps_with_http_info(self, org_id, **kwargs): # noqa: E501,D401,D403 + """List all database retention policy mappings. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -184,8 +185,7 @@ def get_dbr_ps_with_http_info(self, org_id, **kwargs): # noqa: E501 :return: DBRPs If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'zap_trace_span', 'id', 'bucket_id', 'default', 'db', 'rp'] # noqa: E501 @@ -256,8 +256,8 @@ def get_dbr_ps_with_http_info(self, org_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_dbr_ps_id(self, org_id, dbrp_id, **kwargs): # noqa: E501 - """Retrieve a database retention policy mapping # noqa: E501 + def get_dbr_ps_id(self, org_id, dbrp_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve a database retention policy mapping. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -271,7 +271,7 @@ def get_dbr_ps_id(self, org_id, dbrp_id, **kwargs): # noqa: E501 :return: DBRP If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_dbr_ps_id_with_http_info(org_id, dbrp_id, **kwargs) # noqa: E501 @@ -279,8 +279,8 @@ def get_dbr_ps_id(self, org_id, dbrp_id, **kwargs): # noqa: E501 (data) = self.get_dbr_ps_id_with_http_info(org_id, dbrp_id, **kwargs) # noqa: E501 return data - def get_dbr_ps_id_with_http_info(self, org_id, dbrp_id, **kwargs): # noqa: E501 - """Retrieve a database retention policy mapping # noqa: E501 + def get_dbr_ps_id_with_http_info(self, org_id, dbrp_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve a database retention policy mapping. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -294,8 +294,7 @@ def get_dbr_ps_id_with_http_info(self, org_id, dbrp_id, **kwargs): # noqa: E501 :return: DBRP If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'dbrp_id', 'zap_trace_span'] # noqa: E501 @@ -362,8 +361,8 @@ def get_dbr_ps_id_with_http_info(self, org_id, dbrp_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_dbrpid(self, org_id, dbrp_id, dbrp_update, **kwargs): # noqa: E501 - """Update a database retention policy mapping # noqa: E501 + def patch_dbrpid(self, org_id, dbrp_id, dbrp_update, **kwargs): # noqa: E501,D401,D403 + """Update a database retention policy mapping. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -378,7 +377,7 @@ def patch_dbrpid(self, org_id, dbrp_id, dbrp_update, **kwargs): # noqa: E501 :return: DBRP If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_dbrpid_with_http_info(org_id, dbrp_id, dbrp_update, **kwargs) # noqa: E501 @@ -386,8 +385,8 @@ def patch_dbrpid(self, org_id, dbrp_id, dbrp_update, **kwargs): # noqa: E501 (data) = self.patch_dbrpid_with_http_info(org_id, dbrp_id, dbrp_update, **kwargs) # noqa: E501 return data - def patch_dbrpid_with_http_info(self, org_id, dbrp_id, dbrp_update, **kwargs): # noqa: E501 - """Update a database retention policy mapping # noqa: E501 + def patch_dbrpid_with_http_info(self, org_id, dbrp_id, dbrp_update, **kwargs): # noqa: E501,D401,D403 + """Update a database retention policy mapping. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -402,8 +401,7 @@ def patch_dbrpid_with_http_info(self, org_id, dbrp_id, dbrp_update, **kwargs): :return: DBRP If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'dbrp_id', 'dbrp_update', 'zap_trace_span'] # noqa: E501 @@ -480,8 +478,8 @@ def patch_dbrpid_with_http_info(self, org_id, dbrp_id, dbrp_update, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_dbrp(self, dbrp, **kwargs): # noqa: E501 - """Add a database retention policy mapping # noqa: E501 + def post_dbrp(self, dbrp, **kwargs): # noqa: E501,D401,D403 + """Add a database retention policy mapping. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -494,7 +492,7 @@ def post_dbrp(self, dbrp, **kwargs): # noqa: E501 :return: DBRP If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_dbrp_with_http_info(dbrp, **kwargs) # noqa: E501 @@ -502,8 +500,8 @@ def post_dbrp(self, dbrp, **kwargs): # noqa: E501 (data) = self.post_dbrp_with_http_info(dbrp, **kwargs) # noqa: E501 return data - def post_dbrp_with_http_info(self, dbrp, **kwargs): # noqa: E501 - """Add a database retention policy mapping # noqa: E501 + def post_dbrp_with_http_info(self, dbrp, **kwargs): # noqa: E501,D401,D403 + """Add a database retention policy mapping. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -516,8 +514,7 @@ def post_dbrp_with_http_info(self, dbrp, **kwargs): # noqa: E501 :return: DBRP If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dbrp', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/default_service.py b/influxdb_client/service/default_service.py index 40d3ac59..e76dec47 100644 --- a/influxdb_client/service/default_service.py +++ b/influxdb_client/service/default_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class DefaultService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """DefaultService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def delete_post(self, delete_predicate_request, **kwargs): # noqa: E501 - """Delete time series data from InfluxDB # noqa: E501 + def delete_post(self, delete_predicate_request, **kwargs): # noqa: E501,D401,D403 + """Delete time series data from InfluxDB. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -50,7 +52,7 @@ def delete_post(self, delete_predicate_request, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_post_with_http_info(delete_predicate_request, **kwargs) # noqa: E501 @@ -58,8 +60,8 @@ def delete_post(self, delete_predicate_request, **kwargs): # noqa: E501 (data) = self.delete_post_with_http_info(delete_predicate_request, **kwargs) # noqa: E501 return data - def delete_post_with_http_info(self, delete_predicate_request, **kwargs): # noqa: E501 - """Delete time series data from InfluxDB # noqa: E501 + def delete_post_with_http_info(self, delete_predicate_request, **kwargs): # noqa: E501,D401,D403 + """Delete time series data from InfluxDB. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -76,8 +78,7 @@ def delete_post_with_http_info(self, delete_predicate_request, **kwargs): # noq :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['delete_predicate_request', 'zap_trace_span', 'org', 'bucket', 'org_id', 'bucket_id'] # noqa: E501 @@ -150,8 +151,8 @@ def delete_post_with_http_info(self, delete_predicate_request, **kwargs): # noq _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_routes(self, **kwargs): # noqa: E501 - """Map of all top level routes available # noqa: E501 + def get_routes(self, **kwargs): # noqa: E501,D401,D403 + """Map of all top level routes available. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -163,7 +164,7 @@ def get_routes(self, **kwargs): # noqa: E501 :return: Routes If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_routes_with_http_info(**kwargs) # noqa: E501 @@ -171,8 +172,8 @@ def get_routes(self, **kwargs): # noqa: E501 (data) = self.get_routes_with_http_info(**kwargs) # noqa: E501 return data - def get_routes_with_http_info(self, **kwargs): # noqa: E501 - """Map of all top level routes available # noqa: E501 + def get_routes_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """Map of all top level routes available. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -184,8 +185,7 @@ def get_routes_with_http_info(self, **kwargs): # noqa: E501 :return: Routes If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span'] # noqa: E501 @@ -240,8 +240,8 @@ def get_routes_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_signin(self, **kwargs): # noqa: E501 - """Exchange basic auth credentials for session # noqa: E501 + def post_signin(self, **kwargs): # noqa: E501,D401,D403 + """Exchange basic auth credentials for session. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -253,7 +253,7 @@ def post_signin(self, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_signin_with_http_info(**kwargs) # noqa: E501 @@ -261,8 +261,8 @@ def post_signin(self, **kwargs): # noqa: E501 (data) = self.post_signin_with_http_info(**kwargs) # noqa: E501 return data - def post_signin_with_http_info(self, **kwargs): # noqa: E501 - """Exchange basic auth credentials for session # noqa: E501 + def post_signin_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """Exchange basic auth credentials for session. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -274,8 +274,7 @@ def post_signin_with_http_info(self, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span'] # noqa: E501 @@ -330,8 +329,8 @@ def post_signin_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_signout(self, **kwargs): # noqa: E501 - """Expire the current session # noqa: E501 + def post_signout(self, **kwargs): # noqa: E501,D401,D403 + """Expire the current session. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -343,7 +342,7 @@ def post_signout(self, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_signout_with_http_info(**kwargs) # noqa: E501 @@ -351,8 +350,8 @@ def post_signout(self, **kwargs): # noqa: E501 (data) = self.post_signout_with_http_info(**kwargs) # noqa: E501 return data - def post_signout_with_http_info(self, **kwargs): # noqa: E501 - """Expire the current session # noqa: E501 + def post_signout_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """Expire the current session. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -364,8 +363,7 @@ def post_signout_with_http_info(self, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/health_service.py b/influxdb_client/service/health_service.py index ae07c27b..c9d91aee 100644 --- a/influxdb_client/service/health_service.py +++ b/influxdb_client/service/health_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class HealthService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """HealthService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def get_health(self, **kwargs): # noqa: E501 - """Get the health of an instance # noqa: E501 + def get_health(self, **kwargs): # noqa: E501,D401,D403 + """Get the health of an instance. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -45,7 +47,7 @@ def get_health(self, **kwargs): # noqa: E501 :return: HealthCheck If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_health_with_http_info(**kwargs) # noqa: E501 @@ -53,8 +55,8 @@ def get_health(self, **kwargs): # noqa: E501 (data) = self.get_health_with_http_info(**kwargs) # noqa: E501 return data - def get_health_with_http_info(self, **kwargs): # noqa: E501 - """Get the health of an instance # noqa: E501 + def get_health_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """Get the health of an instance. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -66,8 +68,7 @@ def get_health_with_http_info(self, **kwargs): # noqa: E501 :return: HealthCheck If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/influx_packages_service.py b/influxdb_client/service/influx_packages_service.py index b3d3f163..d241c796 100644 --- a/influxdb_client/service/influx_packages_service.py +++ b/influxdb_client/service/influx_packages_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class InfluxPackagesService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """InfluxPackagesService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def apply_pkg(self, pkg_apply, **kwargs): # noqa: E501 - """Apply or dry-run an Influx package # noqa: E501 + def apply_pkg(self, pkg_apply, **kwargs): # noqa: E501,D401,D403 + """Apply or dry-run an Influx package. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -45,7 +47,7 @@ def apply_pkg(self, pkg_apply, **kwargs): # noqa: E501 :return: PkgSummary If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.apply_pkg_with_http_info(pkg_apply, **kwargs) # noqa: E501 @@ -53,8 +55,8 @@ def apply_pkg(self, pkg_apply, **kwargs): # noqa: E501 (data) = self.apply_pkg_with_http_info(pkg_apply, **kwargs) # noqa: E501 return data - def apply_pkg_with_http_info(self, pkg_apply, **kwargs): # noqa: E501 - """Apply or dry-run an Influx package # noqa: E501 + def apply_pkg_with_http_info(self, pkg_apply, **kwargs): # noqa: E501,D401,D403 + """Apply or dry-run an Influx package. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -66,8 +68,7 @@ def apply_pkg_with_http_info(self, pkg_apply, **kwargs): # noqa: E501 :return: PkgSummary If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['pkg_apply'] # noqa: E501 @@ -130,8 +131,8 @@ def apply_pkg_with_http_info(self, pkg_apply, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def create_pkg(self, **kwargs): # noqa: E501 - """Create a new Influx package # noqa: E501 + def create_pkg(self, **kwargs): # noqa: E501,D401,D403 + """Create a new Influx package. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -143,7 +144,7 @@ def create_pkg(self, **kwargs): # noqa: E501 :return: Pkg If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.create_pkg_with_http_info(**kwargs) # noqa: E501 @@ -151,8 +152,8 @@ def create_pkg(self, **kwargs): # noqa: E501 (data) = self.create_pkg_with_http_info(**kwargs) # noqa: E501 return data - def create_pkg_with_http_info(self, **kwargs): # noqa: E501 - """Create a new Influx package # noqa: E501 + def create_pkg_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """Create a new Influx package. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -164,8 +165,7 @@ def create_pkg_with_http_info(self, **kwargs): # noqa: E501 :return: Pkg If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['pkg_create'] # noqa: E501 diff --git a/influxdb_client/service/labels_service.py b/influxdb_client/service/labels_service.py index e6a27f63..47efb4b1 100644 --- a/influxdb_client/service/labels_service.py +++ b/influxdb_client/service/labels_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class LabelsService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """LabelsService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def delete_labels_id(self, label_id, **kwargs): # noqa: E501 - """Delete a label # noqa: E501 + def delete_labels_id(self, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete a label. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -46,7 +48,7 @@ def delete_labels_id(self, label_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_labels_id_with_http_info(label_id, **kwargs) # noqa: E501 @@ -54,8 +56,8 @@ def delete_labels_id(self, label_id, **kwargs): # noqa: E501 (data) = self.delete_labels_id_with_http_info(label_id, **kwargs) # noqa: E501 return data - def delete_labels_id_with_http_info(self, label_id, **kwargs): # noqa: E501 - """Delete a label # noqa: E501 + def delete_labels_id_with_http_info(self, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete a label. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -68,8 +70,7 @@ def delete_labels_id_with_http_info(self, label_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['label_id', 'zap_trace_span'] # noqa: E501 @@ -130,8 +131,8 @@ def delete_labels_id_with_http_info(self, label_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_labels(self, **kwargs): # noqa: E501 - """Get all labels # noqa: E501 + def get_labels(self, **kwargs): # noqa: E501,D401,D403 + """Get all labels. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -144,7 +145,7 @@ def get_labels(self, **kwargs): # noqa: E501 :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_labels_with_http_info(**kwargs) # noqa: E501 @@ -152,8 +153,8 @@ def get_labels(self, **kwargs): # noqa: E501 (data) = self.get_labels_with_http_info(**kwargs) # noqa: E501 return data - def get_labels_with_http_info(self, **kwargs): # noqa: E501 - """Get all labels # noqa: E501 + def get_labels_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """Get all labels. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -166,8 +167,7 @@ def get_labels_with_http_info(self, **kwargs): # noqa: E501 :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span', 'org_id'] # noqa: E501 @@ -224,8 +224,8 @@ def get_labels_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_labels_id(self, label_id, **kwargs): # noqa: E501 - """Get a label # noqa: E501 + def get_labels_id(self, label_id, **kwargs): # noqa: E501,D401,D403 + """Get a label. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -238,7 +238,7 @@ def get_labels_id(self, label_id, **kwargs): # noqa: E501 :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_labels_id_with_http_info(label_id, **kwargs) # noqa: E501 @@ -246,8 +246,8 @@ def get_labels_id(self, label_id, **kwargs): # noqa: E501 (data) = self.get_labels_id_with_http_info(label_id, **kwargs) # noqa: E501 return data - def get_labels_id_with_http_info(self, label_id, **kwargs): # noqa: E501 - """Get a label # noqa: E501 + def get_labels_id_with_http_info(self, label_id, **kwargs): # noqa: E501,D401,D403 + """Get a label. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -260,8 +260,7 @@ def get_labels_id_with_http_info(self, label_id, **kwargs): # noqa: E501 :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['label_id', 'zap_trace_span'] # noqa: E501 @@ -322,8 +321,8 @@ def get_labels_id_with_http_info(self, label_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_labels_id(self, label_id, label_update, **kwargs): # noqa: E501 - """Update a label # noqa: E501 + def patch_labels_id(self, label_id, label_update, **kwargs): # noqa: E501,D401,D403 + """Update a label. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -337,7 +336,7 @@ def patch_labels_id(self, label_id, label_update, **kwargs): # noqa: E501 :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_labels_id_with_http_info(label_id, label_update, **kwargs) # noqa: E501 @@ -345,8 +344,8 @@ def patch_labels_id(self, label_id, label_update, **kwargs): # noqa: E501 (data) = self.patch_labels_id_with_http_info(label_id, label_update, **kwargs) # noqa: E501 return data - def patch_labels_id_with_http_info(self, label_id, label_update, **kwargs): # noqa: E501 - """Update a label # noqa: E501 + def patch_labels_id_with_http_info(self, label_id, label_update, **kwargs): # noqa: E501,D401,D403 + """Update a label. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -360,8 +359,7 @@ def patch_labels_id_with_http_info(self, label_id, label_update, **kwargs): # n :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['label_id', 'label_update', 'zap_trace_span'] # noqa: E501 @@ -432,8 +430,8 @@ def patch_labels_id_with_http_info(self, label_id, label_update, **kwargs): # n _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_labels(self, label_create_request, **kwargs): # noqa: E501 - """Create a label # noqa: E501 + def post_labels(self, label_create_request, **kwargs): # noqa: E501,D401,D403 + """Create a label. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -445,7 +443,7 @@ def post_labels(self, label_create_request, **kwargs): # noqa: E501 :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_labels_with_http_info(label_create_request, **kwargs) # noqa: E501 @@ -453,8 +451,8 @@ def post_labels(self, label_create_request, **kwargs): # noqa: E501 (data) = self.post_labels_with_http_info(label_create_request, **kwargs) # noqa: E501 return data - def post_labels_with_http_info(self, label_create_request, **kwargs): # noqa: E501 - """Create a label # noqa: E501 + def post_labels_with_http_info(self, label_create_request, **kwargs): # noqa: E501,D401,D403 + """Create a label. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -466,8 +464,7 @@ def post_labels_with_http_info(self, label_create_request, **kwargs): # noqa: E :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['label_create_request'] # noqa: E501 diff --git a/influxdb_client/service/notification_endpoints_service.py b/influxdb_client/service/notification_endpoints_service.py index 18f2a511..15081c5e 100644 --- a/influxdb_client/service/notification_endpoints_service.py +++ b/influxdb_client/service/notification_endpoints_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class NotificationEndpointsService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """NotificationEndpointsService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def create_notification_endpoint(self, post_notification_endpoint, **kwargs): # noqa: E501 - """Add a notification endpoint # noqa: E501 + def create_notification_endpoint(self, post_notification_endpoint, **kwargs): # noqa: E501,D401,D403 + """Add a notification endpoint. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -45,7 +47,7 @@ def create_notification_endpoint(self, post_notification_endpoint, **kwargs): # :return: NotificationEndpoint If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.create_notification_endpoint_with_http_info(post_notification_endpoint, **kwargs) # noqa: E501 @@ -53,8 +55,8 @@ def create_notification_endpoint(self, post_notification_endpoint, **kwargs): # (data) = self.create_notification_endpoint_with_http_info(post_notification_endpoint, **kwargs) # noqa: E501 return data - def create_notification_endpoint_with_http_info(self, post_notification_endpoint, **kwargs): # noqa: E501 - """Add a notification endpoint # noqa: E501 + def create_notification_endpoint_with_http_info(self, post_notification_endpoint, **kwargs): # noqa: E501,D401,D403 + """Add a notification endpoint. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -66,8 +68,7 @@ def create_notification_endpoint_with_http_info(self, post_notification_endpoint :return: NotificationEndpoint If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['post_notification_endpoint'] # noqa: E501 @@ -130,8 +131,8 @@ def create_notification_endpoint_with_http_info(self, post_notification_endpoint _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_notification_endpoints_id(self, endpoint_id, **kwargs): # noqa: E501 - """Delete a notification endpoint # noqa: E501 + def delete_notification_endpoints_id(self, endpoint_id, **kwargs): # noqa: E501,D401,D403 + """Delete a notification endpoint. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -144,7 +145,7 @@ def delete_notification_endpoints_id(self, endpoint_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_notification_endpoints_id_with_http_info(endpoint_id, **kwargs) # noqa: E501 @@ -152,8 +153,8 @@ def delete_notification_endpoints_id(self, endpoint_id, **kwargs): # noqa: E501 (data) = self.delete_notification_endpoints_id_with_http_info(endpoint_id, **kwargs) # noqa: E501 return data - def delete_notification_endpoints_id_with_http_info(self, endpoint_id, **kwargs): # noqa: E501 - """Delete a notification endpoint # noqa: E501 + def delete_notification_endpoints_id_with_http_info(self, endpoint_id, **kwargs): # noqa: E501,D401,D403 + """Delete a notification endpoint. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -166,8 +167,7 @@ def delete_notification_endpoints_id_with_http_info(self, endpoint_id, **kwargs) :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['endpoint_id', 'zap_trace_span'] # noqa: E501 @@ -228,8 +228,8 @@ def delete_notification_endpoints_id_with_http_info(self, endpoint_id, **kwargs) _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_notification_endpoints_id_labels_id(self, endpoint_id, label_id, **kwargs): # noqa: E501 - """Delete a label from a notification endpoint # noqa: E501 + def delete_notification_endpoints_id_labels_id(self, endpoint_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete a label from a notification endpoint. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -243,7 +243,7 @@ def delete_notification_endpoints_id_labels_id(self, endpoint_id, label_id, **kw :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_notification_endpoints_id_labels_id_with_http_info(endpoint_id, label_id, **kwargs) # noqa: E501 @@ -251,8 +251,8 @@ def delete_notification_endpoints_id_labels_id(self, endpoint_id, label_id, **kw (data) = self.delete_notification_endpoints_id_labels_id_with_http_info(endpoint_id, label_id, **kwargs) # noqa: E501 return data - def delete_notification_endpoints_id_labels_id_with_http_info(self, endpoint_id, label_id, **kwargs): # noqa: E501 - """Delete a label from a notification endpoint # noqa: E501 + def delete_notification_endpoints_id_labels_id_with_http_info(self, endpoint_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete a label from a notification endpoint. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -266,8 +266,7 @@ def delete_notification_endpoints_id_labels_id_with_http_info(self, endpoint_id, :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['endpoint_id', 'label_id', 'zap_trace_span'] # noqa: E501 @@ -334,8 +333,8 @@ def delete_notification_endpoints_id_labels_id_with_http_info(self, endpoint_id, _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_notification_endpoints(self, org_id, **kwargs): # noqa: E501 - """Get all notification endpoints # noqa: E501 + def get_notification_endpoints(self, org_id, **kwargs): # noqa: E501,D401,D403 + """Get all notification endpoints. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -350,7 +349,7 @@ def get_notification_endpoints(self, org_id, **kwargs): # noqa: E501 :return: NotificationEndpoints If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_notification_endpoints_with_http_info(org_id, **kwargs) # noqa: E501 @@ -358,8 +357,8 @@ def get_notification_endpoints(self, org_id, **kwargs): # noqa: E501 (data) = self.get_notification_endpoints_with_http_info(org_id, **kwargs) # noqa: E501 return data - def get_notification_endpoints_with_http_info(self, org_id, **kwargs): # noqa: E501 - """Get all notification endpoints # noqa: E501 + def get_notification_endpoints_with_http_info(self, org_id, **kwargs): # noqa: E501,D401,D403 + """Get all notification endpoints. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -374,8 +373,7 @@ def get_notification_endpoints_with_http_info(self, org_id, **kwargs): # noqa: :return: NotificationEndpoints If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'zap_trace_span', 'offset', 'limit'] # noqa: E501 @@ -446,8 +444,8 @@ def get_notification_endpoints_with_http_info(self, org_id, **kwargs): # noqa: _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_notification_endpoints_id(self, endpoint_id, **kwargs): # noqa: E501 - """Get a notification endpoint # noqa: E501 + def get_notification_endpoints_id(self, endpoint_id, **kwargs): # noqa: E501,D401,D403 + """Get a notification endpoint. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -460,7 +458,7 @@ def get_notification_endpoints_id(self, endpoint_id, **kwargs): # noqa: E501 :return: NotificationEndpoint If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_notification_endpoints_id_with_http_info(endpoint_id, **kwargs) # noqa: E501 @@ -468,8 +466,8 @@ def get_notification_endpoints_id(self, endpoint_id, **kwargs): # noqa: E501 (data) = self.get_notification_endpoints_id_with_http_info(endpoint_id, **kwargs) # noqa: E501 return data - def get_notification_endpoints_id_with_http_info(self, endpoint_id, **kwargs): # noqa: E501 - """Get a notification endpoint # noqa: E501 + def get_notification_endpoints_id_with_http_info(self, endpoint_id, **kwargs): # noqa: E501,D401,D403 + """Get a notification endpoint. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -482,8 +480,7 @@ def get_notification_endpoints_id_with_http_info(self, endpoint_id, **kwargs): :return: NotificationEndpoint If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['endpoint_id', 'zap_trace_span'] # noqa: E501 @@ -544,8 +541,8 @@ def get_notification_endpoints_id_with_http_info(self, endpoint_id, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_notification_endpoints_id_labels(self, endpoint_id, **kwargs): # noqa: E501 - """List all labels for a notification endpoint # noqa: E501 + def get_notification_endpoints_id_labels(self, endpoint_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a notification endpoint. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -558,7 +555,7 @@ def get_notification_endpoints_id_labels(self, endpoint_id, **kwargs): # noqa: :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_notification_endpoints_id_labels_with_http_info(endpoint_id, **kwargs) # noqa: E501 @@ -566,8 +563,8 @@ def get_notification_endpoints_id_labels(self, endpoint_id, **kwargs): # noqa: (data) = self.get_notification_endpoints_id_labels_with_http_info(endpoint_id, **kwargs) # noqa: E501 return data - def get_notification_endpoints_id_labels_with_http_info(self, endpoint_id, **kwargs): # noqa: E501 - """List all labels for a notification endpoint # noqa: E501 + def get_notification_endpoints_id_labels_with_http_info(self, endpoint_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a notification endpoint. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -580,8 +577,7 @@ def get_notification_endpoints_id_labels_with_http_info(self, endpoint_id, **kwa :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['endpoint_id', 'zap_trace_span'] # noqa: E501 @@ -642,8 +638,8 @@ def get_notification_endpoints_id_labels_with_http_info(self, endpoint_id, **kwa _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_notification_endpoints_id(self, endpoint_id, notification_endpoint_update, **kwargs): # noqa: E501 - """Update a notification endpoint # noqa: E501 + def patch_notification_endpoints_id(self, endpoint_id, notification_endpoint_update, **kwargs): # noqa: E501,D401,D403 + """Update a notification endpoint. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -657,7 +653,7 @@ def patch_notification_endpoints_id(self, endpoint_id, notification_endpoint_upd :return: NotificationEndpoint If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_notification_endpoints_id_with_http_info(endpoint_id, notification_endpoint_update, **kwargs) # noqa: E501 @@ -665,8 +661,8 @@ def patch_notification_endpoints_id(self, endpoint_id, notification_endpoint_upd (data) = self.patch_notification_endpoints_id_with_http_info(endpoint_id, notification_endpoint_update, **kwargs) # noqa: E501 return data - def patch_notification_endpoints_id_with_http_info(self, endpoint_id, notification_endpoint_update, **kwargs): # noqa: E501 - """Update a notification endpoint # noqa: E501 + def patch_notification_endpoints_id_with_http_info(self, endpoint_id, notification_endpoint_update, **kwargs): # noqa: E501,D401,D403 + """Update a notification endpoint. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -680,8 +676,7 @@ def patch_notification_endpoints_id_with_http_info(self, endpoint_id, notificati :return: NotificationEndpoint If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['endpoint_id', 'notification_endpoint_update', 'zap_trace_span'] # noqa: E501 @@ -752,8 +747,8 @@ def patch_notification_endpoints_id_with_http_info(self, endpoint_id, notificati _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_notification_endpoint_id_labels(self, endpoint_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a notification endpoint # noqa: E501 + def post_notification_endpoint_id_labels(self, endpoint_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a notification endpoint. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -767,7 +762,7 @@ def post_notification_endpoint_id_labels(self, endpoint_id, label_mapping, **kwa :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_notification_endpoint_id_labels_with_http_info(endpoint_id, label_mapping, **kwargs) # noqa: E501 @@ -775,8 +770,8 @@ def post_notification_endpoint_id_labels(self, endpoint_id, label_mapping, **kwa (data) = self.post_notification_endpoint_id_labels_with_http_info(endpoint_id, label_mapping, **kwargs) # noqa: E501 return data - def post_notification_endpoint_id_labels_with_http_info(self, endpoint_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a notification endpoint # noqa: E501 + def post_notification_endpoint_id_labels_with_http_info(self, endpoint_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a notification endpoint. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -790,8 +785,7 @@ def post_notification_endpoint_id_labels_with_http_info(self, endpoint_id, label :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['endpoint_id', 'label_mapping', 'zap_trace_span'] # noqa: E501 @@ -862,8 +856,8 @@ def post_notification_endpoint_id_labels_with_http_info(self, endpoint_id, label _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def put_notification_endpoints_id(self, endpoint_id, notification_endpoint, **kwargs): # noqa: E501 - """Update a notification endpoint # noqa: E501 + def put_notification_endpoints_id(self, endpoint_id, notification_endpoint, **kwargs): # noqa: E501,D401,D403 + """Update a notification endpoint. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -877,7 +871,7 @@ def put_notification_endpoints_id(self, endpoint_id, notification_endpoint, **kw :return: NotificationEndpoint If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.put_notification_endpoints_id_with_http_info(endpoint_id, notification_endpoint, **kwargs) # noqa: E501 @@ -885,8 +879,8 @@ def put_notification_endpoints_id(self, endpoint_id, notification_endpoint, **kw (data) = self.put_notification_endpoints_id_with_http_info(endpoint_id, notification_endpoint, **kwargs) # noqa: E501 return data - def put_notification_endpoints_id_with_http_info(self, endpoint_id, notification_endpoint, **kwargs): # noqa: E501 - """Update a notification endpoint # noqa: E501 + def put_notification_endpoints_id_with_http_info(self, endpoint_id, notification_endpoint, **kwargs): # noqa: E501,D401,D403 + """Update a notification endpoint. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -900,8 +894,7 @@ def put_notification_endpoints_id_with_http_info(self, endpoint_id, notification :return: NotificationEndpoint If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['endpoint_id', 'notification_endpoint', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/notification_rules_service.py b/influxdb_client/service/notification_rules_service.py index eb4d5d42..ab096bc1 100644 --- a/influxdb_client/service/notification_rules_service.py +++ b/influxdb_client/service/notification_rules_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class NotificationRulesService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """NotificationRulesService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def create_notification_rule(self, post_notification_rule, **kwargs): # noqa: E501 - """Add a notification rule # noqa: E501 + def create_notification_rule(self, post_notification_rule, **kwargs): # noqa: E501,D401,D403 + """Add a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -45,7 +47,7 @@ def create_notification_rule(self, post_notification_rule, **kwargs): # noqa: E :return: NotificationRule If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.create_notification_rule_with_http_info(post_notification_rule, **kwargs) # noqa: E501 @@ -53,8 +55,8 @@ def create_notification_rule(self, post_notification_rule, **kwargs): # noqa: E (data) = self.create_notification_rule_with_http_info(post_notification_rule, **kwargs) # noqa: E501 return data - def create_notification_rule_with_http_info(self, post_notification_rule, **kwargs): # noqa: E501 - """Add a notification rule # noqa: E501 + def create_notification_rule_with_http_info(self, post_notification_rule, **kwargs): # noqa: E501,D401,D403 + """Add a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -66,8 +68,7 @@ def create_notification_rule_with_http_info(self, post_notification_rule, **kwar :return: NotificationRule If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['post_notification_rule'] # noqa: E501 @@ -130,8 +131,8 @@ def create_notification_rule_with_http_info(self, post_notification_rule, **kwar _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_notification_rules_id(self, rule_id, **kwargs): # noqa: E501 - """Delete a notification rule # noqa: E501 + def delete_notification_rules_id(self, rule_id, **kwargs): # noqa: E501,D401,D403 + """Delete a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -144,7 +145,7 @@ def delete_notification_rules_id(self, rule_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_notification_rules_id_with_http_info(rule_id, **kwargs) # noqa: E501 @@ -152,8 +153,8 @@ def delete_notification_rules_id(self, rule_id, **kwargs): # noqa: E501 (data) = self.delete_notification_rules_id_with_http_info(rule_id, **kwargs) # noqa: E501 return data - def delete_notification_rules_id_with_http_info(self, rule_id, **kwargs): # noqa: E501 - """Delete a notification rule # noqa: E501 + def delete_notification_rules_id_with_http_info(self, rule_id, **kwargs): # noqa: E501,D401,D403 + """Delete a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -166,8 +167,7 @@ def delete_notification_rules_id_with_http_info(self, rule_id, **kwargs): # noq :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['rule_id', 'zap_trace_span'] # noqa: E501 @@ -228,8 +228,8 @@ def delete_notification_rules_id_with_http_info(self, rule_id, **kwargs): # noq _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_notification_rules_id_labels_id(self, rule_id, label_id, **kwargs): # noqa: E501 - """Delete label from a notification rule # noqa: E501 + def delete_notification_rules_id_labels_id(self, rule_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete label from a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -243,7 +243,7 @@ def delete_notification_rules_id_labels_id(self, rule_id, label_id, **kwargs): :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_notification_rules_id_labels_id_with_http_info(rule_id, label_id, **kwargs) # noqa: E501 @@ -251,8 +251,8 @@ def delete_notification_rules_id_labels_id(self, rule_id, label_id, **kwargs): (data) = self.delete_notification_rules_id_labels_id_with_http_info(rule_id, label_id, **kwargs) # noqa: E501 return data - def delete_notification_rules_id_labels_id_with_http_info(self, rule_id, label_id, **kwargs): # noqa: E501 - """Delete label from a notification rule # noqa: E501 + def delete_notification_rules_id_labels_id_with_http_info(self, rule_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete label from a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -266,8 +266,7 @@ def delete_notification_rules_id_labels_id_with_http_info(self, rule_id, label_i :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['rule_id', 'label_id', 'zap_trace_span'] # noqa: E501 @@ -334,8 +333,8 @@ def delete_notification_rules_id_labels_id_with_http_info(self, rule_id, label_i _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_notification_rules(self, org_id, **kwargs): # noqa: E501 - """Get all notification rules # noqa: E501 + def get_notification_rules(self, org_id, **kwargs): # noqa: E501,D401,D403 + """Get all notification rules. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -348,11 +347,11 @@ def get_notification_rules(self, org_id, **kwargs): # noqa: E501 :param int offset: :param int limit: :param str check_id: Only show notifications that belong to the specific check ID. - :param str tag: Only return notification rules that \"would match\" statuses which contain the tag key value pairs provided. + :param str tag: Only return notification rules that "would match" statuses which contain the tag key value pairs provided. :return: NotificationRules If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_notification_rules_with_http_info(org_id, **kwargs) # noqa: E501 @@ -360,8 +359,8 @@ def get_notification_rules(self, org_id, **kwargs): # noqa: E501 (data) = self.get_notification_rules_with_http_info(org_id, **kwargs) # noqa: E501 return data - def get_notification_rules_with_http_info(self, org_id, **kwargs): # noqa: E501 - """Get all notification rules # noqa: E501 + def get_notification_rules_with_http_info(self, org_id, **kwargs): # noqa: E501,D401,D403 + """Get all notification rules. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -374,12 +373,11 @@ def get_notification_rules_with_http_info(self, org_id, **kwargs): # noqa: E501 :param int offset: :param int limit: :param str check_id: Only show notifications that belong to the specific check ID. - :param str tag: Only return notification rules that \"would match\" statuses which contain the tag key value pairs provided. + :param str tag: Only return notification rules that "would match" statuses which contain the tag key value pairs provided. :return: NotificationRules If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'zap_trace_span', 'offset', 'limit', 'check_id', 'tag'] # noqa: E501 @@ -456,8 +454,8 @@ def get_notification_rules_with_http_info(self, org_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_notification_rules_id(self, rule_id, **kwargs): # noqa: E501 - """Get a notification rule # noqa: E501 + def get_notification_rules_id(self, rule_id, **kwargs): # noqa: E501,D401,D403 + """Get a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -470,7 +468,7 @@ def get_notification_rules_id(self, rule_id, **kwargs): # noqa: E501 :return: NotificationRule If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_notification_rules_id_with_http_info(rule_id, **kwargs) # noqa: E501 @@ -478,8 +476,8 @@ def get_notification_rules_id(self, rule_id, **kwargs): # noqa: E501 (data) = self.get_notification_rules_id_with_http_info(rule_id, **kwargs) # noqa: E501 return data - def get_notification_rules_id_with_http_info(self, rule_id, **kwargs): # noqa: E501 - """Get a notification rule # noqa: E501 + def get_notification_rules_id_with_http_info(self, rule_id, **kwargs): # noqa: E501,D401,D403 + """Get a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -492,8 +490,7 @@ def get_notification_rules_id_with_http_info(self, rule_id, **kwargs): # noqa: :return: NotificationRule If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['rule_id', 'zap_trace_span'] # noqa: E501 @@ -554,8 +551,8 @@ def get_notification_rules_id_with_http_info(self, rule_id, **kwargs): # noqa: _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_notification_rules_id_labels(self, rule_id, **kwargs): # noqa: E501 - """List all labels for a notification rule # noqa: E501 + def get_notification_rules_id_labels(self, rule_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -568,7 +565,7 @@ def get_notification_rules_id_labels(self, rule_id, **kwargs): # noqa: E501 :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_notification_rules_id_labels_with_http_info(rule_id, **kwargs) # noqa: E501 @@ -576,8 +573,8 @@ def get_notification_rules_id_labels(self, rule_id, **kwargs): # noqa: E501 (data) = self.get_notification_rules_id_labels_with_http_info(rule_id, **kwargs) # noqa: E501 return data - def get_notification_rules_id_labels_with_http_info(self, rule_id, **kwargs): # noqa: E501 - """List all labels for a notification rule # noqa: E501 + def get_notification_rules_id_labels_with_http_info(self, rule_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -590,8 +587,7 @@ def get_notification_rules_id_labels_with_http_info(self, rule_id, **kwargs): # :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['rule_id', 'zap_trace_span'] # noqa: E501 @@ -652,8 +648,8 @@ def get_notification_rules_id_labels_with_http_info(self, rule_id, **kwargs): # _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_notification_rules_id(self, rule_id, notification_rule_update, **kwargs): # noqa: E501 - """Update a notification rule # noqa: E501 + def patch_notification_rules_id(self, rule_id, notification_rule_update, **kwargs): # noqa: E501,D401,D403 + """Update a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -667,7 +663,7 @@ def patch_notification_rules_id(self, rule_id, notification_rule_update, **kwarg :return: NotificationRule If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_notification_rules_id_with_http_info(rule_id, notification_rule_update, **kwargs) # noqa: E501 @@ -675,8 +671,8 @@ def patch_notification_rules_id(self, rule_id, notification_rule_update, **kwarg (data) = self.patch_notification_rules_id_with_http_info(rule_id, notification_rule_update, **kwargs) # noqa: E501 return data - def patch_notification_rules_id_with_http_info(self, rule_id, notification_rule_update, **kwargs): # noqa: E501 - """Update a notification rule # noqa: E501 + def patch_notification_rules_id_with_http_info(self, rule_id, notification_rule_update, **kwargs): # noqa: E501,D401,D403 + """Update a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -690,8 +686,7 @@ def patch_notification_rules_id_with_http_info(self, rule_id, notification_rule_ :return: NotificationRule If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['rule_id', 'notification_rule_update', 'zap_trace_span'] # noqa: E501 @@ -762,8 +757,8 @@ def patch_notification_rules_id_with_http_info(self, rule_id, notification_rule_ _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_notification_rule_id_labels(self, rule_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a notification rule # noqa: E501 + def post_notification_rule_id_labels(self, rule_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -777,7 +772,7 @@ def post_notification_rule_id_labels(self, rule_id, label_mapping, **kwargs): # :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_notification_rule_id_labels_with_http_info(rule_id, label_mapping, **kwargs) # noqa: E501 @@ -785,8 +780,8 @@ def post_notification_rule_id_labels(self, rule_id, label_mapping, **kwargs): # (data) = self.post_notification_rule_id_labels_with_http_info(rule_id, label_mapping, **kwargs) # noqa: E501 return data - def post_notification_rule_id_labels_with_http_info(self, rule_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a notification rule # noqa: E501 + def post_notification_rule_id_labels_with_http_info(self, rule_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -800,8 +795,7 @@ def post_notification_rule_id_labels_with_http_info(self, rule_id, label_mapping :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['rule_id', 'label_mapping', 'zap_trace_span'] # noqa: E501 @@ -872,8 +866,8 @@ def post_notification_rule_id_labels_with_http_info(self, rule_id, label_mapping _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def put_notification_rules_id(self, rule_id, notification_rule, **kwargs): # noqa: E501 - """Update a notification rule # noqa: E501 + def put_notification_rules_id(self, rule_id, notification_rule, **kwargs): # noqa: E501,D401,D403 + """Update a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -887,7 +881,7 @@ def put_notification_rules_id(self, rule_id, notification_rule, **kwargs): # no :return: NotificationRule If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.put_notification_rules_id_with_http_info(rule_id, notification_rule, **kwargs) # noqa: E501 @@ -895,8 +889,8 @@ def put_notification_rules_id(self, rule_id, notification_rule, **kwargs): # no (data) = self.put_notification_rules_id_with_http_info(rule_id, notification_rule, **kwargs) # noqa: E501 return data - def put_notification_rules_id_with_http_info(self, rule_id, notification_rule, **kwargs): # noqa: E501 - """Update a notification rule # noqa: E501 + def put_notification_rules_id_with_http_info(self, rule_id, notification_rule, **kwargs): # noqa: E501,D401,D403 + """Update a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -910,8 +904,7 @@ def put_notification_rules_id_with_http_info(self, rule_id, notification_rule, * :return: NotificationRule If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['rule_id', 'notification_rule', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/organizations_service.py b/influxdb_client/service/organizations_service.py index bf22b0d6..0fc6a641 100644 --- a/influxdb_client/service/organizations_service.py +++ b/influxdb_client/service/organizations_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class OrganizationsService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """OrganizationsService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def delete_orgs_id(self, org_id, **kwargs): # noqa: E501 - """Delete an organization # noqa: E501 + def delete_orgs_id(self, org_id, **kwargs): # noqa: E501,D401,D403 + """Delete an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -46,7 +48,7 @@ def delete_orgs_id(self, org_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_orgs_id_with_http_info(org_id, **kwargs) # noqa: E501 @@ -54,8 +56,8 @@ def delete_orgs_id(self, org_id, **kwargs): # noqa: E501 (data) = self.delete_orgs_id_with_http_info(org_id, **kwargs) # noqa: E501 return data - def delete_orgs_id_with_http_info(self, org_id, **kwargs): # noqa: E501 - """Delete an organization # noqa: E501 + def delete_orgs_id_with_http_info(self, org_id, **kwargs): # noqa: E501,D401,D403 + """Delete an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -68,8 +70,7 @@ def delete_orgs_id_with_http_info(self, org_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'zap_trace_span'] # noqa: E501 @@ -130,8 +131,8 @@ def delete_orgs_id_with_http_info(self, org_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_orgs_id_labels_id(self, org_id, label_id, **kwargs): # noqa: E501 - """Delete a label from an organization # noqa: E501 + def delete_orgs_id_labels_id(self, org_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete a label from an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -145,7 +146,7 @@ def delete_orgs_id_labels_id(self, org_id, label_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_orgs_id_labels_id_with_http_info(org_id, label_id, **kwargs) # noqa: E501 @@ -153,8 +154,8 @@ def delete_orgs_id_labels_id(self, org_id, label_id, **kwargs): # noqa: E501 (data) = self.delete_orgs_id_labels_id_with_http_info(org_id, label_id, **kwargs) # noqa: E501 return data - def delete_orgs_id_labels_id_with_http_info(self, org_id, label_id, **kwargs): # noqa: E501 - """Delete a label from an organization # noqa: E501 + def delete_orgs_id_labels_id_with_http_info(self, org_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete a label from an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -168,8 +169,7 @@ def delete_orgs_id_labels_id_with_http_info(self, org_id, label_id, **kwargs): :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'label_id', 'zap_trace_span'] # noqa: E501 @@ -236,8 +236,8 @@ def delete_orgs_id_labels_id_with_http_info(self, org_id, label_id, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_orgs_id_members_id(self, user_id, org_id, **kwargs): # noqa: E501 - """Remove a member from an organization # noqa: E501 + def delete_orgs_id_members_id(self, user_id, org_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -251,7 +251,7 @@ def delete_orgs_id_members_id(self, user_id, org_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_orgs_id_members_id_with_http_info(user_id, org_id, **kwargs) # noqa: E501 @@ -259,8 +259,8 @@ def delete_orgs_id_members_id(self, user_id, org_id, **kwargs): # noqa: E501 (data) = self.delete_orgs_id_members_id_with_http_info(user_id, org_id, **kwargs) # noqa: E501 return data - def delete_orgs_id_members_id_with_http_info(self, user_id, org_id, **kwargs): # noqa: E501 - """Remove a member from an organization # noqa: E501 + def delete_orgs_id_members_id_with_http_info(self, user_id, org_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -274,8 +274,7 @@ def delete_orgs_id_members_id_with_http_info(self, user_id, org_id, **kwargs): :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'org_id', 'zap_trace_span'] # noqa: E501 @@ -342,8 +341,8 @@ def delete_orgs_id_members_id_with_http_info(self, user_id, org_id, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_orgs_id_owners_id(self, user_id, org_id, **kwargs): # noqa: E501 - """Remove an owner from an organization # noqa: E501 + def delete_orgs_id_owners_id(self, user_id, org_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -357,7 +356,7 @@ def delete_orgs_id_owners_id(self, user_id, org_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_orgs_id_owners_id_with_http_info(user_id, org_id, **kwargs) # noqa: E501 @@ -365,8 +364,8 @@ def delete_orgs_id_owners_id(self, user_id, org_id, **kwargs): # noqa: E501 (data) = self.delete_orgs_id_owners_id_with_http_info(user_id, org_id, **kwargs) # noqa: E501 return data - def delete_orgs_id_owners_id_with_http_info(self, user_id, org_id, **kwargs): # noqa: E501 - """Remove an owner from an organization # noqa: E501 + def delete_orgs_id_owners_id_with_http_info(self, user_id, org_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -380,8 +379,7 @@ def delete_orgs_id_owners_id_with_http_info(self, user_id, org_id, **kwargs): # :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'org_id', 'zap_trace_span'] # noqa: E501 @@ -448,8 +446,8 @@ def delete_orgs_id_owners_id_with_http_info(self, user_id, org_id, **kwargs): # _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_orgs(self, **kwargs): # noqa: E501 - """List all organizations # noqa: E501 + def get_orgs(self, **kwargs): # noqa: E501,D401,D403 + """List all organizations. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -464,7 +462,7 @@ def get_orgs(self, **kwargs): # noqa: E501 :return: Organizations If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_orgs_with_http_info(**kwargs) # noqa: E501 @@ -472,8 +470,8 @@ def get_orgs(self, **kwargs): # noqa: E501 (data) = self.get_orgs_with_http_info(**kwargs) # noqa: E501 return data - def get_orgs_with_http_info(self, **kwargs): # noqa: E501 - """List all organizations # noqa: E501 + def get_orgs_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """List all organizations. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -488,8 +486,7 @@ def get_orgs_with_http_info(self, **kwargs): # noqa: E501 :return: Organizations If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span', 'org', 'org_id', 'user_id'] # noqa: E501 @@ -550,8 +547,8 @@ def get_orgs_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_orgs_id(self, org_id, **kwargs): # noqa: E501 - """Retrieve an organization # noqa: E501 + def get_orgs_id(self, org_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -564,7 +561,7 @@ def get_orgs_id(self, org_id, **kwargs): # noqa: E501 :return: Organization If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_orgs_id_with_http_info(org_id, **kwargs) # noqa: E501 @@ -572,8 +569,8 @@ def get_orgs_id(self, org_id, **kwargs): # noqa: E501 (data) = self.get_orgs_id_with_http_info(org_id, **kwargs) # noqa: E501 return data - def get_orgs_id_with_http_info(self, org_id, **kwargs): # noqa: E501 - """Retrieve an organization # noqa: E501 + def get_orgs_id_with_http_info(self, org_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -586,8 +583,7 @@ def get_orgs_id_with_http_info(self, org_id, **kwargs): # noqa: E501 :return: Organization If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'zap_trace_span'] # noqa: E501 @@ -648,8 +644,8 @@ def get_orgs_id_with_http_info(self, org_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_orgs_id_labels(self, org_id, **kwargs): # noqa: E501 - """List all labels for a organization # noqa: E501 + def get_orgs_id_labels(self, org_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -662,7 +658,7 @@ def get_orgs_id_labels(self, org_id, **kwargs): # noqa: E501 :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_orgs_id_labels_with_http_info(org_id, **kwargs) # noqa: E501 @@ -670,8 +666,8 @@ def get_orgs_id_labels(self, org_id, **kwargs): # noqa: E501 (data) = self.get_orgs_id_labels_with_http_info(org_id, **kwargs) # noqa: E501 return data - def get_orgs_id_labels_with_http_info(self, org_id, **kwargs): # noqa: E501 - """List all labels for a organization # noqa: E501 + def get_orgs_id_labels_with_http_info(self, org_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -684,8 +680,7 @@ def get_orgs_id_labels_with_http_info(self, org_id, **kwargs): # noqa: E501 :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'zap_trace_span'] # noqa: E501 @@ -746,8 +741,8 @@ def get_orgs_id_labels_with_http_info(self, org_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_orgs_id_members(self, org_id, **kwargs): # noqa: E501 - """List all members of an organization # noqa: E501 + def get_orgs_id_members(self, org_id, **kwargs): # noqa: E501,D401,D403 + """List all members of an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -760,7 +755,7 @@ def get_orgs_id_members(self, org_id, **kwargs): # noqa: E501 :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_orgs_id_members_with_http_info(org_id, **kwargs) # noqa: E501 @@ -768,8 +763,8 @@ def get_orgs_id_members(self, org_id, **kwargs): # noqa: E501 (data) = self.get_orgs_id_members_with_http_info(org_id, **kwargs) # noqa: E501 return data - def get_orgs_id_members_with_http_info(self, org_id, **kwargs): # noqa: E501 - """List all members of an organization # noqa: E501 + def get_orgs_id_members_with_http_info(self, org_id, **kwargs): # noqa: E501,D401,D403 + """List all members of an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -782,8 +777,7 @@ def get_orgs_id_members_with_http_info(self, org_id, **kwargs): # noqa: E501 :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'zap_trace_span'] # noqa: E501 @@ -844,8 +838,8 @@ def get_orgs_id_members_with_http_info(self, org_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_orgs_id_owners(self, org_id, **kwargs): # noqa: E501 - """List all owners of an organization # noqa: E501 + def get_orgs_id_owners(self, org_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -858,7 +852,7 @@ def get_orgs_id_owners(self, org_id, **kwargs): # noqa: E501 :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_orgs_id_owners_with_http_info(org_id, **kwargs) # noqa: E501 @@ -866,8 +860,8 @@ def get_orgs_id_owners(self, org_id, **kwargs): # noqa: E501 (data) = self.get_orgs_id_owners_with_http_info(org_id, **kwargs) # noqa: E501 return data - def get_orgs_id_owners_with_http_info(self, org_id, **kwargs): # noqa: E501 - """List all owners of an organization # noqa: E501 + def get_orgs_id_owners_with_http_info(self, org_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -880,8 +874,7 @@ def get_orgs_id_owners_with_http_info(self, org_id, **kwargs): # noqa: E501 :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'zap_trace_span'] # noqa: E501 @@ -942,8 +935,8 @@ def get_orgs_id_owners_with_http_info(self, org_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_orgs_id_secrets(self, org_id, **kwargs): # noqa: E501 - """List all secret keys for an organization # noqa: E501 + def get_orgs_id_secrets(self, org_id, **kwargs): # noqa: E501,D401,D403 + """List all secret keys for an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -956,7 +949,7 @@ def get_orgs_id_secrets(self, org_id, **kwargs): # noqa: E501 :return: SecretKeysResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_orgs_id_secrets_with_http_info(org_id, **kwargs) # noqa: E501 @@ -964,8 +957,8 @@ def get_orgs_id_secrets(self, org_id, **kwargs): # noqa: E501 (data) = self.get_orgs_id_secrets_with_http_info(org_id, **kwargs) # noqa: E501 return data - def get_orgs_id_secrets_with_http_info(self, org_id, **kwargs): # noqa: E501 - """List all secret keys for an organization # noqa: E501 + def get_orgs_id_secrets_with_http_info(self, org_id, **kwargs): # noqa: E501,D401,D403 + """List all secret keys for an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -978,8 +971,7 @@ def get_orgs_id_secrets_with_http_info(self, org_id, **kwargs): # noqa: E501 :return: SecretKeysResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'zap_trace_span'] # noqa: E501 @@ -1040,8 +1032,8 @@ def get_orgs_id_secrets_with_http_info(self, org_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_orgs_id(self, org_id, organization, **kwargs): # noqa: E501 - """Update an organization # noqa: E501 + def patch_orgs_id(self, org_id, organization, **kwargs): # noqa: E501,D401,D403 + """Update an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1055,7 +1047,7 @@ def patch_orgs_id(self, org_id, organization, **kwargs): # noqa: E501 :return: Organization If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_orgs_id_with_http_info(org_id, organization, **kwargs) # noqa: E501 @@ -1063,8 +1055,8 @@ def patch_orgs_id(self, org_id, organization, **kwargs): # noqa: E501 (data) = self.patch_orgs_id_with_http_info(org_id, organization, **kwargs) # noqa: E501 return data - def patch_orgs_id_with_http_info(self, org_id, organization, **kwargs): # noqa: E501 - """Update an organization # noqa: E501 + def patch_orgs_id_with_http_info(self, org_id, organization, **kwargs): # noqa: E501,D401,D403 + """Update an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1078,8 +1070,7 @@ def patch_orgs_id_with_http_info(self, org_id, organization, **kwargs): # noqa: :return: Organization If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'organization', 'zap_trace_span'] # noqa: E501 @@ -1150,8 +1141,8 @@ def patch_orgs_id_with_http_info(self, org_id, organization, **kwargs): # noqa: _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_orgs_id_secrets(self, org_id, request_body, **kwargs): # noqa: E501 - """Update secrets in an organization # noqa: E501 + def patch_orgs_id_secrets(self, org_id, request_body, **kwargs): # noqa: E501,D401,D403 + """Update secrets in an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1165,7 +1156,7 @@ def patch_orgs_id_secrets(self, org_id, request_body, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_orgs_id_secrets_with_http_info(org_id, request_body, **kwargs) # noqa: E501 @@ -1173,8 +1164,8 @@ def patch_orgs_id_secrets(self, org_id, request_body, **kwargs): # noqa: E501 (data) = self.patch_orgs_id_secrets_with_http_info(org_id, request_body, **kwargs) # noqa: E501 return data - def patch_orgs_id_secrets_with_http_info(self, org_id, request_body, **kwargs): # noqa: E501 - """Update secrets in an organization # noqa: E501 + def patch_orgs_id_secrets_with_http_info(self, org_id, request_body, **kwargs): # noqa: E501,D401,D403 + """Update secrets in an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1188,8 +1179,7 @@ def patch_orgs_id_secrets_with_http_info(self, org_id, request_body, **kwargs): :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'request_body', 'zap_trace_span'] # noqa: E501 @@ -1260,8 +1250,8 @@ def patch_orgs_id_secrets_with_http_info(self, org_id, request_body, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_orgs(self, organization, **kwargs): # noqa: E501 - """Create an organization # noqa: E501 + def post_orgs(self, organization, **kwargs): # noqa: E501,D401,D403 + """Create an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1274,7 +1264,7 @@ def post_orgs(self, organization, **kwargs): # noqa: E501 :return: Organization If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_orgs_with_http_info(organization, **kwargs) # noqa: E501 @@ -1282,8 +1272,8 @@ def post_orgs(self, organization, **kwargs): # noqa: E501 (data) = self.post_orgs_with_http_info(organization, **kwargs) # noqa: E501 return data - def post_orgs_with_http_info(self, organization, **kwargs): # noqa: E501 - """Create an organization # noqa: E501 + def post_orgs_with_http_info(self, organization, **kwargs): # noqa: E501,D401,D403 + """Create an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1296,8 +1286,7 @@ def post_orgs_with_http_info(self, organization, **kwargs): # noqa: E501 :return: Organization If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['organization', 'zap_trace_span'] # noqa: E501 @@ -1362,8 +1351,8 @@ def post_orgs_with_http_info(self, organization, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_orgs_id_labels(self, org_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to an organization # noqa: E501 + def post_orgs_id_labels(self, org_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1377,7 +1366,7 @@ def post_orgs_id_labels(self, org_id, label_mapping, **kwargs): # noqa: E501 :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_orgs_id_labels_with_http_info(org_id, label_mapping, **kwargs) # noqa: E501 @@ -1385,8 +1374,8 @@ def post_orgs_id_labels(self, org_id, label_mapping, **kwargs): # noqa: E501 (data) = self.post_orgs_id_labels_with_http_info(org_id, label_mapping, **kwargs) # noqa: E501 return data - def post_orgs_id_labels_with_http_info(self, org_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to an organization # noqa: E501 + def post_orgs_id_labels_with_http_info(self, org_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1400,8 +1389,7 @@ def post_orgs_id_labels_with_http_info(self, org_id, label_mapping, **kwargs): :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'label_mapping', 'zap_trace_span'] # noqa: E501 @@ -1472,8 +1460,8 @@ def post_orgs_id_labels_with_http_info(self, org_id, label_mapping, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_orgs_id_members(self, org_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to an organization # noqa: E501 + def post_orgs_id_members(self, org_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1487,7 +1475,7 @@ def post_orgs_id_members(self, org_id, add_resource_member_request_body, **kwarg :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_orgs_id_members_with_http_info(org_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -1495,8 +1483,8 @@ def post_orgs_id_members(self, org_id, add_resource_member_request_body, **kwarg (data) = self.post_orgs_id_members_with_http_info(org_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_orgs_id_members_with_http_info(self, org_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to an organization # noqa: E501 + def post_orgs_id_members_with_http_info(self, org_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1510,8 +1498,7 @@ def post_orgs_id_members_with_http_info(self, org_id, add_resource_member_reques :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -1582,8 +1569,8 @@ def post_orgs_id_members_with_http_info(self, org_id, add_resource_member_reques _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_orgs_id_owners(self, org_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to an organization # noqa: E501 + def post_orgs_id_owners(self, org_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1597,7 +1584,7 @@ def post_orgs_id_owners(self, org_id, add_resource_member_request_body, **kwargs :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_orgs_id_owners_with_http_info(org_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -1605,8 +1592,8 @@ def post_orgs_id_owners(self, org_id, add_resource_member_request_body, **kwargs (data) = self.post_orgs_id_owners_with_http_info(org_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_orgs_id_owners_with_http_info(self, org_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to an organization # noqa: E501 + def post_orgs_id_owners_with_http_info(self, org_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1620,8 +1607,7 @@ def post_orgs_id_owners_with_http_info(self, org_id, add_resource_member_request :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -1692,8 +1678,8 @@ def post_orgs_id_owners_with_http_info(self, org_id, add_resource_member_request _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_orgs_id_secrets(self, org_id, secret_keys, **kwargs): # noqa: E501 - """Delete secrets from an organization # noqa: E501 + def post_orgs_id_secrets(self, org_id, secret_keys, **kwargs): # noqa: E501,D401,D403 + """Delete secrets from an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1707,7 +1693,7 @@ def post_orgs_id_secrets(self, org_id, secret_keys, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_orgs_id_secrets_with_http_info(org_id, secret_keys, **kwargs) # noqa: E501 @@ -1715,8 +1701,8 @@ def post_orgs_id_secrets(self, org_id, secret_keys, **kwargs): # noqa: E501 (data) = self.post_orgs_id_secrets_with_http_info(org_id, secret_keys, **kwargs) # noqa: E501 return data - def post_orgs_id_secrets_with_http_info(self, org_id, secret_keys, **kwargs): # noqa: E501 - """Delete secrets from an organization # noqa: E501 + def post_orgs_id_secrets_with_http_info(self, org_id, secret_keys, **kwargs): # noqa: E501,D401,D403 + """Delete secrets from an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1730,8 +1716,7 @@ def post_orgs_id_secrets_with_http_info(self, org_id, secret_keys, **kwargs): # :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'secret_keys', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/query_service.py b/influxdb_client/service/query_service.py index 8f4f0f90..2dbda15d 100644 --- a/influxdb_client/service/query_service.py +++ b/influxdb_client/service/query_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class QueryService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """QueryService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def get_query_suggestions(self, **kwargs): # noqa: E501 - """get_query_suggestions # noqa: E501 + def get_query_suggestions(self, **kwargs): # noqa: E501,D401,D403 + """get_query_suggestions. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -45,7 +47,7 @@ def get_query_suggestions(self, **kwargs): # noqa: E501 :return: FluxSuggestions If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_query_suggestions_with_http_info(**kwargs) # noqa: E501 @@ -53,8 +55,8 @@ def get_query_suggestions(self, **kwargs): # noqa: E501 (data) = self.get_query_suggestions_with_http_info(**kwargs) # noqa: E501 return data - def get_query_suggestions_with_http_info(self, **kwargs): # noqa: E501 - """get_query_suggestions # noqa: E501 + def get_query_suggestions_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """get_query_suggestions. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -66,8 +68,7 @@ def get_query_suggestions_with_http_info(self, **kwargs): # noqa: E501 :return: FluxSuggestions If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span'] # noqa: E501 @@ -122,8 +123,8 @@ def get_query_suggestions_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_query_suggestions_name(self, name, **kwargs): # noqa: E501 - """get_query_suggestions_name # noqa: E501 + def get_query_suggestions_name(self, name, **kwargs): # noqa: E501,D401,D403 + """get_query_suggestions_name. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -136,7 +137,7 @@ def get_query_suggestions_name(self, name, **kwargs): # noqa: E501 :return: FluxSuggestion If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_query_suggestions_name_with_http_info(name, **kwargs) # noqa: E501 @@ -144,8 +145,8 @@ def get_query_suggestions_name(self, name, **kwargs): # noqa: E501 (data) = self.get_query_suggestions_name_with_http_info(name, **kwargs) # noqa: E501 return data - def get_query_suggestions_name_with_http_info(self, name, **kwargs): # noqa: E501 - """get_query_suggestions_name # noqa: E501 + def get_query_suggestions_name_with_http_info(self, name, **kwargs): # noqa: E501,D401,D403 + """get_query_suggestions_name. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -158,8 +159,7 @@ def get_query_suggestions_name_with_http_info(self, name, **kwargs): # noqa: E5 :return: FluxSuggestion If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['name', 'zap_trace_span'] # noqa: E501 @@ -220,8 +220,8 @@ def get_query_suggestions_name_with_http_info(self, name, **kwargs): # noqa: E5 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_query(self, **kwargs): # noqa: E501 - """Query InfluxDB # noqa: E501 + def post_query(self, **kwargs): # noqa: E501,D401,D403 + """Query InfluxDB. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -238,7 +238,7 @@ def post_query(self, **kwargs): # noqa: E501 :return: str If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_query_with_http_info(**kwargs) # noqa: E501 @@ -246,8 +246,8 @@ def post_query(self, **kwargs): # noqa: E501 (data) = self.post_query_with_http_info(**kwargs) # noqa: E501 return data - def post_query_with_http_info(self, **kwargs): # noqa: E501 - """Query InfluxDB # noqa: E501 + def post_query_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """Query InfluxDB. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -264,8 +264,7 @@ def post_query_with_http_info(self, **kwargs): # noqa: E501 :return: str If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span', 'accept_encoding', 'content_type', 'org', 'org_id', 'query'] # noqa: E501 @@ -334,8 +333,8 @@ def post_query_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_query_analyze(self, **kwargs): # noqa: E501 - """Analyze an InfluxQL or Flux query # noqa: E501 + def post_query_analyze(self, **kwargs): # noqa: E501,D401,D403 + """Analyze an InfluxQL or Flux query. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -349,7 +348,7 @@ def post_query_analyze(self, **kwargs): # noqa: E501 :return: AnalyzeQueryResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_query_analyze_with_http_info(**kwargs) # noqa: E501 @@ -357,8 +356,8 @@ def post_query_analyze(self, **kwargs): # noqa: E501 (data) = self.post_query_analyze_with_http_info(**kwargs) # noqa: E501 return data - def post_query_analyze_with_http_info(self, **kwargs): # noqa: E501 - """Analyze an InfluxQL or Flux query # noqa: E501 + def post_query_analyze_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """Analyze an InfluxQL or Flux query. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -372,8 +371,7 @@ def post_query_analyze_with_http_info(self, **kwargs): # noqa: E501 :return: AnalyzeQueryResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span', 'content_type', 'query'] # noqa: E501 @@ -436,10 +434,10 @@ def post_query_analyze_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_query_ast(self, **kwargs): # noqa: E501 - """post_query_ast # noqa: E501 + def post_query_ast(self, **kwargs): # noqa: E501,D401,D403 + """post_query_ast. - Analyzes flux query and generates a query specification. # noqa: E501 + Analyzes flux query and generates a query specification. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_query_ast(async_req=True) @@ -452,7 +450,7 @@ def post_query_ast(self, **kwargs): # noqa: E501 :return: ASTResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_query_ast_with_http_info(**kwargs) # noqa: E501 @@ -460,10 +458,10 @@ def post_query_ast(self, **kwargs): # noqa: E501 (data) = self.post_query_ast_with_http_info(**kwargs) # noqa: E501 return data - def post_query_ast_with_http_info(self, **kwargs): # noqa: E501 - """post_query_ast # noqa: E501 + def post_query_ast_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """post_query_ast. - Analyzes flux query and generates a query specification. # noqa: E501 + Analyzes flux query and generates a query specification. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_query_ast_with_http_info(async_req=True) @@ -476,8 +474,7 @@ def post_query_ast_with_http_info(self, **kwargs): # noqa: E501 :return: ASTResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span', 'content_type', 'language_request'] # noqa: E501 diff --git a/influxdb_client/service/ready_service.py b/influxdb_client/service/ready_service.py index f2066887..445763cb 100644 --- a/influxdb_client/service/ready_service.py +++ b/influxdb_client/service/ready_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class ReadyService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """ReadyService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def get_ready(self, **kwargs): # noqa: E501 - """Get the readiness of an instance at startup # noqa: E501 + def get_ready(self, **kwargs): # noqa: E501,D401,D403 + """Get the readiness of an instance at startup. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -45,7 +47,7 @@ def get_ready(self, **kwargs): # noqa: E501 :return: Ready If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_ready_with_http_info(**kwargs) # noqa: E501 @@ -53,8 +55,8 @@ def get_ready(self, **kwargs): # noqa: E501 (data) = self.get_ready_with_http_info(**kwargs) # noqa: E501 return data - def get_ready_with_http_info(self, **kwargs): # noqa: E501 - """Get the readiness of an instance at startup # noqa: E501 + def get_ready_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """Get the readiness of an instance at startup. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -66,8 +68,7 @@ def get_ready_with_http_info(self, **kwargs): # noqa: E501 :return: Ready If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/rules_service.py b/influxdb_client/service/rules_service.py index fc6c89c9..20cb30e3 100644 --- a/influxdb_client/service/rules_service.py +++ b/influxdb_client/service/rules_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class RulesService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """RulesService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def get_notification_rules_id_query(self, rule_id, **kwargs): # noqa: E501 - """Get a notification rule query # noqa: E501 + def get_notification_rules_id_query(self, rule_id, **kwargs): # noqa: E501,D401,D403 + """Get a notification rule query. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -46,7 +48,7 @@ def get_notification_rules_id_query(self, rule_id, **kwargs): # noqa: E501 :return: FluxResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_notification_rules_id_query_with_http_info(rule_id, **kwargs) # noqa: E501 @@ -54,8 +56,8 @@ def get_notification_rules_id_query(self, rule_id, **kwargs): # noqa: E501 (data) = self.get_notification_rules_id_query_with_http_info(rule_id, **kwargs) # noqa: E501 return data - def get_notification_rules_id_query_with_http_info(self, rule_id, **kwargs): # noqa: E501 - """Get a notification rule query # noqa: E501 + def get_notification_rules_id_query_with_http_info(self, rule_id, **kwargs): # noqa: E501,D401,D403 + """Get a notification rule query. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -68,8 +70,7 @@ def get_notification_rules_id_query_with_http_info(self, rule_id, **kwargs): # :return: FluxResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['rule_id', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/scraper_targets_service.py b/influxdb_client/service/scraper_targets_service.py index 8e596a28..53e82ab9 100644 --- a/influxdb_client/service/scraper_targets_service.py +++ b/influxdb_client/service/scraper_targets_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class ScraperTargetsService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """ScraperTargetsService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def delete_scrapers_id(self, scraper_target_id, **kwargs): # noqa: E501 - """Delete a scraper target # noqa: E501 + def delete_scrapers_id(self, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """Delete a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -46,7 +48,7 @@ def delete_scrapers_id(self, scraper_target_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_scrapers_id_with_http_info(scraper_target_id, **kwargs) # noqa: E501 @@ -54,8 +56,8 @@ def delete_scrapers_id(self, scraper_target_id, **kwargs): # noqa: E501 (data) = self.delete_scrapers_id_with_http_info(scraper_target_id, **kwargs) # noqa: E501 return data - def delete_scrapers_id_with_http_info(self, scraper_target_id, **kwargs): # noqa: E501 - """Delete a scraper target # noqa: E501 + def delete_scrapers_id_with_http_info(self, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """Delete a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -68,8 +70,7 @@ def delete_scrapers_id_with_http_info(self, scraper_target_id, **kwargs): # noq :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['scraper_target_id', 'zap_trace_span'] # noqa: E501 @@ -130,8 +131,8 @@ def delete_scrapers_id_with_http_info(self, scraper_target_id, **kwargs): # noq _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_scrapers_id_labels_id(self, scraper_target_id, label_id, **kwargs): # noqa: E501 - """Delete a label from a scraper target # noqa: E501 + def delete_scrapers_id_labels_id(self, scraper_target_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete a label from a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -145,7 +146,7 @@ def delete_scrapers_id_labels_id(self, scraper_target_id, label_id, **kwargs): :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_scrapers_id_labels_id_with_http_info(scraper_target_id, label_id, **kwargs) # noqa: E501 @@ -153,8 +154,8 @@ def delete_scrapers_id_labels_id(self, scraper_target_id, label_id, **kwargs): (data) = self.delete_scrapers_id_labels_id_with_http_info(scraper_target_id, label_id, **kwargs) # noqa: E501 return data - def delete_scrapers_id_labels_id_with_http_info(self, scraper_target_id, label_id, **kwargs): # noqa: E501 - """Delete a label from a scraper target # noqa: E501 + def delete_scrapers_id_labels_id_with_http_info(self, scraper_target_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete a label from a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -168,8 +169,7 @@ def delete_scrapers_id_labels_id_with_http_info(self, scraper_target_id, label_i :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['scraper_target_id', 'label_id', 'zap_trace_span'] # noqa: E501 @@ -236,8 +236,8 @@ def delete_scrapers_id_labels_id_with_http_info(self, scraper_target_id, label_i _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_scrapers_id_members_id(self, user_id, scraper_target_id, **kwargs): # noqa: E501 - """Remove a member from a scraper target # noqa: E501 + def delete_scrapers_id_members_id(self, user_id, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -251,7 +251,7 @@ def delete_scrapers_id_members_id(self, user_id, scraper_target_id, **kwargs): :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_scrapers_id_members_id_with_http_info(user_id, scraper_target_id, **kwargs) # noqa: E501 @@ -259,8 +259,8 @@ def delete_scrapers_id_members_id(self, user_id, scraper_target_id, **kwargs): (data) = self.delete_scrapers_id_members_id_with_http_info(user_id, scraper_target_id, **kwargs) # noqa: E501 return data - def delete_scrapers_id_members_id_with_http_info(self, user_id, scraper_target_id, **kwargs): # noqa: E501 - """Remove a member from a scraper target # noqa: E501 + def delete_scrapers_id_members_id_with_http_info(self, user_id, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -274,8 +274,7 @@ def delete_scrapers_id_members_id_with_http_info(self, user_id, scraper_target_i :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'scraper_target_id', 'zap_trace_span'] # noqa: E501 @@ -342,8 +341,8 @@ def delete_scrapers_id_members_id_with_http_info(self, user_id, scraper_target_i _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_scrapers_id_owners_id(self, user_id, scraper_target_id, **kwargs): # noqa: E501 - """Remove an owner from a scraper target # noqa: E501 + def delete_scrapers_id_owners_id(self, user_id, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -357,7 +356,7 @@ def delete_scrapers_id_owners_id(self, user_id, scraper_target_id, **kwargs): # :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_scrapers_id_owners_id_with_http_info(user_id, scraper_target_id, **kwargs) # noqa: E501 @@ -365,8 +364,8 @@ def delete_scrapers_id_owners_id(self, user_id, scraper_target_id, **kwargs): # (data) = self.delete_scrapers_id_owners_id_with_http_info(user_id, scraper_target_id, **kwargs) # noqa: E501 return data - def delete_scrapers_id_owners_id_with_http_info(self, user_id, scraper_target_id, **kwargs): # noqa: E501 - """Remove an owner from a scraper target # noqa: E501 + def delete_scrapers_id_owners_id_with_http_info(self, user_id, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -380,8 +379,7 @@ def delete_scrapers_id_owners_id_with_http_info(self, user_id, scraper_target_id :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'scraper_target_id', 'zap_trace_span'] # noqa: E501 @@ -448,8 +446,8 @@ def delete_scrapers_id_owners_id_with_http_info(self, user_id, scraper_target_id _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_scrapers(self, **kwargs): # noqa: E501 - """Get all scraper targets # noqa: E501 + def get_scrapers(self, **kwargs): # noqa: E501,D401,D403 + """Get all scraper targets. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -465,7 +463,7 @@ def get_scrapers(self, **kwargs): # noqa: E501 :return: ScraperTargetResponses If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_scrapers_with_http_info(**kwargs) # noqa: E501 @@ -473,8 +471,8 @@ def get_scrapers(self, **kwargs): # noqa: E501 (data) = self.get_scrapers_with_http_info(**kwargs) # noqa: E501 return data - def get_scrapers_with_http_info(self, **kwargs): # noqa: E501 - """Get all scraper targets # noqa: E501 + def get_scrapers_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """Get all scraper targets. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -490,8 +488,7 @@ def get_scrapers_with_http_info(self, **kwargs): # noqa: E501 :return: ScraperTargetResponses If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span', 'name', 'id', 'org_id', 'org'] # noqa: E501 @@ -555,8 +552,8 @@ def get_scrapers_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_scrapers_id(self, scraper_target_id, **kwargs): # noqa: E501 - """Get a scraper target by ID # noqa: E501 + def get_scrapers_id(self, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """Get a scraper target by ID. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -569,7 +566,7 @@ def get_scrapers_id(self, scraper_target_id, **kwargs): # noqa: E501 :return: ScraperTargetResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_scrapers_id_with_http_info(scraper_target_id, **kwargs) # noqa: E501 @@ -577,8 +574,8 @@ def get_scrapers_id(self, scraper_target_id, **kwargs): # noqa: E501 (data) = self.get_scrapers_id_with_http_info(scraper_target_id, **kwargs) # noqa: E501 return data - def get_scrapers_id_with_http_info(self, scraper_target_id, **kwargs): # noqa: E501 - """Get a scraper target by ID # noqa: E501 + def get_scrapers_id_with_http_info(self, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """Get a scraper target by ID. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -591,8 +588,7 @@ def get_scrapers_id_with_http_info(self, scraper_target_id, **kwargs): # noqa: :return: ScraperTargetResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['scraper_target_id', 'zap_trace_span'] # noqa: E501 @@ -653,8 +649,8 @@ def get_scrapers_id_with_http_info(self, scraper_target_id, **kwargs): # noqa: _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_scrapers_id_labels(self, scraper_target_id, **kwargs): # noqa: E501 - """List all labels for a scraper target # noqa: E501 + def get_scrapers_id_labels(self, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -667,7 +663,7 @@ def get_scrapers_id_labels(self, scraper_target_id, **kwargs): # noqa: E501 :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_scrapers_id_labels_with_http_info(scraper_target_id, **kwargs) # noqa: E501 @@ -675,8 +671,8 @@ def get_scrapers_id_labels(self, scraper_target_id, **kwargs): # noqa: E501 (data) = self.get_scrapers_id_labels_with_http_info(scraper_target_id, **kwargs) # noqa: E501 return data - def get_scrapers_id_labels_with_http_info(self, scraper_target_id, **kwargs): # noqa: E501 - """List all labels for a scraper target # noqa: E501 + def get_scrapers_id_labels_with_http_info(self, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -689,8 +685,7 @@ def get_scrapers_id_labels_with_http_info(self, scraper_target_id, **kwargs): # :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['scraper_target_id', 'zap_trace_span'] # noqa: E501 @@ -751,8 +746,8 @@ def get_scrapers_id_labels_with_http_info(self, scraper_target_id, **kwargs): # _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_scrapers_id_members(self, scraper_target_id, **kwargs): # noqa: E501 - """List all users with member privileges for a scraper target # noqa: E501 + def get_scrapers_id_members(self, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """List all users with member privileges for a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -765,7 +760,7 @@ def get_scrapers_id_members(self, scraper_target_id, **kwargs): # noqa: E501 :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_scrapers_id_members_with_http_info(scraper_target_id, **kwargs) # noqa: E501 @@ -773,8 +768,8 @@ def get_scrapers_id_members(self, scraper_target_id, **kwargs): # noqa: E501 (data) = self.get_scrapers_id_members_with_http_info(scraper_target_id, **kwargs) # noqa: E501 return data - def get_scrapers_id_members_with_http_info(self, scraper_target_id, **kwargs): # noqa: E501 - """List all users with member privileges for a scraper target # noqa: E501 + def get_scrapers_id_members_with_http_info(self, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """List all users with member privileges for a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -787,8 +782,7 @@ def get_scrapers_id_members_with_http_info(self, scraper_target_id, **kwargs): :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['scraper_target_id', 'zap_trace_span'] # noqa: E501 @@ -849,8 +843,8 @@ def get_scrapers_id_members_with_http_info(self, scraper_target_id, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_scrapers_id_owners(self, scraper_target_id, **kwargs): # noqa: E501 - """List all owners of a scraper target # noqa: E501 + def get_scrapers_id_owners(self, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -863,7 +857,7 @@ def get_scrapers_id_owners(self, scraper_target_id, **kwargs): # noqa: E501 :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_scrapers_id_owners_with_http_info(scraper_target_id, **kwargs) # noqa: E501 @@ -871,8 +865,8 @@ def get_scrapers_id_owners(self, scraper_target_id, **kwargs): # noqa: E501 (data) = self.get_scrapers_id_owners_with_http_info(scraper_target_id, **kwargs) # noqa: E501 return data - def get_scrapers_id_owners_with_http_info(self, scraper_target_id, **kwargs): # noqa: E501 - """List all owners of a scraper target # noqa: E501 + def get_scrapers_id_owners_with_http_info(self, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -885,8 +879,7 @@ def get_scrapers_id_owners_with_http_info(self, scraper_target_id, **kwargs): # :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['scraper_target_id', 'zap_trace_span'] # noqa: E501 @@ -947,8 +940,8 @@ def get_scrapers_id_owners_with_http_info(self, scraper_target_id, **kwargs): # _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_scrapers_id(self, scraper_target_id, scraper_target_request, **kwargs): # noqa: E501 - """Update a scraper target # noqa: E501 + def patch_scrapers_id(self, scraper_target_id, scraper_target_request, **kwargs): # noqa: E501,D401,D403 + """Update a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -962,7 +955,7 @@ def patch_scrapers_id(self, scraper_target_id, scraper_target_request, **kwargs) :return: ScraperTargetResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_scrapers_id_with_http_info(scraper_target_id, scraper_target_request, **kwargs) # noqa: E501 @@ -970,8 +963,8 @@ def patch_scrapers_id(self, scraper_target_id, scraper_target_request, **kwargs) (data) = self.patch_scrapers_id_with_http_info(scraper_target_id, scraper_target_request, **kwargs) # noqa: E501 return data - def patch_scrapers_id_with_http_info(self, scraper_target_id, scraper_target_request, **kwargs): # noqa: E501 - """Update a scraper target # noqa: E501 + def patch_scrapers_id_with_http_info(self, scraper_target_id, scraper_target_request, **kwargs): # noqa: E501,D401,D403 + """Update a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -985,8 +978,7 @@ def patch_scrapers_id_with_http_info(self, scraper_target_id, scraper_target_req :return: ScraperTargetResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['scraper_target_id', 'scraper_target_request', 'zap_trace_span'] # noqa: E501 @@ -1057,8 +1049,8 @@ def patch_scrapers_id_with_http_info(self, scraper_target_id, scraper_target_req _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_scrapers_id_labels_id(self, scraper_target_id, label_id, label, **kwargs): # noqa: E501 - """Update a label on a scraper target # noqa: E501 + def patch_scrapers_id_labels_id(self, scraper_target_id, label_id, label, **kwargs): # noqa: E501,D401,D403 + """Update a label on a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1073,7 +1065,7 @@ def patch_scrapers_id_labels_id(self, scraper_target_id, label_id, label, **kwar :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_scrapers_id_labels_id_with_http_info(scraper_target_id, label_id, label, **kwargs) # noqa: E501 @@ -1081,8 +1073,8 @@ def patch_scrapers_id_labels_id(self, scraper_target_id, label_id, label, **kwar (data) = self.patch_scrapers_id_labels_id_with_http_info(scraper_target_id, label_id, label, **kwargs) # noqa: E501 return data - def patch_scrapers_id_labels_id_with_http_info(self, scraper_target_id, label_id, label, **kwargs): # noqa: E501 - """Update a label on a scraper target # noqa: E501 + def patch_scrapers_id_labels_id_with_http_info(self, scraper_target_id, label_id, label, **kwargs): # noqa: E501,D401,D403 + """Update a label on a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1097,8 +1089,7 @@ def patch_scrapers_id_labels_id_with_http_info(self, scraper_target_id, label_id :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['scraper_target_id', 'label_id', 'label', 'zap_trace_span'] # noqa: E501 @@ -1175,8 +1166,8 @@ def patch_scrapers_id_labels_id_with_http_info(self, scraper_target_id, label_id _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_scrapers(self, scraper_target_request, **kwargs): # noqa: E501 - """Create a scraper target # noqa: E501 + def post_scrapers(self, scraper_target_request, **kwargs): # noqa: E501,D401,D403 + """Create a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1189,7 +1180,7 @@ def post_scrapers(self, scraper_target_request, **kwargs): # noqa: E501 :return: ScraperTargetResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_scrapers_with_http_info(scraper_target_request, **kwargs) # noqa: E501 @@ -1197,8 +1188,8 @@ def post_scrapers(self, scraper_target_request, **kwargs): # noqa: E501 (data) = self.post_scrapers_with_http_info(scraper_target_request, **kwargs) # noqa: E501 return data - def post_scrapers_with_http_info(self, scraper_target_request, **kwargs): # noqa: E501 - """Create a scraper target # noqa: E501 + def post_scrapers_with_http_info(self, scraper_target_request, **kwargs): # noqa: E501,D401,D403 + """Create a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1211,8 +1202,7 @@ def post_scrapers_with_http_info(self, scraper_target_request, **kwargs): # noq :return: ScraperTargetResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['scraper_target_request', 'zap_trace_span'] # noqa: E501 @@ -1277,8 +1267,8 @@ def post_scrapers_with_http_info(self, scraper_target_request, **kwargs): # noq _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_scrapers_id_labels(self, scraper_target_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a scraper target # noqa: E501 + def post_scrapers_id_labels(self, scraper_target_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1292,7 +1282,7 @@ def post_scrapers_id_labels(self, scraper_target_id, label_mapping, **kwargs): :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_scrapers_id_labels_with_http_info(scraper_target_id, label_mapping, **kwargs) # noqa: E501 @@ -1300,8 +1290,8 @@ def post_scrapers_id_labels(self, scraper_target_id, label_mapping, **kwargs): (data) = self.post_scrapers_id_labels_with_http_info(scraper_target_id, label_mapping, **kwargs) # noqa: E501 return data - def post_scrapers_id_labels_with_http_info(self, scraper_target_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a scraper target # noqa: E501 + def post_scrapers_id_labels_with_http_info(self, scraper_target_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1315,8 +1305,7 @@ def post_scrapers_id_labels_with_http_info(self, scraper_target_id, label_mappin :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['scraper_target_id', 'label_mapping', 'zap_trace_span'] # noqa: E501 @@ -1387,8 +1376,8 @@ def post_scrapers_id_labels_with_http_info(self, scraper_target_id, label_mappin _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_scrapers_id_members(self, scraper_target_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a scraper target # noqa: E501 + def post_scrapers_id_members(self, scraper_target_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1402,7 +1391,7 @@ def post_scrapers_id_members(self, scraper_target_id, add_resource_member_reques :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_scrapers_id_members_with_http_info(scraper_target_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -1410,8 +1399,8 @@ def post_scrapers_id_members(self, scraper_target_id, add_resource_member_reques (data) = self.post_scrapers_id_members_with_http_info(scraper_target_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_scrapers_id_members_with_http_info(self, scraper_target_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a scraper target # noqa: E501 + def post_scrapers_id_members_with_http_info(self, scraper_target_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1425,8 +1414,7 @@ def post_scrapers_id_members_with_http_info(self, scraper_target_id, add_resourc :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['scraper_target_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -1497,8 +1485,8 @@ def post_scrapers_id_members_with_http_info(self, scraper_target_id, add_resourc _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_scrapers_id_owners(self, scraper_target_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a scraper target # noqa: E501 + def post_scrapers_id_owners(self, scraper_target_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1512,7 +1500,7 @@ def post_scrapers_id_owners(self, scraper_target_id, add_resource_member_request :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_scrapers_id_owners_with_http_info(scraper_target_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -1520,8 +1508,8 @@ def post_scrapers_id_owners(self, scraper_target_id, add_resource_member_request (data) = self.post_scrapers_id_owners_with_http_info(scraper_target_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_scrapers_id_owners_with_http_info(self, scraper_target_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a scraper target # noqa: E501 + def post_scrapers_id_owners_with_http_info(self, scraper_target_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1535,8 +1523,7 @@ def post_scrapers_id_owners_with_http_info(self, scraper_target_id, add_resource :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['scraper_target_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/secrets_service.py b/influxdb_client/service/secrets_service.py index c1f14bc4..565db239 100644 --- a/influxdb_client/service/secrets_service.py +++ b/influxdb_client/service/secrets_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class SecretsService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """SecretsService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def get_orgs_id_secrets(self, org_id, **kwargs): # noqa: E501 - """List all secret keys for an organization # noqa: E501 + def get_orgs_id_secrets(self, org_id, **kwargs): # noqa: E501,D401,D403 + """List all secret keys for an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -46,7 +48,7 @@ def get_orgs_id_secrets(self, org_id, **kwargs): # noqa: E501 :return: SecretKeysResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_orgs_id_secrets_with_http_info(org_id, **kwargs) # noqa: E501 @@ -54,8 +56,8 @@ def get_orgs_id_secrets(self, org_id, **kwargs): # noqa: E501 (data) = self.get_orgs_id_secrets_with_http_info(org_id, **kwargs) # noqa: E501 return data - def get_orgs_id_secrets_with_http_info(self, org_id, **kwargs): # noqa: E501 - """List all secret keys for an organization # noqa: E501 + def get_orgs_id_secrets_with_http_info(self, org_id, **kwargs): # noqa: E501,D401,D403 + """List all secret keys for an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -68,8 +70,7 @@ def get_orgs_id_secrets_with_http_info(self, org_id, **kwargs): # noqa: E501 :return: SecretKeysResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'zap_trace_span'] # noqa: E501 @@ -130,8 +131,8 @@ def get_orgs_id_secrets_with_http_info(self, org_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_orgs_id_secrets(self, org_id, request_body, **kwargs): # noqa: E501 - """Update secrets in an organization # noqa: E501 + def patch_orgs_id_secrets(self, org_id, request_body, **kwargs): # noqa: E501,D401,D403 + """Update secrets in an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -145,7 +146,7 @@ def patch_orgs_id_secrets(self, org_id, request_body, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_orgs_id_secrets_with_http_info(org_id, request_body, **kwargs) # noqa: E501 @@ -153,8 +154,8 @@ def patch_orgs_id_secrets(self, org_id, request_body, **kwargs): # noqa: E501 (data) = self.patch_orgs_id_secrets_with_http_info(org_id, request_body, **kwargs) # noqa: E501 return data - def patch_orgs_id_secrets_with_http_info(self, org_id, request_body, **kwargs): # noqa: E501 - """Update secrets in an organization # noqa: E501 + def patch_orgs_id_secrets_with_http_info(self, org_id, request_body, **kwargs): # noqa: E501,D401,D403 + """Update secrets in an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -168,8 +169,7 @@ def patch_orgs_id_secrets_with_http_info(self, org_id, request_body, **kwargs): :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'request_body', 'zap_trace_span'] # noqa: E501 @@ -240,8 +240,8 @@ def patch_orgs_id_secrets_with_http_info(self, org_id, request_body, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_orgs_id_secrets(self, org_id, secret_keys, **kwargs): # noqa: E501 - """Delete secrets from an organization # noqa: E501 + def post_orgs_id_secrets(self, org_id, secret_keys, **kwargs): # noqa: E501,D401,D403 + """Delete secrets from an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -255,7 +255,7 @@ def post_orgs_id_secrets(self, org_id, secret_keys, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_orgs_id_secrets_with_http_info(org_id, secret_keys, **kwargs) # noqa: E501 @@ -263,8 +263,8 @@ def post_orgs_id_secrets(self, org_id, secret_keys, **kwargs): # noqa: E501 (data) = self.post_orgs_id_secrets_with_http_info(org_id, secret_keys, **kwargs) # noqa: E501 return data - def post_orgs_id_secrets_with_http_info(self, org_id, secret_keys, **kwargs): # noqa: E501 - """Delete secrets from an organization # noqa: E501 + def post_orgs_id_secrets_with_http_info(self, org_id, secret_keys, **kwargs): # noqa: E501,D401,D403 + """Delete secrets from an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -278,8 +278,7 @@ def post_orgs_id_secrets_with_http_info(self, org_id, secret_keys, **kwargs): # :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'secret_keys', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/setup_service.py b/influxdb_client/service/setup_service.py index 11a001d2..76cd4c68 100644 --- a/influxdb_client/service/setup_service.py +++ b/influxdb_client/service/setup_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,21 +21,23 @@ class SetupService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """SetupService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def get_setup(self, **kwargs): # noqa: E501 - """Check if database has default user, org, bucket # noqa: E501 + def get_setup(self, **kwargs): # noqa: E501,D401,D403 + """Check if database has default user, org, bucket. - Returns `true` if no default user, organization, or bucket has been created. # noqa: E501 + Returns `true` if no default user, organization, or bucket has been created. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_setup(async_req=True) @@ -46,7 +48,7 @@ def get_setup(self, **kwargs): # noqa: E501 :return: IsOnboarding If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_setup_with_http_info(**kwargs) # noqa: E501 @@ -54,10 +56,10 @@ def get_setup(self, **kwargs): # noqa: E501 (data) = self.get_setup_with_http_info(**kwargs) # noqa: E501 return data - def get_setup_with_http_info(self, **kwargs): # noqa: E501 - """Check if database has default user, org, bucket # noqa: E501 + def get_setup_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """Check if database has default user, org, bucket. - Returns `true` if no default user, organization, or bucket has been created. # noqa: E501 + Returns `true` if no default user, organization, or bucket has been created. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_setup_with_http_info(async_req=True) @@ -68,8 +70,7 @@ def get_setup_with_http_info(self, **kwargs): # noqa: E501 :return: IsOnboarding If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span'] # noqa: E501 @@ -124,10 +125,10 @@ def get_setup_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_setup(self, onboarding_request, **kwargs): # noqa: E501 - """Set up initial user, org and bucket # noqa: E501 + def post_setup(self, onboarding_request, **kwargs): # noqa: E501,D401,D403 + """Set up initial user, org and bucket. - Post an onboarding request to set up initial user, org and bucket. # noqa: E501 + Post an onboarding request to set up initial user, org and bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_setup(onboarding_request, async_req=True) @@ -139,7 +140,7 @@ def post_setup(self, onboarding_request, **kwargs): # noqa: E501 :return: OnboardingResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_setup_with_http_info(onboarding_request, **kwargs) # noqa: E501 @@ -147,10 +148,10 @@ def post_setup(self, onboarding_request, **kwargs): # noqa: E501 (data) = self.post_setup_with_http_info(onboarding_request, **kwargs) # noqa: E501 return data - def post_setup_with_http_info(self, onboarding_request, **kwargs): # noqa: E501 - """Set up initial user, org and bucket # noqa: E501 + def post_setup_with_http_info(self, onboarding_request, **kwargs): # noqa: E501,D401,D403 + """Set up initial user, org and bucket. - Post an onboarding request to set up initial user, org and bucket. # noqa: E501 + Post an onboarding request to set up initial user, org and bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_setup_with_http_info(onboarding_request, async_req=True) @@ -162,8 +163,7 @@ def post_setup_with_http_info(self, onboarding_request, **kwargs): # noqa: E501 :return: OnboardingResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['onboarding_request', 'zap_trace_span'] # noqa: E501 @@ -228,10 +228,10 @@ def post_setup_with_http_info(self, onboarding_request, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_setup_user(self, onboarding_request, **kwargs): # noqa: E501 - """Set up a new user, org and bucket # noqa: E501 + def post_setup_user(self, onboarding_request, **kwargs): # noqa: E501,D401,D403 + """Set up a new user, org and bucket. - Post an onboarding request to set up a new user, org and bucket. # noqa: E501 + Post an onboarding request to set up a new user, org and bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_setup_user(onboarding_request, async_req=True) @@ -243,7 +243,7 @@ def post_setup_user(self, onboarding_request, **kwargs): # noqa: E501 :return: OnboardingResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_setup_user_with_http_info(onboarding_request, **kwargs) # noqa: E501 @@ -251,10 +251,10 @@ def post_setup_user(self, onboarding_request, **kwargs): # noqa: E501 (data) = self.post_setup_user_with_http_info(onboarding_request, **kwargs) # noqa: E501 return data - def post_setup_user_with_http_info(self, onboarding_request, **kwargs): # noqa: E501 - """Set up a new user, org and bucket # noqa: E501 + def post_setup_user_with_http_info(self, onboarding_request, **kwargs): # noqa: E501,D401,D403 + """Set up a new user, org and bucket. - Post an onboarding request to set up a new user, org and bucket. # noqa: E501 + Post an onboarding request to set up a new user, org and bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_setup_user_with_http_info(onboarding_request, async_req=True) @@ -266,8 +266,7 @@ def post_setup_user_with_http_info(self, onboarding_request, **kwargs): # noqa: :return: OnboardingResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['onboarding_request', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/sources_service.py b/influxdb_client/service/sources_service.py index 9fdc0347..fdd43875 100644 --- a/influxdb_client/service/sources_service.py +++ b/influxdb_client/service/sources_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class SourcesService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """SourcesService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def delete_sources_id(self, source_id, **kwargs): # noqa: E501 - """Delete a source # noqa: E501 + def delete_sources_id(self, source_id, **kwargs): # noqa: E501,D401,D403 + """Delete a source. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -46,7 +48,7 @@ def delete_sources_id(self, source_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_sources_id_with_http_info(source_id, **kwargs) # noqa: E501 @@ -54,8 +56,8 @@ def delete_sources_id(self, source_id, **kwargs): # noqa: E501 (data) = self.delete_sources_id_with_http_info(source_id, **kwargs) # noqa: E501 return data - def delete_sources_id_with_http_info(self, source_id, **kwargs): # noqa: E501 - """Delete a source # noqa: E501 + def delete_sources_id_with_http_info(self, source_id, **kwargs): # noqa: E501,D401,D403 + """Delete a source. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -68,8 +70,7 @@ def delete_sources_id_with_http_info(self, source_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['source_id', 'zap_trace_span'] # noqa: E501 @@ -130,8 +131,8 @@ def delete_sources_id_with_http_info(self, source_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_sources(self, **kwargs): # noqa: E501 - """Get all sources # noqa: E501 + def get_sources(self, **kwargs): # noqa: E501,D401,D403 + """Get all sources. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -144,7 +145,7 @@ def get_sources(self, **kwargs): # noqa: E501 :return: Sources If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_sources_with_http_info(**kwargs) # noqa: E501 @@ -152,8 +153,8 @@ def get_sources(self, **kwargs): # noqa: E501 (data) = self.get_sources_with_http_info(**kwargs) # noqa: E501 return data - def get_sources_with_http_info(self, **kwargs): # noqa: E501 - """Get all sources # noqa: E501 + def get_sources_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """Get all sources. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -166,8 +167,7 @@ def get_sources_with_http_info(self, **kwargs): # noqa: E501 :return: Sources If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span', 'org'] # noqa: E501 @@ -224,8 +224,8 @@ def get_sources_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_sources_id(self, source_id, **kwargs): # noqa: E501 - """Get a source # noqa: E501 + def get_sources_id(self, source_id, **kwargs): # noqa: E501,D401,D403 + """Get a source. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -238,7 +238,7 @@ def get_sources_id(self, source_id, **kwargs): # noqa: E501 :return: Source If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_sources_id_with_http_info(source_id, **kwargs) # noqa: E501 @@ -246,8 +246,8 @@ def get_sources_id(self, source_id, **kwargs): # noqa: E501 (data) = self.get_sources_id_with_http_info(source_id, **kwargs) # noqa: E501 return data - def get_sources_id_with_http_info(self, source_id, **kwargs): # noqa: E501 - """Get a source # noqa: E501 + def get_sources_id_with_http_info(self, source_id, **kwargs): # noqa: E501,D401,D403 + """Get a source. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -260,8 +260,7 @@ def get_sources_id_with_http_info(self, source_id, **kwargs): # noqa: E501 :return: Source If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['source_id', 'zap_trace_span'] # noqa: E501 @@ -322,8 +321,8 @@ def get_sources_id_with_http_info(self, source_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_sources_id_buckets(self, source_id, **kwargs): # noqa: E501 - """Get buckets in a source # noqa: E501 + def get_sources_id_buckets(self, source_id, **kwargs): # noqa: E501,D401,D403 + """Get buckets in a source. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -337,7 +336,7 @@ def get_sources_id_buckets(self, source_id, **kwargs): # noqa: E501 :return: Buckets If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_sources_id_buckets_with_http_info(source_id, **kwargs) # noqa: E501 @@ -345,8 +344,8 @@ def get_sources_id_buckets(self, source_id, **kwargs): # noqa: E501 (data) = self.get_sources_id_buckets_with_http_info(source_id, **kwargs) # noqa: E501 return data - def get_sources_id_buckets_with_http_info(self, source_id, **kwargs): # noqa: E501 - """Get buckets in a source # noqa: E501 + def get_sources_id_buckets_with_http_info(self, source_id, **kwargs): # noqa: E501,D401,D403 + """Get buckets in a source. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -360,8 +359,7 @@ def get_sources_id_buckets_with_http_info(self, source_id, **kwargs): # noqa: E :return: Buckets If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['source_id', 'zap_trace_span', 'org'] # noqa: E501 @@ -424,8 +422,8 @@ def get_sources_id_buckets_with_http_info(self, source_id, **kwargs): # noqa: E _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_sources_id_health(self, source_id, **kwargs): # noqa: E501 - """Get the health of a source # noqa: E501 + def get_sources_id_health(self, source_id, **kwargs): # noqa: E501,D401,D403 + """Get the health of a source. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -438,7 +436,7 @@ def get_sources_id_health(self, source_id, **kwargs): # noqa: E501 :return: HealthCheck If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_sources_id_health_with_http_info(source_id, **kwargs) # noqa: E501 @@ -446,8 +444,8 @@ def get_sources_id_health(self, source_id, **kwargs): # noqa: E501 (data) = self.get_sources_id_health_with_http_info(source_id, **kwargs) # noqa: E501 return data - def get_sources_id_health_with_http_info(self, source_id, **kwargs): # noqa: E501 - """Get the health of a source # noqa: E501 + def get_sources_id_health_with_http_info(self, source_id, **kwargs): # noqa: E501,D401,D403 + """Get the health of a source. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -460,8 +458,7 @@ def get_sources_id_health_with_http_info(self, source_id, **kwargs): # noqa: E5 :return: HealthCheck If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['source_id', 'zap_trace_span'] # noqa: E501 @@ -522,8 +519,8 @@ def get_sources_id_health_with_http_info(self, source_id, **kwargs): # noqa: E5 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_sources_id(self, source_id, source, **kwargs): # noqa: E501 - """Update a Source # noqa: E501 + def patch_sources_id(self, source_id, source, **kwargs): # noqa: E501,D401,D403 + """Update a Source. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -537,7 +534,7 @@ def patch_sources_id(self, source_id, source, **kwargs): # noqa: E501 :return: Source If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_sources_id_with_http_info(source_id, source, **kwargs) # noqa: E501 @@ -545,8 +542,8 @@ def patch_sources_id(self, source_id, source, **kwargs): # noqa: E501 (data) = self.patch_sources_id_with_http_info(source_id, source, **kwargs) # noqa: E501 return data - def patch_sources_id_with_http_info(self, source_id, source, **kwargs): # noqa: E501 - """Update a Source # noqa: E501 + def patch_sources_id_with_http_info(self, source_id, source, **kwargs): # noqa: E501,D401,D403 + """Update a Source. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -560,8 +557,7 @@ def patch_sources_id_with_http_info(self, source_id, source, **kwargs): # noqa: :return: Source If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['source_id', 'source', 'zap_trace_span'] # noqa: E501 @@ -632,8 +628,8 @@ def patch_sources_id_with_http_info(self, source_id, source, **kwargs): # noqa: _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_sources(self, source, **kwargs): # noqa: E501 - """Creates a source # noqa: E501 + def post_sources(self, source, **kwargs): # noqa: E501,D401,D403 + """Creates a source. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -646,7 +642,7 @@ def post_sources(self, source, **kwargs): # noqa: E501 :return: Source If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_sources_with_http_info(source, **kwargs) # noqa: E501 @@ -654,8 +650,8 @@ def post_sources(self, source, **kwargs): # noqa: E501 (data) = self.post_sources_with_http_info(source, **kwargs) # noqa: E501 return data - def post_sources_with_http_info(self, source, **kwargs): # noqa: E501 - """Creates a source # noqa: E501 + def post_sources_with_http_info(self, source, **kwargs): # noqa: E501,D401,D403 + """Creates a source. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -668,8 +664,7 @@ def post_sources_with_http_info(self, source, **kwargs): # noqa: E501 :return: Source If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['source', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/tasks_service.py b/influxdb_client/service/tasks_service.py index cd5834e8..8399200c 100644 --- a/influxdb_client/service/tasks_service.py +++ b/influxdb_client/service/tasks_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,21 +21,23 @@ class TasksService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """TasksService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def delete_tasks_id(self, task_id, **kwargs): # noqa: E501 - """Delete a task # noqa: E501 + def delete_tasks_id(self, task_id, **kwargs): # noqa: E501,D401,D403 + """Delete a task. - Deletes a task and all associated records # noqa: E501 + Deletes a task and all associated records This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_tasks_id(task_id, async_req=True) @@ -47,7 +49,7 @@ def delete_tasks_id(self, task_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_tasks_id_with_http_info(task_id, **kwargs) # noqa: E501 @@ -55,10 +57,10 @@ def delete_tasks_id(self, task_id, **kwargs): # noqa: E501 (data) = self.delete_tasks_id_with_http_info(task_id, **kwargs) # noqa: E501 return data - def delete_tasks_id_with_http_info(self, task_id, **kwargs): # noqa: E501 - """Delete a task # noqa: E501 + def delete_tasks_id_with_http_info(self, task_id, **kwargs): # noqa: E501,D401,D403 + """Delete a task. - Deletes a task and all associated records # noqa: E501 + Deletes a task and all associated records This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_tasks_id_with_http_info(task_id, async_req=True) @@ -70,8 +72,7 @@ def delete_tasks_id_with_http_info(self, task_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'zap_trace_span'] # noqa: E501 @@ -132,8 +133,8 @@ def delete_tasks_id_with_http_info(self, task_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_tasks_id_labels_id(self, task_id, label_id, **kwargs): # noqa: E501 - """Delete a label from a task # noqa: E501 + def delete_tasks_id_labels_id(self, task_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete a label from a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -147,7 +148,7 @@ def delete_tasks_id_labels_id(self, task_id, label_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_tasks_id_labels_id_with_http_info(task_id, label_id, **kwargs) # noqa: E501 @@ -155,8 +156,8 @@ def delete_tasks_id_labels_id(self, task_id, label_id, **kwargs): # noqa: E501 (data) = self.delete_tasks_id_labels_id_with_http_info(task_id, label_id, **kwargs) # noqa: E501 return data - def delete_tasks_id_labels_id_with_http_info(self, task_id, label_id, **kwargs): # noqa: E501 - """Delete a label from a task # noqa: E501 + def delete_tasks_id_labels_id_with_http_info(self, task_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete a label from a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -170,8 +171,7 @@ def delete_tasks_id_labels_id_with_http_info(self, task_id, label_id, **kwargs): :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'label_id', 'zap_trace_span'] # noqa: E501 @@ -238,8 +238,8 @@ def delete_tasks_id_labels_id_with_http_info(self, task_id, label_id, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_tasks_id_members_id(self, user_id, task_id, **kwargs): # noqa: E501 - """Remove a member from a task # noqa: E501 + def delete_tasks_id_members_id(self, user_id, task_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -253,7 +253,7 @@ def delete_tasks_id_members_id(self, user_id, task_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_tasks_id_members_id_with_http_info(user_id, task_id, **kwargs) # noqa: E501 @@ -261,8 +261,8 @@ def delete_tasks_id_members_id(self, user_id, task_id, **kwargs): # noqa: E501 (data) = self.delete_tasks_id_members_id_with_http_info(user_id, task_id, **kwargs) # noqa: E501 return data - def delete_tasks_id_members_id_with_http_info(self, user_id, task_id, **kwargs): # noqa: E501 - """Remove a member from a task # noqa: E501 + def delete_tasks_id_members_id_with_http_info(self, user_id, task_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -276,8 +276,7 @@ def delete_tasks_id_members_id_with_http_info(self, user_id, task_id, **kwargs): :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'task_id', 'zap_trace_span'] # noqa: E501 @@ -344,8 +343,8 @@ def delete_tasks_id_members_id_with_http_info(self, user_id, task_id, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_tasks_id_owners_id(self, user_id, task_id, **kwargs): # noqa: E501 - """Remove an owner from a task # noqa: E501 + def delete_tasks_id_owners_id(self, user_id, task_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -359,7 +358,7 @@ def delete_tasks_id_owners_id(self, user_id, task_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_tasks_id_owners_id_with_http_info(user_id, task_id, **kwargs) # noqa: E501 @@ -367,8 +366,8 @@ def delete_tasks_id_owners_id(self, user_id, task_id, **kwargs): # noqa: E501 (data) = self.delete_tasks_id_owners_id_with_http_info(user_id, task_id, **kwargs) # noqa: E501 return data - def delete_tasks_id_owners_id_with_http_info(self, user_id, task_id, **kwargs): # noqa: E501 - """Remove an owner from a task # noqa: E501 + def delete_tasks_id_owners_id_with_http_info(self, user_id, task_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -382,8 +381,7 @@ def delete_tasks_id_owners_id_with_http_info(self, user_id, task_id, **kwargs): :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'task_id', 'zap_trace_span'] # noqa: E501 @@ -450,8 +448,8 @@ def delete_tasks_id_owners_id_with_http_info(self, user_id, task_id, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_tasks_id_runs_id(self, task_id, run_id, **kwargs): # noqa: E501 - """Cancel a running task # noqa: E501 + def delete_tasks_id_runs_id(self, task_id, run_id, **kwargs): # noqa: E501,D401,D403 + """Cancel a running task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -465,7 +463,7 @@ def delete_tasks_id_runs_id(self, task_id, run_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_tasks_id_runs_id_with_http_info(task_id, run_id, **kwargs) # noqa: E501 @@ -473,8 +471,8 @@ def delete_tasks_id_runs_id(self, task_id, run_id, **kwargs): # noqa: E501 (data) = self.delete_tasks_id_runs_id_with_http_info(task_id, run_id, **kwargs) # noqa: E501 return data - def delete_tasks_id_runs_id_with_http_info(self, task_id, run_id, **kwargs): # noqa: E501 - """Cancel a running task # noqa: E501 + def delete_tasks_id_runs_id_with_http_info(self, task_id, run_id, **kwargs): # noqa: E501,D401,D403 + """Cancel a running task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -488,8 +486,7 @@ def delete_tasks_id_runs_id_with_http_info(self, task_id, run_id, **kwargs): # :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'run_id', 'zap_trace_span'] # noqa: E501 @@ -556,8 +553,8 @@ def delete_tasks_id_runs_id_with_http_info(self, task_id, run_id, **kwargs): # _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_tasks(self, **kwargs): # noqa: E501 - """List all tasks # noqa: E501 + def get_tasks(self, **kwargs): # noqa: E501,D401,D403 + """List all tasks. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -571,12 +568,12 @@ def get_tasks(self, **kwargs): # noqa: E501 :param str user: Filter tasks to a specific user ID. :param str org: Filter tasks to a specific organization name. :param str org_id: Filter tasks to a specific organization ID. - :param str status: Filter tasks by a status--\"inactive\" or \"active\". + :param str status: Filter tasks by a status--"inactive" or "active". :param int limit: The number of tasks to return :return: Tasks If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_tasks_with_http_info(**kwargs) # noqa: E501 @@ -584,8 +581,8 @@ def get_tasks(self, **kwargs): # noqa: E501 (data) = self.get_tasks_with_http_info(**kwargs) # noqa: E501 return data - def get_tasks_with_http_info(self, **kwargs): # noqa: E501 - """List all tasks # noqa: E501 + def get_tasks_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """List all tasks. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -599,13 +596,12 @@ def get_tasks_with_http_info(self, **kwargs): # noqa: E501 :param str user: Filter tasks to a specific user ID. :param str org: Filter tasks to a specific organization name. :param str org_id: Filter tasks to a specific organization ID. - :param str status: Filter tasks by a status--\"inactive\" or \"active\". + :param str status: Filter tasks by a status--"inactive" or "active". :param int limit: The number of tasks to return :return: Tasks If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span', 'name', 'after', 'user', 'org', 'org_id', 'status', 'limit'] # noqa: E501 @@ -678,8 +674,8 @@ def get_tasks_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_tasks_id(self, task_id, **kwargs): # noqa: E501 - """Retrieve a task # noqa: E501 + def get_tasks_id(self, task_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -692,7 +688,7 @@ def get_tasks_id(self, task_id, **kwargs): # noqa: E501 :return: Task If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_tasks_id_with_http_info(task_id, **kwargs) # noqa: E501 @@ -700,8 +696,8 @@ def get_tasks_id(self, task_id, **kwargs): # noqa: E501 (data) = self.get_tasks_id_with_http_info(task_id, **kwargs) # noqa: E501 return data - def get_tasks_id_with_http_info(self, task_id, **kwargs): # noqa: E501 - """Retrieve a task # noqa: E501 + def get_tasks_id_with_http_info(self, task_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -714,8 +710,7 @@ def get_tasks_id_with_http_info(self, task_id, **kwargs): # noqa: E501 :return: Task If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'zap_trace_span'] # noqa: E501 @@ -776,8 +771,8 @@ def get_tasks_id_with_http_info(self, task_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_tasks_id_labels(self, task_id, **kwargs): # noqa: E501 - """List all labels for a task # noqa: E501 + def get_tasks_id_labels(self, task_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -790,7 +785,7 @@ def get_tasks_id_labels(self, task_id, **kwargs): # noqa: E501 :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_tasks_id_labels_with_http_info(task_id, **kwargs) # noqa: E501 @@ -798,8 +793,8 @@ def get_tasks_id_labels(self, task_id, **kwargs): # noqa: E501 (data) = self.get_tasks_id_labels_with_http_info(task_id, **kwargs) # noqa: E501 return data - def get_tasks_id_labels_with_http_info(self, task_id, **kwargs): # noqa: E501 - """List all labels for a task # noqa: E501 + def get_tasks_id_labels_with_http_info(self, task_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -812,8 +807,7 @@ def get_tasks_id_labels_with_http_info(self, task_id, **kwargs): # noqa: E501 :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'zap_trace_span'] # noqa: E501 @@ -874,8 +868,8 @@ def get_tasks_id_labels_with_http_info(self, task_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_tasks_id_logs(self, task_id, **kwargs): # noqa: E501 - """Retrieve all logs for a task # noqa: E501 + def get_tasks_id_logs(self, task_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve all logs for a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -888,7 +882,7 @@ def get_tasks_id_logs(self, task_id, **kwargs): # noqa: E501 :return: Logs If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_tasks_id_logs_with_http_info(task_id, **kwargs) # noqa: E501 @@ -896,8 +890,8 @@ def get_tasks_id_logs(self, task_id, **kwargs): # noqa: E501 (data) = self.get_tasks_id_logs_with_http_info(task_id, **kwargs) # noqa: E501 return data - def get_tasks_id_logs_with_http_info(self, task_id, **kwargs): # noqa: E501 - """Retrieve all logs for a task # noqa: E501 + def get_tasks_id_logs_with_http_info(self, task_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve all logs for a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -910,8 +904,7 @@ def get_tasks_id_logs_with_http_info(self, task_id, **kwargs): # noqa: E501 :return: Logs If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'zap_trace_span'] # noqa: E501 @@ -972,8 +965,8 @@ def get_tasks_id_logs_with_http_info(self, task_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_tasks_id_members(self, task_id, **kwargs): # noqa: E501 - """List all task members # noqa: E501 + def get_tasks_id_members(self, task_id, **kwargs): # noqa: E501,D401,D403 + """List all task members. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -986,7 +979,7 @@ def get_tasks_id_members(self, task_id, **kwargs): # noqa: E501 :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_tasks_id_members_with_http_info(task_id, **kwargs) # noqa: E501 @@ -994,8 +987,8 @@ def get_tasks_id_members(self, task_id, **kwargs): # noqa: E501 (data) = self.get_tasks_id_members_with_http_info(task_id, **kwargs) # noqa: E501 return data - def get_tasks_id_members_with_http_info(self, task_id, **kwargs): # noqa: E501 - """List all task members # noqa: E501 + def get_tasks_id_members_with_http_info(self, task_id, **kwargs): # noqa: E501,D401,D403 + """List all task members. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1008,8 +1001,7 @@ def get_tasks_id_members_with_http_info(self, task_id, **kwargs): # noqa: E501 :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'zap_trace_span'] # noqa: E501 @@ -1070,8 +1062,8 @@ def get_tasks_id_members_with_http_info(self, task_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_tasks_id_owners(self, task_id, **kwargs): # noqa: E501 - """List all owners of a task # noqa: E501 + def get_tasks_id_owners(self, task_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1084,7 +1076,7 @@ def get_tasks_id_owners(self, task_id, **kwargs): # noqa: E501 :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_tasks_id_owners_with_http_info(task_id, **kwargs) # noqa: E501 @@ -1092,8 +1084,8 @@ def get_tasks_id_owners(self, task_id, **kwargs): # noqa: E501 (data) = self.get_tasks_id_owners_with_http_info(task_id, **kwargs) # noqa: E501 return data - def get_tasks_id_owners_with_http_info(self, task_id, **kwargs): # noqa: E501 - """List all owners of a task # noqa: E501 + def get_tasks_id_owners_with_http_info(self, task_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1106,8 +1098,7 @@ def get_tasks_id_owners_with_http_info(self, task_id, **kwargs): # noqa: E501 :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'zap_trace_span'] # noqa: E501 @@ -1168,8 +1159,8 @@ def get_tasks_id_owners_with_http_info(self, task_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_tasks_id_runs(self, task_id, **kwargs): # noqa: E501 - """List runs for a task # noqa: E501 + def get_tasks_id_runs(self, task_id, **kwargs): # noqa: E501,D401,D403 + """List runs for a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1186,7 +1177,7 @@ def get_tasks_id_runs(self, task_id, **kwargs): # noqa: E501 :return: Runs If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_tasks_id_runs_with_http_info(task_id, **kwargs) # noqa: E501 @@ -1194,8 +1185,8 @@ def get_tasks_id_runs(self, task_id, **kwargs): # noqa: E501 (data) = self.get_tasks_id_runs_with_http_info(task_id, **kwargs) # noqa: E501 return data - def get_tasks_id_runs_with_http_info(self, task_id, **kwargs): # noqa: E501 - """List runs for a task # noqa: E501 + def get_tasks_id_runs_with_http_info(self, task_id, **kwargs): # noqa: E501,D401,D403 + """List runs for a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1212,8 +1203,7 @@ def get_tasks_id_runs_with_http_info(self, task_id, **kwargs): # noqa: E501 :return: Runs If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'zap_trace_span', 'after', 'limit', 'after_time', 'before_time'] # noqa: E501 @@ -1286,8 +1276,8 @@ def get_tasks_id_runs_with_http_info(self, task_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_tasks_id_runs_id(self, task_id, run_id, **kwargs): # noqa: E501 - """Retrieve a single run for a task # noqa: E501 + def get_tasks_id_runs_id(self, task_id, run_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve a single run for a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1301,7 +1291,7 @@ def get_tasks_id_runs_id(self, task_id, run_id, **kwargs): # noqa: E501 :return: Run If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_tasks_id_runs_id_with_http_info(task_id, run_id, **kwargs) # noqa: E501 @@ -1309,8 +1299,8 @@ def get_tasks_id_runs_id(self, task_id, run_id, **kwargs): # noqa: E501 (data) = self.get_tasks_id_runs_id_with_http_info(task_id, run_id, **kwargs) # noqa: E501 return data - def get_tasks_id_runs_id_with_http_info(self, task_id, run_id, **kwargs): # noqa: E501 - """Retrieve a single run for a task # noqa: E501 + def get_tasks_id_runs_id_with_http_info(self, task_id, run_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve a single run for a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1324,8 +1314,7 @@ def get_tasks_id_runs_id_with_http_info(self, task_id, run_id, **kwargs): # noq :return: Run If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'run_id', 'zap_trace_span'] # noqa: E501 @@ -1392,8 +1381,8 @@ def get_tasks_id_runs_id_with_http_info(self, task_id, run_id, **kwargs): # noq _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_tasks_id_runs_id_logs(self, task_id, run_id, **kwargs): # noqa: E501 - """Retrieve all logs for a run # noqa: E501 + def get_tasks_id_runs_id_logs(self, task_id, run_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve all logs for a run. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1407,7 +1396,7 @@ def get_tasks_id_runs_id_logs(self, task_id, run_id, **kwargs): # noqa: E501 :return: Logs If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_tasks_id_runs_id_logs_with_http_info(task_id, run_id, **kwargs) # noqa: E501 @@ -1415,8 +1404,8 @@ def get_tasks_id_runs_id_logs(self, task_id, run_id, **kwargs): # noqa: E501 (data) = self.get_tasks_id_runs_id_logs_with_http_info(task_id, run_id, **kwargs) # noqa: E501 return data - def get_tasks_id_runs_id_logs_with_http_info(self, task_id, run_id, **kwargs): # noqa: E501 - """Retrieve all logs for a run # noqa: E501 + def get_tasks_id_runs_id_logs_with_http_info(self, task_id, run_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve all logs for a run. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1430,8 +1419,7 @@ def get_tasks_id_runs_id_logs_with_http_info(self, task_id, run_id, **kwargs): :return: Logs If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'run_id', 'zap_trace_span'] # noqa: E501 @@ -1498,10 +1486,10 @@ def get_tasks_id_runs_id_logs_with_http_info(self, task_id, run_id, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_tasks_id(self, task_id, task_update_request, **kwargs): # noqa: E501 - """Update a task # noqa: E501 + def patch_tasks_id(self, task_id, task_update_request, **kwargs): # noqa: E501,D401,D403 + """Update a task. - Update a task. This will cancel all queued runs. # noqa: E501 + Update a task. This will cancel all queued runs. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.patch_tasks_id(task_id, task_update_request, async_req=True) @@ -1514,7 +1502,7 @@ def patch_tasks_id(self, task_id, task_update_request, **kwargs): # noqa: E501 :return: Task If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_tasks_id_with_http_info(task_id, task_update_request, **kwargs) # noqa: E501 @@ -1522,10 +1510,10 @@ def patch_tasks_id(self, task_id, task_update_request, **kwargs): # noqa: E501 (data) = self.patch_tasks_id_with_http_info(task_id, task_update_request, **kwargs) # noqa: E501 return data - def patch_tasks_id_with_http_info(self, task_id, task_update_request, **kwargs): # noqa: E501 - """Update a task # noqa: E501 + def patch_tasks_id_with_http_info(self, task_id, task_update_request, **kwargs): # noqa: E501,D401,D403 + """Update a task. - Update a task. This will cancel all queued runs. # noqa: E501 + Update a task. This will cancel all queued runs. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.patch_tasks_id_with_http_info(task_id, task_update_request, async_req=True) @@ -1538,8 +1526,7 @@ def patch_tasks_id_with_http_info(self, task_id, task_update_request, **kwargs): :return: Task If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'task_update_request', 'zap_trace_span'] # noqa: E501 @@ -1610,8 +1597,8 @@ def patch_tasks_id_with_http_info(self, task_id, task_update_request, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_tasks(self, task_create_request, **kwargs): # noqa: E501 - """Create a new task # noqa: E501 + def post_tasks(self, task_create_request, **kwargs): # noqa: E501,D401,D403 + """Create a new task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1624,7 +1611,7 @@ def post_tasks(self, task_create_request, **kwargs): # noqa: E501 :return: Task If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_tasks_with_http_info(task_create_request, **kwargs) # noqa: E501 @@ -1632,8 +1619,8 @@ def post_tasks(self, task_create_request, **kwargs): # noqa: E501 (data) = self.post_tasks_with_http_info(task_create_request, **kwargs) # noqa: E501 return data - def post_tasks_with_http_info(self, task_create_request, **kwargs): # noqa: E501 - """Create a new task # noqa: E501 + def post_tasks_with_http_info(self, task_create_request, **kwargs): # noqa: E501,D401,D403 + """Create a new task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1646,8 +1633,7 @@ def post_tasks_with_http_info(self, task_create_request, **kwargs): # noqa: E50 :return: Task If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_create_request', 'zap_trace_span'] # noqa: E501 @@ -1712,8 +1698,8 @@ def post_tasks_with_http_info(self, task_create_request, **kwargs): # noqa: E50 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_tasks_id_labels(self, task_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a task # noqa: E501 + def post_tasks_id_labels(self, task_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1727,7 +1713,7 @@ def post_tasks_id_labels(self, task_id, label_mapping, **kwargs): # noqa: E501 :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_tasks_id_labels_with_http_info(task_id, label_mapping, **kwargs) # noqa: E501 @@ -1735,8 +1721,8 @@ def post_tasks_id_labels(self, task_id, label_mapping, **kwargs): # noqa: E501 (data) = self.post_tasks_id_labels_with_http_info(task_id, label_mapping, **kwargs) # noqa: E501 return data - def post_tasks_id_labels_with_http_info(self, task_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a task # noqa: E501 + def post_tasks_id_labels_with_http_info(self, task_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1750,8 +1736,7 @@ def post_tasks_id_labels_with_http_info(self, task_id, label_mapping, **kwargs): :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'label_mapping', 'zap_trace_span'] # noqa: E501 @@ -1822,8 +1807,8 @@ def post_tasks_id_labels_with_http_info(self, task_id, label_mapping, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_tasks_id_members(self, task_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a task # noqa: E501 + def post_tasks_id_members(self, task_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1837,7 +1822,7 @@ def post_tasks_id_members(self, task_id, add_resource_member_request_body, **kwa :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_tasks_id_members_with_http_info(task_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -1845,8 +1830,8 @@ def post_tasks_id_members(self, task_id, add_resource_member_request_body, **kwa (data) = self.post_tasks_id_members_with_http_info(task_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_tasks_id_members_with_http_info(self, task_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a task # noqa: E501 + def post_tasks_id_members_with_http_info(self, task_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1860,8 +1845,7 @@ def post_tasks_id_members_with_http_info(self, task_id, add_resource_member_requ :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -1932,8 +1916,8 @@ def post_tasks_id_members_with_http_info(self, task_id, add_resource_member_requ _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_tasks_id_owners(self, task_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a task # noqa: E501 + def post_tasks_id_owners(self, task_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1947,7 +1931,7 @@ def post_tasks_id_owners(self, task_id, add_resource_member_request_body, **kwar :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_tasks_id_owners_with_http_info(task_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -1955,8 +1939,8 @@ def post_tasks_id_owners(self, task_id, add_resource_member_request_body, **kwar (data) = self.post_tasks_id_owners_with_http_info(task_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_tasks_id_owners_with_http_info(self, task_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a task # noqa: E501 + def post_tasks_id_owners_with_http_info(self, task_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1970,8 +1954,7 @@ def post_tasks_id_owners_with_http_info(self, task_id, add_resource_member_reque :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -2042,8 +2025,8 @@ def post_tasks_id_owners_with_http_info(self, task_id, add_resource_member_reque _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_tasks_id_runs(self, task_id, **kwargs): # noqa: E501 - """Manually start a task run, overriding the current schedule # noqa: E501 + def post_tasks_id_runs(self, task_id, **kwargs): # noqa: E501,D401,D403 + """Manually start a task run, overriding the current schedule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2057,7 +2040,7 @@ def post_tasks_id_runs(self, task_id, **kwargs): # noqa: E501 :return: Run If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_tasks_id_runs_with_http_info(task_id, **kwargs) # noqa: E501 @@ -2065,8 +2048,8 @@ def post_tasks_id_runs(self, task_id, **kwargs): # noqa: E501 (data) = self.post_tasks_id_runs_with_http_info(task_id, **kwargs) # noqa: E501 return data - def post_tasks_id_runs_with_http_info(self, task_id, **kwargs): # noqa: E501 - """Manually start a task run, overriding the current schedule # noqa: E501 + def post_tasks_id_runs_with_http_info(self, task_id, **kwargs): # noqa: E501,D401,D403 + """Manually start a task run, overriding the current schedule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2080,8 +2063,7 @@ def post_tasks_id_runs_with_http_info(self, task_id, **kwargs): # noqa: E501 :return: Run If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'zap_trace_span', 'run_manually'] # noqa: E501 @@ -2148,8 +2130,8 @@ def post_tasks_id_runs_with_http_info(self, task_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_tasks_id_runs_id_retry(self, task_id, run_id, **kwargs): # noqa: E501 - """Retry a task run # noqa: E501 + def post_tasks_id_runs_id_retry(self, task_id, run_id, **kwargs): # noqa: E501,D401,D403 + """Retry a task run. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2163,7 +2145,7 @@ def post_tasks_id_runs_id_retry(self, task_id, run_id, **kwargs): # noqa: E501 :return: Run If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_tasks_id_runs_id_retry_with_http_info(task_id, run_id, **kwargs) # noqa: E501 @@ -2171,8 +2153,8 @@ def post_tasks_id_runs_id_retry(self, task_id, run_id, **kwargs): # noqa: E501 (data) = self.post_tasks_id_runs_id_retry_with_http_info(task_id, run_id, **kwargs) # noqa: E501 return data - def post_tasks_id_runs_id_retry_with_http_info(self, task_id, run_id, **kwargs): # noqa: E501 - """Retry a task run # noqa: E501 + def post_tasks_id_runs_id_retry_with_http_info(self, task_id, run_id, **kwargs): # noqa: E501,D401,D403 + """Retry a task run. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2186,8 +2168,7 @@ def post_tasks_id_runs_id_retry_with_http_info(self, task_id, run_id, **kwargs): :return: Run If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'run_id', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/telegrafs_service.py b/influxdb_client/service/telegrafs_service.py index 411e098f..e0930a97 100644 --- a/influxdb_client/service/telegrafs_service.py +++ b/influxdb_client/service/telegrafs_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class TelegrafsService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """TelegrafsService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def delete_telegrafs_id(self, telegraf_id, **kwargs): # noqa: E501 - """Delete a Telegraf config # noqa: E501 + def delete_telegrafs_id(self, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """Delete a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -46,7 +48,7 @@ def delete_telegrafs_id(self, telegraf_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_telegrafs_id_with_http_info(telegraf_id, **kwargs) # noqa: E501 @@ -54,8 +56,8 @@ def delete_telegrafs_id(self, telegraf_id, **kwargs): # noqa: E501 (data) = self.delete_telegrafs_id_with_http_info(telegraf_id, **kwargs) # noqa: E501 return data - def delete_telegrafs_id_with_http_info(self, telegraf_id, **kwargs): # noqa: E501 - """Delete a Telegraf config # noqa: E501 + def delete_telegrafs_id_with_http_info(self, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """Delete a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -68,8 +70,7 @@ def delete_telegrafs_id_with_http_info(self, telegraf_id, **kwargs): # noqa: E5 :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['telegraf_id', 'zap_trace_span'] # noqa: E501 @@ -130,8 +131,8 @@ def delete_telegrafs_id_with_http_info(self, telegraf_id, **kwargs): # noqa: E5 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_telegrafs_id_labels_id(self, telegraf_id, label_id, **kwargs): # noqa: E501 - """Delete a label from a Telegraf config # noqa: E501 + def delete_telegrafs_id_labels_id(self, telegraf_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete a label from a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -145,7 +146,7 @@ def delete_telegrafs_id_labels_id(self, telegraf_id, label_id, **kwargs): # noq :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_telegrafs_id_labels_id_with_http_info(telegraf_id, label_id, **kwargs) # noqa: E501 @@ -153,8 +154,8 @@ def delete_telegrafs_id_labels_id(self, telegraf_id, label_id, **kwargs): # noq (data) = self.delete_telegrafs_id_labels_id_with_http_info(telegraf_id, label_id, **kwargs) # noqa: E501 return data - def delete_telegrafs_id_labels_id_with_http_info(self, telegraf_id, label_id, **kwargs): # noqa: E501 - """Delete a label from a Telegraf config # noqa: E501 + def delete_telegrafs_id_labels_id_with_http_info(self, telegraf_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete a label from a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -168,8 +169,7 @@ def delete_telegrafs_id_labels_id_with_http_info(self, telegraf_id, label_id, ** :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['telegraf_id', 'label_id', 'zap_trace_span'] # noqa: E501 @@ -236,8 +236,8 @@ def delete_telegrafs_id_labels_id_with_http_info(self, telegraf_id, label_id, ** _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_telegrafs_id_members_id(self, user_id, telegraf_id, **kwargs): # noqa: E501 - """Remove a member from a Telegraf config # noqa: E501 + def delete_telegrafs_id_members_id(self, user_id, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -251,7 +251,7 @@ def delete_telegrafs_id_members_id(self, user_id, telegraf_id, **kwargs): # noq :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_telegrafs_id_members_id_with_http_info(user_id, telegraf_id, **kwargs) # noqa: E501 @@ -259,8 +259,8 @@ def delete_telegrafs_id_members_id(self, user_id, telegraf_id, **kwargs): # noq (data) = self.delete_telegrafs_id_members_id_with_http_info(user_id, telegraf_id, **kwargs) # noqa: E501 return data - def delete_telegrafs_id_members_id_with_http_info(self, user_id, telegraf_id, **kwargs): # noqa: E501 - """Remove a member from a Telegraf config # noqa: E501 + def delete_telegrafs_id_members_id_with_http_info(self, user_id, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -274,8 +274,7 @@ def delete_telegrafs_id_members_id_with_http_info(self, user_id, telegraf_id, ** :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'telegraf_id', 'zap_trace_span'] # noqa: E501 @@ -342,8 +341,8 @@ def delete_telegrafs_id_members_id_with_http_info(self, user_id, telegraf_id, ** _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_telegrafs_id_owners_id(self, user_id, telegraf_id, **kwargs): # noqa: E501 - """Remove an owner from a Telegraf config # noqa: E501 + def delete_telegrafs_id_owners_id(self, user_id, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -357,7 +356,7 @@ def delete_telegrafs_id_owners_id(self, user_id, telegraf_id, **kwargs): # noqa :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_telegrafs_id_owners_id_with_http_info(user_id, telegraf_id, **kwargs) # noqa: E501 @@ -365,8 +364,8 @@ def delete_telegrafs_id_owners_id(self, user_id, telegraf_id, **kwargs): # noqa (data) = self.delete_telegrafs_id_owners_id_with_http_info(user_id, telegraf_id, **kwargs) # noqa: E501 return data - def delete_telegrafs_id_owners_id_with_http_info(self, user_id, telegraf_id, **kwargs): # noqa: E501 - """Remove an owner from a Telegraf config # noqa: E501 + def delete_telegrafs_id_owners_id_with_http_info(self, user_id, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -380,8 +379,7 @@ def delete_telegrafs_id_owners_id_with_http_info(self, user_id, telegraf_id, **k :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'telegraf_id', 'zap_trace_span'] # noqa: E501 @@ -448,8 +446,8 @@ def delete_telegrafs_id_owners_id_with_http_info(self, user_id, telegraf_id, **k _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_telegrafs(self, **kwargs): # noqa: E501 - """get_telegrafs # noqa: E501 + def get_telegrafs(self, **kwargs): # noqa: E501,D401,D403 + """get_telegrafs. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -462,7 +460,7 @@ def get_telegrafs(self, **kwargs): # noqa: E501 :return: Telegrafs If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_telegrafs_with_http_info(**kwargs) # noqa: E501 @@ -470,8 +468,8 @@ def get_telegrafs(self, **kwargs): # noqa: E501 (data) = self.get_telegrafs_with_http_info(**kwargs) # noqa: E501 return data - def get_telegrafs_with_http_info(self, **kwargs): # noqa: E501 - """get_telegrafs # noqa: E501 + def get_telegrafs_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """get_telegrafs. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -484,8 +482,7 @@ def get_telegrafs_with_http_info(self, **kwargs): # noqa: E501 :return: Telegrafs If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span', 'org_id'] # noqa: E501 @@ -542,8 +539,8 @@ def get_telegrafs_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_telegrafs_id(self, telegraf_id, **kwargs): # noqa: E501 - """Retrieve a Telegraf config # noqa: E501 + def get_telegrafs_id(self, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -557,7 +554,7 @@ def get_telegrafs_id(self, telegraf_id, **kwargs): # noqa: E501 :return: str If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_telegrafs_id_with_http_info(telegraf_id, **kwargs) # noqa: E501 @@ -565,8 +562,8 @@ def get_telegrafs_id(self, telegraf_id, **kwargs): # noqa: E501 (data) = self.get_telegrafs_id_with_http_info(telegraf_id, **kwargs) # noqa: E501 return data - def get_telegrafs_id_with_http_info(self, telegraf_id, **kwargs): # noqa: E501 - """Retrieve a Telegraf config # noqa: E501 + def get_telegrafs_id_with_http_info(self, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -580,8 +577,7 @@ def get_telegrafs_id_with_http_info(self, telegraf_id, **kwargs): # noqa: E501 :return: str If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['telegraf_id', 'zap_trace_span', 'accept'] # noqa: E501 @@ -644,8 +640,8 @@ def get_telegrafs_id_with_http_info(self, telegraf_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_telegrafs_id_labels(self, telegraf_id, **kwargs): # noqa: E501 - """List all labels for a Telegraf config # noqa: E501 + def get_telegrafs_id_labels(self, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -658,7 +654,7 @@ def get_telegrafs_id_labels(self, telegraf_id, **kwargs): # noqa: E501 :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_telegrafs_id_labels_with_http_info(telegraf_id, **kwargs) # noqa: E501 @@ -666,8 +662,8 @@ def get_telegrafs_id_labels(self, telegraf_id, **kwargs): # noqa: E501 (data) = self.get_telegrafs_id_labels_with_http_info(telegraf_id, **kwargs) # noqa: E501 return data - def get_telegrafs_id_labels_with_http_info(self, telegraf_id, **kwargs): # noqa: E501 - """List all labels for a Telegraf config # noqa: E501 + def get_telegrafs_id_labels_with_http_info(self, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -680,8 +676,7 @@ def get_telegrafs_id_labels_with_http_info(self, telegraf_id, **kwargs): # noqa :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['telegraf_id', 'zap_trace_span'] # noqa: E501 @@ -742,8 +737,8 @@ def get_telegrafs_id_labels_with_http_info(self, telegraf_id, **kwargs): # noqa _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_telegrafs_id_members(self, telegraf_id, **kwargs): # noqa: E501 - """List all users with member privileges for a Telegraf config # noqa: E501 + def get_telegrafs_id_members(self, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """List all users with member privileges for a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -756,7 +751,7 @@ def get_telegrafs_id_members(self, telegraf_id, **kwargs): # noqa: E501 :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_telegrafs_id_members_with_http_info(telegraf_id, **kwargs) # noqa: E501 @@ -764,8 +759,8 @@ def get_telegrafs_id_members(self, telegraf_id, **kwargs): # noqa: E501 (data) = self.get_telegrafs_id_members_with_http_info(telegraf_id, **kwargs) # noqa: E501 return data - def get_telegrafs_id_members_with_http_info(self, telegraf_id, **kwargs): # noqa: E501 - """List all users with member privileges for a Telegraf config # noqa: E501 + def get_telegrafs_id_members_with_http_info(self, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """List all users with member privileges for a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -778,8 +773,7 @@ def get_telegrafs_id_members_with_http_info(self, telegraf_id, **kwargs): # noq :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['telegraf_id', 'zap_trace_span'] # noqa: E501 @@ -840,8 +834,8 @@ def get_telegrafs_id_members_with_http_info(self, telegraf_id, **kwargs): # noq _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_telegrafs_id_owners(self, telegraf_id, **kwargs): # noqa: E501 - """List all owners of a Telegraf config # noqa: E501 + def get_telegrafs_id_owners(self, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -854,7 +848,7 @@ def get_telegrafs_id_owners(self, telegraf_id, **kwargs): # noqa: E501 :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_telegrafs_id_owners_with_http_info(telegraf_id, **kwargs) # noqa: E501 @@ -862,8 +856,8 @@ def get_telegrafs_id_owners(self, telegraf_id, **kwargs): # noqa: E501 (data) = self.get_telegrafs_id_owners_with_http_info(telegraf_id, **kwargs) # noqa: E501 return data - def get_telegrafs_id_owners_with_http_info(self, telegraf_id, **kwargs): # noqa: E501 - """List all owners of a Telegraf config # noqa: E501 + def get_telegrafs_id_owners_with_http_info(self, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -876,8 +870,7 @@ def get_telegrafs_id_owners_with_http_info(self, telegraf_id, **kwargs): # noqa :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['telegraf_id', 'zap_trace_span'] # noqa: E501 @@ -938,8 +931,8 @@ def get_telegrafs_id_owners_with_http_info(self, telegraf_id, **kwargs): # noqa _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_telegrafs(self, telegraf_request, **kwargs): # noqa: E501 - """Create a Telegraf config # noqa: E501 + def post_telegrafs(self, telegraf_request, **kwargs): # noqa: E501,D401,D403 + """Create a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -952,7 +945,7 @@ def post_telegrafs(self, telegraf_request, **kwargs): # noqa: E501 :return: Telegraf If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_telegrafs_with_http_info(telegraf_request, **kwargs) # noqa: E501 @@ -960,8 +953,8 @@ def post_telegrafs(self, telegraf_request, **kwargs): # noqa: E501 (data) = self.post_telegrafs_with_http_info(telegraf_request, **kwargs) # noqa: E501 return data - def post_telegrafs_with_http_info(self, telegraf_request, **kwargs): # noqa: E501 - """Create a Telegraf config # noqa: E501 + def post_telegrafs_with_http_info(self, telegraf_request, **kwargs): # noqa: E501,D401,D403 + """Create a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -974,8 +967,7 @@ def post_telegrafs_with_http_info(self, telegraf_request, **kwargs): # noqa: E5 :return: Telegraf If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['telegraf_request', 'zap_trace_span'] # noqa: E501 @@ -1040,8 +1032,8 @@ def post_telegrafs_with_http_info(self, telegraf_request, **kwargs): # noqa: E5 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_telegrafs_id_labels(self, telegraf_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a Telegraf config # noqa: E501 + def post_telegrafs_id_labels(self, telegraf_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1055,7 +1047,7 @@ def post_telegrafs_id_labels(self, telegraf_id, label_mapping, **kwargs): # noq :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_telegrafs_id_labels_with_http_info(telegraf_id, label_mapping, **kwargs) # noqa: E501 @@ -1063,8 +1055,8 @@ def post_telegrafs_id_labels(self, telegraf_id, label_mapping, **kwargs): # noq (data) = self.post_telegrafs_id_labels_with_http_info(telegraf_id, label_mapping, **kwargs) # noqa: E501 return data - def post_telegrafs_id_labels_with_http_info(self, telegraf_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a Telegraf config # noqa: E501 + def post_telegrafs_id_labels_with_http_info(self, telegraf_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1078,8 +1070,7 @@ def post_telegrafs_id_labels_with_http_info(self, telegraf_id, label_mapping, ** :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['telegraf_id', 'label_mapping', 'zap_trace_span'] # noqa: E501 @@ -1150,8 +1141,8 @@ def post_telegrafs_id_labels_with_http_info(self, telegraf_id, label_mapping, ** _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_telegrafs_id_members(self, telegraf_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a Telegraf config # noqa: E501 + def post_telegrafs_id_members(self, telegraf_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1165,7 +1156,7 @@ def post_telegrafs_id_members(self, telegraf_id, add_resource_member_request_bod :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_telegrafs_id_members_with_http_info(telegraf_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -1173,8 +1164,8 @@ def post_telegrafs_id_members(self, telegraf_id, add_resource_member_request_bod (data) = self.post_telegrafs_id_members_with_http_info(telegraf_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_telegrafs_id_members_with_http_info(self, telegraf_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a Telegraf config # noqa: E501 + def post_telegrafs_id_members_with_http_info(self, telegraf_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1188,8 +1179,7 @@ def post_telegrafs_id_members_with_http_info(self, telegraf_id, add_resource_mem :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['telegraf_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -1260,8 +1250,8 @@ def post_telegrafs_id_members_with_http_info(self, telegraf_id, add_resource_mem _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_telegrafs_id_owners(self, telegraf_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a Telegraf config # noqa: E501 + def post_telegrafs_id_owners(self, telegraf_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1275,7 +1265,7 @@ def post_telegrafs_id_owners(self, telegraf_id, add_resource_member_request_body :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_telegrafs_id_owners_with_http_info(telegraf_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -1283,8 +1273,8 @@ def post_telegrafs_id_owners(self, telegraf_id, add_resource_member_request_body (data) = self.post_telegrafs_id_owners_with_http_info(telegraf_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_telegrafs_id_owners_with_http_info(self, telegraf_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a Telegraf config # noqa: E501 + def post_telegrafs_id_owners_with_http_info(self, telegraf_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1298,8 +1288,7 @@ def post_telegrafs_id_owners_with_http_info(self, telegraf_id, add_resource_memb :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['telegraf_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -1370,8 +1359,8 @@ def post_telegrafs_id_owners_with_http_info(self, telegraf_id, add_resource_memb _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def put_telegrafs_id(self, telegraf_id, telegraf_request, **kwargs): # noqa: E501 - """Update a Telegraf config # noqa: E501 + def put_telegrafs_id(self, telegraf_id, telegraf_request, **kwargs): # noqa: E501,D401,D403 + """Update a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1385,7 +1374,7 @@ def put_telegrafs_id(self, telegraf_id, telegraf_request, **kwargs): # noqa: E5 :return: Telegraf If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.put_telegrafs_id_with_http_info(telegraf_id, telegraf_request, **kwargs) # noqa: E501 @@ -1393,8 +1382,8 @@ def put_telegrafs_id(self, telegraf_id, telegraf_request, **kwargs): # noqa: E5 (data) = self.put_telegrafs_id_with_http_info(telegraf_id, telegraf_request, **kwargs) # noqa: E501 return data - def put_telegrafs_id_with_http_info(self, telegraf_id, telegraf_request, **kwargs): # noqa: E501 - """Update a Telegraf config # noqa: E501 + def put_telegrafs_id_with_http_info(self, telegraf_id, telegraf_request, **kwargs): # noqa: E501,D401,D403 + """Update a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1408,8 +1397,7 @@ def put_telegrafs_id_with_http_info(self, telegraf_id, telegraf_request, **kwarg :return: Telegraf If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['telegraf_id', 'telegraf_request', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/templates_service.py b/influxdb_client/service/templates_service.py index a743d3e9..4feb2af3 100644 --- a/influxdb_client/service/templates_service.py +++ b/influxdb_client/service/templates_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class TemplatesService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """TemplatesService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def delete_documents_templates_id(self, template_id, **kwargs): # noqa: E501 - """Delete a template # noqa: E501 + def delete_documents_templates_id(self, template_id, **kwargs): # noqa: E501,D401,D403 + """Delete a template. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -46,7 +48,7 @@ def delete_documents_templates_id(self, template_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_documents_templates_id_with_http_info(template_id, **kwargs) # noqa: E501 @@ -54,8 +56,8 @@ def delete_documents_templates_id(self, template_id, **kwargs): # noqa: E501 (data) = self.delete_documents_templates_id_with_http_info(template_id, **kwargs) # noqa: E501 return data - def delete_documents_templates_id_with_http_info(self, template_id, **kwargs): # noqa: E501 - """Delete a template # noqa: E501 + def delete_documents_templates_id_with_http_info(self, template_id, **kwargs): # noqa: E501,D401,D403 + """Delete a template. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -68,8 +70,7 @@ def delete_documents_templates_id_with_http_info(self, template_id, **kwargs): :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['template_id', 'zap_trace_span'] # noqa: E501 @@ -130,8 +131,8 @@ def delete_documents_templates_id_with_http_info(self, template_id, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_documents_templates_id_labels_id(self, template_id, label_id, **kwargs): # noqa: E501 - """Delete a label from a template # noqa: E501 + def delete_documents_templates_id_labels_id(self, template_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete a label from a template. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -145,7 +146,7 @@ def delete_documents_templates_id_labels_id(self, template_id, label_id, **kwarg :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_documents_templates_id_labels_id_with_http_info(template_id, label_id, **kwargs) # noqa: E501 @@ -153,8 +154,8 @@ def delete_documents_templates_id_labels_id(self, template_id, label_id, **kwarg (data) = self.delete_documents_templates_id_labels_id_with_http_info(template_id, label_id, **kwargs) # noqa: E501 return data - def delete_documents_templates_id_labels_id_with_http_info(self, template_id, label_id, **kwargs): # noqa: E501 - """Delete a label from a template # noqa: E501 + def delete_documents_templates_id_labels_id_with_http_info(self, template_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete a label from a template. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -168,8 +169,7 @@ def delete_documents_templates_id_labels_id_with_http_info(self, template_id, la :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['template_id', 'label_id', 'zap_trace_span'] # noqa: E501 @@ -236,8 +236,8 @@ def delete_documents_templates_id_labels_id_with_http_info(self, template_id, la _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_documents_templates(self, **kwargs): # noqa: E501 - """get_documents_templates # noqa: E501 + def get_documents_templates(self, **kwargs): # noqa: E501,D401,D403 + """get_documents_templates. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -251,7 +251,7 @@ def get_documents_templates(self, **kwargs): # noqa: E501 :return: Documents If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_documents_templates_with_http_info(**kwargs) # noqa: E501 @@ -259,8 +259,8 @@ def get_documents_templates(self, **kwargs): # noqa: E501 (data) = self.get_documents_templates_with_http_info(**kwargs) # noqa: E501 return data - def get_documents_templates_with_http_info(self, **kwargs): # noqa: E501 - """get_documents_templates # noqa: E501 + def get_documents_templates_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """get_documents_templates. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -274,8 +274,7 @@ def get_documents_templates_with_http_info(self, **kwargs): # noqa: E501 :return: Documents If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span', 'org', 'org_id'] # noqa: E501 @@ -334,8 +333,8 @@ def get_documents_templates_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_documents_templates_id(self, template_id, **kwargs): # noqa: E501 - """get_documents_templates_id # noqa: E501 + def get_documents_templates_id(self, template_id, **kwargs): # noqa: E501,D401,D403 + """get_documents_templates_id. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -348,7 +347,7 @@ def get_documents_templates_id(self, template_id, **kwargs): # noqa: E501 :return: Document If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_documents_templates_id_with_http_info(template_id, **kwargs) # noqa: E501 @@ -356,8 +355,8 @@ def get_documents_templates_id(self, template_id, **kwargs): # noqa: E501 (data) = self.get_documents_templates_id_with_http_info(template_id, **kwargs) # noqa: E501 return data - def get_documents_templates_id_with_http_info(self, template_id, **kwargs): # noqa: E501 - """get_documents_templates_id # noqa: E501 + def get_documents_templates_id_with_http_info(self, template_id, **kwargs): # noqa: E501,D401,D403 + """get_documents_templates_id. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -370,8 +369,7 @@ def get_documents_templates_id_with_http_info(self, template_id, **kwargs): # n :return: Document If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['template_id', 'zap_trace_span'] # noqa: E501 @@ -432,8 +430,8 @@ def get_documents_templates_id_with_http_info(self, template_id, **kwargs): # n _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_documents_templates_id_labels(self, template_id, **kwargs): # noqa: E501 - """List all labels for a template # noqa: E501 + def get_documents_templates_id_labels(self, template_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a template. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -446,7 +444,7 @@ def get_documents_templates_id_labels(self, template_id, **kwargs): # noqa: E50 :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_documents_templates_id_labels_with_http_info(template_id, **kwargs) # noqa: E501 @@ -454,8 +452,8 @@ def get_documents_templates_id_labels(self, template_id, **kwargs): # noqa: E50 (data) = self.get_documents_templates_id_labels_with_http_info(template_id, **kwargs) # noqa: E501 return data - def get_documents_templates_id_labels_with_http_info(self, template_id, **kwargs): # noqa: E501 - """List all labels for a template # noqa: E501 + def get_documents_templates_id_labels_with_http_info(self, template_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a template. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -468,8 +466,7 @@ def get_documents_templates_id_labels_with_http_info(self, template_id, **kwargs :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['template_id', 'zap_trace_span'] # noqa: E501 @@ -530,8 +527,8 @@ def get_documents_templates_id_labels_with_http_info(self, template_id, **kwargs _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_documents_templates(self, document_create, **kwargs): # noqa: E501 - """Create a template # noqa: E501 + def post_documents_templates(self, document_create, **kwargs): # noqa: E501,D401,D403 + """Create a template. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -544,7 +541,7 @@ def post_documents_templates(self, document_create, **kwargs): # noqa: E501 :return: Document If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_documents_templates_with_http_info(document_create, **kwargs) # noqa: E501 @@ -552,8 +549,8 @@ def post_documents_templates(self, document_create, **kwargs): # noqa: E501 (data) = self.post_documents_templates_with_http_info(document_create, **kwargs) # noqa: E501 return data - def post_documents_templates_with_http_info(self, document_create, **kwargs): # noqa: E501 - """Create a template # noqa: E501 + def post_documents_templates_with_http_info(self, document_create, **kwargs): # noqa: E501,D401,D403 + """Create a template. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -566,8 +563,7 @@ def post_documents_templates_with_http_info(self, document_create, **kwargs): # :return: Document If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['document_create', 'zap_trace_span'] # noqa: E501 @@ -632,8 +628,8 @@ def post_documents_templates_with_http_info(self, document_create, **kwargs): # _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_documents_templates_id_labels(self, template_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a template # noqa: E501 + def post_documents_templates_id_labels(self, template_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a template. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -647,7 +643,7 @@ def post_documents_templates_id_labels(self, template_id, label_mapping, **kwarg :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_documents_templates_id_labels_with_http_info(template_id, label_mapping, **kwargs) # noqa: E501 @@ -655,8 +651,8 @@ def post_documents_templates_id_labels(self, template_id, label_mapping, **kwarg (data) = self.post_documents_templates_id_labels_with_http_info(template_id, label_mapping, **kwargs) # noqa: E501 return data - def post_documents_templates_id_labels_with_http_info(self, template_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a template # noqa: E501 + def post_documents_templates_id_labels_with_http_info(self, template_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a template. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -670,8 +666,7 @@ def post_documents_templates_id_labels_with_http_info(self, template_id, label_m :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['template_id', 'label_mapping', 'zap_trace_span'] # noqa: E501 @@ -742,8 +737,8 @@ def post_documents_templates_id_labels_with_http_info(self, template_id, label_m _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def put_documents_templates_id(self, template_id, document_update, **kwargs): # noqa: E501 - """put_documents_templates_id # noqa: E501 + def put_documents_templates_id(self, template_id, document_update, **kwargs): # noqa: E501,D401,D403 + """put_documents_templates_id. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -757,7 +752,7 @@ def put_documents_templates_id(self, template_id, document_update, **kwargs): # :return: Document If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.put_documents_templates_id_with_http_info(template_id, document_update, **kwargs) # noqa: E501 @@ -765,8 +760,8 @@ def put_documents_templates_id(self, template_id, document_update, **kwargs): # (data) = self.put_documents_templates_id_with_http_info(template_id, document_update, **kwargs) # noqa: E501 return data - def put_documents_templates_id_with_http_info(self, template_id, document_update, **kwargs): # noqa: E501 - """put_documents_templates_id # noqa: E501 + def put_documents_templates_id_with_http_info(self, template_id, document_update, **kwargs): # noqa: E501,D401,D403 + """put_documents_templates_id. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -780,8 +775,7 @@ def put_documents_templates_id_with_http_info(self, template_id, document_update :return: Document If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['template_id', 'document_update', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/users_service.py b/influxdb_client/service/users_service.py index f3927228..67ebbb34 100644 --- a/influxdb_client/service/users_service.py +++ b/influxdb_client/service/users_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class UsersService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """UsersService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def delete_buckets_id_members_id(self, user_id, bucket_id, **kwargs): # noqa: E501 - """Remove a member from a bucket # noqa: E501 + def delete_buckets_id_members_id(self, user_id, bucket_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -47,7 +49,7 @@ def delete_buckets_id_members_id(self, user_id, bucket_id, **kwargs): # noqa: E :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_buckets_id_members_id_with_http_info(user_id, bucket_id, **kwargs) # noqa: E501 @@ -55,8 +57,8 @@ def delete_buckets_id_members_id(self, user_id, bucket_id, **kwargs): # noqa: E (data) = self.delete_buckets_id_members_id_with_http_info(user_id, bucket_id, **kwargs) # noqa: E501 return data - def delete_buckets_id_members_id_with_http_info(self, user_id, bucket_id, **kwargs): # noqa: E501 - """Remove a member from a bucket # noqa: E501 + def delete_buckets_id_members_id_with_http_info(self, user_id, bucket_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -70,8 +72,7 @@ def delete_buckets_id_members_id_with_http_info(self, user_id, bucket_id, **kwar :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'bucket_id', 'zap_trace_span'] # noqa: E501 @@ -138,8 +139,8 @@ def delete_buckets_id_members_id_with_http_info(self, user_id, bucket_id, **kwar _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_buckets_id_owners_id(self, user_id, bucket_id, **kwargs): # noqa: E501 - """Remove an owner from a bucket # noqa: E501 + def delete_buckets_id_owners_id(self, user_id, bucket_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -153,7 +154,7 @@ def delete_buckets_id_owners_id(self, user_id, bucket_id, **kwargs): # noqa: E5 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_buckets_id_owners_id_with_http_info(user_id, bucket_id, **kwargs) # noqa: E501 @@ -161,8 +162,8 @@ def delete_buckets_id_owners_id(self, user_id, bucket_id, **kwargs): # noqa: E5 (data) = self.delete_buckets_id_owners_id_with_http_info(user_id, bucket_id, **kwargs) # noqa: E501 return data - def delete_buckets_id_owners_id_with_http_info(self, user_id, bucket_id, **kwargs): # noqa: E501 - """Remove an owner from a bucket # noqa: E501 + def delete_buckets_id_owners_id_with_http_info(self, user_id, bucket_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -176,8 +177,7 @@ def delete_buckets_id_owners_id_with_http_info(self, user_id, bucket_id, **kwarg :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'bucket_id', 'zap_trace_span'] # noqa: E501 @@ -244,8 +244,8 @@ def delete_buckets_id_owners_id_with_http_info(self, user_id, bucket_id, **kwarg _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_dashboards_id_members_id(self, user_id, dashboard_id, **kwargs): # noqa: E501 - """Remove a member from a dashboard # noqa: E501 + def delete_dashboards_id_members_id(self, user_id, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -259,7 +259,7 @@ def delete_dashboards_id_members_id(self, user_id, dashboard_id, **kwargs): # n :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_dashboards_id_members_id_with_http_info(user_id, dashboard_id, **kwargs) # noqa: E501 @@ -267,8 +267,8 @@ def delete_dashboards_id_members_id(self, user_id, dashboard_id, **kwargs): # n (data) = self.delete_dashboards_id_members_id_with_http_info(user_id, dashboard_id, **kwargs) # noqa: E501 return data - def delete_dashboards_id_members_id_with_http_info(self, user_id, dashboard_id, **kwargs): # noqa: E501 - """Remove a member from a dashboard # noqa: E501 + def delete_dashboards_id_members_id_with_http_info(self, user_id, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -282,8 +282,7 @@ def delete_dashboards_id_members_id_with_http_info(self, user_id, dashboard_id, :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'dashboard_id', 'zap_trace_span'] # noqa: E501 @@ -350,8 +349,8 @@ def delete_dashboards_id_members_id_with_http_info(self, user_id, dashboard_id, _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_dashboards_id_owners_id(self, user_id, dashboard_id, **kwargs): # noqa: E501 - """Remove an owner from a dashboard # noqa: E501 + def delete_dashboards_id_owners_id(self, user_id, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -365,7 +364,7 @@ def delete_dashboards_id_owners_id(self, user_id, dashboard_id, **kwargs): # no :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_dashboards_id_owners_id_with_http_info(user_id, dashboard_id, **kwargs) # noqa: E501 @@ -373,8 +372,8 @@ def delete_dashboards_id_owners_id(self, user_id, dashboard_id, **kwargs): # no (data) = self.delete_dashboards_id_owners_id_with_http_info(user_id, dashboard_id, **kwargs) # noqa: E501 return data - def delete_dashboards_id_owners_id_with_http_info(self, user_id, dashboard_id, **kwargs): # noqa: E501 - """Remove an owner from a dashboard # noqa: E501 + def delete_dashboards_id_owners_id_with_http_info(self, user_id, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -388,8 +387,7 @@ def delete_dashboards_id_owners_id_with_http_info(self, user_id, dashboard_id, * :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'dashboard_id', 'zap_trace_span'] # noqa: E501 @@ -456,8 +454,8 @@ def delete_dashboards_id_owners_id_with_http_info(self, user_id, dashboard_id, * _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_orgs_id_members_id(self, user_id, org_id, **kwargs): # noqa: E501 - """Remove a member from an organization # noqa: E501 + def delete_orgs_id_members_id(self, user_id, org_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -471,7 +469,7 @@ def delete_orgs_id_members_id(self, user_id, org_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_orgs_id_members_id_with_http_info(user_id, org_id, **kwargs) # noqa: E501 @@ -479,8 +477,8 @@ def delete_orgs_id_members_id(self, user_id, org_id, **kwargs): # noqa: E501 (data) = self.delete_orgs_id_members_id_with_http_info(user_id, org_id, **kwargs) # noqa: E501 return data - def delete_orgs_id_members_id_with_http_info(self, user_id, org_id, **kwargs): # noqa: E501 - """Remove a member from an organization # noqa: E501 + def delete_orgs_id_members_id_with_http_info(self, user_id, org_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -494,8 +492,7 @@ def delete_orgs_id_members_id_with_http_info(self, user_id, org_id, **kwargs): :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'org_id', 'zap_trace_span'] # noqa: E501 @@ -562,8 +559,8 @@ def delete_orgs_id_members_id_with_http_info(self, user_id, org_id, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_orgs_id_owners_id(self, user_id, org_id, **kwargs): # noqa: E501 - """Remove an owner from an organization # noqa: E501 + def delete_orgs_id_owners_id(self, user_id, org_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -577,7 +574,7 @@ def delete_orgs_id_owners_id(self, user_id, org_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_orgs_id_owners_id_with_http_info(user_id, org_id, **kwargs) # noqa: E501 @@ -585,8 +582,8 @@ def delete_orgs_id_owners_id(self, user_id, org_id, **kwargs): # noqa: E501 (data) = self.delete_orgs_id_owners_id_with_http_info(user_id, org_id, **kwargs) # noqa: E501 return data - def delete_orgs_id_owners_id_with_http_info(self, user_id, org_id, **kwargs): # noqa: E501 - """Remove an owner from an organization # noqa: E501 + def delete_orgs_id_owners_id_with_http_info(self, user_id, org_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -600,8 +597,7 @@ def delete_orgs_id_owners_id_with_http_info(self, user_id, org_id, **kwargs): # :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'org_id', 'zap_trace_span'] # noqa: E501 @@ -668,8 +664,8 @@ def delete_orgs_id_owners_id_with_http_info(self, user_id, org_id, **kwargs): # _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_scrapers_id_members_id(self, user_id, scraper_target_id, **kwargs): # noqa: E501 - """Remove a member from a scraper target # noqa: E501 + def delete_scrapers_id_members_id(self, user_id, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -683,7 +679,7 @@ def delete_scrapers_id_members_id(self, user_id, scraper_target_id, **kwargs): :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_scrapers_id_members_id_with_http_info(user_id, scraper_target_id, **kwargs) # noqa: E501 @@ -691,8 +687,8 @@ def delete_scrapers_id_members_id(self, user_id, scraper_target_id, **kwargs): (data) = self.delete_scrapers_id_members_id_with_http_info(user_id, scraper_target_id, **kwargs) # noqa: E501 return data - def delete_scrapers_id_members_id_with_http_info(self, user_id, scraper_target_id, **kwargs): # noqa: E501 - """Remove a member from a scraper target # noqa: E501 + def delete_scrapers_id_members_id_with_http_info(self, user_id, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -706,8 +702,7 @@ def delete_scrapers_id_members_id_with_http_info(self, user_id, scraper_target_i :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'scraper_target_id', 'zap_trace_span'] # noqa: E501 @@ -774,8 +769,8 @@ def delete_scrapers_id_members_id_with_http_info(self, user_id, scraper_target_i _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_scrapers_id_owners_id(self, user_id, scraper_target_id, **kwargs): # noqa: E501 - """Remove an owner from a scraper target # noqa: E501 + def delete_scrapers_id_owners_id(self, user_id, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -789,7 +784,7 @@ def delete_scrapers_id_owners_id(self, user_id, scraper_target_id, **kwargs): # :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_scrapers_id_owners_id_with_http_info(user_id, scraper_target_id, **kwargs) # noqa: E501 @@ -797,8 +792,8 @@ def delete_scrapers_id_owners_id(self, user_id, scraper_target_id, **kwargs): # (data) = self.delete_scrapers_id_owners_id_with_http_info(user_id, scraper_target_id, **kwargs) # noqa: E501 return data - def delete_scrapers_id_owners_id_with_http_info(self, user_id, scraper_target_id, **kwargs): # noqa: E501 - """Remove an owner from a scraper target # noqa: E501 + def delete_scrapers_id_owners_id_with_http_info(self, user_id, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -812,8 +807,7 @@ def delete_scrapers_id_owners_id_with_http_info(self, user_id, scraper_target_id :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'scraper_target_id', 'zap_trace_span'] # noqa: E501 @@ -880,8 +874,8 @@ def delete_scrapers_id_owners_id_with_http_info(self, user_id, scraper_target_id _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_tasks_id_members_id(self, user_id, task_id, **kwargs): # noqa: E501 - """Remove a member from a task # noqa: E501 + def delete_tasks_id_members_id(self, user_id, task_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -895,7 +889,7 @@ def delete_tasks_id_members_id(self, user_id, task_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_tasks_id_members_id_with_http_info(user_id, task_id, **kwargs) # noqa: E501 @@ -903,8 +897,8 @@ def delete_tasks_id_members_id(self, user_id, task_id, **kwargs): # noqa: E501 (data) = self.delete_tasks_id_members_id_with_http_info(user_id, task_id, **kwargs) # noqa: E501 return data - def delete_tasks_id_members_id_with_http_info(self, user_id, task_id, **kwargs): # noqa: E501 - """Remove a member from a task # noqa: E501 + def delete_tasks_id_members_id_with_http_info(self, user_id, task_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -918,8 +912,7 @@ def delete_tasks_id_members_id_with_http_info(self, user_id, task_id, **kwargs): :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'task_id', 'zap_trace_span'] # noqa: E501 @@ -986,8 +979,8 @@ def delete_tasks_id_members_id_with_http_info(self, user_id, task_id, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_tasks_id_owners_id(self, user_id, task_id, **kwargs): # noqa: E501 - """Remove an owner from a task # noqa: E501 + def delete_tasks_id_owners_id(self, user_id, task_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1001,7 +994,7 @@ def delete_tasks_id_owners_id(self, user_id, task_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_tasks_id_owners_id_with_http_info(user_id, task_id, **kwargs) # noqa: E501 @@ -1009,8 +1002,8 @@ def delete_tasks_id_owners_id(self, user_id, task_id, **kwargs): # noqa: E501 (data) = self.delete_tasks_id_owners_id_with_http_info(user_id, task_id, **kwargs) # noqa: E501 return data - def delete_tasks_id_owners_id_with_http_info(self, user_id, task_id, **kwargs): # noqa: E501 - """Remove an owner from a task # noqa: E501 + def delete_tasks_id_owners_id_with_http_info(self, user_id, task_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1024,8 +1017,7 @@ def delete_tasks_id_owners_id_with_http_info(self, user_id, task_id, **kwargs): :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'task_id', 'zap_trace_span'] # noqa: E501 @@ -1092,8 +1084,8 @@ def delete_tasks_id_owners_id_with_http_info(self, user_id, task_id, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_telegrafs_id_members_id(self, user_id, telegraf_id, **kwargs): # noqa: E501 - """Remove a member from a Telegraf config # noqa: E501 + def delete_telegrafs_id_members_id(self, user_id, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1107,7 +1099,7 @@ def delete_telegrafs_id_members_id(self, user_id, telegraf_id, **kwargs): # noq :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_telegrafs_id_members_id_with_http_info(user_id, telegraf_id, **kwargs) # noqa: E501 @@ -1115,8 +1107,8 @@ def delete_telegrafs_id_members_id(self, user_id, telegraf_id, **kwargs): # noq (data) = self.delete_telegrafs_id_members_id_with_http_info(user_id, telegraf_id, **kwargs) # noqa: E501 return data - def delete_telegrafs_id_members_id_with_http_info(self, user_id, telegraf_id, **kwargs): # noqa: E501 - """Remove a member from a Telegraf config # noqa: E501 + def delete_telegrafs_id_members_id_with_http_info(self, user_id, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """Remove a member from a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1130,8 +1122,7 @@ def delete_telegrafs_id_members_id_with_http_info(self, user_id, telegraf_id, ** :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'telegraf_id', 'zap_trace_span'] # noqa: E501 @@ -1198,8 +1189,8 @@ def delete_telegrafs_id_members_id_with_http_info(self, user_id, telegraf_id, ** _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_telegrafs_id_owners_id(self, user_id, telegraf_id, **kwargs): # noqa: E501 - """Remove an owner from a Telegraf config # noqa: E501 + def delete_telegrafs_id_owners_id(self, user_id, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1213,7 +1204,7 @@ def delete_telegrafs_id_owners_id(self, user_id, telegraf_id, **kwargs): # noqa :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_telegrafs_id_owners_id_with_http_info(user_id, telegraf_id, **kwargs) # noqa: E501 @@ -1221,8 +1212,8 @@ def delete_telegrafs_id_owners_id(self, user_id, telegraf_id, **kwargs): # noqa (data) = self.delete_telegrafs_id_owners_id_with_http_info(user_id, telegraf_id, **kwargs) # noqa: E501 return data - def delete_telegrafs_id_owners_id_with_http_info(self, user_id, telegraf_id, **kwargs): # noqa: E501 - """Remove an owner from a Telegraf config # noqa: E501 + def delete_telegrafs_id_owners_id_with_http_info(self, user_id, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """Remove an owner from a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1236,8 +1227,7 @@ def delete_telegrafs_id_owners_id_with_http_info(self, user_id, telegraf_id, **k :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'telegraf_id', 'zap_trace_span'] # noqa: E501 @@ -1304,8 +1294,8 @@ def delete_telegrafs_id_owners_id_with_http_info(self, user_id, telegraf_id, **k _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_users_id(self, user_id, **kwargs): # noqa: E501 - """Delete a user # noqa: E501 + def delete_users_id(self, user_id, **kwargs): # noqa: E501,D401,D403 + """Delete a user. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1318,7 +1308,7 @@ def delete_users_id(self, user_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_users_id_with_http_info(user_id, **kwargs) # noqa: E501 @@ -1326,8 +1316,8 @@ def delete_users_id(self, user_id, **kwargs): # noqa: E501 (data) = self.delete_users_id_with_http_info(user_id, **kwargs) # noqa: E501 return data - def delete_users_id_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Delete a user # noqa: E501 + def delete_users_id_with_http_info(self, user_id, **kwargs): # noqa: E501,D401,D403 + """Delete a user. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1340,8 +1330,7 @@ def delete_users_id_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'zap_trace_span'] # noqa: E501 @@ -1402,8 +1391,8 @@ def delete_users_id_with_http_info(self, user_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_buckets_id_members(self, bucket_id, **kwargs): # noqa: E501 - """List all users with member privileges for a bucket # noqa: E501 + def get_buckets_id_members(self, bucket_id, **kwargs): # noqa: E501,D401,D403 + """List all users with member privileges for a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1416,7 +1405,7 @@ def get_buckets_id_members(self, bucket_id, **kwargs): # noqa: E501 :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_buckets_id_members_with_http_info(bucket_id, **kwargs) # noqa: E501 @@ -1424,8 +1413,8 @@ def get_buckets_id_members(self, bucket_id, **kwargs): # noqa: E501 (data) = self.get_buckets_id_members_with_http_info(bucket_id, **kwargs) # noqa: E501 return data - def get_buckets_id_members_with_http_info(self, bucket_id, **kwargs): # noqa: E501 - """List all users with member privileges for a bucket # noqa: E501 + def get_buckets_id_members_with_http_info(self, bucket_id, **kwargs): # noqa: E501,D401,D403 + """List all users with member privileges for a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1438,8 +1427,7 @@ def get_buckets_id_members_with_http_info(self, bucket_id, **kwargs): # noqa: E :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['bucket_id', 'zap_trace_span'] # noqa: E501 @@ -1500,8 +1488,8 @@ def get_buckets_id_members_with_http_info(self, bucket_id, **kwargs): # noqa: E _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_buckets_id_owners(self, bucket_id, **kwargs): # noqa: E501 - """List all owners of a bucket # noqa: E501 + def get_buckets_id_owners(self, bucket_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1514,7 +1502,7 @@ def get_buckets_id_owners(self, bucket_id, **kwargs): # noqa: E501 :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_buckets_id_owners_with_http_info(bucket_id, **kwargs) # noqa: E501 @@ -1522,8 +1510,8 @@ def get_buckets_id_owners(self, bucket_id, **kwargs): # noqa: E501 (data) = self.get_buckets_id_owners_with_http_info(bucket_id, **kwargs) # noqa: E501 return data - def get_buckets_id_owners_with_http_info(self, bucket_id, **kwargs): # noqa: E501 - """List all owners of a bucket # noqa: E501 + def get_buckets_id_owners_with_http_info(self, bucket_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1536,8 +1524,7 @@ def get_buckets_id_owners_with_http_info(self, bucket_id, **kwargs): # noqa: E5 :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['bucket_id', 'zap_trace_span'] # noqa: E501 @@ -1598,8 +1585,8 @@ def get_buckets_id_owners_with_http_info(self, bucket_id, **kwargs): # noqa: E5 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_dashboards_id_members(self, dashboard_id, **kwargs): # noqa: E501 - """List all dashboard members # noqa: E501 + def get_dashboards_id_members(self, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """List all dashboard members. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1612,7 +1599,7 @@ def get_dashboards_id_members(self, dashboard_id, **kwargs): # noqa: E501 :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_dashboards_id_members_with_http_info(dashboard_id, **kwargs) # noqa: E501 @@ -1620,8 +1607,8 @@ def get_dashboards_id_members(self, dashboard_id, **kwargs): # noqa: E501 (data) = self.get_dashboards_id_members_with_http_info(dashboard_id, **kwargs) # noqa: E501 return data - def get_dashboards_id_members_with_http_info(self, dashboard_id, **kwargs): # noqa: E501 - """List all dashboard members # noqa: E501 + def get_dashboards_id_members_with_http_info(self, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """List all dashboard members. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1634,8 +1621,7 @@ def get_dashboards_id_members_with_http_info(self, dashboard_id, **kwargs): # n :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'zap_trace_span'] # noqa: E501 @@ -1696,8 +1682,8 @@ def get_dashboards_id_members_with_http_info(self, dashboard_id, **kwargs): # n _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_dashboards_id_owners(self, dashboard_id, **kwargs): # noqa: E501 - """List all dashboard owners # noqa: E501 + def get_dashboards_id_owners(self, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """List all dashboard owners. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1710,7 +1696,7 @@ def get_dashboards_id_owners(self, dashboard_id, **kwargs): # noqa: E501 :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_dashboards_id_owners_with_http_info(dashboard_id, **kwargs) # noqa: E501 @@ -1718,8 +1704,8 @@ def get_dashboards_id_owners(self, dashboard_id, **kwargs): # noqa: E501 (data) = self.get_dashboards_id_owners_with_http_info(dashboard_id, **kwargs) # noqa: E501 return data - def get_dashboards_id_owners_with_http_info(self, dashboard_id, **kwargs): # noqa: E501 - """List all dashboard owners # noqa: E501 + def get_dashboards_id_owners_with_http_info(self, dashboard_id, **kwargs): # noqa: E501,D401,D403 + """List all dashboard owners. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1732,8 +1718,7 @@ def get_dashboards_id_owners_with_http_info(self, dashboard_id, **kwargs): # no :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'zap_trace_span'] # noqa: E501 @@ -1794,8 +1779,8 @@ def get_dashboards_id_owners_with_http_info(self, dashboard_id, **kwargs): # no _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_me(self, **kwargs): # noqa: E501 - """Return the current authenticated user # noqa: E501 + def get_me(self, **kwargs): # noqa: E501,D401,D403 + """Return the current authenticated user. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1807,7 +1792,7 @@ def get_me(self, **kwargs): # noqa: E501 :return: User If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_me_with_http_info(**kwargs) # noqa: E501 @@ -1815,8 +1800,8 @@ def get_me(self, **kwargs): # noqa: E501 (data) = self.get_me_with_http_info(**kwargs) # noqa: E501 return data - def get_me_with_http_info(self, **kwargs): # noqa: E501 - """Return the current authenticated user # noqa: E501 + def get_me_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """Return the current authenticated user. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1828,8 +1813,7 @@ def get_me_with_http_info(self, **kwargs): # noqa: E501 :return: User If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span'] # noqa: E501 @@ -1884,8 +1868,8 @@ def get_me_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_orgs_id_members(self, org_id, **kwargs): # noqa: E501 - """List all members of an organization # noqa: E501 + def get_orgs_id_members(self, org_id, **kwargs): # noqa: E501,D401,D403 + """List all members of an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1898,7 +1882,7 @@ def get_orgs_id_members(self, org_id, **kwargs): # noqa: E501 :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_orgs_id_members_with_http_info(org_id, **kwargs) # noqa: E501 @@ -1906,8 +1890,8 @@ def get_orgs_id_members(self, org_id, **kwargs): # noqa: E501 (data) = self.get_orgs_id_members_with_http_info(org_id, **kwargs) # noqa: E501 return data - def get_orgs_id_members_with_http_info(self, org_id, **kwargs): # noqa: E501 - """List all members of an organization # noqa: E501 + def get_orgs_id_members_with_http_info(self, org_id, **kwargs): # noqa: E501,D401,D403 + """List all members of an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1920,8 +1904,7 @@ def get_orgs_id_members_with_http_info(self, org_id, **kwargs): # noqa: E501 :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'zap_trace_span'] # noqa: E501 @@ -1982,8 +1965,8 @@ def get_orgs_id_members_with_http_info(self, org_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_orgs_id_owners(self, org_id, **kwargs): # noqa: E501 - """List all owners of an organization # noqa: E501 + def get_orgs_id_owners(self, org_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -1996,7 +1979,7 @@ def get_orgs_id_owners(self, org_id, **kwargs): # noqa: E501 :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_orgs_id_owners_with_http_info(org_id, **kwargs) # noqa: E501 @@ -2004,8 +1987,8 @@ def get_orgs_id_owners(self, org_id, **kwargs): # noqa: E501 (data) = self.get_orgs_id_owners_with_http_info(org_id, **kwargs) # noqa: E501 return data - def get_orgs_id_owners_with_http_info(self, org_id, **kwargs): # noqa: E501 - """List all owners of an organization # noqa: E501 + def get_orgs_id_owners_with_http_info(self, org_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2018,8 +2001,7 @@ def get_orgs_id_owners_with_http_info(self, org_id, **kwargs): # noqa: E501 :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'zap_trace_span'] # noqa: E501 @@ -2080,8 +2062,8 @@ def get_orgs_id_owners_with_http_info(self, org_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_scrapers_id_members(self, scraper_target_id, **kwargs): # noqa: E501 - """List all users with member privileges for a scraper target # noqa: E501 + def get_scrapers_id_members(self, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """List all users with member privileges for a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2094,7 +2076,7 @@ def get_scrapers_id_members(self, scraper_target_id, **kwargs): # noqa: E501 :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_scrapers_id_members_with_http_info(scraper_target_id, **kwargs) # noqa: E501 @@ -2102,8 +2084,8 @@ def get_scrapers_id_members(self, scraper_target_id, **kwargs): # noqa: E501 (data) = self.get_scrapers_id_members_with_http_info(scraper_target_id, **kwargs) # noqa: E501 return data - def get_scrapers_id_members_with_http_info(self, scraper_target_id, **kwargs): # noqa: E501 - """List all users with member privileges for a scraper target # noqa: E501 + def get_scrapers_id_members_with_http_info(self, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """List all users with member privileges for a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2116,8 +2098,7 @@ def get_scrapers_id_members_with_http_info(self, scraper_target_id, **kwargs): :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['scraper_target_id', 'zap_trace_span'] # noqa: E501 @@ -2178,8 +2159,8 @@ def get_scrapers_id_members_with_http_info(self, scraper_target_id, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_scrapers_id_owners(self, scraper_target_id, **kwargs): # noqa: E501 - """List all owners of a scraper target # noqa: E501 + def get_scrapers_id_owners(self, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2192,7 +2173,7 @@ def get_scrapers_id_owners(self, scraper_target_id, **kwargs): # noqa: E501 :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_scrapers_id_owners_with_http_info(scraper_target_id, **kwargs) # noqa: E501 @@ -2200,8 +2181,8 @@ def get_scrapers_id_owners(self, scraper_target_id, **kwargs): # noqa: E501 (data) = self.get_scrapers_id_owners_with_http_info(scraper_target_id, **kwargs) # noqa: E501 return data - def get_scrapers_id_owners_with_http_info(self, scraper_target_id, **kwargs): # noqa: E501 - """List all owners of a scraper target # noqa: E501 + def get_scrapers_id_owners_with_http_info(self, scraper_target_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2214,8 +2195,7 @@ def get_scrapers_id_owners_with_http_info(self, scraper_target_id, **kwargs): # :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['scraper_target_id', 'zap_trace_span'] # noqa: E501 @@ -2276,8 +2256,8 @@ def get_scrapers_id_owners_with_http_info(self, scraper_target_id, **kwargs): # _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_tasks_id_members(self, task_id, **kwargs): # noqa: E501 - """List all task members # noqa: E501 + def get_tasks_id_members(self, task_id, **kwargs): # noqa: E501,D401,D403 + """List all task members. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2290,7 +2270,7 @@ def get_tasks_id_members(self, task_id, **kwargs): # noqa: E501 :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_tasks_id_members_with_http_info(task_id, **kwargs) # noqa: E501 @@ -2298,8 +2278,8 @@ def get_tasks_id_members(self, task_id, **kwargs): # noqa: E501 (data) = self.get_tasks_id_members_with_http_info(task_id, **kwargs) # noqa: E501 return data - def get_tasks_id_members_with_http_info(self, task_id, **kwargs): # noqa: E501 - """List all task members # noqa: E501 + def get_tasks_id_members_with_http_info(self, task_id, **kwargs): # noqa: E501,D401,D403 + """List all task members. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2312,8 +2292,7 @@ def get_tasks_id_members_with_http_info(self, task_id, **kwargs): # noqa: E501 :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'zap_trace_span'] # noqa: E501 @@ -2374,8 +2353,8 @@ def get_tasks_id_members_with_http_info(self, task_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_tasks_id_owners(self, task_id, **kwargs): # noqa: E501 - """List all owners of a task # noqa: E501 + def get_tasks_id_owners(self, task_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2388,7 +2367,7 @@ def get_tasks_id_owners(self, task_id, **kwargs): # noqa: E501 :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_tasks_id_owners_with_http_info(task_id, **kwargs) # noqa: E501 @@ -2396,8 +2375,8 @@ def get_tasks_id_owners(self, task_id, **kwargs): # noqa: E501 (data) = self.get_tasks_id_owners_with_http_info(task_id, **kwargs) # noqa: E501 return data - def get_tasks_id_owners_with_http_info(self, task_id, **kwargs): # noqa: E501 - """List all owners of a task # noqa: E501 + def get_tasks_id_owners_with_http_info(self, task_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2410,8 +2389,7 @@ def get_tasks_id_owners_with_http_info(self, task_id, **kwargs): # noqa: E501 :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'zap_trace_span'] # noqa: E501 @@ -2472,8 +2450,8 @@ def get_tasks_id_owners_with_http_info(self, task_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_telegrafs_id_members(self, telegraf_id, **kwargs): # noqa: E501 - """List all users with member privileges for a Telegraf config # noqa: E501 + def get_telegrafs_id_members(self, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """List all users with member privileges for a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2486,7 +2464,7 @@ def get_telegrafs_id_members(self, telegraf_id, **kwargs): # noqa: E501 :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_telegrafs_id_members_with_http_info(telegraf_id, **kwargs) # noqa: E501 @@ -2494,8 +2472,8 @@ def get_telegrafs_id_members(self, telegraf_id, **kwargs): # noqa: E501 (data) = self.get_telegrafs_id_members_with_http_info(telegraf_id, **kwargs) # noqa: E501 return data - def get_telegrafs_id_members_with_http_info(self, telegraf_id, **kwargs): # noqa: E501 - """List all users with member privileges for a Telegraf config # noqa: E501 + def get_telegrafs_id_members_with_http_info(self, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """List all users with member privileges for a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2508,8 +2486,7 @@ def get_telegrafs_id_members_with_http_info(self, telegraf_id, **kwargs): # noq :return: ResourceMembers If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['telegraf_id', 'zap_trace_span'] # noqa: E501 @@ -2570,8 +2547,8 @@ def get_telegrafs_id_members_with_http_info(self, telegraf_id, **kwargs): # noq _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_telegrafs_id_owners(self, telegraf_id, **kwargs): # noqa: E501 - """List all owners of a Telegraf config # noqa: E501 + def get_telegrafs_id_owners(self, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2584,7 +2561,7 @@ def get_telegrafs_id_owners(self, telegraf_id, **kwargs): # noqa: E501 :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_telegrafs_id_owners_with_http_info(telegraf_id, **kwargs) # noqa: E501 @@ -2592,8 +2569,8 @@ def get_telegrafs_id_owners(self, telegraf_id, **kwargs): # noqa: E501 (data) = self.get_telegrafs_id_owners_with_http_info(telegraf_id, **kwargs) # noqa: E501 return data - def get_telegrafs_id_owners_with_http_info(self, telegraf_id, **kwargs): # noqa: E501 - """List all owners of a Telegraf config # noqa: E501 + def get_telegrafs_id_owners_with_http_info(self, telegraf_id, **kwargs): # noqa: E501,D401,D403 + """List all owners of a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2606,8 +2583,7 @@ def get_telegrafs_id_owners_with_http_info(self, telegraf_id, **kwargs): # noqa :return: ResourceOwners If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['telegraf_id', 'zap_trace_span'] # noqa: E501 @@ -2668,8 +2644,8 @@ def get_telegrafs_id_owners_with_http_info(self, telegraf_id, **kwargs): # noqa _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_users(self, **kwargs): # noqa: E501 - """List all users # noqa: E501 + def get_users(self, **kwargs): # noqa: E501,D401,D403 + """List all users. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2681,7 +2657,7 @@ def get_users(self, **kwargs): # noqa: E501 :return: Users If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_users_with_http_info(**kwargs) # noqa: E501 @@ -2689,8 +2665,8 @@ def get_users(self, **kwargs): # noqa: E501 (data) = self.get_users_with_http_info(**kwargs) # noqa: E501 return data - def get_users_with_http_info(self, **kwargs): # noqa: E501 - """List all users # noqa: E501 + def get_users_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """List all users. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2702,8 +2678,7 @@ def get_users_with_http_info(self, **kwargs): # noqa: E501 :return: Users If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span'] # noqa: E501 @@ -2758,8 +2733,8 @@ def get_users_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_users_id(self, user_id, **kwargs): # noqa: E501 - """Retrieve a user # noqa: E501 + def get_users_id(self, user_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve a user. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2772,7 +2747,7 @@ def get_users_id(self, user_id, **kwargs): # noqa: E501 :return: User If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_users_id_with_http_info(user_id, **kwargs) # noqa: E501 @@ -2780,8 +2755,8 @@ def get_users_id(self, user_id, **kwargs): # noqa: E501 (data) = self.get_users_id_with_http_info(user_id, **kwargs) # noqa: E501 return data - def get_users_id_with_http_info(self, user_id, **kwargs): # noqa: E501 - """Retrieve a user # noqa: E501 + def get_users_id_with_http_info(self, user_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve a user. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2794,8 +2769,7 @@ def get_users_id_with_http_info(self, user_id, **kwargs): # noqa: E501 :return: User If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'zap_trace_span'] # noqa: E501 @@ -2856,8 +2830,8 @@ def get_users_id_with_http_info(self, user_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_users_id(self, user_id, user, **kwargs): # noqa: E501 - """Update a user # noqa: E501 + def patch_users_id(self, user_id, user, **kwargs): # noqa: E501,D401,D403 + """Update a user. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2871,7 +2845,7 @@ def patch_users_id(self, user_id, user, **kwargs): # noqa: E501 :return: User If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_users_id_with_http_info(user_id, user, **kwargs) # noqa: E501 @@ -2879,8 +2853,8 @@ def patch_users_id(self, user_id, user, **kwargs): # noqa: E501 (data) = self.patch_users_id_with_http_info(user_id, user, **kwargs) # noqa: E501 return data - def patch_users_id_with_http_info(self, user_id, user, **kwargs): # noqa: E501 - """Update a user # noqa: E501 + def patch_users_id_with_http_info(self, user_id, user, **kwargs): # noqa: E501,D401,D403 + """Update a user. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2894,8 +2868,7 @@ def patch_users_id_with_http_info(self, user_id, user, **kwargs): # noqa: E501 :return: User If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'user', 'zap_trace_span'] # noqa: E501 @@ -2966,8 +2939,8 @@ def patch_users_id_with_http_info(self, user_id, user, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_buckets_id_members(self, bucket_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a bucket # noqa: E501 + def post_buckets_id_members(self, bucket_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2981,7 +2954,7 @@ def post_buckets_id_members(self, bucket_id, add_resource_member_request_body, * :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_buckets_id_members_with_http_info(bucket_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -2989,8 +2962,8 @@ def post_buckets_id_members(self, bucket_id, add_resource_member_request_body, * (data) = self.post_buckets_id_members_with_http_info(bucket_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_buckets_id_members_with_http_info(self, bucket_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a bucket # noqa: E501 + def post_buckets_id_members_with_http_info(self, bucket_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3004,8 +2977,7 @@ def post_buckets_id_members_with_http_info(self, bucket_id, add_resource_member_ :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['bucket_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -3076,8 +3048,8 @@ def post_buckets_id_members_with_http_info(self, bucket_id, add_resource_member_ _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_buckets_id_owners(self, bucket_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a bucket # noqa: E501 + def post_buckets_id_owners(self, bucket_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3091,7 +3063,7 @@ def post_buckets_id_owners(self, bucket_id, add_resource_member_request_body, ** :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_buckets_id_owners_with_http_info(bucket_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -3099,8 +3071,8 @@ def post_buckets_id_owners(self, bucket_id, add_resource_member_request_body, ** (data) = self.post_buckets_id_owners_with_http_info(bucket_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_buckets_id_owners_with_http_info(self, bucket_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a bucket # noqa: E501 + def post_buckets_id_owners_with_http_info(self, bucket_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a bucket. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3114,8 +3086,7 @@ def post_buckets_id_owners_with_http_info(self, bucket_id, add_resource_member_r :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['bucket_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -3186,8 +3157,8 @@ def post_buckets_id_owners_with_http_info(self, bucket_id, add_resource_member_r _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_dashboards_id_members(self, dashboard_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a dashboard # noqa: E501 + def post_dashboards_id_members(self, dashboard_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3201,7 +3172,7 @@ def post_dashboards_id_members(self, dashboard_id, add_resource_member_request_b :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_dashboards_id_members_with_http_info(dashboard_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -3209,8 +3180,8 @@ def post_dashboards_id_members(self, dashboard_id, add_resource_member_request_b (data) = self.post_dashboards_id_members_with_http_info(dashboard_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_dashboards_id_members_with_http_info(self, dashboard_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a dashboard # noqa: E501 + def post_dashboards_id_members_with_http_info(self, dashboard_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3224,8 +3195,7 @@ def post_dashboards_id_members_with_http_info(self, dashboard_id, add_resource_m :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -3296,8 +3266,8 @@ def post_dashboards_id_members_with_http_info(self, dashboard_id, add_resource_m _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_dashboards_id_owners(self, dashboard_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a dashboard # noqa: E501 + def post_dashboards_id_owners(self, dashboard_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3311,7 +3281,7 @@ def post_dashboards_id_owners(self, dashboard_id, add_resource_member_request_bo :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_dashboards_id_owners_with_http_info(dashboard_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -3319,8 +3289,8 @@ def post_dashboards_id_owners(self, dashboard_id, add_resource_member_request_bo (data) = self.post_dashboards_id_owners_with_http_info(dashboard_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_dashboards_id_owners_with_http_info(self, dashboard_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a dashboard # noqa: E501 + def post_dashboards_id_owners_with_http_info(self, dashboard_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3334,8 +3304,7 @@ def post_dashboards_id_owners_with_http_info(self, dashboard_id, add_resource_me :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -3406,8 +3375,8 @@ def post_dashboards_id_owners_with_http_info(self, dashboard_id, add_resource_me _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_orgs_id_members(self, org_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to an organization # noqa: E501 + def post_orgs_id_members(self, org_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3421,7 +3390,7 @@ def post_orgs_id_members(self, org_id, add_resource_member_request_body, **kwarg :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_orgs_id_members_with_http_info(org_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -3429,8 +3398,8 @@ def post_orgs_id_members(self, org_id, add_resource_member_request_body, **kwarg (data) = self.post_orgs_id_members_with_http_info(org_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_orgs_id_members_with_http_info(self, org_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to an organization # noqa: E501 + def post_orgs_id_members_with_http_info(self, org_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3444,8 +3413,7 @@ def post_orgs_id_members_with_http_info(self, org_id, add_resource_member_reques :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -3516,8 +3484,8 @@ def post_orgs_id_members_with_http_info(self, org_id, add_resource_member_reques _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_orgs_id_owners(self, org_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to an organization # noqa: E501 + def post_orgs_id_owners(self, org_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3531,7 +3499,7 @@ def post_orgs_id_owners(self, org_id, add_resource_member_request_body, **kwargs :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_orgs_id_owners_with_http_info(org_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -3539,8 +3507,8 @@ def post_orgs_id_owners(self, org_id, add_resource_member_request_body, **kwargs (data) = self.post_orgs_id_owners_with_http_info(org_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_orgs_id_owners_with_http_info(self, org_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to an organization # noqa: E501 + def post_orgs_id_owners_with_http_info(self, org_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to an organization. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3554,8 +3522,7 @@ def post_orgs_id_owners_with_http_info(self, org_id, add_resource_member_request :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -3626,8 +3593,8 @@ def post_orgs_id_owners_with_http_info(self, org_id, add_resource_member_request _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_scrapers_id_members(self, scraper_target_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a scraper target # noqa: E501 + def post_scrapers_id_members(self, scraper_target_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3641,7 +3608,7 @@ def post_scrapers_id_members(self, scraper_target_id, add_resource_member_reques :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_scrapers_id_members_with_http_info(scraper_target_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -3649,8 +3616,8 @@ def post_scrapers_id_members(self, scraper_target_id, add_resource_member_reques (data) = self.post_scrapers_id_members_with_http_info(scraper_target_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_scrapers_id_members_with_http_info(self, scraper_target_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a scraper target # noqa: E501 + def post_scrapers_id_members_with_http_info(self, scraper_target_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3664,8 +3631,7 @@ def post_scrapers_id_members_with_http_info(self, scraper_target_id, add_resourc :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['scraper_target_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -3736,8 +3702,8 @@ def post_scrapers_id_members_with_http_info(self, scraper_target_id, add_resourc _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_scrapers_id_owners(self, scraper_target_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a scraper target # noqa: E501 + def post_scrapers_id_owners(self, scraper_target_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3751,7 +3717,7 @@ def post_scrapers_id_owners(self, scraper_target_id, add_resource_member_request :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_scrapers_id_owners_with_http_info(scraper_target_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -3759,8 +3725,8 @@ def post_scrapers_id_owners(self, scraper_target_id, add_resource_member_request (data) = self.post_scrapers_id_owners_with_http_info(scraper_target_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_scrapers_id_owners_with_http_info(self, scraper_target_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a scraper target # noqa: E501 + def post_scrapers_id_owners_with_http_info(self, scraper_target_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a scraper target. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3774,8 +3740,7 @@ def post_scrapers_id_owners_with_http_info(self, scraper_target_id, add_resource :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['scraper_target_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -3846,8 +3811,8 @@ def post_scrapers_id_owners_with_http_info(self, scraper_target_id, add_resource _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_tasks_id_members(self, task_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a task # noqa: E501 + def post_tasks_id_members(self, task_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3861,7 +3826,7 @@ def post_tasks_id_members(self, task_id, add_resource_member_request_body, **kwa :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_tasks_id_members_with_http_info(task_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -3869,8 +3834,8 @@ def post_tasks_id_members(self, task_id, add_resource_member_request_body, **kwa (data) = self.post_tasks_id_members_with_http_info(task_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_tasks_id_members_with_http_info(self, task_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a task # noqa: E501 + def post_tasks_id_members_with_http_info(self, task_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3884,8 +3849,7 @@ def post_tasks_id_members_with_http_info(self, task_id, add_resource_member_requ :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -3956,8 +3920,8 @@ def post_tasks_id_members_with_http_info(self, task_id, add_resource_member_requ _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_tasks_id_owners(self, task_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a task # noqa: E501 + def post_tasks_id_owners(self, task_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3971,7 +3935,7 @@ def post_tasks_id_owners(self, task_id, add_resource_member_request_body, **kwar :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_tasks_id_owners_with_http_info(task_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -3979,8 +3943,8 @@ def post_tasks_id_owners(self, task_id, add_resource_member_request_body, **kwar (data) = self.post_tasks_id_owners_with_http_info(task_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_tasks_id_owners_with_http_info(self, task_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a task # noqa: E501 + def post_tasks_id_owners_with_http_info(self, task_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a task. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -3994,8 +3958,7 @@ def post_tasks_id_owners_with_http_info(self, task_id, add_resource_member_reque :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['task_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -4066,8 +4029,8 @@ def post_tasks_id_owners_with_http_info(self, task_id, add_resource_member_reque _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_telegrafs_id_members(self, telegraf_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a Telegraf config # noqa: E501 + def post_telegrafs_id_members(self, telegraf_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4081,7 +4044,7 @@ def post_telegrafs_id_members(self, telegraf_id, add_resource_member_request_bod :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_telegrafs_id_members_with_http_info(telegraf_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -4089,8 +4052,8 @@ def post_telegrafs_id_members(self, telegraf_id, add_resource_member_request_bod (data) = self.post_telegrafs_id_members_with_http_info(telegraf_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_telegrafs_id_members_with_http_info(self, telegraf_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add a member to a Telegraf config # noqa: E501 + def post_telegrafs_id_members_with_http_info(self, telegraf_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add a member to a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4104,8 +4067,7 @@ def post_telegrafs_id_members_with_http_info(self, telegraf_id, add_resource_mem :return: ResourceMember If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['telegraf_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -4176,8 +4138,8 @@ def post_telegrafs_id_members_with_http_info(self, telegraf_id, add_resource_mem _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_telegrafs_id_owners(self, telegraf_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a Telegraf config # noqa: E501 + def post_telegrafs_id_owners(self, telegraf_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4191,7 +4153,7 @@ def post_telegrafs_id_owners(self, telegraf_id, add_resource_member_request_body :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_telegrafs_id_owners_with_http_info(telegraf_id, add_resource_member_request_body, **kwargs) # noqa: E501 @@ -4199,8 +4161,8 @@ def post_telegrafs_id_owners(self, telegraf_id, add_resource_member_request_body (data) = self.post_telegrafs_id_owners_with_http_info(telegraf_id, add_resource_member_request_body, **kwargs) # noqa: E501 return data - def post_telegrafs_id_owners_with_http_info(self, telegraf_id, add_resource_member_request_body, **kwargs): # noqa: E501 - """Add an owner to a Telegraf config # noqa: E501 + def post_telegrafs_id_owners_with_http_info(self, telegraf_id, add_resource_member_request_body, **kwargs): # noqa: E501,D401,D403 + """Add an owner to a Telegraf config. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4214,8 +4176,7 @@ def post_telegrafs_id_owners_with_http_info(self, telegraf_id, add_resource_memb :return: ResourceOwner If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['telegraf_id', 'add_resource_member_request_body', 'zap_trace_span'] # noqa: E501 @@ -4286,8 +4247,8 @@ def post_telegrafs_id_owners_with_http_info(self, telegraf_id, add_resource_memb _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_users(self, user, **kwargs): # noqa: E501 - """Create a user # noqa: E501 + def post_users(self, user, **kwargs): # noqa: E501,D401,D403 + """Create a user. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4300,7 +4261,7 @@ def post_users(self, user, **kwargs): # noqa: E501 :return: User If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_users_with_http_info(user, **kwargs) # noqa: E501 @@ -4308,8 +4269,8 @@ def post_users(self, user, **kwargs): # noqa: E501 (data) = self.post_users_with_http_info(user, **kwargs) # noqa: E501 return data - def post_users_with_http_info(self, user, **kwargs): # noqa: E501 - """Create a user # noqa: E501 + def post_users_with_http_info(self, user, **kwargs): # noqa: E501,D401,D403 + """Create a user. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4322,8 +4283,7 @@ def post_users_with_http_info(self, user, **kwargs): # noqa: E501 :return: User If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user', 'zap_trace_span'] # noqa: E501 @@ -4388,8 +4348,8 @@ def post_users_with_http_info(self, user, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_users_id_password(self, user_id, password_reset_body, **kwargs): # noqa: E501 - """Update a password # noqa: E501 + def post_users_id_password(self, user_id, password_reset_body, **kwargs): # noqa: E501,D401,D403 + """Update a password. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4403,7 +4363,7 @@ def post_users_id_password(self, user_id, password_reset_body, **kwargs): # noq :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_users_id_password_with_http_info(user_id, password_reset_body, **kwargs) # noqa: E501 @@ -4411,8 +4371,8 @@ def post_users_id_password(self, user_id, password_reset_body, **kwargs): # noq (data) = self.post_users_id_password_with_http_info(user_id, password_reset_body, **kwargs) # noqa: E501 return data - def post_users_id_password_with_http_info(self, user_id, password_reset_body, **kwargs): # noqa: E501 - """Update a password # noqa: E501 + def post_users_id_password_with_http_info(self, user_id, password_reset_body, **kwargs): # noqa: E501,D401,D403 + """Update a password. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4426,8 +4386,7 @@ def post_users_id_password_with_http_info(self, user_id, password_reset_body, ** :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['user_id', 'password_reset_body', 'zap_trace_span'] # noqa: E501 @@ -4498,8 +4457,8 @@ def post_users_id_password_with_http_info(self, user_id, password_reset_body, ** _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def put_me_password(self, password_reset_body, **kwargs): # noqa: E501 - """Update a password # noqa: E501 + def put_me_password(self, password_reset_body, **kwargs): # noqa: E501,D401,D403 + """Update a password. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4512,7 +4471,7 @@ def put_me_password(self, password_reset_body, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.put_me_password_with_http_info(password_reset_body, **kwargs) # noqa: E501 @@ -4520,8 +4479,8 @@ def put_me_password(self, password_reset_body, **kwargs): # noqa: E501 (data) = self.put_me_password_with_http_info(password_reset_body, **kwargs) # noqa: E501 return data - def put_me_password_with_http_info(self, password_reset_body, **kwargs): # noqa: E501 - """Update a password # noqa: E501 + def put_me_password_with_http_info(self, password_reset_body, **kwargs): # noqa: E501,D401,D403 + """Update a password. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -4534,8 +4493,7 @@ def put_me_password_with_http_info(self, password_reset_body, **kwargs): # noqa :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['password_reset_body', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/variables_service.py b/influxdb_client/service/variables_service.py index 3ca70e91..0c2ea15a 100644 --- a/influxdb_client/service/variables_service.py +++ b/influxdb_client/service/variables_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class VariablesService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """VariablesService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def delete_variables_id(self, variable_id, **kwargs): # noqa: E501 - """Delete a variable # noqa: E501 + def delete_variables_id(self, variable_id, **kwargs): # noqa: E501,D401,D403 + """Delete a variable. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -46,7 +48,7 @@ def delete_variables_id(self, variable_id, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_variables_id_with_http_info(variable_id, **kwargs) # noqa: E501 @@ -54,8 +56,8 @@ def delete_variables_id(self, variable_id, **kwargs): # noqa: E501 (data) = self.delete_variables_id_with_http_info(variable_id, **kwargs) # noqa: E501 return data - def delete_variables_id_with_http_info(self, variable_id, **kwargs): # noqa: E501 - """Delete a variable # noqa: E501 + def delete_variables_id_with_http_info(self, variable_id, **kwargs): # noqa: E501,D401,D403 + """Delete a variable. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -68,8 +70,7 @@ def delete_variables_id_with_http_info(self, variable_id, **kwargs): # noqa: E5 :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['variable_id', 'zap_trace_span'] # noqa: E501 @@ -130,8 +131,8 @@ def delete_variables_id_with_http_info(self, variable_id, **kwargs): # noqa: E5 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_variables_id_labels_id(self, variable_id, label_id, **kwargs): # noqa: E501 - """Delete a label from a variable # noqa: E501 + def delete_variables_id_labels_id(self, variable_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete a label from a variable. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -145,7 +146,7 @@ def delete_variables_id_labels_id(self, variable_id, label_id, **kwargs): # noq :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.delete_variables_id_labels_id_with_http_info(variable_id, label_id, **kwargs) # noqa: E501 @@ -153,8 +154,8 @@ def delete_variables_id_labels_id(self, variable_id, label_id, **kwargs): # noq (data) = self.delete_variables_id_labels_id_with_http_info(variable_id, label_id, **kwargs) # noqa: E501 return data - def delete_variables_id_labels_id_with_http_info(self, variable_id, label_id, **kwargs): # noqa: E501 - """Delete a label from a variable # noqa: E501 + def delete_variables_id_labels_id_with_http_info(self, variable_id, label_id, **kwargs): # noqa: E501,D401,D403 + """Delete a label from a variable. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -168,8 +169,7 @@ def delete_variables_id_labels_id_with_http_info(self, variable_id, label_id, ** :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['variable_id', 'label_id', 'zap_trace_span'] # noqa: E501 @@ -236,8 +236,8 @@ def delete_variables_id_labels_id_with_http_info(self, variable_id, label_id, ** _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_variables(self, **kwargs): # noqa: E501 - """Get all variables # noqa: E501 + def get_variables(self, **kwargs): # noqa: E501,D401,D403 + """Get all variables. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -251,7 +251,7 @@ def get_variables(self, **kwargs): # noqa: E501 :return: Variables If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_variables_with_http_info(**kwargs) # noqa: E501 @@ -259,8 +259,8 @@ def get_variables(self, **kwargs): # noqa: E501 (data) = self.get_variables_with_http_info(**kwargs) # noqa: E501 return data - def get_variables_with_http_info(self, **kwargs): # noqa: E501 - """Get all variables # noqa: E501 + def get_variables_with_http_info(self, **kwargs): # noqa: E501,D401,D403 + """Get all variables. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -274,8 +274,7 @@ def get_variables_with_http_info(self, **kwargs): # noqa: E501 :return: Variables If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['zap_trace_span', 'org', 'org_id'] # noqa: E501 @@ -334,8 +333,8 @@ def get_variables_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_variables_id(self, variable_id, **kwargs): # noqa: E501 - """Get a variable # noqa: E501 + def get_variables_id(self, variable_id, **kwargs): # noqa: E501,D401,D403 + """Get a variable. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -348,7 +347,7 @@ def get_variables_id(self, variable_id, **kwargs): # noqa: E501 :return: Variable If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_variables_id_with_http_info(variable_id, **kwargs) # noqa: E501 @@ -356,8 +355,8 @@ def get_variables_id(self, variable_id, **kwargs): # noqa: E501 (data) = self.get_variables_id_with_http_info(variable_id, **kwargs) # noqa: E501 return data - def get_variables_id_with_http_info(self, variable_id, **kwargs): # noqa: E501 - """Get a variable # noqa: E501 + def get_variables_id_with_http_info(self, variable_id, **kwargs): # noqa: E501,D401,D403 + """Get a variable. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -370,8 +369,7 @@ def get_variables_id_with_http_info(self, variable_id, **kwargs): # noqa: E501 :return: Variable If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['variable_id', 'zap_trace_span'] # noqa: E501 @@ -432,8 +430,8 @@ def get_variables_id_with_http_info(self, variable_id, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_variables_id_labels(self, variable_id, **kwargs): # noqa: E501 - """List all labels for a variable # noqa: E501 + def get_variables_id_labels(self, variable_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a variable. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -446,7 +444,7 @@ def get_variables_id_labels(self, variable_id, **kwargs): # noqa: E501 :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_variables_id_labels_with_http_info(variable_id, **kwargs) # noqa: E501 @@ -454,8 +452,8 @@ def get_variables_id_labels(self, variable_id, **kwargs): # noqa: E501 (data) = self.get_variables_id_labels_with_http_info(variable_id, **kwargs) # noqa: E501 return data - def get_variables_id_labels_with_http_info(self, variable_id, **kwargs): # noqa: E501 - """List all labels for a variable # noqa: E501 + def get_variables_id_labels_with_http_info(self, variable_id, **kwargs): # noqa: E501,D401,D403 + """List all labels for a variable. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -468,8 +466,7 @@ def get_variables_id_labels_with_http_info(self, variable_id, **kwargs): # noqa :return: LabelsResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['variable_id', 'zap_trace_span'] # noqa: E501 @@ -530,8 +527,8 @@ def get_variables_id_labels_with_http_info(self, variable_id, **kwargs): # noqa _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_variables_id(self, variable_id, variable, **kwargs): # noqa: E501 - """Update a variable # noqa: E501 + def patch_variables_id(self, variable_id, variable, **kwargs): # noqa: E501,D401,D403 + """Update a variable. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -545,7 +542,7 @@ def patch_variables_id(self, variable_id, variable, **kwargs): # noqa: E501 :return: Variable If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_variables_id_with_http_info(variable_id, variable, **kwargs) # noqa: E501 @@ -553,8 +550,8 @@ def patch_variables_id(self, variable_id, variable, **kwargs): # noqa: E501 (data) = self.patch_variables_id_with_http_info(variable_id, variable, **kwargs) # noqa: E501 return data - def patch_variables_id_with_http_info(self, variable_id, variable, **kwargs): # noqa: E501 - """Update a variable # noqa: E501 + def patch_variables_id_with_http_info(self, variable_id, variable, **kwargs): # noqa: E501,D401,D403 + """Update a variable. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -568,8 +565,7 @@ def patch_variables_id_with_http_info(self, variable_id, variable, **kwargs): # :return: Variable If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['variable_id', 'variable', 'zap_trace_span'] # noqa: E501 @@ -640,8 +636,8 @@ def patch_variables_id_with_http_info(self, variable_id, variable, **kwargs): # _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_variables(self, variable, **kwargs): # noqa: E501 - """Create a variable # noqa: E501 + def post_variables(self, variable, **kwargs): # noqa: E501,D401,D403 + """Create a variable. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -654,7 +650,7 @@ def post_variables(self, variable, **kwargs): # noqa: E501 :return: Variable If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_variables_with_http_info(variable, **kwargs) # noqa: E501 @@ -662,8 +658,8 @@ def post_variables(self, variable, **kwargs): # noqa: E501 (data) = self.post_variables_with_http_info(variable, **kwargs) # noqa: E501 return data - def post_variables_with_http_info(self, variable, **kwargs): # noqa: E501 - """Create a variable # noqa: E501 + def post_variables_with_http_info(self, variable, **kwargs): # noqa: E501,D401,D403 + """Create a variable. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -676,8 +672,7 @@ def post_variables_with_http_info(self, variable, **kwargs): # noqa: E501 :return: Variable If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['variable', 'zap_trace_span'] # noqa: E501 @@ -742,8 +737,8 @@ def post_variables_with_http_info(self, variable, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def post_variables_id_labels(self, variable_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a variable # noqa: E501 + def post_variables_id_labels(self, variable_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a variable. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -757,7 +752,7 @@ def post_variables_id_labels(self, variable_id, label_mapping, **kwargs): # noq :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_variables_id_labels_with_http_info(variable_id, label_mapping, **kwargs) # noqa: E501 @@ -765,8 +760,8 @@ def post_variables_id_labels(self, variable_id, label_mapping, **kwargs): # noq (data) = self.post_variables_id_labels_with_http_info(variable_id, label_mapping, **kwargs) # noqa: E501 return data - def post_variables_id_labels_with_http_info(self, variable_id, label_mapping, **kwargs): # noqa: E501 - """Add a label to a variable # noqa: E501 + def post_variables_id_labels_with_http_info(self, variable_id, label_mapping, **kwargs): # noqa: E501,D401,D403 + """Add a label to a variable. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -780,8 +775,7 @@ def post_variables_id_labels_with_http_info(self, variable_id, label_mapping, ** :return: LabelResponse If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['variable_id', 'label_mapping', 'zap_trace_span'] # noqa: E501 @@ -852,8 +846,8 @@ def post_variables_id_labels_with_http_info(self, variable_id, label_mapping, ** _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def put_variables_id(self, variable_id, variable, **kwargs): # noqa: E501 - """Replace a variable # noqa: E501 + def put_variables_id(self, variable_id, variable, **kwargs): # noqa: E501,D401,D403 + """Replace a variable. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -867,7 +861,7 @@ def put_variables_id(self, variable_id, variable, **kwargs): # noqa: E501 :return: Variable If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.put_variables_id_with_http_info(variable_id, variable, **kwargs) # noqa: E501 @@ -875,8 +869,8 @@ def put_variables_id(self, variable_id, variable, **kwargs): # noqa: E501 (data) = self.put_variables_id_with_http_info(variable_id, variable, **kwargs) # noqa: E501 return data - def put_variables_id_with_http_info(self, variable_id, variable, **kwargs): # noqa: E501 - """Replace a variable # noqa: E501 + def put_variables_id_with_http_info(self, variable_id, variable, **kwargs): # noqa: E501,D401,D403 + """Replace a variable. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -890,8 +884,7 @@ def put_variables_id_with_http_info(self, variable_id, variable, **kwargs): # n :return: Variable If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['variable_id', 'variable', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/views_service.py b/influxdb_client/service/views_service.py index d6ee586f..623d99b8 100644 --- a/influxdb_client/service/views_service.py +++ b/influxdb_client/service/views_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class ViewsService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """ViewsService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def get_dashboards_id_cells_id_view(self, dashboard_id, cell_id, **kwargs): # noqa: E501 - """Retrieve the view for a cell # noqa: E501 + def get_dashboards_id_cells_id_view(self, dashboard_id, cell_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve the view for a cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -47,7 +49,7 @@ def get_dashboards_id_cells_id_view(self, dashboard_id, cell_id, **kwargs): # n :return: View If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.get_dashboards_id_cells_id_view_with_http_info(dashboard_id, cell_id, **kwargs) # noqa: E501 @@ -55,8 +57,8 @@ def get_dashboards_id_cells_id_view(self, dashboard_id, cell_id, **kwargs): # n (data) = self.get_dashboards_id_cells_id_view_with_http_info(dashboard_id, cell_id, **kwargs) # noqa: E501 return data - def get_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id, **kwargs): # noqa: E501 - """Retrieve the view for a cell # noqa: E501 + def get_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id, **kwargs): # noqa: E501,D401,D403 + """Retrieve the view for a cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -70,8 +72,7 @@ def get_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id, :return: View If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'cell_id', 'zap_trace_span'] # noqa: E501 @@ -138,8 +139,8 @@ def get_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id, _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def patch_dashboards_id_cells_id_view(self, dashboard_id, cell_id, view, **kwargs): # noqa: E501 - """Update the view for a cell # noqa: E501 + def patch_dashboards_id_cells_id_view(self, dashboard_id, cell_id, view, **kwargs): # noqa: E501,D401,D403 + """Update the view for a cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -154,7 +155,7 @@ def patch_dashboards_id_cells_id_view(self, dashboard_id, cell_id, view, **kwarg :return: View If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.patch_dashboards_id_cells_id_view_with_http_info(dashboard_id, cell_id, view, **kwargs) # noqa: E501 @@ -162,8 +163,8 @@ def patch_dashboards_id_cells_id_view(self, dashboard_id, cell_id, view, **kwarg (data) = self.patch_dashboards_id_cells_id_view_with_http_info(dashboard_id, cell_id, view, **kwargs) # noqa: E501 return data - def patch_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id, view, **kwargs): # noqa: E501 - """Update the view for a cell # noqa: E501 + def patch_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id, view, **kwargs): # noqa: E501,D401,D403 + """Update the view for a cell. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -178,8 +179,7 @@ def patch_dashboards_id_cells_id_view_with_http_info(self, dashboard_id, cell_id :return: View If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['dashboard_id', 'cell_id', 'view', 'zap_trace_span'] # noqa: E501 diff --git a/influxdb_client/service/write_service.py b/influxdb_client/service/write_service.py index d32c2f62..c43fe841 100644 --- a/influxdb_client/service/write_service.py +++ b/influxdb_client/service/write_service.py @@ -1,12 +1,12 @@ # coding: utf-8 """ - Influx API Service +Influx API Service. - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - OpenAPI spec version: 0.1.0 - Generated by: https://openapi-generator.tech +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech """ @@ -21,19 +21,21 @@ class WriteService(object): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ - def __init__(self, api_client=None): + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """WriteService - a operation defined in OpenAPI.""" if api_client is None: api_client = ApiClient() self.api_client = api_client - def post_write(self, org, bucket, body, **kwargs): # noqa: E501 - """Write time series data into InfluxDB # noqa: E501 + def post_write(self, org, bucket, body, **kwargs): # noqa: E501,D401,D403 + """Write time series data into InfluxDB. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -54,7 +56,7 @@ def post_write(self, org, bucket, body, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ + """ # noqa: E501 kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): return self.post_write_with_http_info(org, bucket, body, **kwargs) # noqa: E501 @@ -62,8 +64,8 @@ def post_write(self, org, bucket, body, **kwargs): # noqa: E501 (data) = self.post_write_with_http_info(org, bucket, body, **kwargs) # noqa: E501 return data - def post_write_with_http_info(self, org, bucket, body, **kwargs): # noqa: E501 - """Write time series data into InfluxDB # noqa: E501 + def post_write_with_http_info(self, org, bucket, body, **kwargs): # noqa: E501,D401,D403 + """Write time series data into InfluxDB. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -84,8 +86,7 @@ def post_write_with_http_info(self, org, bucket, body, **kwargs): # noqa: E501 :return: None If the method is called asynchronously, returns the request thread. - """ - + """ # noqa: E501 local_var_params = locals() all_params = ['org', 'bucket', 'body', 'zap_trace_span', 'content_encoding', 'content_type', 'content_length', 'accept', 'org_id', 'precision'] # noqa: E501 diff --git a/openapi-generator/src/main/java/org/influxdata/codegen/InfluxPythonGenerator.java b/openapi-generator/src/main/java/org/influxdata/codegen/InfluxPythonGenerator.java index c164bf19..6ebb23db 100644 --- a/openapi-generator/src/main/java/org/influxdata/codegen/InfluxPythonGenerator.java +++ b/openapi-generator/src/main/java/org/influxdata/codegen/InfluxPythonGenerator.java @@ -46,7 +46,14 @@ public String getHelp() { return "Generates a influx-python client library."; } + @Override + public String escapeText(String input) { + if (input == null) { + return input; + } + return super.escapeText(input).replace("\\\"", "\""); + } @Override public CodegenOperation fromOperation(String path, String httpMethod, Operation operation, Map definitions, OpenAPI openAPI) { diff --git a/openapi-generator/src/main/resources/python/__init__api.mustache b/openapi-generator/src/main/resources/python/__init__api.mustache new file mode 100644 index 00000000..3d764108 --- /dev/null +++ b/openapi-generator/src/main/resources/python/__init__api.mustache @@ -0,0 +1,9 @@ +# flake8: noqa + +{{>partial_header}} + +from __future__ import absolute_import + +# import apis into api package +{{#apiInfo}}{{#apis}}from {{apiPackage}}.{{classVarName}} import {{classname}} +{{/apis}}{{/apiInfo}} \ No newline at end of file diff --git a/openapi-generator/src/main/resources/python/api.mustache b/openapi-generator/src/main/resources/python/api.mustache new file mode 100644 index 00000000..e5ab08cd --- /dev/null +++ b/openapi-generator/src/main/resources/python/api.mustache @@ -0,0 +1,218 @@ +# coding: utf-8 + +{{>partial_header}} + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from {{packageName}}.api_client import ApiClient + + +{{#operations}} +class {{classname}}(object): + """NOTE: This class is auto generated by OpenAPI Generator. + + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): # noqa: E501,D401,D403 + """{{classname}} - a operation defined in OpenAPI.""" + if api_client is None: + api_client = ApiClient() + self.api_client = api_client +{{#operation}} + + def {{operationId}}(self, {{#sortParamsByRequiredFlag}}{{#allParams}}{{#required}}{{paramName}}, {{/required}}{{/allParams}}{{/sortParamsByRequiredFlag}}**kwargs): # noqa: E501,D401,D403 + """{{#summary}}{{{.}}}{{/summary}}{{^summary}}{{operationId}}{{/summary}}. + +{{#notes}} + {{{notes}}} +{{/notes}} + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True +{{#sortParamsByRequiredFlag}} + >>> thread = api.{{operationId}}({{#allParams}}{{#required}}{{paramName}}, {{/required}}{{/allParams}}async_req=True) +{{/sortParamsByRequiredFlag}} +{{^sortParamsByRequiredFlag}} + >>> thread = api.{{operationId}}({{#allParams}}{{#required}}{{paramName}}={{paramName}}_value, {{/required}}{{/allParams}}async_req=True) +{{/sortParamsByRequiredFlag}} + >>> result = thread.get() + + :param async_req bool +{{#allParams}} + :param {{dataType}} {{paramName}}:{{#description}} {{{description}}}{{/description}}{{#required}} (required){{/required}}{{#optional}}(optional){{/optional}} +{{/allParams}} + :return: {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}None{{/returnType}} + If the method is called asynchronously, + returns the request thread. + """ # noqa: E501 + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.{{operationId}}_with_http_info({{#sortParamsByRequiredFlag}}{{#allParams}}{{#required}}{{paramName}}, {{/required}}{{/allParams}}{{/sortParamsByRequiredFlag}}**kwargs) # noqa: E501 + else: + (data) = self.{{operationId}}_with_http_info({{#sortParamsByRequiredFlag}}{{#allParams}}{{#required}}{{paramName}}, {{/required}}{{/allParams}}{{/sortParamsByRequiredFlag}}**kwargs) # noqa: E501 + return data + + def {{operationId}}_with_http_info(self, {{#sortParamsByRequiredFlag}}{{#allParams}}{{#required}}{{paramName}}, {{/required}}{{/allParams}}{{/sortParamsByRequiredFlag}}**kwargs): # noqa: E501,D401,D403 + """{{#summary}}{{{.}}}{{/summary}}{{^summary}}{{operationId}}{{/summary}}. + +{{#notes}} + {{{notes}}} +{{/notes}} + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True +{{#sortParamsByRequiredFlag}} + >>> thread = api.{{operationId}}_with_http_info({{#allParams}}{{#required}}{{paramName}}, {{/required}}{{/allParams}}async_req=True) +{{/sortParamsByRequiredFlag}} +{{^sortParamsByRequiredFlag}} + >>> thread = api.{{operationId}}_with_http_info({{#allParams}}{{#required}}{{paramName}}={{paramName}}_value, {{/required}}{{/allParams}}async_req=True) +{{/sortParamsByRequiredFlag}} + >>> result = thread.get() + + :param async_req bool +{{#allParams}} + :param {{dataType}} {{paramName}}:{{#description}} {{{description}}}{{/description}}{{#required}} (required){{/required}}{{#optional}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/optional}} +{{/allParams}} + :return: {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}None{{/returnType}} + If the method is called asynchronously, + returns the request thread. + """ # noqa: E501 + local_var_params = locals() + + all_params = [{{#allParams}}'{{paramName}}'{{#hasMore}}, {{/hasMore}}{{/allParams}}] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method {{operationId}}" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] +{{#allParams}} +{{^isNullable}} +{{#required}} + # verify the required parameter '{{paramName}}' is set + if ('{{paramName}}' not in local_var_params or + local_var_params['{{paramName}}'] is None): + raise ValueError("Missing the required parameter `{{paramName}}` when calling `{{operationId}}`") # noqa: E501 +{{/required}} +{{/isNullable}} +{{/allParams}} + +{{#allParams}} +{{#hasValidation}} + {{#maxLength}} + if ('{{paramName}}' in local_var_params and + len(local_var_params['{{paramName}}']) > {{maxLength}}): + raise ValueError("Invalid value for parameter `{{paramName}}` when calling `{{operationId}}`, length must be less than or equal to `{{maxLength}}`") # noqa: E501 + {{/maxLength}} + {{#minLength}} + if ('{{paramName}}' in local_var_params and + len(local_var_params['{{paramName}}']) < {{minLength}}): + raise ValueError("Invalid value for parameter `{{paramName}}` when calling `{{operationId}}`, length must be greater than or equal to `{{minLength}}`") # noqa: E501 + {{/minLength}} + {{#maximum}} + if '{{paramName}}' in local_var_params and local_var_params['{{paramName}}'] >{{#exclusiveMaximum}}={{/exclusiveMaximum}} {{maximum}}: # noqa: E501 + raise ValueError("Invalid value for parameter `{{paramName}}` when calling `{{operationId}}`, must be a value less than {{^exclusiveMaximum}}or equal to {{/exclusiveMaximum}}`{{maximum}}`") # noqa: E501 + {{/maximum}} + {{#minimum}} + if '{{paramName}}' in local_var_params and local_var_params['{{paramName}}'] <{{#exclusiveMinimum}}={{/exclusiveMinimum}} {{minimum}}: # noqa: E501 + raise ValueError("Invalid value for parameter `{{paramName}}` when calling `{{operationId}}`, must be a value greater than {{^exclusiveMinimum}}or equal to {{/exclusiveMinimum}}`{{minimum}}`") # noqa: E501 + {{/minimum}} + {{#pattern}} + if '{{paramName}}' in local_var_params and not re.search(r'{{{vendorExtensions.x-regex}}}', local_var_params['{{paramName}}']{{#vendorExtensions.x-modifiers}}{{#-first}}, flags={{/-first}}re.{{.}}{{^-last}} | {{/-last}}{{/vendorExtensions.x-modifiers}}): # noqa: E501 + raise ValueError("Invalid value for parameter `{{paramName}}` when calling `{{operationId}}`, must conform to the pattern `{{{pattern}}}`") # noqa: E501 + {{/pattern}} + {{#maxItems}} + if ('{{paramName}}' in local_var_params and + len(local_var_params['{{paramName}}']) > {{maxItems}}): + raise ValueError("Invalid value for parameter `{{paramName}}` when calling `{{operationId}}`, number of items must be less than or equal to `{{maxItems}}`") # noqa: E501 + {{/maxItems}} + {{#minItems}} + if ('{{paramName}}' in local_var_params and + len(local_var_params['{{paramName}}']) < {{minItems}}): + raise ValueError("Invalid value for parameter `{{paramName}}` when calling `{{operationId}}`, number of items must be greater than or equal to `{{minItems}}`") # noqa: E501 + {{/minItems}} +{{/hasValidation}} +{{#-last}} +{{/-last}} +{{/allParams}} + collection_formats = {} + + path_params = {} +{{#pathParams}} + if '{{paramName}}' in local_var_params: + path_params['{{baseName}}'] = local_var_params['{{paramName}}']{{#isListContainer}} # noqa: E501 + collection_formats['{{baseName}}'] = '{{collectionFormat}}'{{/isListContainer}} # noqa: E501 +{{/pathParams}} + + query_params = [] +{{#queryParams}} + if '{{paramName}}' in local_var_params: + query_params.append(('{{baseName}}', local_var_params['{{paramName}}'])){{#isListContainer}} # noqa: E501 + collection_formats['{{baseName}}'] = '{{collectionFormat}}'{{/isListContainer}} # noqa: E501 +{{/queryParams}} + + header_params = {} +{{#headerParams}} + if '{{paramName}}' in local_var_params: + header_params['{{baseName}}'] = local_var_params['{{paramName}}']{{#isListContainer}} # noqa: E501 + collection_formats['{{baseName}}'] = '{{collectionFormat}}'{{/isListContainer}} # noqa: E501 +{{/headerParams}} + + form_params = [] + local_var_files = {} +{{#formParams}} + if '{{paramName}}' in local_var_params: + {{^isFile}}form_params.append(('{{baseName}}', local_var_params['{{paramName}}'])){{/isFile}}{{#isFile}}local_var_files['{{baseName}}'] = local_var_params['{{paramName}}']{{/isFile}}{{#isListContainer}} # noqa: E501 + collection_formats['{{baseName}}'] = '{{collectionFormat}}'{{/isListContainer}} # noqa: E501 +{{/formParams}} + + body_params = None +{{#bodyParam}} + if '{{paramName}}' in local_var_params: + body_params = local_var_params['{{paramName}}'] +{{/bodyParam}} + {{#hasProduces}} + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + [{{#produces}}'{{{mediaType}}}'{{#hasMore}}, {{/hasMore}}{{/produces}}]) # noqa: E501 + + {{/hasProduces}} + {{#hasConsumes}} + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + [{{#consumes}}'{{{mediaType}}}'{{#hasMore}}, {{/hasMore}}{{/consumes}}]) # noqa: E501 + + {{/hasConsumes}} + # Authentication setting + auth_settings = [{{#authMethods}}'{{name}}'{{#hasMore}}, {{/hasMore}}{{/authMethods}}] # noqa: E501 + + return self.api_client.call_api( + '{{{path}}}', '{{httpMethod}}', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type={{#returnType}}'{{returnType}}'{{/returnType}}{{^returnType}}None{{/returnType}}, # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) +{{/operation}} +{{/operations}} diff --git a/openapi-generator/src/main/resources/python/api_client.mustache b/openapi-generator/src/main/resources/python/api_client.mustache index 5a9119df..d7bedf78 100644 --- a/openapi-generator/src/main/resources/python/api_client.mustache +++ b/openapi-generator/src/main/resources/python/api_client.mustache @@ -23,7 +23,7 @@ from {{packageName}} import rest class ApiClient(object): - """Generic API client for OpenAPI client library builds. + """Generic API client for OpenAPI client library Build. OpenAPI generic API client. This client handles the client- server communication, and is invariant across implementations. Specifics of @@ -59,6 +59,7 @@ class ApiClient(object): def __init__(self, configuration=None, header_name=None, header_value=None, cookie=None, pool_threads=None): + """Initialize generic API client.""" if configuration is None: configuration = Configuration() self.configuration = configuration @@ -73,6 +74,7 @@ class ApiClient(object): self.user_agent = 'influxdb-client-python/{{{packageVersion}}}' def __del__(self): + """Dispose pools.""" if self._pool: self._pool.close() self._pool.join() @@ -82,23 +84,23 @@ class ApiClient(object): @property def pool(self): - """Create thread pool on first request - avoids instantiating unused threadpool for blocking clients. - """ + """Create thread pool on first request avoids instantiating unused threadpool for blocking clients.""" if self._pool is None: self._pool = ThreadPool(self.pool_threads) return self._pool @property def user_agent(self): - """User agent for this API client""" + """User agent for this API client.""" return self.default_headers['User-Agent'] @user_agent.setter def user_agent(self, value): + """Set User agent for this API client.""" self.default_headers['User-Agent'] = value def set_default_header(self, header_name, header_value): + """Set HTTP header for this API client.""" self.default_headers[header_name] = header_value {{#tornado}} @@ -193,7 +195,7 @@ class ApiClient(object): {{/tornado}} def sanitize_for_serialization(self, obj): - """Builds a JSON POST object. + """Build a JSON POST object. If obj is None, return None. If obj is str, int, long, float, bool, return directly. @@ -301,7 +303,7 @@ class ApiClient(object): response_type=None, auth_settings=None, async_req=None, _return_http_data_only=None, collection_formats=None, _preload_content=True, _request_timeout=None): - """Makes the HTTP request (synchronous) and returns deserialized data. + """Make the HTTP request (synchronous) and Return deserialized data. To make an async_req request, set the async_req parameter. @@ -358,7 +360,7 @@ class ApiClient(object): def request(self, method, url, query_params=None, headers=None, post_params=None, body=None, _preload_content=True, _request_timeout=None): - """Makes the HTTP request using RESTClient.""" + """Make the HTTP request using RESTClient.""" if method == "GET": return self.rest_client.GET(url, query_params=query_params, @@ -447,7 +449,7 @@ class ApiClient(object): return new_params def prepare_post_parameters(self, post_params=None, files=None): - """Builds form parameters. + """Build form parameters. :param post_params: Normal form parameters. :param files: File parameters. @@ -475,7 +477,7 @@ class ApiClient(object): return params def select_header_accept(self, accepts): - """Returns `Accept` based on an array of accepts provided. + """Return `Accept` based on an array of accepts provided. :param accepts: List of headers. :return: Accept (e.g. application/json). @@ -491,7 +493,7 @@ class ApiClient(object): return ', '.join(accepts) def select_header_content_type(self, content_types): - """Returns `Content-Type` based on an array of content_types provided. + """Return `Content-Type` based on an array of content_types provided. :param content_types: List of content-types. :return: Content-Type (e.g. application/json). @@ -507,7 +509,7 @@ class ApiClient(object): return content_types[0] def update_params_for_auth(self, headers, querys, auth_settings): - """Updates header and query params based on authentication setting. + """Update header and query params based on authentication setting. :param headers: Header parameters dict to be updated. :param querys: Query parameters tuple list to be updated. @@ -531,7 +533,7 @@ class ApiClient(object): ) def __deserialize_file(self, response): - """Deserializes body to file + """Deserializes body to file. Saves response body into a file in a temporary folder, using the filename from the `Content-Disposition` header if provided. @@ -622,7 +624,6 @@ class ApiClient(object): :param klass: class literal. :return: model object. """ - if not klass.openapi_types and not hasattr(klass, 'get_real_child_model'): return data diff --git a/openapi-generator/src/main/resources/python/configuration.mustache b/openapi-generator/src/main/resources/python/configuration.mustache index df502538..db22e92d 100644 --- a/openapi-generator/src/main/resources/python/configuration.mustache +++ b/openapi-generator/src/main/resources/python/configuration.mustache @@ -15,28 +15,37 @@ from six.moves import http_client as httplib class TypeWithDefault(type): + """NOTE: This class is auto generated by OpenAPI Generator. + + Ref: https://openapi-generator.tech + Do not edit the class manually. + """ + def __init__(cls, name, bases, dct): + """Initialize with defaults.""" super(TypeWithDefault, cls).__init__(name, bases, dct) cls._default = None def __call__(cls): + """Call self as a function.""" if cls._default is None: cls._default = type.__call__(cls) return copy.copy(cls._default) def set_default(cls, default): + """Set dafaults.""" cls._default = copy.copy(default) class Configuration(six.with_metaclass(TypeWithDefault, object)): - """NOTE: This class is auto generated by OpenAPI Generator + """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. """ def __init__(self): - """Constructor""" + """Initialize configuration.""" # Default Base url self.host = "{{{basePath}}}" # Temp file folder for downloading files @@ -97,7 +106,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)): @property def logger_file(self): - """The logger file. + """Logger file. If the logger_file is None, then add stream handler and remove file handler. Otherwise, add file handler and remove stream handler. @@ -109,7 +118,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)): @logger_file.setter def logger_file(self, value): - """The logger file. + """Logger file. If the logger_file is None, then add stream handler and remove file handler. Otherwise, add file handler and remove stream handler. @@ -128,7 +137,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)): @property def debug(self): - """Debug status + """Debug status. :param value: The debug status, True or False. :type: bool @@ -137,7 +146,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)): @debug.setter def debug(self, value): - """Debug status + """Debug status. :param value: The debug status, True or False. :type: bool @@ -159,7 +168,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)): @property def logger_format(self): - """The logger format. + """Logger format. The logger_formatter will be updated when sets logger_format. @@ -170,7 +179,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)): @logger_format.setter def logger_format(self, value): - """The logger format. + """Logger format. The logger_formatter will be updated when sets logger_format. @@ -181,7 +190,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)): self.logger_formatter = logging.Formatter(self.__logger_format) def get_api_key_with_prefix(self, identifier): - """Gets API key (with prefix if set). + """Get API key (with prefix if set). :param identifier: The identifier of apiKey. :return: The token for api key authentication. @@ -193,7 +202,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)): return self.api_key[identifier] def get_basic_auth_token(self): - """Gets HTTP basic authentication header (string). + """Get HTTP basic authentication header (string). :return: The token for basic HTTP authentication. """ @@ -202,7 +211,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)): ).get('authorization') def auth_settings(self): - """Gets Auth Settings dict for api client. + """Get Auth Settings dict for api client. :return: The Auth Settings information dict. """ @@ -237,7 +246,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)): } def to_debug_report(self): - """Gets the essential information for debugging. + """Get the essential information for debugging. :return: The report for debugging. """ @@ -249,7 +258,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)): format(env=sys.platform, pyversion=sys.version) def update_request_header_params(self, path: str, params: dict): - """Updates header params based on custom settings. + """Update header params based on custom settings. :param path: Resource path :param params: Header parameters dict to be updated. @@ -257,7 +266,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)): pass def update_request_body(self, path: str, body): - """Updates http body based on custom settings. + """Update http body based on custom settings. :param path: Resource path :param body: Request body to be updated. diff --git a/openapi-generator/src/main/resources/python/model.mustache b/openapi-generator/src/main/resources/python/model.mustache index 207f7787..daa904df 100644 --- a/openapi-generator/src/main/resources/python/model.mustache +++ b/openapi-generator/src/main/resources/python/model.mustache @@ -19,6 +19,7 @@ from influxdb_client.domain.{{{vendorExtensions.x-parent-classFilename}}} import {{#model}} class {{classname}}({{#parent}}{{{parent}}}{{/parent}}{{^parent}}object{{/parent}}): """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. @@ -64,9 +65,8 @@ class {{classname}}({{#parent}}{{{parent}}}{{/parent}}{{^parent}}object{{/parent } {{/discriminator}} - def __init__(self{{#vars}}, {{name}}={{#defaultValue}}{{{defaultValue}}}{{/defaultValue}}{{^defaultValue}}None{{/defaultValue}}{{/vars}}{{#vendorExtensions.x-parent-vars}}, {{name}}={{#defaultValue}}{{{defaultValue}}}{{/defaultValue}}{{^defaultValue}}None{{/defaultValue}}{{/vendorExtensions.x-parent-vars}}): # noqa: E501 - """{{classname}} - a model defined in OpenAPI""" # noqa: E501 -{{#parent}} + def __init__(self{{#vars}}, {{name}}={{#defaultValue}}{{{defaultValue}}}{{/defaultValue}}{{^defaultValue}}None{{/defaultValue}}{{/vars}}{{#vendorExtensions.x-parent-vars}}, {{name}}={{#defaultValue}}{{{defaultValue}}}{{/defaultValue}}{{^defaultValue}}None{{/defaultValue}}{{/vendorExtensions.x-parent-vars}}): # noqa: E501,D401,D403 + """{{classname}} - a model defined in OpenAPI.""" # noqa: E501{{#parent}} {{{parent}}}.__init__(self{{#vendorExtensions.x-parent-vars}}, {{name}}={{name}}{{/vendorExtensions.x-parent-vars}}) # noqa: E501 {{/parent}} {{#vars}}{{#-first}} @@ -93,28 +93,28 @@ class {{classname}}({{#parent}}{{{parent}}}{{/parent}}{{^parent}}object{{/parent {{#vars}} @property def {{name}}(self): - """Gets the {{name}} of this {{classname}}. # noqa: E501 - + """Get the {{name}} of this {{classname}}. {{#description}} - {{{description}}} # noqa: E501 + + {{{description}}} {{/description}} - :return: The {{name}} of this {{classname}}. # noqa: E501 + :return: The {{name}} of this {{classname}}. :rtype: {{dataType}} - """ + """ # noqa: E501 return self._{{name}} @{{name}}.setter def {{name}}(self, {{name}}): - """Sets the {{name}} of this {{classname}}. - + """Set the {{name}} of this {{classname}}. {{#description}} - {{{description}}} # noqa: E501 + + {{{description}}} {{/description}} - :param {{name}}: The {{name}} of this {{classname}}. # noqa: E501 + :param {{name}}: The {{name}} of this {{classname}}. :type: {{dataType}} - """ + """ # noqa: E501 {{^isNullable}} {{#required}} if {{name}} is None: @@ -174,20 +174,19 @@ class {{classname}}({{#parent}}{{{parent}}}{{/parent}}{{^parent}}object{{/parent {{/minItems}} {{/hasValidation}} {{/isEnum}} - self._{{name}} = {{name}} {{/vars}} {{#discriminator}} def get_real_child_model(self, data): - """Returns the real base class specified by the discriminator""" + """Return the real base class specified by the discriminator.""" discriminator_key = self.attribute_map[self.discriminator] discriminator_value = data[discriminator_key] return self.discriminator_value_class_map.get(discriminator_value) {{/discriminator}} def to_dict(self): - """Returns the model properties as a dict""" + """Return the model properties as a dict.""" result = {} for attr, _ in six.iteritems(self.openapi_types): @@ -211,22 +210,22 @@ class {{classname}}({{#parent}}{{{parent}}}{{/parent}}{{^parent}}object{{/parent return result def to_str(self): - """Returns the string representation of the model""" + """Return the string representation of the model.""" return pprint.pformat(self.to_dict()) def __repr__(self): - """For `print` and `pprint`""" + """For `print` and `pprint`.""" return self.to_str() def __eq__(self, other): - """Returns true if both objects are equal""" + """Return true if both objects are equal.""" if not isinstance(other, {{classname}}): return False return self.__dict__ == other.__dict__ def __ne__(self, other): - """Returns true if both objects are not equal""" + """Return true if both objects are not equal.""" return not self == other {{/model}} {{/models}} diff --git a/openapi-generator/src/main/resources/python/partial_header.mustache b/openapi-generator/src/main/resources/python/partial_header.mustache new file mode 100644 index 00000000..93c95dd9 --- /dev/null +++ b/openapi-generator/src/main/resources/python/partial_header.mustache @@ -0,0 +1,17 @@ +""" +{{#appName}} +{{{appName}}}. +{{/appName}} + +{{#appDescription}} +{{{appDescription}}} # noqa: E501 +{{/appDescription}} + +{{#version}} +OpenAPI spec version: {{{version}}} +{{/version}} +{{#infoEmail}} +Contact: {{{infoEmail}}} +{{/infoEmail}} +Generated by: https://openapi-generator.tech +""" diff --git a/openapi-generator/src/main/resources/python/rest.mustache b/openapi-generator/src/main/resources/python/rest.mustache index ba261ae2..941939b6 100644 --- a/openapi-generator/src/main/resources/python/rest.mustache +++ b/openapi-generator/src/main/resources/python/rest.mustache @@ -25,25 +25,37 @@ logger = logging.getLogger(__name__) class RESTResponse(io.IOBase): + """NOTE: This class is auto generated by OpenAPI Generator. + + Ref: https://openapi-generator.tech + Do not edit the class manually. + """ def __init__(self, resp): + """Initialize with HTTP response.""" self.urllib3_response = resp self.status = resp.status self.reason = resp.reason self.data = resp.data def getheaders(self): - """Returns a dictionary of the response headers.""" + """Return a dictionary of the response headers.""" return self.urllib3_response.getheaders() def getheader(self, name, default=None): - """Returns a given response header.""" + """Return a given response header.""" return self.urllib3_response.getheader(name, default) class RESTClientObject(object): + """NOTE: This class is auto generated by OpenAPI Generator. + + Ref: https://openapi-generator.tech + Do not edit the class manually. + """ def __init__(self, configuration, pools_size=4, maxsize=None): + """Initialize REST client.""" # urllib3.PoolManager will pass all kw parameters to connectionpool # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501 # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680 # noqa: E501 @@ -226,6 +238,7 @@ class RESTClientObject(object): def GET(self, url, headers=None, query_params=None, _preload_content=True, _request_timeout=None): + """Perform GET HTTP request.""" return self.request("GET", url, headers=headers, _preload_content=_preload_content, @@ -234,6 +247,7 @@ class RESTClientObject(object): def HEAD(self, url, headers=None, query_params=None, _preload_content=True, _request_timeout=None): + """Perform HEAD HTTP request.""" return self.request("HEAD", url, headers=headers, _preload_content=_preload_content, @@ -242,6 +256,7 @@ class RESTClientObject(object): def OPTIONS(self, url, headers=None, query_params=None, post_params=None, body=None, _preload_content=True, _request_timeout=None): + """Perform OPTIONS HTTP request.""" return self.request("OPTIONS", url, headers=headers, query_params=query_params, @@ -252,6 +267,7 @@ class RESTClientObject(object): def DELETE(self, url, headers=None, query_params=None, body=None, _preload_content=True, _request_timeout=None): + """Perform DELETE HTTP request.""" return self.request("DELETE", url, headers=headers, query_params=query_params, @@ -261,6 +277,7 @@ class RESTClientObject(object): def POST(self, url, headers=None, query_params=None, post_params=None, body=None, _preload_content=True, _request_timeout=None): + """Perform POST HTTP request.""" return self.request("POST", url, headers=headers, query_params=query_params, @@ -271,6 +288,7 @@ class RESTClientObject(object): def PUT(self, url, headers=None, query_params=None, post_params=None, body=None, _preload_content=True, _request_timeout=None): + """Perform PUT HTTP request.""" return self.request("PUT", url, headers=headers, query_params=query_params, @@ -281,6 +299,7 @@ class RESTClientObject(object): def PATCH(self, url, headers=None, query_params=None, post_params=None, body=None, _preload_content=True, _request_timeout=None): + """Perform PATCH HTTP request.""" return self.request("PATCH", url, headers=headers, query_params=query_params, @@ -290,20 +309,28 @@ class RESTClientObject(object): body=body) def __getstate__(self): + """Return a dict of attributes that you want to pickle.""" state = self.__dict__.copy() # Remove Pool managaer del state['pool_manager'] return state def __setstate__(self, state): + """Set your object with the provided dict.""" self.__dict__.update(state) # Init Pool manager self.__init__(self.configuration, self.pools_size, self.maxsize) class ApiException(Exception): + """NOTE: This class is auto generated by OpenAPI Generator. + + Ref: https://openapi-generator.tech + Do not edit the class manually. + """ def __init__(self, status=None, reason=None, http_resp=None): + """Initialize with HTTP response.""" if http_resp: self.status = http_resp.status self.reason = http_resp.reason @@ -316,7 +343,7 @@ class ApiException(Exception): self.headers = None def __str__(self): - """Custom error messages for exception""" + """Get custom error messages for exception.""" error_message = "({0})\n"\ "Reason: {1}\n".format(self.status, self.reason) if self.headers: diff --git a/tests/__init__.py b/tests/__init__.py index 9777d6e3..9cce6043 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,7 +1,17 @@ -from __future__ import absolute_import - # flake8: noqa +""" +Influx API Service. + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + +OpenAPI spec version: 0.1.0 +Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + # import apis into api package from influxdb_client.service.authorizations_service import AuthorizationsService from influxdb_client.service.buckets_service import BucketsService