diff --git a/__init__.py b/__init__.py index a8a18a65..70d75a9d 100644 --- a/__init__.py +++ b/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/__init__.py b/examples/__init__.py index a8a18a65..70d75a9d 100644 --- a/examples/__init__.py +++ b/examples/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/configure_vcs_access.py b/examples/configure_vcs_access.py index b3936ab9..c4ff0b40 100644 --- a/examples/configure_vcs_access.py +++ b/examples/configure_vcs_access.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/example_application.py b/examples/example_application.py index 6af3fae4..a8409b14 100644 --- a/examples/example_application.py +++ b/examples/example_application.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/example_application_2.py b/examples/example_application_2.py index 486a9036..529439fc 100644 --- a/examples/example_application_2.py +++ b/examples/example_application_2.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/load_all_entities_from_vcs_ce.py b/examples/load_all_entities_from_vcs_ce.py index 0ea5b922..89d8bad3 100644 --- a/examples/load_all_entities_from_vcs_ce.py +++ b/examples/load_all_entities_from_vcs_ce.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/load_all_entities_from_vcs_pe.py b/examples/load_all_entities_from_vcs_pe.py index d2893095..128b12f7 100644 --- a/examples/load_all_entities_from_vcs_pe.py +++ b/examples/load_all_entities_from_vcs_pe.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/load_all_entities_to_vcs_ce.py b/examples/load_all_entities_to_vcs_ce.py index fc4403b0..2137b60b 100644 --- a/examples/load_all_entities_to_vcs_ce.py +++ b/examples/load_all_entities_to_vcs_ce.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/load_all_entities_to_vcs_pe.py b/examples/load_all_entities_to_vcs_pe.py index 8a17fab2..d1e8dd5c 100644 --- a/examples/load_all_entities_to_vcs_pe.py +++ b/examples/load_all_entities_to_vcs_pe.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/version_control_complex_example_ce.py b/examples/version_control_complex_example_ce.py index ac979c2a..294062b2 100644 --- a/examples/version_control_complex_example_ce.py +++ b/examples/version_control_complex_example_ce.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/version_control_complex_example_pe.py b/examples/version_control_complex_example_pe.py index 2bbb421b..ce077514 100644 --- a/examples/version_control_complex_example_pe.py +++ b/examples/version_control_complex_example_pe.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/version_control_single_device_example_ce.py b/examples/version_control_single_device_example_ce.py index 0df8e087..8a324b2b 100644 --- a/examples/version_control_single_device_example_ce.py +++ b/examples/version_control_single_device_example_ce.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/version_control_single_device_example_pe.py b/examples/version_control_single_device_example_pe.py index 90b05fda..52ae927e 100644 --- a/examples/version_control_single_device_example_pe.py +++ b/examples/version_control_single_device_example_pe.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/setup.py b/setup.py index be93d688..f44b5cf1 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ from os import path NAME = "tb-rest-client" -VERSION = "3.6" +VERSION = "3.6.2" this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: diff --git a/tb_rest_client/__init__.py b/tb_rest_client/__init__.py index d3af56e2..b14ee252 100644 --- a/tb_rest_client/__init__.py +++ b/tb_rest_client/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/__init__.py b/tb_rest_client/api/__init__.py index 51546460..459717c1 100644 --- a/tb_rest_client/api/__init__.py +++ b/tb_rest_client/api/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/__init__.py b/tb_rest_client/api/api_ce/__init__.py index 282107cd..900b62f6 100644 --- a/tb_rest_client/api/api_ce/__init__.py +++ b/tb_rest_client/api/api_ce/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -54,3 +54,4 @@ from .notification_template_controller_api import NotificationTemplateControllerApi from .usage_info_controller_api import UsageInfoControllerApi from .two_factor_auth_config_controller_api import TwoFactorAuthConfigControllerApi +from .image_controller_api import ImageControllerApi diff --git a/tb_rest_client/api/api_ce/admin_controller_api.py b/tb_rest_client/api/api_ce/admin_controller_api.py index 17f68991..02ee4719 100644 --- a/tb_rest_client/api/api_ce/admin_controller_api.py +++ b/tb_rest_client/api/api_ce/admin_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -750,8 +750,7 @@ def get_authorization_url_using_get_with_http_info(self, **kwargs): # noqa: E50 body_params = None # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/text']) # noqa: E501 + header_params['Accept'] = self.api_client.select_header_accept(['application/text']) # noqa: E501 # Authentication setting auth_settings = ['X-Authorization'] # noqa: E501 diff --git a/tb_rest_client/api/api_ce/alarm_comment_controller_api.py b/tb_rest_client/api/api_ce/alarm_comment_controller_api.py index 665eb4bd..1e7a5ab0 100644 --- a/tb_rest_client/api/api_ce/alarm_comment_controller_api.py +++ b/tb_rest_client/api/api_ce/alarm_comment_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/alarm_controller_api.py b/tb_rest_client/api/api_ce/alarm_controller_api.py index 9d9f7669..039319f3 100644 --- a/tb_rest_client/api/api_ce/alarm_controller_api.py +++ b/tb_rest_client/api/api_ce/alarm_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/asset_controller_api.py b/tb_rest_client/api/api_ce/asset_controller_api.py index 774546a2..164b498e 100644 --- a/tb_rest_client/api/api_ce/asset_controller_api.py +++ b/tb_rest_client/api/api_ce/asset_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -730,7 +730,7 @@ def get_asset_info_by_id_using_get_with_http_info(self, asset_id, **kwargs): # def get_asset_types_using_get(self, **kwargs): # noqa: E501 """Get Asset Types (getAssetTypes) # noqa: E501 - Returns a set of unique asset types based on assets that are either owned by the tenant or assigned to the customer which user is performing the request. # noqa: E501 + Deprecated. See 'getAssetProfileNames' API from Asset Profile Controller instead. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_asset_types_using_get(async_req=True) @@ -751,7 +751,7 @@ def get_asset_types_using_get(self, **kwargs): # noqa: E501 def get_asset_types_using_get_with_http_info(self, **kwargs): # noqa: E501 """Get Asset Types (getAssetTypes) # noqa: E501 - Returns a set of unique asset types based on assets that are either owned by the tenant or assigned to the customer which user is performing the request. # noqa: E501 + Deprecated. See 'getAssetProfileNames' API from Asset Profile Controller instead. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_asset_types_using_get_with_http_info(async_req=True) diff --git a/tb_rest_client/api/api_ce/asset_profile_controller_api.py b/tb_rest_client/api/api_ce/asset_profile_controller_api.py index a3d14a19..2ee9858e 100644 --- a/tb_rest_client/api/api_ce/asset_profile_controller_api.py +++ b/tb_rest_client/api/api_ce/asset_profile_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -152,6 +152,7 @@ def get_asset_profile_by_id_using_get(self, asset_profile_id, **kwargs): # noqa :param async_req bool :param str asset_profile_id: A string value representing the asset profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: AssetProfile If the method is called asynchronously, returns the request thread. @@ -174,12 +175,13 @@ def get_asset_profile_by_id_using_get_with_http_info(self, asset_profile_id, **k :param async_req bool :param str asset_profile_id: A string value representing the asset profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: AssetProfile If the method is called asynchronously, returns the request thread. """ - all_params = ['asset_profile_id'] # noqa: E501 + all_params = ['asset_profile_id', 'inline_images'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -206,6 +208,8 @@ def get_asset_profile_by_id_using_get_with_http_info(self, asset_profile_id, **k path_params['assetProfileId'] = params['asset_profile_id'] # noqa: E501 query_params = [] + if 'inline_images' in params: + query_params.append(('inlineImages', params['inline_images'])) # noqa: E501 header_params = {} @@ -221,7 +225,7 @@ def get_asset_profile_by_id_using_get_with_http_info(self, asset_profile_id, **k auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/assetProfile/{assetProfileId}', 'GET', + '/api/assetProfile/{assetProfileId}{?inlineImages}', 'GET', path_params, query_params, header_params, @@ -446,6 +450,97 @@ def get_asset_profile_infos_using_get_with_http_info(self, page_size, page, **kw _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def get_asset_profile_names_using_get(self, **kwargs): # noqa: E501 + """Get Asset Profile names (getAssetProfileNames) # noqa: E501 + + Returns a set of unique asset profile names owned by the tenant. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_asset_profile_names_using_get(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param bool active_only: Flag indicating whether to retrieve exclusively the names of asset profiles that are referenced by tenant's assets. + :return: list[EntityInfo] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_asset_profile_names_using_get_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_asset_profile_names_using_get_with_http_info(**kwargs) # noqa: E501 + return data + + def get_asset_profile_names_using_get_with_http_info(self, **kwargs): # noqa: E501 + """Get Asset Profile names (getAssetProfileNames) # noqa: E501 + + Returns a set of unique asset profile names owned by the tenant. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_asset_profile_names_using_get_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param bool active_only: Flag indicating whether to retrieve exclusively the names of asset profiles that are referenced by tenant's assets. + :return: list[EntityInfo] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['active_only'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_asset_profile_names_using_get" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'active_only' in params: + query_params.append(('activeOnly', params['active_only'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/assetProfile/names{?activeOnly}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[EntityInfo]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def get_asset_profiles_using_get(self, page_size, page, **kwargs): # noqa: E501 """Get Asset Profiles (getAssetProfiles) # noqa: E501 diff --git a/tb_rest_client/api/api_ce/audit_log_controller_api.py b/tb_rest_client/api/api_ce/audit_log_controller_api.py index 2f7e0553..ec3c648b 100644 --- a/tb_rest_client/api/api_ce/audit_log_controller_api.py +++ b/tb_rest_client/api/api_ce/audit_log_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/auth_controller_api.py b/tb_rest_client/api/api_ce/auth_controller_api.py index 73a45e0e..3a4fe147 100644 --- a/tb_rest_client/api/api_ce/auth_controller_api.py +++ b/tb_rest_client/api/api_ce/auth_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/component_descriptor_controller_api.py b/tb_rest_client/api/api_ce/component_descriptor_controller_api.py index 00ebd0be..675692b0 100644 --- a/tb_rest_client/api/api_ce/component_descriptor_controller_api.py +++ b/tb_rest_client/api/api_ce/component_descriptor_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/customer_controller_api.py b/tb_rest_client/api/api_ce/customer_controller_api.py index fb893994..7dae5cf2 100644 --- a/tb_rest_client/api/api_ce/customer_controller_api.py +++ b/tb_rest_client/api/api_ce/customer_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/dashboard_controller_api.py b/tb_rest_client/api/api_ce/dashboard_controller_api.py index 97e3263c..ea1010b5 100644 --- a/tb_rest_client/api/api_ce/dashboard_controller_api.py +++ b/tb_rest_client/api/api_ce/dashboard_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -683,6 +683,7 @@ def get_dashboard_by_id_using_get(self, dashboard_id, **kwargs): # noqa: E501 :param async_req bool :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: Dashboard If the method is called asynchronously, returns the request thread. @@ -705,12 +706,13 @@ def get_dashboard_by_id_using_get_with_http_info(self, dashboard_id, **kwargs): :param async_req bool :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: Dashboard If the method is called asynchronously, returns the request thread. """ - all_params = ['dashboard_id'] # noqa: E501 + all_params = ['dashboard_id', 'inline_images'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -737,6 +739,8 @@ def get_dashboard_by_id_using_get_with_http_info(self, dashboard_id, **kwargs): path_params['dashboardId'] = params['dashboard_id'] # noqa: E501 query_params = [] + if 'inline_images' in params: + query_params.append(('inlineImages', params['inline_images'])) # noqa: E501 header_params = {} @@ -752,7 +756,7 @@ def get_dashboard_by_id_using_get_with_http_info(self, dashboard_id, **kwargs): auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/dashboard/{dashboardId}', 'GET', + '/api/dashboard/{dashboardId}{?inlineImages}', 'GET', path_params, query_params, header_params, diff --git a/tb_rest_client/api/api_ce/device_api_controller_api.py b/tb_rest_client/api/api_ce/device_api_controller_api.py index 2239f76f..5fb58298 100644 --- a/tb_rest_client/api/api_ce/device_api_controller_api.py +++ b/tb_rest_client/api/api_ce/device_api_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/device_connectivity_controller_api.py b/tb_rest_client/api/api_ce/device_connectivity_controller_api.py index 5427031d..322ecfba 100644 --- a/tb_rest_client/api/api_ce/device_connectivity_controller_api.py +++ b/tb_rest_client/api/api_ce/device_connectivity_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -46,45 +46,45 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client - def download_server_certificate_using_get(self, protocol, **kwargs): # noqa: E501 - """Download server certificate using file path defined in device.connectivity properties (downloadServerCertificate) # noqa: E501 + def download_gateway_docker_compose_using_get(self, device_id, **kwargs): # noqa: E501 + """Download generated docker-compose.yml file for gateway (downloadGatewayDockerCompose) # noqa: E501 - Download server certificate. # noqa: E501 + Download generated docker-compose.yml for gateway. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.download_server_certificate_using_get(protocol, async_req=True) + >>> thread = api.download_gateway_docker_compose_using_get(device_id, async_req=True) >>> result = thread.get() :param async_req bool - :param str protocol: A string value representing the device connectivity protocol. Possible values: 'mqtt', 'mqtts', 'http', 'https', 'coap', 'coaps' (required) + :param str device_id: A string value representing the device id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :return: Resource If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.download_server_certificate_using_get_with_http_info(protocol, **kwargs) # noqa: E501 + return self.download_gateway_docker_compose_using_get_with_http_info(device_id, **kwargs) # noqa: E501 else: - (data) = self.download_server_certificate_using_get_with_http_info(protocol, **kwargs) # noqa: E501 + (data) = self.download_gateway_docker_compose_using_get_with_http_info(device_id, **kwargs) # noqa: E501 return data - def download_server_certificate_using_get_with_http_info(self, protocol, **kwargs): # noqa: E501 - """Download server certificate using file path defined in device.connectivity properties (downloadServerCertificate) # noqa: E501 + def download_gateway_docker_compose_using_get_with_http_info(self, device_id, **kwargs): # noqa: E501 + """Download generated docker-compose.yml file for gateway (downloadGatewayDockerCompose) # noqa: E501 - Download server certificate. # noqa: E501 + Download generated docker-compose.yml for gateway. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.download_server_certificate_using_get_with_http_info(protocol, async_req=True) + >>> thread = api.download_gateway_docker_compose_using_get_with_http_info(device_id, async_req=True) >>> result = thread.get() :param async_req bool - :param str protocol: A string value representing the device connectivity protocol. Possible values: 'mqtt', 'mqtts', 'http', 'https', 'coap', 'coaps' (required) + :param str device_id: A string value representing the device id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :return: Resource If the method is called asynchronously, returns the request thread. """ - all_params = ['protocol'] # noqa: E501 + all_params = ['device_id'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -95,20 +95,20 @@ def download_server_certificate_using_get_with_http_info(self, protocol, **kwarg if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method download_server_certificate_using_get" % key + " to method download_gateway_docker_compose_using_get" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'protocol' is set - if ('protocol' not in params or - params['protocol'] is None): - raise ValueError("Missing the required parameter `protocol` when calling `download_server_certificate_using_get`") # noqa: E501 + # verify the required parameter 'device_id' is set + if ('device_id' not in params or + params['device_id'] is None): + raise ValueError("Missing the required parameter `device_id` when calling `download_gateway_docker_compose_using_get`") # noqa: E501 collection_formats = {} path_params = {} - if 'protocol' in params: - path_params['protocol'] = params['protocol'] # noqa: E501 + if 'device_id' in params: + path_params['deviceId'] = params['device_id'] # noqa: E501 query_params = [] @@ -126,7 +126,7 @@ def download_server_certificate_using_get_with_http_info(self, protocol, **kwarg auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/device-connectivity/{protocol}/certificate/download', 'GET', + '/api/device-connectivity/gateway-launch/{deviceId}/docker-compose/download', 'GET', path_params, query_params, header_params, @@ -141,45 +141,45 @@ def download_server_certificate_using_get_with_http_info(self, protocol, **kwarg _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_device_publish_telemetry_commands_using_get(self, device_id, **kwargs): # noqa: E501 - """Get commands to publish device telemetry (getDevicePublishTelemetryCommands) # noqa: E501 + def download_server_certificate_using_get(self, protocol, **kwargs): # noqa: E501 + """Download server certificate using file path defined in device.connectivity properties (downloadServerCertificate) # noqa: E501 - Fetch the list of commands to publish device telemetry based on device profile If the user has the authority of 'Tenant Administrator', the server checks that the device is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the device is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + Download server certificate. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_device_publish_telemetry_commands_using_get(device_id, async_req=True) + >>> thread = api.download_server_certificate_using_get(protocol, async_req=True) >>> result = thread.get() :param async_req bool - :param str device_id: A string value representing the device id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: JsonNode + :param str protocol: A string value representing the device connectivity protocol. Possible values: 'mqtt', 'mqtts', 'http', 'https', 'coap', 'coaps' (required) + :return: Resource If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.get_device_publish_telemetry_commands_using_get_with_http_info(device_id, **kwargs) # noqa: E501 + return self.download_server_certificate_using_get_with_http_info(protocol, **kwargs) # noqa: E501 else: - (data) = self.get_device_publish_telemetry_commands_using_get_with_http_info(device_id, **kwargs) # noqa: E501 + (data) = self.download_server_certificate_using_get_with_http_info(protocol, **kwargs) # noqa: E501 return data - def get_device_publish_telemetry_commands_using_get_with_http_info(self, device_id, **kwargs): # noqa: E501 - """Get commands to publish device telemetry (getDevicePublishTelemetryCommands) # noqa: E501 + def download_server_certificate_using_get_with_http_info(self, protocol, **kwargs): # noqa: E501 + """Download server certificate using file path defined in device.connectivity properties (downloadServerCertificate) # noqa: E501 - Fetch the list of commands to publish device telemetry based on device profile If the user has the authority of 'Tenant Administrator', the server checks that the device is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the device is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + Download server certificate. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_device_publish_telemetry_commands_using_get_with_http_info(device_id, async_req=True) + >>> thread = api.download_server_certificate_using_get_with_http_info(protocol, async_req=True) >>> result = thread.get() :param async_req bool - :param str device_id: A string value representing the device id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: JsonNode + :param str protocol: A string value representing the device connectivity protocol. Possible values: 'mqtt', 'mqtts', 'http', 'https', 'coap', 'coaps' (required) + :return: Resource If the method is called asynchronously, returns the request thread. """ - all_params = ['device_id'] # noqa: E501 + all_params = ['protocol'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -190,20 +190,20 @@ def get_device_publish_telemetry_commands_using_get_with_http_info(self, device_ if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_device_publish_telemetry_commands_using_get" % key + " to method download_server_certificate_using_get" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'device_id' is set - if ('device_id' not in params or - params['device_id'] is None): - raise ValueError("Missing the required parameter `device_id` when calling `get_device_publish_telemetry_commands_using_get`") # noqa: E501 + # verify the required parameter 'protocol' is set + if ('protocol' not in params or + params['protocol'] is None): + raise ValueError("Missing the required parameter `protocol` when calling `download_server_certificate_using_get`") # noqa: E501 collection_formats = {} path_params = {} - if 'device_id' in params: - path_params['deviceId'] = params['device_id'] # noqa: E501 + if 'protocol' in params: + path_params['protocol'] = params['protocol'] # noqa: E501 query_params = [] @@ -221,14 +221,14 @@ def get_device_publish_telemetry_commands_using_get_with_http_info(self, device_ auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/device-connectivity/{deviceId}', 'GET', + '/api/device-connectivity/{protocol}/certificate/download', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='JsonNode', # noqa: E501 + response_type='Resource', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -236,13 +236,13 @@ def get_device_publish_telemetry_commands_using_get_with_http_info(self, device_ _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_gateway_launch_commands_using_get(self, device_id, **kwargs): # noqa: E501 - """Get commands to launch gateway (getGatewayLaunchCommands) # noqa: E501 + def get_device_publish_telemetry_commands_using_get(self, device_id, **kwargs): # noqa: E501 + """Get commands to publish device telemetry (getDevicePublishTelemetryCommands) # noqa: E501 - Fetch the list of commands for different operation systems to launch a gateway using docker. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + Fetch the list of commands to publish device telemetry based on device profile If the user has the authority of 'Tenant Administrator', the server checks that the device is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the device is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_gateway_launch_commands_using_get(device_id, async_req=True) + >>> thread = api.get_device_publish_telemetry_commands_using_get(device_id, async_req=True) >>> result = thread.get() :param async_req bool @@ -253,18 +253,18 @@ def get_gateway_launch_commands_using_get(self, device_id, **kwargs): # noqa: E """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.get_gateway_launch_commands_using_get_with_http_info(device_id, **kwargs) # noqa: E501 + return self.get_device_publish_telemetry_commands_using_get_with_http_info(device_id, **kwargs) # noqa: E501 else: - (data) = self.get_gateway_launch_commands_using_get_with_http_info(device_id, **kwargs) # noqa: E501 + (data) = self.get_device_publish_telemetry_commands_using_get_with_http_info(device_id, **kwargs) # noqa: E501 return data - def get_gateway_launch_commands_using_get_with_http_info(self, device_id, **kwargs): # noqa: E501 - """Get commands to launch gateway (getGatewayLaunchCommands) # noqa: E501 + def get_device_publish_telemetry_commands_using_get_with_http_info(self, device_id, **kwargs): # noqa: E501 + """Get commands to publish device telemetry (getDevicePublishTelemetryCommands) # noqa: E501 - Fetch the list of commands for different operation systems to launch a gateway using docker. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + Fetch the list of commands to publish device telemetry based on device profile If the user has the authority of 'Tenant Administrator', the server checks that the device is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the device is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_gateway_launch_commands_using_get_with_http_info(device_id, async_req=True) + >>> thread = api.get_device_publish_telemetry_commands_using_get_with_http_info(device_id, async_req=True) >>> result = thread.get() :param async_req bool @@ -285,14 +285,14 @@ def get_gateway_launch_commands_using_get_with_http_info(self, device_id, **kwar if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_gateway_launch_commands_using_get" % key + " to method get_device_publish_telemetry_commands_using_get" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'device_id' is set if ('device_id' not in params or params['device_id'] is None): - raise ValueError("Missing the required parameter `device_id` when calling `get_gateway_launch_commands_using_get`") # noqa: E501 + raise ValueError("Missing the required parameter `device_id` when calling `get_device_publish_telemetry_commands_using_get`") # noqa: E501 collection_formats = {} @@ -316,7 +316,7 @@ def get_gateway_launch_commands_using_get_with_http_info(self, device_id, **kwar auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/device-connectivity/gateway-launch/{deviceId}', 'GET', + '/api/device-connectivity/{deviceId}', 'GET', path_params, query_params, header_params, diff --git a/tb_rest_client/api/api_ce/device_controller_api.py b/tb_rest_client/api/api_ce/device_controller_api.py index 091f5aba..9ee9db66 100644 --- a/tb_rest_client/api/api_ce/device_controller_api.py +++ b/tb_rest_client/api/api_ce/device_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -1396,7 +1396,7 @@ def get_device_info_by_id_using_get_with_http_info(self, device_id, **kwargs): def get_device_types_using_get(self, **kwargs): # noqa: E501 """Get Device Types (getDeviceTypes) # noqa: E501 - Returns a set of unique device profile names based on devices that are either owned by the tenant or assigned to the customer which user is performing the request. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + Deprecated. See 'getDeviceProfileNames' API from Device Profile Controller instead. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_device_types_using_get(async_req=True) @@ -1417,7 +1417,7 @@ def get_device_types_using_get(self, **kwargs): # noqa: E501 def get_device_types_using_get_with_http_info(self, **kwargs): # noqa: E501 """Get Device Types (getDeviceTypes) # noqa: E501 - Returns a set of unique device profile names based on devices that are either owned by the tenant or assigned to the customer which user is performing the request. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + Deprecated. See 'getDeviceProfileNames' API from Device Profile Controller instead. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_device_types_using_get_with_http_info(async_req=True) diff --git a/tb_rest_client/api/api_ce/device_profile_controller_api.py b/tb_rest_client/api/api_ce/device_profile_controller_api.py index cee05e5c..77799ba1 100644 --- a/tb_rest_client/api/api_ce/device_profile_controller_api.py +++ b/tb_rest_client/api/api_ce/device_profile_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -330,6 +330,7 @@ def get_device_profile_by_id_using_get(self, device_profile_id, **kwargs): # no :param async_req bool :param str device_profile_id: A string value representing the device profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: DeviceProfile If the method is called asynchronously, returns the request thread. @@ -352,12 +353,13 @@ def get_device_profile_by_id_using_get_with_http_info(self, device_profile_id, * :param async_req bool :param str device_profile_id: A string value representing the device profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: DeviceProfile If the method is called asynchronously, returns the request thread. """ - all_params = ['device_profile_id'] # noqa: E501 + all_params = ['device_profile_id', 'inline_images'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -384,6 +386,8 @@ def get_device_profile_by_id_using_get_with_http_info(self, device_profile_id, * path_params['deviceProfileId'] = params['device_profile_id'] # noqa: E501 query_params = [] + if 'inline_images' in params: + query_params.append(('inlineImages', params['inline_images'])) # noqa: E501 header_params = {} @@ -399,7 +403,7 @@ def get_device_profile_by_id_using_get_with_http_info(self, device_profile_id, * auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/deviceProfile/{deviceProfileId}', 'GET', + '/api/deviceProfile/{deviceProfileId}{?inlineImages}', 'GET', path_params, query_params, header_params, @@ -628,6 +632,97 @@ def get_device_profile_infos_using_get_with_http_info(self, page_size, page, **k _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def get_device_profile_names_using_get(self, **kwargs): # noqa: E501 + """Get Device Profile names (getDeviceProfileNames) # noqa: E501 + + Returns a set of unique device profile names owned by the tenant. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_device_profile_names_using_get(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param bool active_only: Flag indicating whether to retrieve exclusively the names of device profiles that are referenced by tenant's devices. + :return: list[EntityInfo] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_device_profile_names_using_get_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_device_profile_names_using_get_with_http_info(**kwargs) # noqa: E501 + return data + + def get_device_profile_names_using_get_with_http_info(self, **kwargs): # noqa: E501 + """Get Device Profile names (getDeviceProfileNames) # noqa: E501 + + Returns a set of unique device profile names owned by the tenant. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_device_profile_names_using_get_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param bool active_only: Flag indicating whether to retrieve exclusively the names of device profiles that are referenced by tenant's devices. + :return: list[EntityInfo] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['active_only'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_device_profile_names_using_get" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'active_only' in params: + query_params.append(('activeOnly', params['active_only'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/deviceProfile/names{?activeOnly}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[EntityInfo]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def get_device_profiles_using_get(self, page_size, page, **kwargs): # noqa: E501 """Get Device Profiles (getDeviceProfiles) # noqa: E501 diff --git a/tb_rest_client/api/api_ce/edge_controller_api.py b/tb_rest_client/api/api_ce/edge_controller_api.py index d3a8b537..e2eba098 100644 --- a/tb_rest_client/api/api_ce/edge_controller_api.py +++ b/tb_rest_client/api/api_ce/edge_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -878,47 +878,45 @@ def get_edge_by_id_using_get_with_http_info(self, edge_id, **kwargs): # noqa: E _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_edge_docker_install_instructions_using_get(self, edge_id, method, **kwargs): # noqa: E501 - """Get Edge Docker Install Instructions (getEdgeDockerInstallInstructions) # noqa: E501 + def get_edge_info_by_id_using_get(self, edge_id, **kwargs): # noqa: E501 + """Get Edge Info (getEdgeInfoById) # noqa: E501 - Get a docker install instructions for provided edge id. Available for users with 'TENANT_ADMIN' authority. # noqa: E501 + Get the Edge Info object based on the provided Edge Id. If the user has the authority of 'Tenant Administrator', the server checks that the edge is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the edge is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_edge_docker_install_instructions_using_get(edge_id, method, async_req=True) + >>> thread = api.get_edge_info_by_id_using_get(edge_id, async_req=True) >>> result = thread.get() :param async_req bool :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :param str method: Installation method ('docker', 'ubuntu' or 'centos') (required) - :return: EdgeInstallInstructions + :return: EdgeInfo If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.get_edge_docker_install_instructions_using_get_with_http_info(edge_id, method, **kwargs) # noqa: E501 + return self.get_edge_info_by_id_using_get_with_http_info(edge_id, **kwargs) # noqa: E501 else: - (data) = self.get_edge_docker_install_instructions_using_get_with_http_info(edge_id, method, **kwargs) # noqa: E501 + (data) = self.get_edge_info_by_id_using_get_with_http_info(edge_id, **kwargs) # noqa: E501 return data - def get_edge_docker_install_instructions_using_get_with_http_info(self, edge_id, method, **kwargs): # noqa: E501 - """Get Edge Docker Install Instructions (getEdgeDockerInstallInstructions) # noqa: E501 + def get_edge_info_by_id_using_get_with_http_info(self, edge_id, **kwargs): # noqa: E501 + """Get Edge Info (getEdgeInfoById) # noqa: E501 - Get a docker install instructions for provided edge id. Available for users with 'TENANT_ADMIN' authority. # noqa: E501 + Get the Edge Info object based on the provided Edge Id. If the user has the authority of 'Tenant Administrator', the server checks that the edge is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the edge is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_edge_docker_install_instructions_using_get_with_http_info(edge_id, method, async_req=True) + >>> thread = api.get_edge_info_by_id_using_get_with_http_info(edge_id, async_req=True) >>> result = thread.get() :param async_req bool :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :param str method: Installation method ('docker', 'ubuntu' or 'centos') (required) - :return: EdgeInstallInstructions + :return: EdgeInfo If the method is called asynchronously, returns the request thread. """ - all_params = ['edge_id', 'method'] # noqa: E501 + all_params = ['edge_id'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -929,26 +927,20 @@ def get_edge_docker_install_instructions_using_get_with_http_info(self, edge_id, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_edge_docker_install_instructions_using_get" % key + " to method get_edge_info_by_id_using_get" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'edge_id' is set if ('edge_id' not in params or params['edge_id'] is None): - raise ValueError("Missing the required parameter `edge_id` when calling `get_edge_docker_install_instructions_using_get`") # noqa: E501 - # verify the required parameter 'method' is set - if ('method' not in params or - params['method'] is None): - raise ValueError("Missing the required parameter `method` when calling `get_edge_docker_install_instructions_using_get`") # noqa: E501 + raise ValueError("Missing the required parameter `edge_id` when calling `get_edge_info_by_id_using_get`") # noqa: E501 collection_formats = {} path_params = {} if 'edge_id' in params: path_params['edgeId'] = params['edge_id'] # noqa: E501 - if 'method' in params: - path_params['method'] = params['method'] # noqa: E501 query_params = [] @@ -966,14 +958,14 @@ def get_edge_docker_install_instructions_using_get_with_http_info(self, edge_id, auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/edge/instructions/{edgeId}/{method}', 'GET', + '/api/edge/info/{edgeId}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='EdgeInstallInstructions', # noqa: E501 + response_type='EdgeInfo', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -981,45 +973,47 @@ def get_edge_docker_install_instructions_using_get_with_http_info(self, edge_id, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_edge_info_by_id_using_get(self, edge_id, **kwargs): # noqa: E501 - """Get Edge Info (getEdgeInfoById) # noqa: E501 + def get_edge_install_instructions_using_get(self, edge_id, method, **kwargs): # noqa: E501 + """Get Edge Install Instructions (getEdgeInstallInstructions) # noqa: E501 - Get the Edge Info object based on the provided Edge Id. If the user has the authority of 'Tenant Administrator', the server checks that the edge is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the edge is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + Get an install instructions for provided edge id. Available for users with 'TENANT_ADMIN' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_edge_info_by_id_using_get(edge_id, async_req=True) + >>> thread = api.get_edge_install_instructions_using_get(edge_id, method, async_req=True) >>> result = thread.get() :param async_req bool :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: EdgeInfo + :param str method: Installation method ('docker', 'ubuntu' or 'centos') (required) + :return: EdgeInstructions If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.get_edge_info_by_id_using_get_with_http_info(edge_id, **kwargs) # noqa: E501 + return self.get_edge_install_instructions_using_get_with_http_info(edge_id, method, **kwargs) # noqa: E501 else: - (data) = self.get_edge_info_by_id_using_get_with_http_info(edge_id, **kwargs) # noqa: E501 + (data) = self.get_edge_install_instructions_using_get_with_http_info(edge_id, method, **kwargs) # noqa: E501 return data - def get_edge_info_by_id_using_get_with_http_info(self, edge_id, **kwargs): # noqa: E501 - """Get Edge Info (getEdgeInfoById) # noqa: E501 + def get_edge_install_instructions_using_get_with_http_info(self, edge_id, method, **kwargs): # noqa: E501 + """Get Edge Install Instructions (getEdgeInstallInstructions) # noqa: E501 - Get the Edge Info object based on the provided Edge Id. If the user has the authority of 'Tenant Administrator', the server checks that the edge is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the edge is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + Get an install instructions for provided edge id. Available for users with 'TENANT_ADMIN' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_edge_info_by_id_using_get_with_http_info(edge_id, async_req=True) + >>> thread = api.get_edge_install_instructions_using_get_with_http_info(edge_id, method, async_req=True) >>> result = thread.get() :param async_req bool :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: EdgeInfo + :param str method: Installation method ('docker', 'ubuntu' or 'centos') (required) + :return: EdgeInstructions If the method is called asynchronously, returns the request thread. """ - all_params = ['edge_id'] # noqa: E501 + all_params = ['edge_id', 'method'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1030,20 +1024,26 @@ def get_edge_info_by_id_using_get_with_http_info(self, edge_id, **kwargs): # no if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_edge_info_by_id_using_get" % key + " to method get_edge_install_instructions_using_get" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'edge_id' is set if ('edge_id' not in params or params['edge_id'] is None): - raise ValueError("Missing the required parameter `edge_id` when calling `get_edge_info_by_id_using_get`") # noqa: E501 + raise ValueError("Missing the required parameter `edge_id` when calling `get_edge_install_instructions_using_get`") # noqa: E501 + # verify the required parameter 'method' is set + if ('method' not in params or + params['method'] is None): + raise ValueError("Missing the required parameter `method` when calling `get_edge_install_instructions_using_get`") # noqa: E501 collection_formats = {} path_params = {} if 'edge_id' in params: path_params['edgeId'] = params['edge_id'] # noqa: E501 + if 'method' in params: + path_params['method'] = params['method'] # noqa: E501 query_params = [] @@ -1061,14 +1061,14 @@ def get_edge_info_by_id_using_get_with_http_info(self, edge_id, **kwargs): # no auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/edge/info/{edgeId}', 'GET', + '/api/edge/instructions/install/{edgeId}/{method}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='EdgeInfo', # noqa: E501 + response_type='EdgeInstructions', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1163,6 +1163,109 @@ def get_edge_types_using_get_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def get_edge_upgrade_instructions_using_get(self, edge_version, method, **kwargs): # noqa: E501 + """Get Edge Upgrade Instructions (getEdgeUpgradeInstructions) # noqa: E501 + + Get an upgrade instructions for provided edge version. Available for users with 'TENANT_ADMIN' authority. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_edge_upgrade_instructions_using_get(edge_version, method, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str edge_version: Edge version (required) + :param str method: Upgrade method ('docker', 'ubuntu' or 'centos') (required) + :return: EdgeInstructions + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_edge_upgrade_instructions_using_get_with_http_info(edge_version, method, **kwargs) # noqa: E501 + else: + (data) = self.get_edge_upgrade_instructions_using_get_with_http_info(edge_version, method, **kwargs) # noqa: E501 + return data + + def get_edge_upgrade_instructions_using_get_with_http_info(self, edge_version, method, **kwargs): # noqa: E501 + """Get Edge Upgrade Instructions (getEdgeUpgradeInstructions) # noqa: E501 + + Get an upgrade instructions for provided edge version. Available for users with 'TENANT_ADMIN' authority. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_edge_upgrade_instructions_using_get_with_http_info(edge_version, method, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str edge_version: Edge version (required) + :param str method: Upgrade method ('docker', 'ubuntu' or 'centos') (required) + :return: EdgeInstructions + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['edge_version', 'method'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_edge_upgrade_instructions_using_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'edge_version' is set + if ('edge_version' not in params or + params['edge_version'] is None): + raise ValueError("Missing the required parameter `edge_version` when calling `get_edge_upgrade_instructions_using_get`") # noqa: E501 + # verify the required parameter 'method' is set + if ('method' not in params or + params['method'] is None): + raise ValueError("Missing the required parameter `method` when calling `get_edge_upgrade_instructions_using_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'edge_version' in params: + path_params['edgeVersion'] = params['edge_version'] # noqa: E501 + if 'method' in params: + path_params['method'] = params['method'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/edge/instructions/upgrade/{edgeVersion}/{method}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='EdgeInstructions', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def get_edges_by_ids_using_get(self, edge_ids, **kwargs): # noqa: E501 """Get Edges By Ids (getEdgesByIds) # noqa: E501 @@ -1706,6 +1809,101 @@ def get_tenant_edges_using_get_with_http_info(self, page_size, page, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def is_edge_upgrade_available_using_get(self, edge_id, **kwargs): # noqa: E501 + """Is edge upgrade enabled (isEdgeUpgradeAvailable) # noqa: E501 + + Returns 'true' if upgrade available for connected edge, 'false' - otherwise. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.is_edge_upgrade_available_using_get(edge_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :return: bool + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.is_edge_upgrade_available_using_get_with_http_info(edge_id, **kwargs) # noqa: E501 + else: + (data) = self.is_edge_upgrade_available_using_get_with_http_info(edge_id, **kwargs) # noqa: E501 + return data + + def is_edge_upgrade_available_using_get_with_http_info(self, edge_id, **kwargs): # noqa: E501 + """Is edge upgrade enabled (isEdgeUpgradeAvailable) # noqa: E501 + + Returns 'true' if upgrade available for connected edge, 'false' - otherwise. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.is_edge_upgrade_available_using_get_with_http_info(edge_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :return: bool + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['edge_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method is_edge_upgrade_available_using_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'edge_id' is set + if ('edge_id' not in params or + params['edge_id'] is None): + raise ValueError("Missing the required parameter `edge_id` when calling `is_edge_upgrade_available_using_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'edge_id' in params: + path_params['edgeId'] = params['edge_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/edge/{edgeId}/upgrade/available', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='bool', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def is_edges_support_enabled_using_get(self, **kwargs): # noqa: E501 """Is edges support enabled (isEdgesSupportEnabled) # noqa: E501 diff --git a/tb_rest_client/api/api_ce/edge_event_controller_api.py b/tb_rest_client/api/api_ce/edge_event_controller_api.py index 9004e8d7..67fddb55 100644 --- a/tb_rest_client/api/api_ce/edge_event_controller_api.py +++ b/tb_rest_client/api/api_ce/edge_event_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/entities_version_control_controller_api.py b/tb_rest_client/api/api_ce/entities_version_control_controller_api.py index 53ad99e1..bcf49657 100644 --- a/tb_rest_client/api/api_ce/entities_version_control_controller_api.py +++ b/tb_rest_client/api/api_ce/entities_version_control_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/entity_query_controller_api.py b/tb_rest_client/api/api_ce/entity_query_controller_api.py index 475137a4..cdf64583 100644 --- a/tb_rest_client/api/api_ce/entity_query_controller_api.py +++ b/tb_rest_client/api/api_ce/entity_query_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/entity_relation_controller_api.py b/tb_rest_client/api/api_ce/entity_relation_controller_api.py index f03d69dc..0817507f 100644 --- a/tb_rest_client/api/api_ce/entity_relation_controller_api.py +++ b/tb_rest_client/api/api_ce/entity_relation_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/entity_view_controller_api.py b/tb_rest_client/api/api_ce/entity_view_controller_api.py index 98b8a226..96bbd3d5 100644 --- a/tb_rest_client/api/api_ce/entity_view_controller_api.py +++ b/tb_rest_client/api/api_ce/entity_view_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/event_controller_api.py b/tb_rest_client/api/api_ce/event_controller_api.py index dd9bf6e6..7c9376e3 100644 --- a/tb_rest_client/api/api_ce/event_controller_api.py +++ b/tb_rest_client/api/api_ce/event_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/image_controller_api.py b/tb_rest_client/api/api_ce/image_controller_api.py new file mode 100644 index 00000000..d40e8a8c --- /dev/null +++ b/tb_rest_client/api/api_ce/image_controller_api.py @@ -0,0 +1,1281 @@ +# coding: utf-8 + +""" + ThingsBoard REST API + + ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 + + OpenAPI spec version: 3.6.2 + Contact: info@thingsboard.io + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from tb_rest_client.api_client import ApiClient + + +class ImageControllerApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def delete_image_using_delete(self, type, key, **kwargs): # noqa: E501 + """deleteImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_image_using_delete(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param bool force: force + :return: TbImageDeleteResult + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_image_using_delete_with_http_info(type, key, **kwargs) # noqa: E501 + else: + (data) = self.delete_image_using_delete_with_http_info(type, key, **kwargs) # noqa: E501 + return data + + def delete_image_using_delete_with_http_info(self, type, key, **kwargs): # noqa: E501 + """deleteImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_image_using_delete_with_http_info(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param bool force: force + :return: TbImageDeleteResult + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['type', 'key', 'force'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_image_using_delete" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'type' is set + if ('type' not in params or + params['type'] is None): + raise ValueError("Missing the required parameter `type` when calling `delete_image_using_delete`") # noqa: E501 + # verify the required parameter 'key' is set + if ('key' not in params or + params['key'] is None): + raise ValueError("Missing the required parameter `key` when calling `delete_image_using_delete`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'type' in params: + path_params['type'] = params['type'] # noqa: E501 + if 'key' in params: + path_params['key'] = params['key'] # noqa: E501 + + query_params = [] + if 'force' in params: + query_params.append(('force', params['force'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images/{type}/{key}{?force}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TbImageDeleteResult', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def download_image_preview_using_get(self, type, key, **kwargs): # noqa: E501 + """downloadImagePreview # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.download_image_preview_using_get(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param str if_none_match: If-None-Match + :return: ByteArrayResource + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.download_image_preview_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + else: + (data) = self.download_image_preview_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + return data + + def download_image_preview_using_get_with_http_info(self, type, key, **kwargs): # noqa: E501 + """downloadImagePreview # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.download_image_preview_using_get_with_http_info(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param str if_none_match: If-None-Match + :return: ByteArrayResource + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['type', 'key', 'if_none_match'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method download_image_preview_using_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'type' is set + if ('type' not in params or + params['type'] is None): + raise ValueError("Missing the required parameter `type` when calling `download_image_preview_using_get`") # noqa: E501 + # verify the required parameter 'key' is set + if ('key' not in params or + params['key'] is None): + raise ValueError("Missing the required parameter `key` when calling `download_image_preview_using_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'type' in params: + path_params['type'] = params['type'] # noqa: E501 + if 'key' in params: + path_params['key'] = params['key'] # noqa: E501 + + query_params = [] + + header_params = {} + if 'if_none_match' in params: + header_params['If-None-Match'] = params['if_none_match'] # noqa: E501 + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['image/png']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images/{type}/{key}/preview', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def download_image_using_get(self, type, key, **kwargs): # noqa: E501 + """downloadImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.download_image_using_get(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param str if_none_match: If-None-Match + :return: ByteArrayResource + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.download_image_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + else: + (data) = self.download_image_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + return data + + def download_image_using_get_with_http_info(self, type, key, **kwargs): # noqa: E501 + """downloadImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.download_image_using_get_with_http_info(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param str if_none_match: If-None-Match + :return: ByteArrayResource + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['type', 'key', 'if_none_match'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method download_image_using_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'type' is set + if ('type' not in params or + params['type'] is None): + raise ValueError("Missing the required parameter `type` when calling `download_image_using_get`") # noqa: E501 + # verify the required parameter 'key' is set + if ('key' not in params or + params['key'] is None): + raise ValueError("Missing the required parameter `key` when calling `download_image_using_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'type' in params: + path_params['type'] = params['type'] # noqa: E501 + if 'key' in params: + path_params['key'] = params['key'] # noqa: E501 + + query_params = [] + + header_params = {} + if 'if_none_match' in params: + header_params['If-None-Match'] = params['if_none_match'] # noqa: E501 + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['image/*']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images/{type}/{key}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def download_public_image_using_get(self, public_resource_key, **kwargs): # noqa: E501 + """downloadPublicImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.download_public_image_using_get(public_resource_key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str public_resource_key: publicResourceKey (required) + :param str if_none_match: If-None-Match + :return: ByteArrayResource + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.download_public_image_using_get_with_http_info(public_resource_key, **kwargs) # noqa: E501 + else: + (data) = self.download_public_image_using_get_with_http_info(public_resource_key, **kwargs) # noqa: E501 + return data + + def download_public_image_using_get_with_http_info(self, public_resource_key, **kwargs): # noqa: E501 + """downloadPublicImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.download_public_image_using_get_with_http_info(public_resource_key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str public_resource_key: publicResourceKey (required) + :param str if_none_match: If-None-Match + :return: ByteArrayResource + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['public_resource_key', 'if_none_match'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method download_public_image_using_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'public_resource_key' is set + if ('public_resource_key' not in params or + params['public_resource_key'] is None): + raise ValueError("Missing the required parameter `public_resource_key` when calling `download_public_image_using_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'public_resource_key' in params: + path_params['publicResourceKey'] = params['public_resource_key'] # noqa: E501 + + query_params = [] + + header_params = {} + if 'if_none_match' in params: + header_params['If-None-Match'] = params['if_none_match'] # noqa: E501 + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['image/*']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images/public/{publicResourceKey}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def export_image_using_get(self, type, key, **kwargs): # noqa: E501 + """exportImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.export_image_using_get(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :return: ImageExportData + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.export_image_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + else: + (data) = self.export_image_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + return data + + def export_image_using_get_with_http_info(self, type, key, **kwargs): # noqa: E501 + """exportImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.export_image_using_get_with_http_info(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :return: ImageExportData + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['type', 'key'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method export_image_using_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'type' is set + if ('type' not in params or + params['type'] is None): + raise ValueError("Missing the required parameter `type` when calling `export_image_using_get`") # noqa: E501 + # verify the required parameter 'key' is set + if ('key' not in params or + params['key'] is None): + raise ValueError("Missing the required parameter `key` when calling `export_image_using_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'type' in params: + path_params['type'] = params['type'] # noqa: E501 + if 'key' in params: + path_params['key'] = params['key'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images/{type}/{key}/export', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ImageExportData', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_image_info_using_get(self, type, key, **kwargs): # noqa: E501 + """getImageInfo # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_image_info_using_get(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_image_info_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + else: + (data) = self.get_image_info_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + return data + + def get_image_info_using_get_with_http_info(self, type, key, **kwargs): # noqa: E501 + """getImageInfo # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_image_info_using_get_with_http_info(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['type', 'key'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_image_info_using_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'type' is set + if ('type' not in params or + params['type'] is None): + raise ValueError("Missing the required parameter `type` when calling `get_image_info_using_get`") # noqa: E501 + # verify the required parameter 'key' is set + if ('key' not in params or + params['key'] is None): + raise ValueError("Missing the required parameter `key` when calling `get_image_info_using_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'type' in params: + path_params['type'] = params['type'] # noqa: E501 + if 'key' in params: + path_params['key'] = params['key'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images/{type}/{key}/info', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TbResourceInfo', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_images_using_get(self, page_size, page, **kwargs): # noqa: E501 + """getImages # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_images_using_get(page_size, page, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int page_size: Maximum amount of entities in a one page (required) + :param int page: Sequence number of page starting from 0 (required) + :param bool include_system_images: Use 'true' to include system images. Disabled by default. Ignored for requests by users with system administrator authority. + :param str text_search: The case insensitive 'substring' filter based on the resource title. + :param str sort_property: Property of entity to sort by + :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) + :return: PageDataTbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_images_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501 + else: + (data) = self.get_images_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501 + return data + + def get_images_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501 + """getImages # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_images_using_get_with_http_info(page_size, page, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int page_size: Maximum amount of entities in a one page (required) + :param int page: Sequence number of page starting from 0 (required) + :param bool include_system_images: Use 'true' to include system images. Disabled by default. Ignored for requests by users with system administrator authority. + :param str text_search: The case insensitive 'substring' filter based on the resource title. + :param str sort_property: Property of entity to sort by + :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) + :return: PageDataTbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['page_size', 'page', 'include_system_images', 'text_search', 'sort_property', 'sort_order'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_images_using_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'page_size' is set + if ('page_size' not in params or + params['page_size'] is None): + raise ValueError("Missing the required parameter `page_size` when calling `get_images_using_get`") # noqa: E501 + # verify the required parameter 'page' is set + if ('page' not in params or + params['page'] is None): + raise ValueError("Missing the required parameter `page` when calling `get_images_using_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'page_size' in params: + query_params.append(('pageSize', params['page_size'])) # noqa: E501 + if 'page' in params: + query_params.append(('page', params['page'])) # noqa: E501 + if 'include_system_images' in params: + query_params.append(('includeSystemImages', params['include_system_images'])) # noqa: E501 + if 'text_search' in params: + query_params.append(('textSearch', params['text_search'])) # noqa: E501 + if 'sort_property' in params: + query_params.append(('sortProperty', params['sort_property'])) # noqa: E501 + if 'sort_order' in params: + query_params.append(('sortOrder', params['sort_order'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images{?includeSystemImages,page,pageSize,sortOrder,sortProperty,textSearch}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PageDataTbResourceInfo', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def import_image_using_put(self, **kwargs): # noqa: E501 + """importImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.import_image_using_put(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ImageExportData body: + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.import_image_using_put_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.import_image_using_put_with_http_info(**kwargs) # noqa: E501 + return data + + def import_image_using_put_with_http_info(self, **kwargs): # noqa: E501 + """importImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.import_image_using_put_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ImageExportData body: + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method import_image_using_put" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/image/import', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TbResourceInfo', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_image_info_using_put(self, type, key, **kwargs): # noqa: E501 + """updateImageInfo # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_image_info_using_put(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param TbResourceInfo body: + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_image_info_using_put_with_http_info(type, key, **kwargs) # noqa: E501 + else: + (data) = self.update_image_info_using_put_with_http_info(type, key, **kwargs) # noqa: E501 + return data + + def update_image_info_using_put_with_http_info(self, type, key, **kwargs): # noqa: E501 + """updateImageInfo # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_image_info_using_put_with_http_info(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param TbResourceInfo body: + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['type', 'key', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_image_info_using_put" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'type' is set + if ('type' not in params or + params['type'] is None): + raise ValueError("Missing the required parameter `type` when calling `update_image_info_using_put`") # noqa: E501 + # verify the required parameter 'key' is set + if ('key' not in params or + params['key'] is None): + raise ValueError("Missing the required parameter `key` when calling `update_image_info_using_put`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'type' in params: + path_params['type'] = params['type'] # noqa: E501 + if 'key' in params: + path_params['key'] = params['key'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images/{type}/{key}/info', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TbResourceInfo', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_image_public_status_using_put(self, type, key, is_public, **kwargs): # noqa: E501 + """updateImagePublicStatus # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_image_public_status_using_put(type, key, is_public, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param bool is_public: isPublic (required) + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_image_public_status_using_put_with_http_info(type, key, is_public, **kwargs) # noqa: E501 + else: + (data) = self.update_image_public_status_using_put_with_http_info(type, key, is_public, **kwargs) # noqa: E501 + return data + + def update_image_public_status_using_put_with_http_info(self, type, key, is_public, **kwargs): # noqa: E501 + """updateImagePublicStatus # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_image_public_status_using_put_with_http_info(type, key, is_public, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param bool is_public: isPublic (required) + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['type', 'key', 'is_public'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_image_public_status_using_put" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'type' is set + if ('type' not in params or + params['type'] is None): + raise ValueError("Missing the required parameter `type` when calling `update_image_public_status_using_put`") # noqa: E501 + # verify the required parameter 'key' is set + if ('key' not in params or + params['key'] is None): + raise ValueError("Missing the required parameter `key` when calling `update_image_public_status_using_put`") # noqa: E501 + # verify the required parameter 'is_public' is set + if ('is_public' not in params or + params['is_public'] is None): + raise ValueError("Missing the required parameter `is_public` when calling `update_image_public_status_using_put`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'type' in params: + path_params['type'] = params['type'] # noqa: E501 + if 'key' in params: + path_params['key'] = params['key'] # noqa: E501 + if 'is_public' in params: + path_params['isPublic'] = params['is_public'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images/{type}/{key}/public/{isPublic}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TbResourceInfo', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_image_using_put(self, type, key, **kwargs): # noqa: E501 + """updateImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_image_using_put(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param str file: + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_image_using_put_with_http_info(type, key, **kwargs) # noqa: E501 + else: + (data) = self.update_image_using_put_with_http_info(type, key, **kwargs) # noqa: E501 + return data + + def update_image_using_put_with_http_info(self, type, key, **kwargs): # noqa: E501 + """updateImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_image_using_put_with_http_info(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param str file: + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['type', 'key', 'file'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_image_using_put" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'type' is set + if ('type' not in params or + params['type'] is None): + raise ValueError("Missing the required parameter `type` when calling `update_image_using_put`") # noqa: E501 + # verify the required parameter 'key' is set + if ('key' not in params or + params['key'] is None): + raise ValueError("Missing the required parameter `key` when calling `update_image_using_put`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'type' in params: + path_params['type'] = params['type'] # noqa: E501 + if 'key' in params: + path_params['key'] = params['key'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + if 'file' in params: + local_var_files['file'] = params['file'] # noqa: E501 + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['multipart/form-data']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images/{type}/{key}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TbResourceInfo', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def upload_image_using_post(self, **kwargs): # noqa: E501 + """uploadImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.upload_image_using_post(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str file: + :param str title: + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.upload_image_using_post_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.upload_image_using_post_with_http_info(**kwargs) # noqa: E501 + return data + + def upload_image_using_post_with_http_info(self, **kwargs): # noqa: E501 + """uploadImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.upload_image_using_post_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str file: + :param str title: + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['file', 'title'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method upload_image_using_post" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + if 'file' in params: + local_var_files['file'] = params['file'] # noqa: E501 + if 'title' in params: + form_params.append(('title', params['title'])) # noqa: E501 + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['multipart/form-data']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/image', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TbResourceInfo', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/tb_rest_client/api/api_ce/login_endpoint_api.py b/tb_rest_client/api/api_ce/login_endpoint_api.py index ea2c696f..a8b09ab7 100644 --- a/tb_rest_client/api/api_ce/login_endpoint_api.py +++ b/tb_rest_client/api/api_ce/login_endpoint_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/lwm_2m_controller_api.py b/tb_rest_client/api/api_ce/lwm_2m_controller_api.py index 9f6610cf..cb2541a7 100644 --- a/tb_rest_client/api/api_ce/lwm_2m_controller_api.py +++ b/tb_rest_client/api/api_ce/lwm_2m_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/mail_config_template_controller_api.py b/tb_rest_client/api/api_ce/mail_config_template_controller_api.py index 366a780f..7785aa99 100644 --- a/tb_rest_client/api/api_ce/mail_config_template_controller_api.py +++ b/tb_rest_client/api/api_ce/mail_config_template_controller_api.py @@ -5,11 +5,25 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ +# Copyright 2024. ThingsBoard +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from __future__ import absolute_import import re # noqa: F401 diff --git a/tb_rest_client/api/api_ce/notification_controller_api.py b/tb_rest_client/api/api_ce/notification_controller_api.py index 20457d0d..c2229050 100644 --- a/tb_rest_client/api/api_ce/notification_controller_api.py +++ b/tb_rest_client/api/api_ce/notification_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/notification_rule_controller_api.py b/tb_rest_client/api/api_ce/notification_rule_controller_api.py index cfb5c12d..b8cbe082 100644 --- a/tb_rest_client/api/api_ce/notification_rule_controller_api.py +++ b/tb_rest_client/api/api_ce/notification_rule_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/notification_target_controller_api.py b/tb_rest_client/api/api_ce/notification_target_controller_api.py index 7e0d2ea6..9bf0e65d 100644 --- a/tb_rest_client/api/api_ce/notification_target_controller_api.py +++ b/tb_rest_client/api/api_ce/notification_target_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/notification_template_controller_api.py b/tb_rest_client/api/api_ce/notification_template_controller_api.py index 01e0be1d..35544c79 100644 --- a/tb_rest_client/api/api_ce/notification_template_controller_api.py +++ b/tb_rest_client/api/api_ce/notification_template_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/o_auth_2_config_template_controller_api.py b/tb_rest_client/api/api_ce/o_auth_2_config_template_controller_api.py index 56c785ec..a4aa74d1 100644 --- a/tb_rest_client/api/api_ce/o_auth_2_config_template_controller_api.py +++ b/tb_rest_client/api/api_ce/o_auth_2_config_template_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/o_auth_2_controller_api.py b/tb_rest_client/api/api_ce/o_auth_2_controller_api.py index 60c3eb61..94722921 100644 --- a/tb_rest_client/api/api_ce/o_auth_2_controller_api.py +++ b/tb_rest_client/api/api_ce/o_auth_2_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/ota_package_controller_api.py b/tb_rest_client/api/api_ce/ota_package_controller_api.py index dd374d11..b3c643f5 100644 --- a/tb_rest_client/api/api_ce/ota_package_controller_api.py +++ b/tb_rest_client/api/api_ce/ota_package_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/queue_controller_api.py b/tb_rest_client/api/api_ce/queue_controller_api.py index 797f4e5a..345643b7 100644 --- a/tb_rest_client/api/api_ce/queue_controller_api.py +++ b/tb_rest_client/api/api_ce/queue_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/rpc_v_1_controller_api.py b/tb_rest_client/api/api_ce/rpc_v_1_controller_api.py index 93caaa49..fd98d96e 100644 --- a/tb_rest_client/api/api_ce/rpc_v_1_controller_api.py +++ b/tb_rest_client/api/api_ce/rpc_v_1_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/rpc_v_2_controller_api.py b/tb_rest_client/api/api_ce/rpc_v_2_controller_api.py index 189cf9a8..ce443ace 100644 --- a/tb_rest_client/api/api_ce/rpc_v_2_controller_api.py +++ b/tb_rest_client/api/api_ce/rpc_v_2_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/rule_chain_controller_api.py b/tb_rest_client/api/api_ce/rule_chain_controller_api.py index 158acd19..34d401e8 100644 --- a/tb_rest_client/api/api_ce/rule_chain_controller_api.py +++ b/tb_rest_client/api/api_ce/rule_chain_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/tb_resource_controller_api.py b/tb_rest_client/api/api_ce/tb_resource_controller_api.py index 27ec4ff0..7d94d024 100644 --- a/tb_rest_client/api/api_ce/tb_resource_controller_api.py +++ b/tb_rest_client/api/api_ce/tb_resource_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -153,7 +153,7 @@ def download_jks_resource_if_changed_using_get(self, resource_id, **kwargs): # :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :param str if_none_match: If-None-Match - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -176,7 +176,7 @@ def download_jks_resource_if_changed_using_get_with_http_info(self, resource_id, :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :param str if_none_match: If-None-Match - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -232,7 +232,7 @@ def download_jks_resource_if_changed_using_get_with_http_info(self, resource_id, body=body_params, post_params=form_params, files=local_var_files, - response_type='Resource', # noqa: E501 + response_type='ByteArrayResource', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -252,7 +252,7 @@ def download_js_resource_if_changed_using_get(self, resource_id, **kwargs): # n :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :param str if_none_match: If-None-Match - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -275,7 +275,7 @@ def download_js_resource_if_changed_using_get_with_http_info(self, resource_id, :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :param str if_none_match: If-None-Match - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -331,7 +331,7 @@ def download_js_resource_if_changed_using_get_with_http_info(self, resource_id, body=body_params, post_params=form_params, files=local_var_files, - response_type='Resource', # noqa: E501 + response_type='ByteArrayResource', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -351,7 +351,7 @@ def download_lwm2m_resource_if_changed_using_get(self, resource_id, **kwargs): :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :param str if_none_match: If-None-Match - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -374,7 +374,7 @@ def download_lwm2m_resource_if_changed_using_get_with_http_info(self, resource_i :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :param str if_none_match: If-None-Match - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -430,7 +430,7 @@ def download_lwm2m_resource_if_changed_using_get_with_http_info(self, resource_i body=body_params, post_params=form_params, files=local_var_files, - response_type='Resource', # noqa: E501 + response_type='ByteArrayResource', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -450,7 +450,7 @@ def download_pkcs12_resource_if_changed_using_get(self, resource_id, **kwargs): :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :param str if_none_match: If-None-Match - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -473,7 +473,7 @@ def download_pkcs12_resource_if_changed_using_get_with_http_info(self, resource_ :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :param str if_none_match: If-None-Match - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -529,7 +529,7 @@ def download_pkcs12_resource_if_changed_using_get_with_http_info(self, resource_ body=body_params, post_params=form_params, files=local_var_files, - response_type='Resource', # noqa: E501 + response_type='ByteArrayResource', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -548,7 +548,7 @@ def download_resource_using_get(self, resource_id, **kwargs): # noqa: E501 :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -570,7 +570,7 @@ def download_resource_using_get_with_http_info(self, resource_id, **kwargs): # :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -624,7 +624,7 @@ def download_resource_using_get_with_http_info(self, resource_id, **kwargs): # body=body_params, post_params=form_params, files=local_var_files, - response_type='Resource', # noqa: E501 + response_type='ByteArrayResource', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -858,40 +858,40 @@ def get_lwm2m_list_objects_using_get_with_http_info(self, sort_order, sort_prope _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_resource_by_id_using_get(self, resource_id, **kwargs): # noqa: E501 - """Get Resource (getResourceById) # noqa: E501 + def get_resource_info_by_id_using_get(self, resource_id, **kwargs): # noqa: E501 + """Get Resource Info (getResourceInfoById) # noqa: E501 - Fetch the Resource object based on the provided Resource Id. Resource is a heavyweight object that includes main information about the Resource and also data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 + Fetch the Resource Info object based on the provided Resource Id. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_resource_by_id_using_get(resource_id, async_req=True) + >>> thread = api.get_resource_info_by_id_using_get(resource_id, async_req=True) >>> result = thread.get() :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: TbResource + :return: TbResourceInfo If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.get_resource_by_id_using_get_with_http_info(resource_id, **kwargs) # noqa: E501 + return self.get_resource_info_by_id_using_get_with_http_info(resource_id, **kwargs) # noqa: E501 else: - (data) = self.get_resource_by_id_using_get_with_http_info(resource_id, **kwargs) # noqa: E501 + (data) = self.get_resource_info_by_id_using_get_with_http_info(resource_id, **kwargs) # noqa: E501 return data - def get_resource_by_id_using_get_with_http_info(self, resource_id, **kwargs): # noqa: E501 - """Get Resource (getResourceById) # noqa: E501 + def get_resource_info_by_id_using_get_with_http_info(self, resource_id, **kwargs): # noqa: E501 + """Get Resource Info (getResourceInfoById) # noqa: E501 - Fetch the Resource object based on the provided Resource Id. Resource is a heavyweight object that includes main information about the Resource and also data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 + Fetch the Resource Info object based on the provided Resource Id. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_resource_by_id_using_get_with_http_info(resource_id, async_req=True) + >>> thread = api.get_resource_info_by_id_using_get_with_http_info(resource_id, async_req=True) >>> result = thread.get() :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: TbResource + :return: TbResourceInfo If the method is called asynchronously, returns the request thread. """ @@ -907,14 +907,14 @@ def get_resource_by_id_using_get_with_http_info(self, resource_id, **kwargs): # if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_resource_by_id_using_get" % key + " to method get_resource_info_by_id_using_get" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'resource_id' is set if ('resource_id' not in params or params['resource_id'] is None): - raise ValueError("Missing the required parameter `resource_id` when calling `get_resource_by_id_using_get`") # noqa: E501 + raise ValueError("Missing the required parameter `resource_id` when calling `get_resource_info_by_id_using_get`") # noqa: E501 collection_formats = {} @@ -938,14 +938,14 @@ def get_resource_by_id_using_get_with_http_info(self, resource_id, **kwargs): # auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/resource/{resourceId}', 'GET', + '/api/resource/info/{resourceId}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='TbResource', # noqa: E501 + response_type='TbResourceInfo', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -953,45 +953,55 @@ def get_resource_by_id_using_get_with_http_info(self, resource_id, **kwargs): # _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_resource_info_by_id_using_get(self, resource_id, **kwargs): # noqa: E501 - """Get Resource Info (getResourceInfoById) # noqa: E501 + def get_resources_using_get(self, page_size, page, **kwargs): # noqa: E501 + """Get Resource Infos (getResources) # noqa: E501 - Fetch the Resource Info object based on the provided Resource Id. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 + Returns a page of Resource Info objects owned by tenant or sysadmin. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_resource_info_by_id_using_get(resource_id, async_req=True) + >>> thread = api.get_resources_using_get(page_size, page, async_req=True) >>> result = thread.get() :param async_req bool - :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: TbResourceInfo + :param int page_size: Maximum amount of entities in a one page (required) + :param int page: Sequence number of page starting from 0 (required) + :param str resource_type: A string value representing the resource type. + :param str text_search: The case insensitive 'substring' filter based on the resource title. + :param str sort_property: Property of entity to sort by + :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) + :return: PageDataTbResourceInfo If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.get_resource_info_by_id_using_get_with_http_info(resource_id, **kwargs) # noqa: E501 + return self.get_resources_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501 else: - (data) = self.get_resource_info_by_id_using_get_with_http_info(resource_id, **kwargs) # noqa: E501 + (data) = self.get_resources_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501 return data - def get_resource_info_by_id_using_get_with_http_info(self, resource_id, **kwargs): # noqa: E501 - """Get Resource Info (getResourceInfoById) # noqa: E501 + def get_resources_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501 + """Get Resource Infos (getResources) # noqa: E501 - Fetch the Resource Info object based on the provided Resource Id. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 + Returns a page of Resource Info objects owned by tenant or sysadmin. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_resource_info_by_id_using_get_with_http_info(resource_id, async_req=True) + >>> thread = api.get_resources_using_get_with_http_info(page_size, page, async_req=True) >>> result = thread.get() :param async_req bool - :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: TbResourceInfo + :param int page_size: Maximum amount of entities in a one page (required) + :param int page: Sequence number of page starting from 0 (required) + :param str resource_type: A string value representing the resource type. + :param str text_search: The case insensitive 'substring' filter based on the resource title. + :param str sort_property: Property of entity to sort by + :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) + :return: PageDataTbResourceInfo If the method is called asynchronously, returns the request thread. """ - all_params = ['resource_id'] # noqa: E501 + all_params = ['page_size', 'page', 'resource_type', 'text_search', 'sort_property', 'sort_order'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1002,22 +1012,36 @@ def get_resource_info_by_id_using_get_with_http_info(self, resource_id, **kwargs if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_resource_info_by_id_using_get" % key + " to method get_resources_using_get" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'resource_id' is set - if ('resource_id' not in params or - params['resource_id'] is None): - raise ValueError("Missing the required parameter `resource_id` when calling `get_resource_info_by_id_using_get`") # noqa: E501 + # verify the required parameter 'page_size' is set + if ('page_size' not in params or + params['page_size'] is None): + raise ValueError("Missing the required parameter `page_size` when calling `get_resources_using_get`") # noqa: E501 + # verify the required parameter 'page' is set + if ('page' not in params or + params['page'] is None): + raise ValueError("Missing the required parameter `page` when calling `get_resources_using_get`") # noqa: E501 collection_formats = {} path_params = {} - if 'resource_id' in params: - path_params['resourceId'] = params['resource_id'] # noqa: E501 query_params = [] + if 'page_size' in params: + query_params.append(('pageSize', params['page_size'])) # noqa: E501 + if 'page' in params: + query_params.append(('page', params['page'])) # noqa: E501 + if 'resource_type' in params: + query_params.append(('resourceType', params['resource_type'])) # noqa: E501 + if 'text_search' in params: + query_params.append(('textSearch', params['text_search'])) # noqa: E501 + if 'sort_property' in params: + query_params.append(('sortProperty', params['sort_property'])) # noqa: E501 + if 'sort_order' in params: + query_params.append(('sortOrder', params['sort_order'])) # noqa: E501 header_params = {} @@ -1033,14 +1057,14 @@ def get_resource_info_by_id_using_get_with_http_info(self, resource_id, **kwargs auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/resource/info/{resourceId}', 'GET', + '/api/resource{?page,pageSize,resourceType,sortOrder,sortProperty,textSearch}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='TbResourceInfo', # noqa: E501 + response_type='PageDataTbResourceInfo', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1048,19 +1072,18 @@ def get_resource_info_by_id_using_get_with_http_info(self, resource_id, **kwargs _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_resources_using_get(self, page_size, page, **kwargs): # noqa: E501 - """Get Resource Infos (getResources) # noqa: E501 + def get_tenant_resources_using_get(self, page_size, page, **kwargs): # noqa: E501 + """Get All Resource Infos (getAllResources) # noqa: E501 - Returns a page of Resource Info objects owned by tenant or sysadmin. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 + Returns a page of Resource Info objects owned by tenant. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'TENANT_ADMIN' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_resources_using_get(page_size, page, async_req=True) + >>> thread = api.get_tenant_resources_using_get(page_size, page, async_req=True) >>> result = thread.get() :param async_req bool :param int page_size: Maximum amount of entities in a one page (required) :param int page: Sequence number of page starting from 0 (required) - :param str resource_type: A string value representing the resource type. :param str text_search: The case insensitive 'substring' filter based on the resource title. :param str sort_property: Property of entity to sort by :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) @@ -1070,24 +1093,23 @@ def get_resources_using_get(self, page_size, page, **kwargs): # noqa: E501 """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.get_resources_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501 + return self.get_tenant_resources_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501 else: - (data) = self.get_resources_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501 + (data) = self.get_tenant_resources_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501 return data - def get_resources_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501 - """Get Resource Infos (getResources) # noqa: E501 + def get_tenant_resources_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501 + """Get All Resource Infos (getAllResources) # noqa: E501 - Returns a page of Resource Info objects owned by tenant or sysadmin. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 + Returns a page of Resource Info objects owned by tenant. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'TENANT_ADMIN' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_resources_using_get_with_http_info(page_size, page, async_req=True) + >>> thread = api.get_tenant_resources_using_get_with_http_info(page_size, page, async_req=True) >>> result = thread.get() :param async_req bool :param int page_size: Maximum amount of entities in a one page (required) :param int page: Sequence number of page starting from 0 (required) - :param str resource_type: A string value representing the resource type. :param str text_search: The case insensitive 'substring' filter based on the resource title. :param str sort_property: Property of entity to sort by :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) @@ -1096,7 +1118,7 @@ def get_resources_using_get_with_http_info(self, page_size, page, **kwargs): # returns the request thread. """ - all_params = ['page_size', 'page', 'resource_type', 'text_search', 'sort_property', 'sort_order'] # noqa: E501 + all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1107,18 +1129,18 @@ def get_resources_using_get_with_http_info(self, page_size, page, **kwargs): # if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_resources_using_get" % key + " to method get_tenant_resources_using_get" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'page_size' is set if ('page_size' not in params or params['page_size'] is None): - raise ValueError("Missing the required parameter `page_size` when calling `get_resources_using_get`") # noqa: E501 + raise ValueError("Missing the required parameter `page_size` when calling `get_tenant_resources_using_get`") # noqa: E501 # verify the required parameter 'page' is set if ('page' not in params or params['page'] is None): - raise ValueError("Missing the required parameter `page` when calling `get_resources_using_get`") # noqa: E501 + raise ValueError("Missing the required parameter `page` when calling `get_tenant_resources_using_get`") # noqa: E501 collection_formats = {} @@ -1129,8 +1151,6 @@ def get_resources_using_get_with_http_info(self, page_size, page, **kwargs): # query_params.append(('pageSize', params['page_size'])) # noqa: E501 if 'page' in params: query_params.append(('page', params['page'])) # noqa: E501 - if 'resource_type' in params: - query_params.append(('resourceType', params['resource_type'])) # noqa: E501 if 'text_search' in params: query_params.append(('textSearch', params['text_search'])) # noqa: E501 if 'sort_property' in params: @@ -1152,7 +1172,7 @@ def get_resources_using_get_with_http_info(self, page_size, page, **kwargs): # auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/resource{?page,pageSize,resourceType,sortOrder,sortProperty,textSearch}', 'GET', + '/api/resource/tenant{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET', path_params, query_params, header_params, @@ -1178,7 +1198,7 @@ def save_resource_using_post(self, **kwargs): # noqa: E501 :param async_req bool :param TbResource body: - :return: TbResource + :return: TbResourceInfo If the method is called asynchronously, returns the request thread. """ @@ -1200,7 +1220,7 @@ def save_resource_using_post_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool :param TbResource body: - :return: TbResource + :return: TbResourceInfo If the method is called asynchronously, returns the request thread. """ @@ -1254,7 +1274,7 @@ def save_resource_using_post_with_http_info(self, **kwargs): # noqa: E501 body=body_params, post_params=form_params, files=local_var_files, - response_type='TbResource', # noqa: E501 + response_type='TbResourceInfo', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/tb_rest_client/api/api_ce/telemetry_controller_api.py b/tb_rest_client/api/api_ce/telemetry_controller_api.py index 1659c9d1..5965a8c9 100644 --- a/tb_rest_client/api/api_ce/telemetry_controller_api.py +++ b/tb_rest_client/api/api_ce/telemetry_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -1685,7 +1685,7 @@ def save_entity_telemetry_with_ttl_using_post(self, entity_type, entity_id, scop :param str entity_type: A string value representing the entity type. For example, 'DEVICE' (required) :param str entity_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :param str scope: Value is deprecated, reserved for backward compatibility and not used in the API call implementation. Specify any scope for compatibility (required) - :param str ttl: A long value representing TTL (Time to Live) parameter. (required) + :param int ttl: A long value representing TTL (Time to Live) parameter. (required) :param str body: :return: DeferredResultResponseEntity If the method is called asynchronously, diff --git a/tb_rest_client/api/api_ce/tenant_controller_api.py b/tb_rest_client/api/api_ce/tenant_controller_api.py index decbf663..5c5953d1 100644 --- a/tb_rest_client/api/api_ce/tenant_controller_api.py +++ b/tb_rest_client/api/api_ce/tenant_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/tenant_profile_controller_api.py b/tb_rest_client/api/api_ce/tenant_profile_controller_api.py index a841aca8..6c1afd55 100644 --- a/tb_rest_client/api/api_ce/tenant_profile_controller_api.py +++ b/tb_rest_client/api/api_ce/tenant_profile_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -744,7 +744,7 @@ def get_tenant_profiles_using_get_with_http_info(self, page_size, page, **kwargs def save_tenant_profile_using_post(self, **kwargs): # noqa: E501 """Create Or update Tenant Profile (saveTenantProfile) # noqa: E501 - Create or update the Tenant Profile. When creating tenant profile, platform generates Tenant Profile Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Tenant Profile Id will be present in the response. Specify existing Tenant Profile Id id to update the Tenant Profile. Referencing non-existing Tenant Profile Id will cause 'Not Found' error. Update of the tenant profile configuration will cause immediate recalculation of API limits for all affected Tenants. The **'profileData'** object is the part of Tenant Profile that defines API limits and Rate limits. You have an ability to define maximum number of devices ('maxDevice'), assets ('maxAssets') and other entities. You may also define maximum number of messages to be processed per month ('maxTransportMessages', 'maxREExecutions', etc). The '*RateLimit' defines the rate limits using simple syntax. For example, '1000:1,20000:60' means up to 1000 events per second but no more than 20000 event per minute. Let's review the example of tenant profile data below: ```json { \"name\": \"Default\", \"description\": \"Default tenant profile\", \"isolatedTbRuleEngine\": false, \"profileData\": { \"configuration\": { \"type\": \"DEFAULT\", \"maxDevices\": 0, \"maxAssets\": 0, \"maxCustomers\": 0, \"maxUsers\": 0, \"maxDashboards\": 0, \"maxRuleChains\": 0, \"maxResourcesInBytes\": 0, \"maxOtaPackagesInBytes\": 0, \"transportTenantMsgRateLimit\": \"1000:1,20000:60\", \"transportTenantTelemetryMsgRateLimit\": \"1000:1,20000:60\", \"transportTenantTelemetryDataPointsRateLimit\": \"1000:1,20000:60\", \"transportDeviceMsgRateLimit\": \"20:1,600:60\", \"transportDeviceTelemetryMsgRateLimit\": \"20:1,600:60\", \"transportDeviceTelemetryDataPointsRateLimit\": \"20:1,600:60\", \"maxTransportMessages\": 10000000, \"maxTransportDataPoints\": 10000000, \"maxREExecutions\": 4000000, \"maxJSExecutions\": 5000000, \"maxDPStorageDays\": 0, \"maxRuleNodeExecutionsPerMessage\": 50, \"maxEmails\": 0, \"maxSms\": 0, \"maxCreatedAlarms\": 1000, \"defaultStorageTtlDays\": 0, \"alarmsTtlDays\": 0, \"rpcTtlDays\": 0, \"warnThreshold\": 0 } }, \"default\": true } ```Remove 'id', from the request body example (below) to create new Tenant Profile entity. Available for users with 'SYS_ADMIN' authority. # noqa: E501 + Create or update the Tenant Profile. When creating tenant profile, platform generates Tenant Profile Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Tenant Profile Id will be present in the response. Specify existing Tenant Profile Id id to update the Tenant Profile. Referencing non-existing Tenant Profile Id will cause 'Not Found' error. Update of the tenant profile configuration will cause immediate recalculation of API limits for all affected Tenants. The **'profileData'** object is the part of Tenant Profile that defines API limits and Rate limits. You have an ability to define maximum number of devices ('maxDevice'), assets ('maxAssets') and other entities. You may also define maximum number of messages to be processed per month ('maxTransportMessages', 'maxREExecutions', etc). The '*RateLimit' defines the rate limits using simple syntax. For example, '1000:1,20000:60' means up to 1000 events per second but no more than 20000 event per minute. Let's review the example of tenant profile data below: ```json { \"name\": \"Default\", \"description\": \"Default tenant profile\", \"isolatedTbRuleEngine\": false, \"profileData\": { \"configuration\": { \"type\": \"DEFAULT\", \"maxDevices\": 0, \"maxAssets\": 0, \"maxCustomers\": 0, \"maxUsers\": 0, \"maxDashboards\": 0, \"maxRuleChains\": 0, \"maxResourcesInBytes\": 0, \"maxOtaPackagesInBytes\": 0, \"maxResourceSize\": 0, \"transportTenantMsgRateLimit\": \"1000:1,20000:60\", \"transportTenantTelemetryMsgRateLimit\": \"1000:1,20000:60\", \"transportTenantTelemetryDataPointsRateLimit\": \"1000:1,20000:60\", \"transportDeviceMsgRateLimit\": \"20:1,600:60\", \"transportDeviceTelemetryMsgRateLimit\": \"20:1,600:60\", \"transportDeviceTelemetryDataPointsRateLimit\": \"20:1,600:60\", \"maxTransportMessages\": 10000000, \"maxTransportDataPoints\": 10000000, \"maxREExecutions\": 4000000, \"maxJSExecutions\": 5000000, \"maxDPStorageDays\": 0, \"maxRuleNodeExecutionsPerMessage\": 50, \"maxEmails\": 0, \"maxSms\": 0, \"maxCreatedAlarms\": 1000, \"defaultStorageTtlDays\": 0, \"alarmsTtlDays\": 0, \"rpcTtlDays\": 0, \"queueStatsTtlDays\": 0, \"ruleEngineExceptionsTtlDays\": 0, \"warnThreshold\": 0 } }, \"default\": true } ```Remove 'id', from the request body example (below) to create new Tenant Profile entity. Available for users with 'SYS_ADMIN' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.save_tenant_profile_using_post(async_req=True) @@ -766,7 +766,7 @@ def save_tenant_profile_using_post(self, **kwargs): # noqa: E501 def save_tenant_profile_using_post_with_http_info(self, **kwargs): # noqa: E501 """Create Or update Tenant Profile (saveTenantProfile) # noqa: E501 - Create or update the Tenant Profile. When creating tenant profile, platform generates Tenant Profile Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Tenant Profile Id will be present in the response. Specify existing Tenant Profile Id id to update the Tenant Profile. Referencing non-existing Tenant Profile Id will cause 'Not Found' error. Update of the tenant profile configuration will cause immediate recalculation of API limits for all affected Tenants. The **'profileData'** object is the part of Tenant Profile that defines API limits and Rate limits. You have an ability to define maximum number of devices ('maxDevice'), assets ('maxAssets') and other entities. You may also define maximum number of messages to be processed per month ('maxTransportMessages', 'maxREExecutions', etc). The '*RateLimit' defines the rate limits using simple syntax. For example, '1000:1,20000:60' means up to 1000 events per second but no more than 20000 event per minute. Let's review the example of tenant profile data below: ```json { \"name\": \"Default\", \"description\": \"Default tenant profile\", \"isolatedTbRuleEngine\": false, \"profileData\": { \"configuration\": { \"type\": \"DEFAULT\", \"maxDevices\": 0, \"maxAssets\": 0, \"maxCustomers\": 0, \"maxUsers\": 0, \"maxDashboards\": 0, \"maxRuleChains\": 0, \"maxResourcesInBytes\": 0, \"maxOtaPackagesInBytes\": 0, \"transportTenantMsgRateLimit\": \"1000:1,20000:60\", \"transportTenantTelemetryMsgRateLimit\": \"1000:1,20000:60\", \"transportTenantTelemetryDataPointsRateLimit\": \"1000:1,20000:60\", \"transportDeviceMsgRateLimit\": \"20:1,600:60\", \"transportDeviceTelemetryMsgRateLimit\": \"20:1,600:60\", \"transportDeviceTelemetryDataPointsRateLimit\": \"20:1,600:60\", \"maxTransportMessages\": 10000000, \"maxTransportDataPoints\": 10000000, \"maxREExecutions\": 4000000, \"maxJSExecutions\": 5000000, \"maxDPStorageDays\": 0, \"maxRuleNodeExecutionsPerMessage\": 50, \"maxEmails\": 0, \"maxSms\": 0, \"maxCreatedAlarms\": 1000, \"defaultStorageTtlDays\": 0, \"alarmsTtlDays\": 0, \"rpcTtlDays\": 0, \"warnThreshold\": 0 } }, \"default\": true } ```Remove 'id', from the request body example (below) to create new Tenant Profile entity. Available for users with 'SYS_ADMIN' authority. # noqa: E501 + Create or update the Tenant Profile. When creating tenant profile, platform generates Tenant Profile Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Tenant Profile Id will be present in the response. Specify existing Tenant Profile Id id to update the Tenant Profile. Referencing non-existing Tenant Profile Id will cause 'Not Found' error. Update of the tenant profile configuration will cause immediate recalculation of API limits for all affected Tenants. The **'profileData'** object is the part of Tenant Profile that defines API limits and Rate limits. You have an ability to define maximum number of devices ('maxDevice'), assets ('maxAssets') and other entities. You may also define maximum number of messages to be processed per month ('maxTransportMessages', 'maxREExecutions', etc). The '*RateLimit' defines the rate limits using simple syntax. For example, '1000:1,20000:60' means up to 1000 events per second but no more than 20000 event per minute. Let's review the example of tenant profile data below: ```json { \"name\": \"Default\", \"description\": \"Default tenant profile\", \"isolatedTbRuleEngine\": false, \"profileData\": { \"configuration\": { \"type\": \"DEFAULT\", \"maxDevices\": 0, \"maxAssets\": 0, \"maxCustomers\": 0, \"maxUsers\": 0, \"maxDashboards\": 0, \"maxRuleChains\": 0, \"maxResourcesInBytes\": 0, \"maxOtaPackagesInBytes\": 0, \"maxResourceSize\": 0, \"transportTenantMsgRateLimit\": \"1000:1,20000:60\", \"transportTenantTelemetryMsgRateLimit\": \"1000:1,20000:60\", \"transportTenantTelemetryDataPointsRateLimit\": \"1000:1,20000:60\", \"transportDeviceMsgRateLimit\": \"20:1,600:60\", \"transportDeviceTelemetryMsgRateLimit\": \"20:1,600:60\", \"transportDeviceTelemetryDataPointsRateLimit\": \"20:1,600:60\", \"maxTransportMessages\": 10000000, \"maxTransportDataPoints\": 10000000, \"maxREExecutions\": 4000000, \"maxJSExecutions\": 5000000, \"maxDPStorageDays\": 0, \"maxRuleNodeExecutionsPerMessage\": 50, \"maxEmails\": 0, \"maxSms\": 0, \"maxCreatedAlarms\": 1000, \"defaultStorageTtlDays\": 0, \"alarmsTtlDays\": 0, \"rpcTtlDays\": 0, \"queueStatsTtlDays\": 0, \"ruleEngineExceptionsTtlDays\": 0, \"warnThreshold\": 0 } }, \"default\": true } ```Remove 'id', from the request body example (below) to create new Tenant Profile entity. Available for users with 'SYS_ADMIN' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.save_tenant_profile_using_post_with_http_info(async_req=True) diff --git a/tb_rest_client/api/api_ce/two_factor_auth_config_controller_api.py b/tb_rest_client/api/api_ce/two_factor_auth_config_controller_api.py index b8b06bea..ccfd8685 100644 --- a/tb_rest_client/api/api_ce/two_factor_auth_config_controller_api.py +++ b/tb_rest_client/api/api_ce/two_factor_auth_config_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/two_factor_auth_controller_api.py b/tb_rest_client/api/api_ce/two_factor_auth_controller_api.py index 70d11c3d..a06cf0df 100644 --- a/tb_rest_client/api/api_ce/two_factor_auth_controller_api.py +++ b/tb_rest_client/api/api_ce/two_factor_auth_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/ui_settings_controller_api.py b/tb_rest_client/api/api_ce/ui_settings_controller_api.py index c874b272..10243e57 100644 --- a/tb_rest_client/api/api_ce/ui_settings_controller_api.py +++ b/tb_rest_client/api/api_ce/ui_settings_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/usage_info_controller_api.py b/tb_rest_client/api/api_ce/usage_info_controller_api.py index 89755798..577caf66 100644 --- a/tb_rest_client/api/api_ce/usage_info_controller_api.py +++ b/tb_rest_client/api/api_ce/usage_info_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/user_controller_api.py b/tb_rest_client/api/api_ce/user_controller_api.py index 73f1d76e..69cfde2c 100644 --- a/tb_rest_client/api/api_ce/user_controller_api.py +++ b/tb_rest_client/api/api_ce/user_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_ce/widget_type_controller_api.py b/tb_rest_client/api/api_ce/widget_type_controller_api.py index ed7454c9..501b1a98 100644 --- a/tb_rest_client/api/api_ce/widget_type_controller_api.py +++ b/tb_rest_client/api/api_ce/widget_type_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -453,6 +453,7 @@ def get_bundle_widget_types_details_using_get(self, widgets_bundle_id, **kwargs) :param async_req bool :param str widgets_bundle_id: Widget Bundle Id (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: list[WidgetTypeDetails] If the method is called asynchronously, returns the request thread. @@ -475,12 +476,13 @@ def get_bundle_widget_types_details_using_get_with_http_info(self, widgets_bundl :param async_req bool :param str widgets_bundle_id: Widget Bundle Id (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: list[WidgetTypeDetails] If the method is called asynchronously, returns the request thread. """ - all_params = ['widgets_bundle_id'] # noqa: E501 + all_params = ['widgets_bundle_id', 'inline_images'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -507,6 +509,8 @@ def get_bundle_widget_types_details_using_get_with_http_info(self, widgets_bundl query_params = [] if 'widgets_bundle_id' in params: query_params.append(('widgetsBundleId', params['widgets_bundle_id'])) # noqa: E501 + if 'inline_images' in params: + query_params.append(('inlineImages', params['inline_images'])) # noqa: E501 header_params = {} @@ -522,7 +526,7 @@ def get_bundle_widget_types_details_using_get_with_http_info(self, widgets_bundl auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/widgetTypesDetails{?widgetsBundleId}', 'GET', + '/api/widgetTypesDetails{?inlineImages,widgetsBundleId}', 'GET', path_params, query_params, header_params, @@ -640,45 +644,61 @@ def get_bundle_widget_types_infos_by_bundle_alias_using_get_with_http_info(self, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_bundle_widget_types_infos_using_get(self, widgets_bundle_id, **kwargs): # noqa: E501 + def get_bundle_widget_types_infos_using_get(self, widgets_bundle_id, page_size, page, **kwargs): # noqa: E501 """Get Widget Type Info objects (getBundleWidgetTypesInfos) # noqa: E501 Get the Widget Type Info objects based on the provided parameters. Widget Type Info is a lightweight object that represents Widget Type but does not contain the heavyweight widget descriptor JSON Available for any authorized user. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_bundle_widget_types_infos_using_get(widgets_bundle_id, async_req=True) + >>> thread = api.get_bundle_widget_types_infos_using_get(widgets_bundle_id, page_size, page, async_req=True) >>> result = thread.get() :param async_req bool :param str widgets_bundle_id: Widget Bundle Id (required) - :return: list[WidgetTypeInfo] + :param int page_size: Maximum amount of entities in a one page (required) + :param int page: Sequence number of page starting from 0 (required) + :param str text_search: The case insensitive 'substring' filter based on the widget type name. + :param str sort_property: Property of entity to sort by + :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) + :param bool full_search: Optional boolean parameter indicating whether search widgets by description not only by name + :param str deprecated_filter: Optional string parameter indicating whether to include deprecated widgets + :param str widget_type_list: A list of string values separated by comma ',' representing one of the widget type value + :return: PageDataWidgetTypeInfo If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.get_bundle_widget_types_infos_using_get_with_http_info(widgets_bundle_id, **kwargs) # noqa: E501 + return self.get_bundle_widget_types_infos_using_get_with_http_info(widgets_bundle_id, page_size, page, **kwargs) # noqa: E501 else: - (data) = self.get_bundle_widget_types_infos_using_get_with_http_info(widgets_bundle_id, **kwargs) # noqa: E501 + (data) = self.get_bundle_widget_types_infos_using_get_with_http_info(widgets_bundle_id, page_size, page, **kwargs) # noqa: E501 return data - def get_bundle_widget_types_infos_using_get_with_http_info(self, widgets_bundle_id, **kwargs): # noqa: E501 + def get_bundle_widget_types_infos_using_get_with_http_info(self, widgets_bundle_id, page_size, page, **kwargs): # noqa: E501 """Get Widget Type Info objects (getBundleWidgetTypesInfos) # noqa: E501 Get the Widget Type Info objects based on the provided parameters. Widget Type Info is a lightweight object that represents Widget Type but does not contain the heavyweight widget descriptor JSON Available for any authorized user. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_bundle_widget_types_infos_using_get_with_http_info(widgets_bundle_id, async_req=True) + >>> thread = api.get_bundle_widget_types_infos_using_get_with_http_info(widgets_bundle_id, page_size, page, async_req=True) >>> result = thread.get() :param async_req bool :param str widgets_bundle_id: Widget Bundle Id (required) - :return: list[WidgetTypeInfo] + :param int page_size: Maximum amount of entities in a one page (required) + :param int page: Sequence number of page starting from 0 (required) + :param str text_search: The case insensitive 'substring' filter based on the widget type name. + :param str sort_property: Property of entity to sort by + :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) + :param bool full_search: Optional boolean parameter indicating whether search widgets by description not only by name + :param str deprecated_filter: Optional string parameter indicating whether to include deprecated widgets + :param str widget_type_list: A list of string values separated by comma ',' representing one of the widget type value + :return: PageDataWidgetTypeInfo If the method is called asynchronously, returns the request thread. """ - all_params = ['widgets_bundle_id'] # noqa: E501 + all_params = ['widgets_bundle_id', 'page_size', 'page', 'text_search', 'sort_property', 'sort_order', 'full_search', 'deprecated_filter', 'widget_type_list'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -697,6 +717,14 @@ def get_bundle_widget_types_infos_using_get_with_http_info(self, widgets_bundle_ if ('widgets_bundle_id' not in params or params['widgets_bundle_id'] is None): raise ValueError("Missing the required parameter `widgets_bundle_id` when calling `get_bundle_widget_types_infos_using_get`") # noqa: E501 + # verify the required parameter 'page_size' is set + if ('page_size' not in params or + params['page_size'] is None): + raise ValueError("Missing the required parameter `page_size` when calling `get_bundle_widget_types_infos_using_get`") # noqa: E501 + # verify the required parameter 'page' is set + if ('page' not in params or + params['page'] is None): + raise ValueError("Missing the required parameter `page` when calling `get_bundle_widget_types_infos_using_get`") # noqa: E501 collection_formats = {} @@ -705,6 +733,22 @@ def get_bundle_widget_types_infos_using_get_with_http_info(self, widgets_bundle_ query_params = [] if 'widgets_bundle_id' in params: query_params.append(('widgetsBundleId', params['widgets_bundle_id'])) # noqa: E501 + if 'page_size' in params: + query_params.append(('pageSize', params['page_size'])) # noqa: E501 + if 'page' in params: + query_params.append(('page', params['page'])) # noqa: E501 + if 'text_search' in params: + query_params.append(('textSearch', params['text_search'])) # noqa: E501 + if 'sort_property' in params: + query_params.append(('sortProperty', params['sort_property'])) # noqa: E501 + if 'sort_order' in params: + query_params.append(('sortOrder', params['sort_order'])) # noqa: E501 + if 'full_search' in params: + query_params.append(('fullSearch', params['full_search'])) # noqa: E501 + if 'deprecated_filter' in params: + query_params.append(('deprecatedFilter', params['deprecated_filter'])) # noqa: E501 + if 'widget_type_list' in params: + query_params.append(('widgetTypeList', params['widget_type_list'])) # noqa: E501 header_params = {} @@ -720,14 +764,14 @@ def get_bundle_widget_types_infos_using_get_with_http_info(self, widgets_bundle_ auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/widgetTypesInfos{?widgetsBundleId}', 'GET', + '/api/widgetTypesInfos{?deprecatedFilter,fullSearch,page,pageSize,sortOrder,sortProperty,textSearch,widgetTypeList,widgetsBundleId}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='list[WidgetTypeInfo]', # noqa: E501 + response_type='PageDataWidgetTypeInfo', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -952,6 +996,7 @@ def get_widget_type_by_id_using_get(self, widget_type_id, **kwargs): # noqa: E5 :param async_req bool :param str widget_type_id: A string value representing the widget type id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: WidgetTypeDetails If the method is called asynchronously, returns the request thread. @@ -974,12 +1019,13 @@ def get_widget_type_by_id_using_get_with_http_info(self, widget_type_id, **kwarg :param async_req bool :param str widget_type_id: A string value representing the widget type id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: WidgetTypeDetails If the method is called asynchronously, returns the request thread. """ - all_params = ['widget_type_id'] # noqa: E501 + all_params = ['widget_type_id', 'inline_images'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1006,6 +1052,8 @@ def get_widget_type_by_id_using_get_with_http_info(self, widget_type_id, **kwarg path_params['widgetTypeId'] = params['widget_type_id'] # noqa: E501 query_params = [] + if 'inline_images' in params: + query_params.append(('inlineImages', params['inline_images'])) # noqa: E501 header_params = {} @@ -1021,7 +1069,7 @@ def get_widget_type_by_id_using_get_with_http_info(self, widget_type_id, **kwarg auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/widgetType/{widgetTypeId}', 'GET', + '/api/widgetType/{widgetTypeId}{?inlineImages}', 'GET', path_params, query_params, header_params, @@ -1243,6 +1291,8 @@ def get_widget_types_using_get(self, page_size, page, **kwargs): # noqa: E501 :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) :param bool tenant_only: Optional boolean parameter indicating whether only tenant widget types should be returned :param bool full_search: Optional boolean parameter indicating whether search widgets by description not only by name + :param str deprecated_filter: Optional string parameter indicating whether to include deprecated widgets + :param str widget_type_list: A list of string values separated by comma ',' representing one of the widget type value :return: PageDataWidgetTypeInfo If the method is called asynchronously, returns the request thread. @@ -1271,12 +1321,14 @@ def get_widget_types_using_get_with_http_info(self, page_size, page, **kwargs): :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) :param bool tenant_only: Optional boolean parameter indicating whether only tenant widget types should be returned :param bool full_search: Optional boolean parameter indicating whether search widgets by description not only by name + :param str deprecated_filter: Optional string parameter indicating whether to include deprecated widgets + :param str widget_type_list: A list of string values separated by comma ',' representing one of the widget type value :return: PageDataWidgetTypeInfo If the method is called asynchronously, returns the request thread. """ - all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order', 'tenant_only', 'full_search'] # noqa: E501 + all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order', 'tenant_only', 'full_search', 'deprecated_filter', 'widget_type_list'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1319,6 +1371,10 @@ def get_widget_types_using_get_with_http_info(self, page_size, page, **kwargs): query_params.append(('tenantOnly', params['tenant_only'])) # noqa: E501 if 'full_search' in params: query_params.append(('fullSearch', params['full_search'])) # noqa: E501 + if 'deprecated_filter' in params: + query_params.append(('deprecatedFilter', params['deprecated_filter'])) # noqa: E501 + if 'widget_type_list' in params: + query_params.append(('widgetTypeList', params['widget_type_list'])) # noqa: E501 header_params = {} @@ -1334,7 +1390,7 @@ def get_widget_types_using_get_with_http_info(self, page_size, page, **kwargs): auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/widgetTypes{?fullSearch,page,pageSize,sortOrder,sortProperty,tenantOnly,textSearch}', 'GET', + '/api/widgetTypes{?deprecatedFilter,fullSearch,page,pageSize,sortOrder,sortProperty,tenantOnly,textSearch,widgetTypeList}', 'GET', path_params, query_params, header_params, diff --git a/tb_rest_client/api/api_ce/widgets_bundle_controller_api.py b/tb_rest_client/api/api_ce/widgets_bundle_controller_api.py index 04c72e95..53f63424 100644 --- a/tb_rest_client/api/api_ce/widgets_bundle_controller_api.py +++ b/tb_rest_client/api/api_ce/widgets_bundle_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -152,6 +152,7 @@ def get_widgets_bundle_by_id_using_get(self, widgets_bundle_id, **kwargs): # no :param async_req bool :param str widgets_bundle_id: A string value representing the widget bundle id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: WidgetsBundle If the method is called asynchronously, returns the request thread. @@ -174,12 +175,13 @@ def get_widgets_bundle_by_id_using_get_with_http_info(self, widgets_bundle_id, * :param async_req bool :param str widgets_bundle_id: A string value representing the widget bundle id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: WidgetsBundle If the method is called asynchronously, returns the request thread. """ - all_params = ['widgets_bundle_id'] # noqa: E501 + all_params = ['widgets_bundle_id', 'inline_images'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -206,6 +208,8 @@ def get_widgets_bundle_by_id_using_get_with_http_info(self, widgets_bundle_id, * path_params['widgetsBundleId'] = params['widgets_bundle_id'] # noqa: E501 query_params = [] + if 'inline_images' in params: + query_params.append(('inlineImages', params['inline_images'])) # noqa: E501 header_params = {} @@ -221,7 +225,7 @@ def get_widgets_bundle_by_id_using_get_with_http_info(self, widgets_bundle_id, * auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/widgetsBundle/{widgetsBundleId}', 'GET', + '/api/widgetsBundle/{widgetsBundleId}{?inlineImages}', 'GET', path_params, query_params, header_params, @@ -338,6 +342,8 @@ def get_widgets_bundles_using_get1(self, page_size, page, **kwargs): # noqa: E5 :param str text_search: The case insensitive 'substring' filter based on the widget bundle title. :param str sort_property: Property of entity to sort by :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) + :param bool tenant_only: Optional boolean parameter to include only tenant-level bundles without system + :param bool full_search: Optional boolean parameter indicating extended search of widget bundles by description and by name / description of related widget types :return: PageDataWidgetsBundle If the method is called asynchronously, returns the request thread. @@ -364,12 +370,14 @@ def get_widgets_bundles_using_get1_with_http_info(self, page_size, page, **kwarg :param str text_search: The case insensitive 'substring' filter based on the widget bundle title. :param str sort_property: Property of entity to sort by :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) + :param bool tenant_only: Optional boolean parameter to include only tenant-level bundles without system + :param bool full_search: Optional boolean parameter indicating extended search of widget bundles by description and by name / description of related widget types :return: PageDataWidgetsBundle If the method is called asynchronously, returns the request thread. """ - all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501 + all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order', 'tenant_only', 'full_search'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -408,6 +416,10 @@ def get_widgets_bundles_using_get1_with_http_info(self, page_size, page, **kwarg query_params.append(('sortProperty', params['sort_property'])) # noqa: E501 if 'sort_order' in params: query_params.append(('sortOrder', params['sort_order'])) # noqa: E501 + if 'tenant_only' in params: + query_params.append(('tenantOnly', params['tenant_only'])) # noqa: E501 + if 'full_search' in params: + query_params.append(('fullSearch', params['full_search'])) # noqa: E501 header_params = {} @@ -423,7 +435,7 @@ def get_widgets_bundles_using_get1_with_http_info(self, page_size, page, **kwarg auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/widgetsBundles{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET', + '/api/widgetsBundles{?fullSearch,page,pageSize,sortOrder,sortProperty,tenantOnly,textSearch}', 'GET', path_params, query_params, header_params, diff --git a/tb_rest_client/api/api_pe/__init__.py b/tb_rest_client/api/api_pe/__init__.py index f5991a19..50fe07b9 100644 --- a/tb_rest_client/api/api_pe/__init__.py +++ b/tb_rest_client/api/api_pe/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/admin_controller_api.py b/tb_rest_client/api/api_pe/admin_controller_api.py index 83354fd8..d004357a 100644 --- a/tb_rest_client/api/api_pe/admin_controller_api.py +++ b/tb_rest_client/api/api_pe/admin_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/alarm_comment_controller_api.py b/tb_rest_client/api/api_pe/alarm_comment_controller_api.py index 8659368e..0a8e3c11 100644 --- a/tb_rest_client/api/api_pe/alarm_comment_controller_api.py +++ b/tb_rest_client/api/api_pe/alarm_comment_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/alarm_controller_api.py b/tb_rest_client/api/api_pe/alarm_controller_api.py index 25edbdc8..44e6c5d9 100644 --- a/tb_rest_client/api/api_pe/alarm_controller_api.py +++ b/tb_rest_client/api/api_pe/alarm_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/asset_controller_api.py b/tb_rest_client/api/api_pe/asset_controller_api.py index 5cf6c0e5..2e8da4ad 100644 --- a/tb_rest_client/api/api_pe/asset_controller_api.py +++ b/tb_rest_client/api/api_pe/asset_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -552,7 +552,7 @@ def get_asset_info_by_id_using_get_with_http_info(self, asset_id, **kwargs): # def get_asset_types_using_get(self, **kwargs): # noqa: E501 """Get Asset Types (getAssetTypes) # noqa: E501 - Returns a set of unique asset types based on assets that are either owned by the tenant or assigned to the customer which user is performing the request. # noqa: E501 + Deprecated. See 'getAssetProfileNames' API from Asset Profile Controller instead. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_asset_types_using_get(async_req=True) @@ -573,7 +573,7 @@ def get_asset_types_using_get(self, **kwargs): # noqa: E501 def get_asset_types_using_get_with_http_info(self, **kwargs): # noqa: E501 """Get Asset Types (getAssetTypes) # noqa: E501 - Returns a set of unique asset types based on assets that are either owned by the tenant or assigned to the customer which user is performing the request. # noqa: E501 + Deprecated. See 'getAssetProfileNames' API from Asset Profile Controller instead. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_asset_types_using_get_with_http_info(async_req=True) diff --git a/tb_rest_client/api/api_pe/asset_profile_controller_api.py b/tb_rest_client/api/api_pe/asset_profile_controller_api.py index ad420a56..5bc05d50 100644 --- a/tb_rest_client/api/api_pe/asset_profile_controller_api.py +++ b/tb_rest_client/api/api_pe/asset_profile_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -152,6 +152,7 @@ def get_asset_profile_by_id_using_get(self, asset_profile_id, **kwargs): # noqa :param async_req bool :param str asset_profile_id: A string value representing the asset profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: AssetProfile If the method is called asynchronously, returns the request thread. @@ -174,12 +175,13 @@ def get_asset_profile_by_id_using_get_with_http_info(self, asset_profile_id, **k :param async_req bool :param str asset_profile_id: A string value representing the asset profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: AssetProfile If the method is called asynchronously, returns the request thread. """ - all_params = ['asset_profile_id'] # noqa: E501 + all_params = ['asset_profile_id', 'inline_images'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -206,6 +208,8 @@ def get_asset_profile_by_id_using_get_with_http_info(self, asset_profile_id, **k path_params['assetProfileId'] = params['asset_profile_id'] # noqa: E501 query_params = [] + if 'inline_images' in params: + query_params.append(('inlineImages', params['inline_images'])) # noqa: E501 header_params = {} @@ -221,7 +225,7 @@ def get_asset_profile_by_id_using_get_with_http_info(self, asset_profile_id, **k auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/assetProfile/{assetProfileId}', 'GET', + '/api/assetProfile/{assetProfileId}{?inlineImages}', 'GET', path_params, query_params, header_params, @@ -446,6 +450,97 @@ def get_asset_profile_infos_using_get_with_http_info(self, page_size, page, **kw _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def get_asset_profile_names_using_get(self, **kwargs): # noqa: E501 + """Get Asset Profile names (getAssetProfileNames) # noqa: E501 + + Returns a set of unique asset profile names owned by the tenant. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_asset_profile_names_using_get(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param bool active_only: Flag indicating whether to retrieve exclusively the names of asset profiles that are referenced by tenant's assets. + :return: list[EntityInfo] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_asset_profile_names_using_get_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_asset_profile_names_using_get_with_http_info(**kwargs) # noqa: E501 + return data + + def get_asset_profile_names_using_get_with_http_info(self, **kwargs): # noqa: E501 + """Get Asset Profile names (getAssetProfileNames) # noqa: E501 + + Returns a set of unique asset profile names owned by the tenant. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_asset_profile_names_using_get_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param bool active_only: Flag indicating whether to retrieve exclusively the names of asset profiles that are referenced by tenant's assets. + :return: list[EntityInfo] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['active_only'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_asset_profile_names_using_get" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'active_only' in params: + query_params.append(('activeOnly', params['active_only'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/assetProfile/names{?activeOnly}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[EntityInfo]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def get_asset_profiles_by_ids_using_get(self, asset_profile_ids, **kwargs): # noqa: E501 """Get Asset Profiles By Ids (getAssetProfilesByIds) # noqa: E501 diff --git a/tb_rest_client/api/api_pe/audit_log_controller_api.py b/tb_rest_client/api/api_pe/audit_log_controller_api.py index a1c2cfa7..41b3cbd8 100644 --- a/tb_rest_client/api/api_pe/audit_log_controller_api.py +++ b/tb_rest_client/api/api_pe/audit_log_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/auth_controller_api.py b/tb_rest_client/api/api_pe/auth_controller_api.py index b54f1e8a..67534358 100644 --- a/tb_rest_client/api/api_pe/auth_controller_api.py +++ b/tb_rest_client/api/api_pe/auth_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/billing_endpoint_controller_api.py b/tb_rest_client/api/api_pe/billing_endpoint_controller_api.py index 9a11d221..527bf0e7 100644 --- a/tb_rest_client/api/api_pe/billing_endpoint_controller_api.py +++ b/tb_rest_client/api/api_pe/billing_endpoint_controller_api.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/blob_entity_controller_api.py b/tb_rest_client/api/api_pe/blob_entity_controller_api.py index 819901f6..06125b2b 100644 --- a/tb_rest_client/api/api_pe/blob_entity_controller_api.py +++ b/tb_rest_client/api/api_pe/blob_entity_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/chirp_stack_integration_controller_api.py b/tb_rest_client/api/api_pe/chirp_stack_integration_controller_api.py index 04e91566..6e11d35e 100644 --- a/tb_rest_client/api/api_pe/chirp_stack_integration_controller_api.py +++ b/tb_rest_client/api/api_pe/chirp_stack_integration_controller_api.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/cloud_endpoint_controller_api.py b/tb_rest_client/api/api_pe/cloud_endpoint_controller_api.py index bedf6e63..6ed737c7 100644 --- a/tb_rest_client/api/api_pe/cloud_endpoint_controller_api.py +++ b/tb_rest_client/api/api_pe/cloud_endpoint_controller_api.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/component_descriptor_controller_api.py b/tb_rest_client/api/api_pe/component_descriptor_controller_api.py index 8e9888a7..6e62b3de 100644 --- a/tb_rest_client/api/api_pe/component_descriptor_controller_api.py +++ b/tb_rest_client/api/api_pe/component_descriptor_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/converter_controller_api.py b/tb_rest_client/api/api_pe/converter_controller_api.py index f588e424..88c4ed68 100644 --- a/tb_rest_client/api/api_pe/converter_controller_api.py +++ b/tb_rest_client/api/api_pe/converter_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/custom_menu_controller_api.py b/tb_rest_client/api/api_pe/custom_menu_controller_api.py index 16c74064..7cba7098 100644 --- a/tb_rest_client/api/api_pe/custom_menu_controller_api.py +++ b/tb_rest_client/api/api_pe/custom_menu_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/custom_translation_controller_api.py b/tb_rest_client/api/api_pe/custom_translation_controller_api.py index 5c364eca..2c045f02 100644 --- a/tb_rest_client/api/api_pe/custom_translation_controller_api.py +++ b/tb_rest_client/api/api_pe/custom_translation_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/customer_controller_api.py b/tb_rest_client/api/api_pe/customer_controller_api.py index 150252bc..0056526c 100644 --- a/tb_rest_client/api/api_pe/customer_controller_api.py +++ b/tb_rest_client/api/api_pe/customer_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/dashboard_controller_api.py b/tb_rest_client/api/api_pe/dashboard_controller_api.py index b154af1f..7d71a48c 100644 --- a/tb_rest_client/api/api_pe/dashboard_controller_api.py +++ b/tb_rest_client/api/api_pe/dashboard_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -588,6 +588,7 @@ def get_dashboard_by_id_using_get(self, dashboard_id, **kwargs): # noqa: E501 :param async_req bool :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: Dashboard If the method is called asynchronously, returns the request thread. @@ -610,12 +611,13 @@ def get_dashboard_by_id_using_get_with_http_info(self, dashboard_id, **kwargs): :param async_req bool :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: Dashboard If the method is called asynchronously, returns the request thread. """ - all_params = ['dashboard_id'] # noqa: E501 + all_params = ['dashboard_id', 'inline_images'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -642,6 +644,8 @@ def get_dashboard_by_id_using_get_with_http_info(self, dashboard_id, **kwargs): path_params['dashboardId'] = params['dashboard_id'] # noqa: E501 query_params = [] + if 'inline_images' in params: + query_params.append(('inlineImages', params['inline_images'])) # noqa: E501 header_params = {} @@ -657,7 +661,7 @@ def get_dashboard_by_id_using_get_with_http_info(self, dashboard_id, **kwargs): auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/dashboard/{dashboardId}', 'GET', + '/api/dashboard/{dashboardId}{?inlineImages}', 'GET', path_params, query_params, header_params, diff --git a/tb_rest_client/api/api_pe/device_api_controller_api.py b/tb_rest_client/api/api_pe/device_api_controller_api.py index 45a0d3d0..8bfc01bc 100644 --- a/tb_rest_client/api/api_pe/device_api_controller_api.py +++ b/tb_rest_client/api/api_pe/device_api_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/device_connectivity_controller_api.py b/tb_rest_client/api/api_pe/device_connectivity_controller_api.py index bc82f23e..b2df4ecd 100644 --- a/tb_rest_client/api/api_pe/device_connectivity_controller_api.py +++ b/tb_rest_client/api/api_pe/device_connectivity_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -46,45 +46,45 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client - def download_server_certificate_using_get(self, protocol, **kwargs): # noqa: E501 - """Download server certificate using file path defined in device.connectivity properties (downloadServerCertificate) # noqa: E501 + def download_gateway_docker_compose_using_get(self, device_id, **kwargs): # noqa: E501 + """Download generated docker-compose.yml file for gateway (downloadGatewayDockerCompose) # noqa: E501 - Download server certificate. # noqa: E501 + Download generated docker-compose.yml for gateway. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.download_server_certificate_using_get(protocol, async_req=True) + >>> thread = api.download_gateway_docker_compose_using_get(device_id, async_req=True) >>> result = thread.get() :param async_req bool - :param str protocol: A string value representing the device connectivity protocol. Possible values: 'mqtt', 'mqtts', 'http', 'https', 'coap', 'coaps' (required) + :param str device_id: A string value representing the device id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :return: Resource If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.download_server_certificate_using_get_with_http_info(protocol, **kwargs) # noqa: E501 + return self.download_gateway_docker_compose_using_get_with_http_info(device_id, **kwargs) # noqa: E501 else: - (data) = self.download_server_certificate_using_get_with_http_info(protocol, **kwargs) # noqa: E501 + (data) = self.download_gateway_docker_compose_using_get_with_http_info(device_id, **kwargs) # noqa: E501 return data - def download_server_certificate_using_get_with_http_info(self, protocol, **kwargs): # noqa: E501 - """Download server certificate using file path defined in device.connectivity properties (downloadServerCertificate) # noqa: E501 + def download_gateway_docker_compose_using_get_with_http_info(self, device_id, **kwargs): # noqa: E501 + """Download generated docker-compose.yml file for gateway (downloadGatewayDockerCompose) # noqa: E501 - Download server certificate. # noqa: E501 + Download generated docker-compose.yml for gateway. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.download_server_certificate_using_get_with_http_info(protocol, async_req=True) + >>> thread = api.download_gateway_docker_compose_using_get_with_http_info(device_id, async_req=True) >>> result = thread.get() :param async_req bool - :param str protocol: A string value representing the device connectivity protocol. Possible values: 'mqtt', 'mqtts', 'http', 'https', 'coap', 'coaps' (required) + :param str device_id: A string value representing the device id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :return: Resource If the method is called asynchronously, returns the request thread. """ - all_params = ['protocol'] # noqa: E501 + all_params = ['device_id'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -95,20 +95,20 @@ def download_server_certificate_using_get_with_http_info(self, protocol, **kwarg if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method download_server_certificate_using_get" % key + " to method download_gateway_docker_compose_using_get" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'protocol' is set - if ('protocol' not in params or - params['protocol'] is None): - raise ValueError("Missing the required parameter `protocol` when calling `download_server_certificate_using_get`") # noqa: E501 + # verify the required parameter 'device_id' is set + if ('device_id' not in params or + params['device_id'] is None): + raise ValueError("Missing the required parameter `device_id` when calling `download_gateway_docker_compose_using_get`") # noqa: E501 collection_formats = {} path_params = {} - if 'protocol' in params: - path_params['protocol'] = params['protocol'] # noqa: E501 + if 'device_id' in params: + path_params['deviceId'] = params['device_id'] # noqa: E501 query_params = [] @@ -126,7 +126,7 @@ def download_server_certificate_using_get_with_http_info(self, protocol, **kwarg auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/device-connectivity/{protocol}/certificate/download', 'GET', + '/api/device-connectivity/gateway-launch/{deviceId}/docker-compose/download', 'GET', path_params, query_params, header_params, @@ -141,45 +141,45 @@ def download_server_certificate_using_get_with_http_info(self, protocol, **kwarg _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_device_publish_telemetry_commands_using_get(self, device_id, **kwargs): # noqa: E501 - """Get commands to publish device telemetry (getDevicePublishTelemetryCommands) # noqa: E501 + def download_server_certificate_using_get(self, protocol, **kwargs): # noqa: E501 + """Download server certificate using file path defined in device.connectivity properties (downloadServerCertificate) # noqa: E501 - Fetch the list of commands to publish device telemetry based on device profile If the user has the authority of 'Tenant Administrator', the server checks that the device is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the device is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + Download server certificate. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_device_publish_telemetry_commands_using_get(device_id, async_req=True) + >>> thread = api.download_server_certificate_using_get(protocol, async_req=True) >>> result = thread.get() :param async_req bool - :param str device_id: A string value representing the device id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: JsonNode + :param str protocol: A string value representing the device connectivity protocol. Possible values: 'mqtt', 'mqtts', 'http', 'https', 'coap', 'coaps' (required) + :return: Resource If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.get_device_publish_telemetry_commands_using_get_with_http_info(device_id, **kwargs) # noqa: E501 + return self.download_server_certificate_using_get_with_http_info(protocol, **kwargs) # noqa: E501 else: - (data) = self.get_device_publish_telemetry_commands_using_get_with_http_info(device_id, **kwargs) # noqa: E501 + (data) = self.download_server_certificate_using_get_with_http_info(protocol, **kwargs) # noqa: E501 return data - def get_device_publish_telemetry_commands_using_get_with_http_info(self, device_id, **kwargs): # noqa: E501 - """Get commands to publish device telemetry (getDevicePublishTelemetryCommands) # noqa: E501 + def download_server_certificate_using_get_with_http_info(self, protocol, **kwargs): # noqa: E501 + """Download server certificate using file path defined in device.connectivity properties (downloadServerCertificate) # noqa: E501 - Fetch the list of commands to publish device telemetry based on device profile If the user has the authority of 'Tenant Administrator', the server checks that the device is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the device is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + Download server certificate. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_device_publish_telemetry_commands_using_get_with_http_info(device_id, async_req=True) + >>> thread = api.download_server_certificate_using_get_with_http_info(protocol, async_req=True) >>> result = thread.get() :param async_req bool - :param str device_id: A string value representing the device id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: JsonNode + :param str protocol: A string value representing the device connectivity protocol. Possible values: 'mqtt', 'mqtts', 'http', 'https', 'coap', 'coaps' (required) + :return: Resource If the method is called asynchronously, returns the request thread. """ - all_params = ['device_id'] # noqa: E501 + all_params = ['protocol'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -190,20 +190,20 @@ def get_device_publish_telemetry_commands_using_get_with_http_info(self, device_ if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_device_publish_telemetry_commands_using_get" % key + " to method download_server_certificate_using_get" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'device_id' is set - if ('device_id' not in params or - params['device_id'] is None): - raise ValueError("Missing the required parameter `device_id` when calling `get_device_publish_telemetry_commands_using_get`") # noqa: E501 + # verify the required parameter 'protocol' is set + if ('protocol' not in params or + params['protocol'] is None): + raise ValueError("Missing the required parameter `protocol` when calling `download_server_certificate_using_get`") # noqa: E501 collection_formats = {} path_params = {} - if 'device_id' in params: - path_params['deviceId'] = params['device_id'] # noqa: E501 + if 'protocol' in params: + path_params['protocol'] = params['protocol'] # noqa: E501 query_params = [] @@ -221,14 +221,14 @@ def get_device_publish_telemetry_commands_using_get_with_http_info(self, device_ auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/device-connectivity/{deviceId}', 'GET', + '/api/device-connectivity/{protocol}/certificate/download', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='JsonNode', # noqa: E501 + response_type='Resource', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -236,13 +236,13 @@ def get_device_publish_telemetry_commands_using_get_with_http_info(self, device_ _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_gateway_launch_commands_using_get(self, device_id, **kwargs): # noqa: E501 - """Get commands to launch gateway (getGatewayLaunchCommands) # noqa: E501 + def get_device_publish_telemetry_commands_using_get(self, device_id, **kwargs): # noqa: E501 + """Get commands to publish device telemetry (getDevicePublishTelemetryCommands) # noqa: E501 - Fetch the list of commands for different operation systems to launch a gateway using docker. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + Fetch the list of commands to publish device telemetry based on device profile If the user has the authority of 'Tenant Administrator', the server checks that the device is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the device is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_gateway_launch_commands_using_get(device_id, async_req=True) + >>> thread = api.get_device_publish_telemetry_commands_using_get(device_id, async_req=True) >>> result = thread.get() :param async_req bool @@ -253,18 +253,18 @@ def get_gateway_launch_commands_using_get(self, device_id, **kwargs): # noqa: E """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.get_gateway_launch_commands_using_get_with_http_info(device_id, **kwargs) # noqa: E501 + return self.get_device_publish_telemetry_commands_using_get_with_http_info(device_id, **kwargs) # noqa: E501 else: - (data) = self.get_gateway_launch_commands_using_get_with_http_info(device_id, **kwargs) # noqa: E501 + (data) = self.get_device_publish_telemetry_commands_using_get_with_http_info(device_id, **kwargs) # noqa: E501 return data - def get_gateway_launch_commands_using_get_with_http_info(self, device_id, **kwargs): # noqa: E501 - """Get commands to launch gateway (getGatewayLaunchCommands) # noqa: E501 + def get_device_publish_telemetry_commands_using_get_with_http_info(self, device_id, **kwargs): # noqa: E501 + """Get commands to publish device telemetry (getDevicePublishTelemetryCommands) # noqa: E501 - Fetch the list of commands for different operation systems to launch a gateway using docker. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + Fetch the list of commands to publish device telemetry based on device profile If the user has the authority of 'Tenant Administrator', the server checks that the device is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the device is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_gateway_launch_commands_using_get_with_http_info(device_id, async_req=True) + >>> thread = api.get_device_publish_telemetry_commands_using_get_with_http_info(device_id, async_req=True) >>> result = thread.get() :param async_req bool @@ -285,14 +285,14 @@ def get_gateway_launch_commands_using_get_with_http_info(self, device_id, **kwar if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_gateway_launch_commands_using_get" % key + " to method get_device_publish_telemetry_commands_using_get" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'device_id' is set if ('device_id' not in params or params['device_id'] is None): - raise ValueError("Missing the required parameter `device_id` when calling `get_gateway_launch_commands_using_get`") # noqa: E501 + raise ValueError("Missing the required parameter `device_id` when calling `get_device_publish_telemetry_commands_using_get`") # noqa: E501 collection_formats = {} @@ -316,7 +316,7 @@ def get_gateway_launch_commands_using_get_with_http_info(self, device_id, **kwar auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/device-connectivity/gateway-launch/{deviceId}', 'GET', + '/api/device-connectivity/{deviceId}', 'GET', path_params, query_params, header_params, diff --git a/tb_rest_client/api/api_pe/device_controller_api.py b/tb_rest_client/api/api_pe/device_controller_api.py index 655e172a..d5287c2f 100644 --- a/tb_rest_client/api/api_pe/device_controller_api.py +++ b/tb_rest_client/api/api_pe/device_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -1337,7 +1337,7 @@ def get_device_info_by_id_using_get_with_http_info(self, device_id, **kwargs): def get_device_types_using_get(self, **kwargs): # noqa: E501 """Get Device Types (getDeviceTypes) # noqa: E501 - Returns a set of unique device profile names based on devices that are either owned by the tenant or assigned to the customer which user is performing the request. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + Deprecated. See 'getDeviceProfileNames' API from Device Profile Controller instead. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_device_types_using_get(async_req=True) @@ -1358,7 +1358,7 @@ def get_device_types_using_get(self, **kwargs): # noqa: E501 def get_device_types_using_get_with_http_info(self, **kwargs): # noqa: E501 """Get Device Types (getDeviceTypes) # noqa: E501 - Returns a set of unique device profile names based on devices that are either owned by the tenant or assigned to the customer which user is performing the request. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + Deprecated. See 'getDeviceProfileNames' API from Device Profile Controller instead. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_device_types_using_get_with_http_info(async_req=True) diff --git a/tb_rest_client/api/api_pe/device_group_ota_package_controller_api.py b/tb_rest_client/api/api_pe/device_group_ota_package_controller_api.py index 599b1a9c..84f28205 100644 --- a/tb_rest_client/api/api_pe/device_group_ota_package_controller_api.py +++ b/tb_rest_client/api/api_pe/device_group_ota_package_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/device_profile_controller_api.py b/tb_rest_client/api/api_pe/device_profile_controller_api.py index 599a9427..10dc999e 100644 --- a/tb_rest_client/api/api_pe/device_profile_controller_api.py +++ b/tb_rest_client/api/api_pe/device_profile_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -330,6 +330,7 @@ def get_device_profile_by_id_using_get(self, device_profile_id, **kwargs): # no :param async_req bool :param str device_profile_id: A string value representing the device profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: DeviceProfile If the method is called asynchronously, returns the request thread. @@ -352,12 +353,13 @@ def get_device_profile_by_id_using_get_with_http_info(self, device_profile_id, * :param async_req bool :param str device_profile_id: A string value representing the device profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: DeviceProfile If the method is called asynchronously, returns the request thread. """ - all_params = ['device_profile_id'] # noqa: E501 + all_params = ['device_profile_id', 'inline_images'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -384,6 +386,8 @@ def get_device_profile_by_id_using_get_with_http_info(self, device_profile_id, * path_params['deviceProfileId'] = params['device_profile_id'] # noqa: E501 query_params = [] + if 'inline_images' in params: + query_params.append(('inlineImages', params['inline_images'])) # noqa: E501 header_params = {} @@ -399,7 +403,7 @@ def get_device_profile_by_id_using_get_with_http_info(self, device_profile_id, * auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/deviceProfile/{deviceProfileId}', 'GET', + '/api/deviceProfile/{deviceProfileId}{?inlineImages}', 'GET', path_params, query_params, header_params, @@ -628,6 +632,97 @@ def get_device_profile_infos_using_get_with_http_info(self, page_size, page, **k _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def get_device_profile_names_using_get(self, **kwargs): # noqa: E501 + """Get Device Profile names (getDeviceProfileNames) # noqa: E501 + + Returns a set of unique device profile names owned by the tenant. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_device_profile_names_using_get(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param bool active_only: Flag indicating whether to retrieve exclusively the names of device profiles that are referenced by tenant's devices. + :return: list[EntityInfo] + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_device_profile_names_using_get_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_device_profile_names_using_get_with_http_info(**kwargs) # noqa: E501 + return data + + def get_device_profile_names_using_get_with_http_info(self, **kwargs): # noqa: E501 + """Get Device Profile names (getDeviceProfileNames) # noqa: E501 + + Returns a set of unique device profile names owned by the tenant. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_device_profile_names_using_get_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param bool active_only: Flag indicating whether to retrieve exclusively the names of device profiles that are referenced by tenant's devices. + :return: list[EntityInfo] + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['active_only'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_device_profile_names_using_get" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'active_only' in params: + query_params.append(('activeOnly', params['active_only'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/deviceProfile/names{?activeOnly}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='list[EntityInfo]', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def get_device_profiles_by_ids_using_get(self, device_profile_ids, **kwargs): # noqa: E501 """Get Device Profiles By Ids (getDeviceProfilesByIds) # noqa: E501 diff --git a/tb_rest_client/api/api_pe/edge_controller_api.py b/tb_rest_client/api/api_pe/edge_controller_api.py index efba074d..edbe3124 100644 --- a/tb_rest_client/api/api_pe/edge_controller_api.py +++ b/tb_rest_client/api/api_pe/edge_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -1005,47 +1005,45 @@ def get_edge_by_id_using_get_with_http_info(self, edge_id, **kwargs): # noqa: E _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_edge_docker_install_instructions_using_get(self, edge_id, method, **kwargs): # noqa: E501 - """Get Edge Docker Install Instructions (getEdgeDockerInstallInstructions) # noqa: E501 + def get_edge_info_by_id_using_get(self, edge_id, **kwargs): # noqa: E501 + """Get Edge Info (getEdgeInfoById) # noqa: E501 - Get a docker install instructions for provided edge id.If the user has the authority of 'Tenant Administrator', the server checks that the edge is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the edge is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + Get the Edge info object based on the provided Edge Id. If the user has the authority of 'Tenant Administrator', the server checks that the edge is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the edge is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_edge_docker_install_instructions_using_get(edge_id, method, async_req=True) + >>> thread = api.get_edge_info_by_id_using_get(edge_id, async_req=True) >>> result = thread.get() :param async_req bool :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :param str method: Installation method ('docker', 'ubuntu' or 'centos') (required) - :return: EdgeInstallInstructions + :return: EdgeInfo If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.get_edge_docker_install_instructions_using_get_with_http_info(edge_id, method, **kwargs) # noqa: E501 + return self.get_edge_info_by_id_using_get_with_http_info(edge_id, **kwargs) # noqa: E501 else: - (data) = self.get_edge_docker_install_instructions_using_get_with_http_info(edge_id, method, **kwargs) # noqa: E501 + (data) = self.get_edge_info_by_id_using_get_with_http_info(edge_id, **kwargs) # noqa: E501 return data - def get_edge_docker_install_instructions_using_get_with_http_info(self, edge_id, method, **kwargs): # noqa: E501 - """Get Edge Docker Install Instructions (getEdgeDockerInstallInstructions) # noqa: E501 + def get_edge_info_by_id_using_get_with_http_info(self, edge_id, **kwargs): # noqa: E501 + """Get Edge Info (getEdgeInfoById) # noqa: E501 - Get a docker install instructions for provided edge id.If the user has the authority of 'Tenant Administrator', the server checks that the edge is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the edge is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + Get the Edge info object based on the provided Edge Id. If the user has the authority of 'Tenant Administrator', the server checks that the edge is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the edge is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_edge_docker_install_instructions_using_get_with_http_info(edge_id, method, async_req=True) + >>> thread = api.get_edge_info_by_id_using_get_with_http_info(edge_id, async_req=True) >>> result = thread.get() :param async_req bool :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :param str method: Installation method ('docker', 'ubuntu' or 'centos') (required) - :return: EdgeInstallInstructions + :return: EdgeInfo If the method is called asynchronously, returns the request thread. """ - all_params = ['edge_id', 'method'] # noqa: E501 + all_params = ['edge_id'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1056,26 +1054,20 @@ def get_edge_docker_install_instructions_using_get_with_http_info(self, edge_id, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_edge_docker_install_instructions_using_get" % key + " to method get_edge_info_by_id_using_get" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'edge_id' is set if ('edge_id' not in params or params['edge_id'] is None): - raise ValueError("Missing the required parameter `edge_id` when calling `get_edge_docker_install_instructions_using_get`") # noqa: E501 - # verify the required parameter 'method' is set - if ('method' not in params or - params['method'] is None): - raise ValueError("Missing the required parameter `method` when calling `get_edge_docker_install_instructions_using_get`") # noqa: E501 + raise ValueError("Missing the required parameter `edge_id` when calling `get_edge_info_by_id_using_get`") # noqa: E501 collection_formats = {} path_params = {} if 'edge_id' in params: path_params['edgeId'] = params['edge_id'] # noqa: E501 - if 'method' in params: - path_params['method'] = params['method'] # noqa: E501 query_params = [] @@ -1093,14 +1085,14 @@ def get_edge_docker_install_instructions_using_get_with_http_info(self, edge_id, auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/edge/instructions/{edgeId}/{method}', 'GET', + '/api/edge/info/{edgeId}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='EdgeInstallInstructions', # noqa: E501 + response_type='EdgeInfo', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1108,45 +1100,47 @@ def get_edge_docker_install_instructions_using_get_with_http_info(self, edge_id, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_edge_info_by_id_using_get(self, edge_id, **kwargs): # noqa: E501 - """Get Edge Info (getEdgeInfoById) # noqa: E501 + def get_edge_install_instructions_using_get(self, edge_id, method, **kwargs): # noqa: E501 + """Get Edge Install Instructions (getEdgeInstallInstructions) # noqa: E501 - Get the Edge info object based on the provided Edge Id. If the user has the authority of 'Tenant Administrator', the server checks that the edge is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the edge is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + Get an install instructions for provided edge id.If the user has the authority of 'Tenant Administrator', the server checks that the edge is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the edge is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_edge_info_by_id_using_get(edge_id, async_req=True) + >>> thread = api.get_edge_install_instructions_using_get(edge_id, method, async_req=True) >>> result = thread.get() :param async_req bool :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: EdgeInfo + :param str method: Installation method ('docker', 'ubuntu' or 'centos') (required) + :return: EdgeInstructions If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.get_edge_info_by_id_using_get_with_http_info(edge_id, **kwargs) # noqa: E501 + return self.get_edge_install_instructions_using_get_with_http_info(edge_id, method, **kwargs) # noqa: E501 else: - (data) = self.get_edge_info_by_id_using_get_with_http_info(edge_id, **kwargs) # noqa: E501 + (data) = self.get_edge_install_instructions_using_get_with_http_info(edge_id, method, **kwargs) # noqa: E501 return data - def get_edge_info_by_id_using_get_with_http_info(self, edge_id, **kwargs): # noqa: E501 - """Get Edge Info (getEdgeInfoById) # noqa: E501 + def get_edge_install_instructions_using_get_with_http_info(self, edge_id, method, **kwargs): # noqa: E501 + """Get Edge Install Instructions (getEdgeInstallInstructions) # noqa: E501 - Get the Edge info object based on the provided Edge Id. If the user has the authority of 'Tenant Administrator', the server checks that the edge is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the edge is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + Get an install instructions for provided edge id.If the user has the authority of 'Tenant Administrator', the server checks that the edge is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the edge is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_edge_info_by_id_using_get_with_http_info(edge_id, async_req=True) + >>> thread = api.get_edge_install_instructions_using_get_with_http_info(edge_id, method, async_req=True) >>> result = thread.get() :param async_req bool :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: EdgeInfo + :param str method: Installation method ('docker', 'ubuntu' or 'centos') (required) + :return: EdgeInstructions If the method is called asynchronously, returns the request thread. """ - all_params = ['edge_id'] # noqa: E501 + all_params = ['edge_id', 'method'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1157,20 +1151,26 @@ def get_edge_info_by_id_using_get_with_http_info(self, edge_id, **kwargs): # no if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_edge_info_by_id_using_get" % key + " to method get_edge_install_instructions_using_get" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'edge_id' is set if ('edge_id' not in params or params['edge_id'] is None): - raise ValueError("Missing the required parameter `edge_id` when calling `get_edge_info_by_id_using_get`") # noqa: E501 + raise ValueError("Missing the required parameter `edge_id` when calling `get_edge_install_instructions_using_get`") # noqa: E501 + # verify the required parameter 'method' is set + if ('method' not in params or + params['method'] is None): + raise ValueError("Missing the required parameter `method` when calling `get_edge_install_instructions_using_get`") # noqa: E501 collection_formats = {} path_params = {} if 'edge_id' in params: path_params['edgeId'] = params['edge_id'] # noqa: E501 + if 'method' in params: + path_params['method'] = params['method'] # noqa: E501 query_params = [] @@ -1188,14 +1188,14 @@ def get_edge_info_by_id_using_get_with_http_info(self, edge_id, **kwargs): # no auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/edge/info/{edgeId}', 'GET', + '/api/edge/instructions/install/{edgeId}/{method}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='EdgeInfo', # noqa: E501 + response_type='EdgeInstructions', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1290,6 +1290,109 @@ def get_edge_types_using_get_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def get_edge_upgrade_instructions_using_get(self, edge_version, method, **kwargs): # noqa: E501 + """Get Edge Upgrade Instructions (getEdgeUpgradeInstructions) # noqa: E501 + + Get an upgrade instructions for provided edge vesion.If the user has the authority of 'Tenant Administrator', the server checks that the edge is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the edge is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_edge_upgrade_instructions_using_get(edge_version, method, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str edge_version: Edge version (required) + :param str method: Upgrade method ('docker', 'ubuntu' or 'centos') (required) + :return: EdgeInstructions + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_edge_upgrade_instructions_using_get_with_http_info(edge_version, method, **kwargs) # noqa: E501 + else: + (data) = self.get_edge_upgrade_instructions_using_get_with_http_info(edge_version, method, **kwargs) # noqa: E501 + return data + + def get_edge_upgrade_instructions_using_get_with_http_info(self, edge_version, method, **kwargs): # noqa: E501 + """Get Edge Upgrade Instructions (getEdgeUpgradeInstructions) # noqa: E501 + + Get an upgrade instructions for provided edge vesion.If the user has the authority of 'Tenant Administrator', the server checks that the edge is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the edge is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_edge_upgrade_instructions_using_get_with_http_info(edge_version, method, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str edge_version: Edge version (required) + :param str method: Upgrade method ('docker', 'ubuntu' or 'centos') (required) + :return: EdgeInstructions + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['edge_version', 'method'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_edge_upgrade_instructions_using_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'edge_version' is set + if ('edge_version' not in params or + params['edge_version'] is None): + raise ValueError("Missing the required parameter `edge_version` when calling `get_edge_upgrade_instructions_using_get`") # noqa: E501 + # verify the required parameter 'method' is set + if ('method' not in params or + params['method'] is None): + raise ValueError("Missing the required parameter `method` when calling `get_edge_upgrade_instructions_using_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'edge_version' in params: + path_params['edgeVersion'] = params['edge_version'] # noqa: E501 + if 'method' in params: + path_params['method'] = params['method'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/edge/instructions/upgrade/{edgeVersion}/{method}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='EdgeInstructions', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def get_edges_by_entity_group_id_using_get(self, entity_group_id, page_size, page, **kwargs): # noqa: E501 """Get edges by Entity Group Id (getEdgesByEntityGroupId) # noqa: E501 @@ -1956,6 +2059,101 @@ def get_user_edges_using_get_with_http_info(self, page_size, page, **kwargs): # _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def is_edge_upgrade_available_using_get(self, edge_id, **kwargs): # noqa: E501 + """Is edge upgrade enabled (isEdgeUpgradeAvailable) # noqa: E501 + + Returns 'true' if upgrade available for connected edge, 'false' - otherwise. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.is_edge_upgrade_available_using_get(edge_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :return: bool + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.is_edge_upgrade_available_using_get_with_http_info(edge_id, **kwargs) # noqa: E501 + else: + (data) = self.is_edge_upgrade_available_using_get_with_http_info(edge_id, **kwargs) # noqa: E501 + return data + + def is_edge_upgrade_available_using_get_with_http_info(self, edge_id, **kwargs): # noqa: E501 + """Is edge upgrade enabled (isEdgeUpgradeAvailable) # noqa: E501 + + Returns 'true' if upgrade available for connected edge, 'false' - otherwise. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.is_edge_upgrade_available_using_get_with_http_info(edge_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :return: bool + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['edge_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method is_edge_upgrade_available_using_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'edge_id' is set + if ('edge_id' not in params or + params['edge_id'] is None): + raise ValueError("Missing the required parameter `edge_id` when calling `is_edge_upgrade_available_using_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'edge_id' in params: + path_params['edgeId'] = params['edge_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/edge/{edgeId}/upgrade/available', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='bool', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def is_edges_support_enabled_using_get(self, **kwargs): # noqa: E501 """Is edges support enabled (isEdgesSupportEnabled) # noqa: E501 diff --git a/tb_rest_client/api/api_pe/edge_event_controller_api.py b/tb_rest_client/api/api_pe/edge_event_controller_api.py index 71db61e1..14dcffcd 100644 --- a/tb_rest_client/api/api_pe/edge_event_controller_api.py +++ b/tb_rest_client/api/api_pe/edge_event_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/entities_version_control_controller_api.py b/tb_rest_client/api/api_pe/entities_version_control_controller_api.py index dc882160..2a9119b8 100644 --- a/tb_rest_client/api/api_pe/entities_version_control_controller_api.py +++ b/tb_rest_client/api/api_pe/entities_version_control_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/entity_group_controller_api.py b/tb_rest_client/api/api_pe/entity_group_controller_api.py index 4fc82747..1596f92e 100644 --- a/tb_rest_client/api/api_pe/entity_group_controller_api.py +++ b/tb_rest_client/api/api_pe/entity_group_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/entity_query_controller_api.py b/tb_rest_client/api/api_pe/entity_query_controller_api.py index a8a6ea32..30b77031 100644 --- a/tb_rest_client/api/api_pe/entity_query_controller_api.py +++ b/tb_rest_client/api/api_pe/entity_query_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/entity_relation_controller_api.py b/tb_rest_client/api/api_pe/entity_relation_controller_api.py index 4c0a4acc..f95845c3 100644 --- a/tb_rest_client/api/api_pe/entity_relation_controller_api.py +++ b/tb_rest_client/api/api_pe/entity_relation_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/entity_view_controller_api.py b/tb_rest_client/api/api_pe/entity_view_controller_api.py index 01f2adc4..3facbef9 100644 --- a/tb_rest_client/api/api_pe/entity_view_controller_api.py +++ b/tb_rest_client/api/api_pe/entity_view_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/event_controller_api.py b/tb_rest_client/api/api_pe/event_controller_api.py index 9bb76190..1a672ade 100644 --- a/tb_rest_client/api/api_pe/event_controller_api.py +++ b/tb_rest_client/api/api_pe/event_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/group_permission_controller_api.py b/tb_rest_client/api/api_pe/group_permission_controller_api.py index c39016ae..f86a99b9 100644 --- a/tb_rest_client/api/api_pe/group_permission_controller_api.py +++ b/tb_rest_client/api/api_pe/group_permission_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/http_integration_controller_api.py b/tb_rest_client/api/api_pe/http_integration_controller_api.py index d2b3b158..0103134c 100644 --- a/tb_rest_client/api/api_pe/http_integration_controller_api.py +++ b/tb_rest_client/api/api_pe/http_integration_controller_api.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/image_controller_api.py b/tb_rest_client/api/api_pe/image_controller_api.py new file mode 100644 index 00000000..ee3081e0 --- /dev/null +++ b/tb_rest_client/api/api_pe/image_controller_api.py @@ -0,0 +1,1505 @@ +# coding: utf-8 + +""" + ThingsBoard REST API + + ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 + + OpenAPI spec version: 3.6.2PE + Contact: info@thingsboard.io + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +# Copyright 2024. ThingsBoard +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from tb_rest_client.api_client import ApiClient + + +class ImageControllerApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def delete_image_using_delete(self, type, key, **kwargs): # noqa: E501 + """deleteImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_image_using_delete(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param bool force: force + :return: TbImageDeleteResult + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_image_using_delete_with_http_info(type, key, **kwargs) # noqa: E501 + else: + (data) = self.delete_image_using_delete_with_http_info(type, key, **kwargs) # noqa: E501 + return data + + def delete_image_using_delete_with_http_info(self, type, key, **kwargs): # noqa: E501 + """deleteImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_image_using_delete_with_http_info(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param bool force: force + :return: TbImageDeleteResult + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['type', 'key', 'force'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_image_using_delete" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'type' is set + if ('type' not in params or + params['type'] is None): + raise ValueError("Missing the required parameter `type` when calling `delete_image_using_delete`") # noqa: E501 + # verify the required parameter 'key' is set + if ('key' not in params or + params['key'] is None): + raise ValueError("Missing the required parameter `key` when calling `delete_image_using_delete`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'type' in params: + path_params['type'] = params['type'] # noqa: E501 + if 'key' in params: + path_params['key'] = params['key'] # noqa: E501 + + query_params = [] + if 'force' in params: + query_params.append(('force', params['force'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images/{type}/{key}{?force}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TbImageDeleteResult', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def download_image_preview_using_get(self, type, key, **kwargs): # noqa: E501 + """downloadImagePreview # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.download_image_preview_using_get(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param str if_none_match: If-None-Match + :return: ByteArrayResource + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.download_image_preview_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + else: + (data) = self.download_image_preview_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + return data + + def download_image_preview_using_get_with_http_info(self, type, key, **kwargs): # noqa: E501 + """downloadImagePreview # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.download_image_preview_using_get_with_http_info(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param str if_none_match: If-None-Match + :return: ByteArrayResource + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['type', 'key', 'if_none_match'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method download_image_preview_using_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'type' is set + if ('type' not in params or + params['type'] is None): + raise ValueError("Missing the required parameter `type` when calling `download_image_preview_using_get`") # noqa: E501 + # verify the required parameter 'key' is set + if ('key' not in params or + params['key'] is None): + raise ValueError("Missing the required parameter `key` when calling `download_image_preview_using_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'type' in params: + path_params['type'] = params['type'] # noqa: E501 + if 'key' in params: + path_params['key'] = params['key'] # noqa: E501 + + query_params = [] + + header_params = {} + if 'if_none_match' in params: + header_params['If-None-Match'] = params['if_none_match'] # noqa: E501 + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['image/png', 'application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images/{type}/{key}/preview', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ByteArrayResource', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def download_image_using_get(self, type, key, **kwargs): # noqa: E501 + """downloadImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.download_image_using_get(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param str if_none_match: If-None-Match + :return: ByteArrayResource + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.download_image_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + else: + (data) = self.download_image_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + return data + + def download_image_using_get_with_http_info(self, type, key, **kwargs): # noqa: E501 + """downloadImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.download_image_using_get_with_http_info(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param str if_none_match: If-None-Match + :return: ByteArrayResource + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['type', 'key', 'if_none_match'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method download_image_using_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'type' is set + if ('type' not in params or + params['type'] is None): + raise ValueError("Missing the required parameter `type` when calling `download_image_using_get`") # noqa: E501 + # verify the required parameter 'key' is set + if ('key' not in params or + params['key'] is None): + raise ValueError("Missing the required parameter `key` when calling `download_image_using_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'type' in params: + path_params['type'] = params['type'] # noqa: E501 + if 'key' in params: + path_params['key'] = params['key'] # noqa: E501 + + query_params = [] + + header_params = {} + if 'if_none_match' in params: + header_params['If-None-Match'] = params['if_none_match'] # noqa: E501 + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['image/*', 'application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images/{type}/{key}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ByteArrayResource', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def download_login_favicon_using_get(self, type, key, **kwargs): # noqa: E501 + """downloadLoginFavicon # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.download_login_favicon_using_get(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: type (required) + :param str key: key (required) + :param str if_none_match: If-None-Match + :return: ByteArrayResource + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.download_login_favicon_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + else: + (data) = self.download_login_favicon_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + return data + + def download_login_favicon_using_get_with_http_info(self, type, key, **kwargs): # noqa: E501 + """downloadLoginFavicon # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.download_login_favicon_using_get_with_http_info(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: type (required) + :param str key: key (required) + :param str if_none_match: If-None-Match + :return: ByteArrayResource + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['type', 'key', 'if_none_match'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method download_login_favicon_using_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'type' is set + if ('type' not in params or + params['type'] is None): + raise ValueError("Missing the required parameter `type` when calling `download_login_favicon_using_get`") # noqa: E501 + # verify the required parameter 'key' is set + if ('key' not in params or + params['key'] is None): + raise ValueError("Missing the required parameter `key` when calling `download_login_favicon_using_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'type' in params: + path_params['type'] = params['type'] # noqa: E501 + if 'key' in params: + path_params['key'] = params['key'] # noqa: E501 + + query_params = [] + + header_params = {} + if 'if_none_match' in params: + header_params['If-None-Match'] = params['if_none_match'] # noqa: E501 + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['image/*', 'application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/noauth/whiteLabel/loginFavicon/{type}/{key}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ByteArrayResource', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def download_login_logo_using_get(self, type, key, **kwargs): # noqa: E501 + """downloadLoginLogo # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.download_login_logo_using_get(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: type (required) + :param str key: key (required) + :param str if_none_match: If-None-Match + :return: ByteArrayResource + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.download_login_logo_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + else: + (data) = self.download_login_logo_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + return data + + def download_login_logo_using_get_with_http_info(self, type, key, **kwargs): # noqa: E501 + """downloadLoginLogo # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.download_login_logo_using_get_with_http_info(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: type (required) + :param str key: key (required) + :param str if_none_match: If-None-Match + :return: ByteArrayResource + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['type', 'key', 'if_none_match'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method download_login_logo_using_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'type' is set + if ('type' not in params or + params['type'] is None): + raise ValueError("Missing the required parameter `type` when calling `download_login_logo_using_get`") # noqa: E501 + # verify the required parameter 'key' is set + if ('key' not in params or + params['key'] is None): + raise ValueError("Missing the required parameter `key` when calling `download_login_logo_using_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'type' in params: + path_params['type'] = params['type'] # noqa: E501 + if 'key' in params: + path_params['key'] = params['key'] # noqa: E501 + + query_params = [] + + header_params = {} + if 'if_none_match' in params: + header_params['If-None-Match'] = params['if_none_match'] # noqa: E501 + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['image/*', 'application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/noauth/whiteLabel/loginLogo/{type}/{key}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ByteArrayResource', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def download_public_image_using_get(self, public_resource_key, **kwargs): # noqa: E501 + """downloadPublicImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.download_public_image_using_get(public_resource_key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str public_resource_key: publicResourceKey (required) + :param str if_none_match: If-None-Match + :return: ByteArrayResource + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.download_public_image_using_get_with_http_info(public_resource_key, **kwargs) # noqa: E501 + else: + (data) = self.download_public_image_using_get_with_http_info(public_resource_key, **kwargs) # noqa: E501 + return data + + def download_public_image_using_get_with_http_info(self, public_resource_key, **kwargs): # noqa: E501 + """downloadPublicImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.download_public_image_using_get_with_http_info(public_resource_key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str public_resource_key: publicResourceKey (required) + :param str if_none_match: If-None-Match + :return: ByteArrayResource + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['public_resource_key', 'if_none_match'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method download_public_image_using_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'public_resource_key' is set + if ('public_resource_key' not in params or + params['public_resource_key'] is None): + raise ValueError("Missing the required parameter `public_resource_key` when calling `download_public_image_using_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'public_resource_key' in params: + path_params['publicResourceKey'] = params['public_resource_key'] # noqa: E501 + + query_params = [] + + header_params = {} + if 'if_none_match' in params: + header_params['If-None-Match'] = params['if_none_match'] # noqa: E501 + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['image/*', 'application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images/public/{publicResourceKey}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ByteArrayResource', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def export_image_using_get(self, type, key, **kwargs): # noqa: E501 + """exportImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.export_image_using_get(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :return: ImageExportData + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.export_image_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + else: + (data) = self.export_image_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + return data + + def export_image_using_get_with_http_info(self, type, key, **kwargs): # noqa: E501 + """exportImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.export_image_using_get_with_http_info(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :return: ImageExportData + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['type', 'key'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method export_image_using_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'type' is set + if ('type' not in params or + params['type'] is None): + raise ValueError("Missing the required parameter `type` when calling `export_image_using_get`") # noqa: E501 + # verify the required parameter 'key' is set + if ('key' not in params or + params['key'] is None): + raise ValueError("Missing the required parameter `key` when calling `export_image_using_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'type' in params: + path_params['type'] = params['type'] # noqa: E501 + if 'key' in params: + path_params['key'] = params['key'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images/{type}/{key}/export', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ImageExportData', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_image_info_using_get(self, type, key, **kwargs): # noqa: E501 + """getImageInfo # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_image_info_using_get(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_image_info_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + else: + (data) = self.get_image_info_using_get_with_http_info(type, key, **kwargs) # noqa: E501 + return data + + def get_image_info_using_get_with_http_info(self, type, key, **kwargs): # noqa: E501 + """getImageInfo # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_image_info_using_get_with_http_info(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['type', 'key'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_image_info_using_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'type' is set + if ('type' not in params or + params['type'] is None): + raise ValueError("Missing the required parameter `type` when calling `get_image_info_using_get`") # noqa: E501 + # verify the required parameter 'key' is set + if ('key' not in params or + params['key'] is None): + raise ValueError("Missing the required parameter `key` when calling `get_image_info_using_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'type' in params: + path_params['type'] = params['type'] # noqa: E501 + if 'key' in params: + path_params['key'] = params['key'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images/{type}/{key}/info', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TbResourceInfo', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_images_using_get(self, page_size, page, **kwargs): # noqa: E501 + """getImages # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_images_using_get(page_size, page, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int page_size: Maximum amount of entities in a one page (required) + :param int page: Sequence number of page starting from 0 (required) + :param bool include_system_images: Use 'true' to include system images. Disabled by default. Ignored for requests by users with system administrator authority. + :param str text_search: The case insensitive 'substring' filter based on the resource title. + :param str sort_property: Property of entity to sort by + :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) + :return: PageDataTbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_images_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501 + else: + (data) = self.get_images_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501 + return data + + def get_images_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501 + """getImages # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_images_using_get_with_http_info(page_size, page, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int page_size: Maximum amount of entities in a one page (required) + :param int page: Sequence number of page starting from 0 (required) + :param bool include_system_images: Use 'true' to include system images. Disabled by default. Ignored for requests by users with system administrator authority. + :param str text_search: The case insensitive 'substring' filter based on the resource title. + :param str sort_property: Property of entity to sort by + :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) + :return: PageDataTbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['page_size', 'page', 'include_system_images', 'text_search', 'sort_property', 'sort_order'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_images_using_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'page_size' is set + if ('page_size' not in params or + params['page_size'] is None): + raise ValueError("Missing the required parameter `page_size` when calling `get_images_using_get`") # noqa: E501 + # verify the required parameter 'page' is set + if ('page' not in params or + params['page'] is None): + raise ValueError("Missing the required parameter `page` when calling `get_images_using_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'page_size' in params: + query_params.append(('pageSize', params['page_size'])) # noqa: E501 + if 'page' in params: + query_params.append(('page', params['page'])) # noqa: E501 + if 'include_system_images' in params: + query_params.append(('includeSystemImages', params['include_system_images'])) # noqa: E501 + if 'text_search' in params: + query_params.append(('textSearch', params['text_search'])) # noqa: E501 + if 'sort_property' in params: + query_params.append(('sortProperty', params['sort_property'])) # noqa: E501 + if 'sort_order' in params: + query_params.append(('sortOrder', params['sort_order'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images{?includeSystemImages,page,pageSize,sortOrder,sortProperty,textSearch}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='PageDataTbResourceInfo', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def import_image_using_put(self, **kwargs): # noqa: E501 + """importImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.import_image_using_put(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ImageExportData body: + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.import_image_using_put_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.import_image_using_put_with_http_info(**kwargs) # noqa: E501 + return data + + def import_image_using_put_with_http_info(self, **kwargs): # noqa: E501 + """importImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.import_image_using_put_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ImageExportData body: + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method import_image_using_put" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/image/import', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TbResourceInfo', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_image_info_using_put(self, type, key, **kwargs): # noqa: E501 + """updateImageInfo # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_image_info_using_put(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param TbResourceInfo body: + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_image_info_using_put_with_http_info(type, key, **kwargs) # noqa: E501 + else: + (data) = self.update_image_info_using_put_with_http_info(type, key, **kwargs) # noqa: E501 + return data + + def update_image_info_using_put_with_http_info(self, type, key, **kwargs): # noqa: E501 + """updateImageInfo # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_image_info_using_put_with_http_info(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param TbResourceInfo body: + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['type', 'key', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_image_info_using_put" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'type' is set + if ('type' not in params or + params['type'] is None): + raise ValueError("Missing the required parameter `type` when calling `update_image_info_using_put`") # noqa: E501 + # verify the required parameter 'key' is set + if ('key' not in params or + params['key'] is None): + raise ValueError("Missing the required parameter `key` when calling `update_image_info_using_put`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'type' in params: + path_params['type'] = params['type'] # noqa: E501 + if 'key' in params: + path_params['key'] = params['key'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images/{type}/{key}/info', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TbResourceInfo', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_image_public_status_using_put(self, type, key, is_public, **kwargs): # noqa: E501 + """updateImagePublicStatus # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_image_public_status_using_put(type, key, is_public, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param bool is_public: isPublic (required) + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_image_public_status_using_put_with_http_info(type, key, is_public, **kwargs) # noqa: E501 + else: + (data) = self.update_image_public_status_using_put_with_http_info(type, key, is_public, **kwargs) # noqa: E501 + return data + + def update_image_public_status_using_put_with_http_info(self, type, key, is_public, **kwargs): # noqa: E501 + """updateImagePublicStatus # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_image_public_status_using_put_with_http_info(type, key, is_public, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param bool is_public: isPublic (required) + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['type', 'key', 'is_public'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_image_public_status_using_put" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'type' is set + if ('type' not in params or + params['type'] is None): + raise ValueError("Missing the required parameter `type` when calling `update_image_public_status_using_put`") # noqa: E501 + # verify the required parameter 'key' is set + if ('key' not in params or + params['key'] is None): + raise ValueError("Missing the required parameter `key` when calling `update_image_public_status_using_put`") # noqa: E501 + # verify the required parameter 'is_public' is set + if ('is_public' not in params or + params['is_public'] is None): + raise ValueError("Missing the required parameter `is_public` when calling `update_image_public_status_using_put`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'type' in params: + path_params['type'] = params['type'] # noqa: E501 + if 'key' in params: + path_params['key'] = params['key'] # noqa: E501 + if 'is_public' in params: + path_params['isPublic'] = params['is_public'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images/{type}/{key}/public/{isPublic}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TbResourceInfo', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_image_using_put(self, type, key, **kwargs): # noqa: E501 + """updateImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_image_using_put(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param str file: + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_image_using_put_with_http_info(type, key, **kwargs) # noqa: E501 + else: + (data) = self.update_image_using_put_with_http_info(type, key, **kwargs) # noqa: E501 + return data + + def update_image_using_put_with_http_info(self, type, key, **kwargs): # noqa: E501 + """updateImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_image_using_put_with_http_info(type, key, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str type: Type of the image: tenant or system (required) + :param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required) + :param str file: + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['type', 'key', 'file'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_image_using_put" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'type' is set + if ('type' not in params or + params['type'] is None): + raise ValueError("Missing the required parameter `type` when calling `update_image_using_put`") # noqa: E501 + # verify the required parameter 'key' is set + if ('key' not in params or + params['key'] is None): + raise ValueError("Missing the required parameter `key` when calling `update_image_using_put`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'type' in params: + path_params['type'] = params['type'] # noqa: E501 + if 'key' in params: + path_params['key'] = params['key'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + if 'file' in params: + local_var_files['file'] = params['file'] # noqa: E501 + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['multipart/form-data']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/images/{type}/{key}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TbResourceInfo', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def upload_image_using_post(self, **kwargs): # noqa: E501 + """uploadImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.upload_image_using_post(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str file: + :param str title: + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.upload_image_using_post_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.upload_image_using_post_with_http_info(**kwargs) # noqa: E501 + return data + + def upload_image_using_post_with_http_info(self, **kwargs): # noqa: E501 + """uploadImage # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.upload_image_using_post_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str file: + :param str title: + :return: TbResourceInfo + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['file', 'title'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method upload_image_using_post" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + if 'file' in params: + local_var_files['file'] = params['file'] # noqa: E501 + if 'title' in params: + form_params.append(('title', params['title'])) # noqa: E501 + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['multipart/form-data']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/image', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='TbResourceInfo', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/tb_rest_client/api/api_pe/integration_controller_api.py b/tb_rest_client/api/api_pe/integration_controller_api.py index 260f462e..f4884a8d 100644 --- a/tb_rest_client/api/api_pe/integration_controller_api.py +++ b/tb_rest_client/api/api_pe/integration_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/login_endpoint_api.py b/tb_rest_client/api/api_pe/login_endpoint_api.py index 37469f47..2faaaff9 100644 --- a/tb_rest_client/api/api_pe/login_endpoint_api.py +++ b/tb_rest_client/api/api_pe/login_endpoint_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/loriot_integration_controller_api.py b/tb_rest_client/api/api_pe/loriot_integration_controller_api.py index 049026ae..817cf076 100644 --- a/tb_rest_client/api/api_pe/loriot_integration_controller_api.py +++ b/tb_rest_client/api/api_pe/loriot_integration_controller_api.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/lwm_2m_controller_api.py b/tb_rest_client/api/api_pe/lwm_2m_controller_api.py index 6476860a..02b67e01 100644 --- a/tb_rest_client/api/api_pe/lwm_2m_controller_api.py +++ b/tb_rest_client/api/api_pe/lwm_2m_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/mail_config_template_controller_api.py b/tb_rest_client/api/api_pe/mail_config_template_controller_api.py index ab8c4984..75f09c4a 100644 --- a/tb_rest_client/api/api_pe/mail_config_template_controller_api.py +++ b/tb_rest_client/api/api_pe/mail_config_template_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/notification_controller_api.py b/tb_rest_client/api/api_pe/notification_controller_api.py index c8cb1bdb..a65e59fe 100644 --- a/tb_rest_client/api/api_pe/notification_controller_api.py +++ b/tb_rest_client/api/api_pe/notification_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/notification_rule_controller_api.py b/tb_rest_client/api/api_pe/notification_rule_controller_api.py index e12f5543..080a9f0f 100644 --- a/tb_rest_client/api/api_pe/notification_rule_controller_api.py +++ b/tb_rest_client/api/api_pe/notification_rule_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/notification_target_controller_api.py b/tb_rest_client/api/api_pe/notification_target_controller_api.py index 2aa7ec02..ba9467b4 100644 --- a/tb_rest_client/api/api_pe/notification_target_controller_api.py +++ b/tb_rest_client/api/api_pe/notification_target_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/notification_template_controller_api.py b/tb_rest_client/api/api_pe/notification_template_controller_api.py index 2dd8acf0..8564c2c9 100644 --- a/tb_rest_client/api/api_pe/notification_template_controller_api.py +++ b/tb_rest_client/api/api_pe/notification_template_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/o_auth_2_config_template_controller_api.py b/tb_rest_client/api/api_pe/o_auth_2_config_template_controller_api.py index 9a82ba52..f604f587 100644 --- a/tb_rest_client/api/api_pe/o_auth_2_config_template_controller_api.py +++ b/tb_rest_client/api/api_pe/o_auth_2_config_template_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/o_auth_2_controller_api.py b/tb_rest_client/api/api_pe/o_auth_2_controller_api.py index 8eab0d0f..fd3a6a0c 100644 --- a/tb_rest_client/api/api_pe/o_auth_2_controller_api.py +++ b/tb_rest_client/api/api_pe/o_auth_2_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/ocean_connect_integration_controller_api.py b/tb_rest_client/api/api_pe/ocean_connect_integration_controller_api.py index e70406f6..ee260436 100644 --- a/tb_rest_client/api/api_pe/ocean_connect_integration_controller_api.py +++ b/tb_rest_client/api/api_pe/ocean_connect_integration_controller_api.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/ota_package_controller_api.py b/tb_rest_client/api/api_pe/ota_package_controller_api.py index d89deafc..209412e2 100644 --- a/tb_rest_client/api/api_pe/ota_package_controller_api.py +++ b/tb_rest_client/api/api_pe/ota_package_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/owner_controller_api.py b/tb_rest_client/api/api_pe/owner_controller_api.py index 00be79a9..a4a5dac9 100644 --- a/tb_rest_client/api/api_pe/owner_controller_api.py +++ b/tb_rest_client/api/api_pe/owner_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/queue_controller_api.py b/tb_rest_client/api/api_pe/queue_controller_api.py index 2f81bc1f..6126e856 100644 --- a/tb_rest_client/api/api_pe/queue_controller_api.py +++ b/tb_rest_client/api/api_pe/queue_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/report_controller_api.py b/tb_rest_client/api/api_pe/report_controller_api.py index 26d73b7f..872839ed 100644 --- a/tb_rest_client/api/api_pe/report_controller_api.py +++ b/tb_rest_client/api/api_pe/report_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/role_controller_api.py b/tb_rest_client/api/api_pe/role_controller_api.py index 359e3576..fa43b201 100644 --- a/tb_rest_client/api/api_pe/role_controller_api.py +++ b/tb_rest_client/api/api_pe/role_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/rpc_controller_api.py b/tb_rest_client/api/api_pe/rpc_controller_api.py index c976b0b3..5c5a42d1 100644 --- a/tb_rest_client/api/api_pe/rpc_controller_api.py +++ b/tb_rest_client/api/api_pe/rpc_controller_api.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/rpc_v_1_controller_api.py b/tb_rest_client/api/api_pe/rpc_v_1_controller_api.py index e2d88b94..28d769e9 100644 --- a/tb_rest_client/api/api_pe/rpc_v_1_controller_api.py +++ b/tb_rest_client/api/api_pe/rpc_v_1_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/rpc_v_2_controller_api.py b/tb_rest_client/api/api_pe/rpc_v_2_controller_api.py index 99e921ac..a60d7997 100644 --- a/tb_rest_client/api/api_pe/rpc_v_2_controller_api.py +++ b/tb_rest_client/api/api_pe/rpc_v_2_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/rule_chain_controller_api.py b/tb_rest_client/api/api_pe/rule_chain_controller_api.py index 7a858bb7..1feebb99 100644 --- a/tb_rest_client/api/api_pe/rule_chain_controller_api.py +++ b/tb_rest_client/api/api_pe/rule_chain_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/rule_engine_controller_api.py b/tb_rest_client/api/api_pe/rule_engine_controller_api.py index c0eb4615..4d524d04 100644 --- a/tb_rest_client/api/api_pe/rule_engine_controller_api.py +++ b/tb_rest_client/api/api_pe/rule_engine_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/scheduler_event_controller_api.py b/tb_rest_client/api/api_pe/scheduler_event_controller_api.py index ef8dd70c..98ed2948 100644 --- a/tb_rest_client/api/api_pe/scheduler_event_controller_api.py +++ b/tb_rest_client/api/api_pe/scheduler_event_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/self_registration_controller_api.py b/tb_rest_client/api/api_pe/self_registration_controller_api.py index f415a606..6ce2af11 100644 --- a/tb_rest_client/api/api_pe/self_registration_controller_api.py +++ b/tb_rest_client/api/api_pe/self_registration_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/sig_fox_integration_controller_api.py b/tb_rest_client/api/api_pe/sig_fox_integration_controller_api.py index 70e41df3..d3b3f5f7 100644 --- a/tb_rest_client/api/api_pe/sig_fox_integration_controller_api.py +++ b/tb_rest_client/api/api_pe/sig_fox_integration_controller_api.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/sign_up_controller_api.py b/tb_rest_client/api/api_pe/sign_up_controller_api.py index c52c38bf..e3694f35 100644 --- a/tb_rest_client/api/api_pe/sign_up_controller_api.py +++ b/tb_rest_client/api/api_pe/sign_up_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/solution_controller_api.py b/tb_rest_client/api/api_pe/solution_controller_api.py index 8d85e2cb..7e3de26e 100644 --- a/tb_rest_client/api/api_pe/solution_controller_api.py +++ b/tb_rest_client/api/api_pe/solution_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/subscription_controller_api.py b/tb_rest_client/api/api_pe/subscription_controller_api.py index 1ee2b1c0..ac179c5f 100644 --- a/tb_rest_client/api/api_pe/subscription_controller_api.py +++ b/tb_rest_client/api/api_pe/subscription_controller_api.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/t_mobile_iot_cdp_integration_controller_api.py b/tb_rest_client/api/api_pe/t_mobile_iot_cdp_integration_controller_api.py index b23267db..ae716e4b 100644 --- a/tb_rest_client/api/api_pe/t_mobile_iot_cdp_integration_controller_api.py +++ b/tb_rest_client/api/api_pe/t_mobile_iot_cdp_integration_controller_api.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/tb_resource_controller_api.py b/tb_rest_client/api/api_pe/tb_resource_controller_api.py index ec35cedf..ed5411fa 100644 --- a/tb_rest_client/api/api_pe/tb_resource_controller_api.py +++ b/tb_rest_client/api/api_pe/tb_resource_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -153,7 +153,7 @@ def download_jks_resource_if_changed_using_get(self, resource_id, **kwargs): # :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :param str if_none_match: If-None-Match - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -176,7 +176,7 @@ def download_jks_resource_if_changed_using_get_with_http_info(self, resource_id, :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :param str if_none_match: If-None-Match - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -232,7 +232,7 @@ def download_jks_resource_if_changed_using_get_with_http_info(self, resource_id, body=body_params, post_params=form_params, files=local_var_files, - response_type='Resource', # noqa: E501 + response_type='ByteArrayResource', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -252,7 +252,7 @@ def download_js_resource_if_changed_using_get(self, resource_id, **kwargs): # n :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :param str if_none_match: If-None-Match - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -275,7 +275,7 @@ def download_js_resource_if_changed_using_get_with_http_info(self, resource_id, :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :param str if_none_match: If-None-Match - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -331,7 +331,7 @@ def download_js_resource_if_changed_using_get_with_http_info(self, resource_id, body=body_params, post_params=form_params, files=local_var_files, - response_type='Resource', # noqa: E501 + response_type='ByteArrayResource', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -351,7 +351,7 @@ def download_lwm2m_resource_if_changed_using_get(self, resource_id, **kwargs): :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :param str if_none_match: If-None-Match - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -374,7 +374,7 @@ def download_lwm2m_resource_if_changed_using_get_with_http_info(self, resource_i :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :param str if_none_match: If-None-Match - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -430,7 +430,7 @@ def download_lwm2m_resource_if_changed_using_get_with_http_info(self, resource_i body=body_params, post_params=form_params, files=local_var_files, - response_type='Resource', # noqa: E501 + response_type='ByteArrayResource', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -450,7 +450,7 @@ def download_pkcs12_resource_if_changed_using_get(self, resource_id, **kwargs): :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :param str if_none_match: If-None-Match - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -473,7 +473,7 @@ def download_pkcs12_resource_if_changed_using_get_with_http_info(self, resource_ :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) :param str if_none_match: If-None-Match - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -529,7 +529,7 @@ def download_pkcs12_resource_if_changed_using_get_with_http_info(self, resource_ body=body_params, post_params=form_params, files=local_var_files, - response_type='Resource', # noqa: E501 + response_type='ByteArrayResource', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -548,7 +548,7 @@ def download_resource_using_get(self, resource_id, **kwargs): # noqa: E501 :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -570,7 +570,7 @@ def download_resource_using_get_with_http_info(self, resource_id, **kwargs): # :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: Resource + :return: ByteArrayResource If the method is called asynchronously, returns the request thread. """ @@ -624,7 +624,7 @@ def download_resource_using_get_with_http_info(self, resource_id, **kwargs): # body=body_params, post_params=form_params, files=local_var_files, - response_type='Resource', # noqa: E501 + response_type='ByteArrayResource', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -858,40 +858,40 @@ def get_lwm2m_list_objects_using_get_with_http_info(self, sort_order, sort_prope _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_resource_by_id_using_get(self, resource_id, **kwargs): # noqa: E501 - """Get Resource (getResourceById) # noqa: E501 + def get_resource_info_by_id_using_get(self, resource_id, **kwargs): # noqa: E501 + """Get Resource Info (getResourceInfoById) # noqa: E501 - Fetch the Resource object based on the provided Resource Id. Resource is a heavyweight object that includes main information about the Resource and also data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 + Fetch the Resource Info object based on the provided Resource Id. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_resource_by_id_using_get(resource_id, async_req=True) + >>> thread = api.get_resource_info_by_id_using_get(resource_id, async_req=True) >>> result = thread.get() :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: TbResource + :return: TbResourceInfo If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.get_resource_by_id_using_get_with_http_info(resource_id, **kwargs) # noqa: E501 + return self.get_resource_info_by_id_using_get_with_http_info(resource_id, **kwargs) # noqa: E501 else: - (data) = self.get_resource_by_id_using_get_with_http_info(resource_id, **kwargs) # noqa: E501 + (data) = self.get_resource_info_by_id_using_get_with_http_info(resource_id, **kwargs) # noqa: E501 return data - def get_resource_by_id_using_get_with_http_info(self, resource_id, **kwargs): # noqa: E501 - """Get Resource (getResourceById) # noqa: E501 + def get_resource_info_by_id_using_get_with_http_info(self, resource_id, **kwargs): # noqa: E501 + """Get Resource Info (getResourceInfoById) # noqa: E501 - Fetch the Resource object based on the provided Resource Id. Resource is a heavyweight object that includes main information about the Resource and also data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 + Fetch the Resource Info object based on the provided Resource Id. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_resource_by_id_using_get_with_http_info(resource_id, async_req=True) + >>> thread = api.get_resource_info_by_id_using_get_with_http_info(resource_id, async_req=True) >>> result = thread.get() :param async_req bool :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: TbResource + :return: TbResourceInfo If the method is called asynchronously, returns the request thread. """ @@ -907,14 +907,14 @@ def get_resource_by_id_using_get_with_http_info(self, resource_id, **kwargs): # if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_resource_by_id_using_get" % key + " to method get_resource_info_by_id_using_get" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'resource_id' is set if ('resource_id' not in params or params['resource_id'] is None): - raise ValueError("Missing the required parameter `resource_id` when calling `get_resource_by_id_using_get`") # noqa: E501 + raise ValueError("Missing the required parameter `resource_id` when calling `get_resource_info_by_id_using_get`") # noqa: E501 collection_formats = {} @@ -938,14 +938,14 @@ def get_resource_by_id_using_get_with_http_info(self, resource_id, **kwargs): # auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/resource/{resourceId}', 'GET', + '/api/resource/info/{resourceId}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='TbResource', # noqa: E501 + response_type='TbResourceInfo', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -953,45 +953,55 @@ def get_resource_by_id_using_get_with_http_info(self, resource_id, **kwargs): # _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_resource_info_by_id_using_get(self, resource_id, **kwargs): # noqa: E501 - """Get Resource Info (getResourceInfoById) # noqa: E501 + def get_resources_using_get(self, page_size, page, **kwargs): # noqa: E501 + """Get Resource Infos (getResources) # noqa: E501 - Fetch the Resource Info object based on the provided Resource Id. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 + Returns a page of Resource Info objects owned by tenant or sysadmin. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_resource_info_by_id_using_get(resource_id, async_req=True) + >>> thread = api.get_resources_using_get(page_size, page, async_req=True) >>> result = thread.get() :param async_req bool - :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: TbResourceInfo + :param int page_size: Maximum amount of entities in a one page (required) + :param int page: Sequence number of page starting from 0 (required) + :param str resource_type: A string value representing the resource type. + :param str text_search: The case insensitive 'substring' filter based on the resource title. + :param str sort_property: Property of entity to sort by + :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) + :return: PageDataTbResourceInfo If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.get_resource_info_by_id_using_get_with_http_info(resource_id, **kwargs) # noqa: E501 + return self.get_resources_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501 else: - (data) = self.get_resource_info_by_id_using_get_with_http_info(resource_id, **kwargs) # noqa: E501 + (data) = self.get_resources_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501 return data - def get_resource_info_by_id_using_get_with_http_info(self, resource_id, **kwargs): # noqa: E501 - """Get Resource Info (getResourceInfoById) # noqa: E501 + def get_resources_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501 + """Get Resource Infos (getResources) # noqa: E501 - Fetch the Resource Info object based on the provided Resource Id. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 + Returns a page of Resource Info objects owned by tenant or sysadmin. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_resource_info_by_id_using_get_with_http_info(resource_id, async_req=True) + >>> thread = api.get_resources_using_get_with_http_info(page_size, page, async_req=True) >>> result = thread.get() :param async_req bool - :param str resource_id: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) - :return: TbResourceInfo + :param int page_size: Maximum amount of entities in a one page (required) + :param int page: Sequence number of page starting from 0 (required) + :param str resource_type: A string value representing the resource type. + :param str text_search: The case insensitive 'substring' filter based on the resource title. + :param str sort_property: Property of entity to sort by + :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) + :return: PageDataTbResourceInfo If the method is called asynchronously, returns the request thread. """ - all_params = ['resource_id'] # noqa: E501 + all_params = ['page_size', 'page', 'resource_type', 'text_search', 'sort_property', 'sort_order'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1002,22 +1012,36 @@ def get_resource_info_by_id_using_get_with_http_info(self, resource_id, **kwargs if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_resource_info_by_id_using_get" % key + " to method get_resources_using_get" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'resource_id' is set - if ('resource_id' not in params or - params['resource_id'] is None): - raise ValueError("Missing the required parameter `resource_id` when calling `get_resource_info_by_id_using_get`") # noqa: E501 + # verify the required parameter 'page_size' is set + if ('page_size' not in params or + params['page_size'] is None): + raise ValueError("Missing the required parameter `page_size` when calling `get_resources_using_get`") # noqa: E501 + # verify the required parameter 'page' is set + if ('page' not in params or + params['page'] is None): + raise ValueError("Missing the required parameter `page` when calling `get_resources_using_get`") # noqa: E501 collection_formats = {} path_params = {} - if 'resource_id' in params: - path_params['resourceId'] = params['resource_id'] # noqa: E501 query_params = [] + if 'page_size' in params: + query_params.append(('pageSize', params['page_size'])) # noqa: E501 + if 'page' in params: + query_params.append(('page', params['page'])) # noqa: E501 + if 'resource_type' in params: + query_params.append(('resourceType', params['resource_type'])) # noqa: E501 + if 'text_search' in params: + query_params.append(('textSearch', params['text_search'])) # noqa: E501 + if 'sort_property' in params: + query_params.append(('sortProperty', params['sort_property'])) # noqa: E501 + if 'sort_order' in params: + query_params.append(('sortOrder', params['sort_order'])) # noqa: E501 header_params = {} @@ -1033,14 +1057,14 @@ def get_resource_info_by_id_using_get_with_http_info(self, resource_id, **kwargs auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/resource/info/{resourceId}', 'GET', + '/api/resource{?page,pageSize,resourceType,sortOrder,sortProperty,textSearch}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='TbResourceInfo', # noqa: E501 + response_type='PageDataTbResourceInfo', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1048,19 +1072,18 @@ def get_resource_info_by_id_using_get_with_http_info(self, resource_id, **kwargs _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_resources_using_get(self, page_size, page, **kwargs): # noqa: E501 - """Get Resource Infos (getResources) # noqa: E501 + def get_tenant_resources_using_get(self, page_size, page, **kwargs): # noqa: E501 + """Get All Resource Infos (getAllResources) # noqa: E501 - Returns a page of Resource Info objects owned by tenant or sysadmin. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 + Returns a page of Resource Info objects owned by tenant. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'TENANT_ADMIN' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_resources_using_get(page_size, page, async_req=True) + >>> thread = api.get_tenant_resources_using_get(page_size, page, async_req=True) >>> result = thread.get() :param async_req bool :param int page_size: Maximum amount of entities in a one page (required) :param int page: Sequence number of page starting from 0 (required) - :param str resource_type: A string value representing the resource type. :param str text_search: The case insensitive 'substring' filter based on the resource title. :param str sort_property: Property of entity to sort by :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) @@ -1070,24 +1093,23 @@ def get_resources_using_get(self, page_size, page, **kwargs): # noqa: E501 """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.get_resources_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501 + return self.get_tenant_resources_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501 else: - (data) = self.get_resources_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501 + (data) = self.get_tenant_resources_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501 return data - def get_resources_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501 - """Get Resource Infos (getResources) # noqa: E501 + def get_tenant_resources_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501 + """Get All Resource Infos (getAllResources) # noqa: E501 - Returns a page of Resource Info objects owned by tenant or sysadmin. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501 + Returns a page of Resource Info objects owned by tenant. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. Available for users with 'TENANT_ADMIN' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_resources_using_get_with_http_info(page_size, page, async_req=True) + >>> thread = api.get_tenant_resources_using_get_with_http_info(page_size, page, async_req=True) >>> result = thread.get() :param async_req bool :param int page_size: Maximum amount of entities in a one page (required) :param int page: Sequence number of page starting from 0 (required) - :param str resource_type: A string value representing the resource type. :param str text_search: The case insensitive 'substring' filter based on the resource title. :param str sort_property: Property of entity to sort by :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) @@ -1096,7 +1118,7 @@ def get_resources_using_get_with_http_info(self, page_size, page, **kwargs): # returns the request thread. """ - all_params = ['page_size', 'page', 'resource_type', 'text_search', 'sort_property', 'sort_order'] # noqa: E501 + all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1107,18 +1129,18 @@ def get_resources_using_get_with_http_info(self, page_size, page, **kwargs): # if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_resources_using_get" % key + " to method get_tenant_resources_using_get" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'page_size' is set if ('page_size' not in params or params['page_size'] is None): - raise ValueError("Missing the required parameter `page_size` when calling `get_resources_using_get`") # noqa: E501 + raise ValueError("Missing the required parameter `page_size` when calling `get_tenant_resources_using_get`") # noqa: E501 # verify the required parameter 'page' is set if ('page' not in params or params['page'] is None): - raise ValueError("Missing the required parameter `page` when calling `get_resources_using_get`") # noqa: E501 + raise ValueError("Missing the required parameter `page` when calling `get_tenant_resources_using_get`") # noqa: E501 collection_formats = {} @@ -1129,8 +1151,6 @@ def get_resources_using_get_with_http_info(self, page_size, page, **kwargs): # query_params.append(('pageSize', params['page_size'])) # noqa: E501 if 'page' in params: query_params.append(('page', params['page'])) # noqa: E501 - if 'resource_type' in params: - query_params.append(('resourceType', params['resource_type'])) # noqa: E501 if 'text_search' in params: query_params.append(('textSearch', params['text_search'])) # noqa: E501 if 'sort_property' in params: @@ -1152,7 +1172,7 @@ def get_resources_using_get_with_http_info(self, page_size, page, **kwargs): # auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/resource{?page,pageSize,resourceType,sortOrder,sortProperty,textSearch}', 'GET', + '/api/resource/tenant{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET', path_params, query_params, header_params, @@ -1178,7 +1198,7 @@ def save_resource_using_post(self, **kwargs): # noqa: E501 :param async_req bool :param TbResource body: - :return: TbResource + :return: TbResourceInfo If the method is called asynchronously, returns the request thread. """ @@ -1200,7 +1220,7 @@ def save_resource_using_post_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool :param TbResource body: - :return: TbResource + :return: TbResourceInfo If the method is called asynchronously, returns the request thread. """ @@ -1254,7 +1274,7 @@ def save_resource_using_post_with_http_info(self, **kwargs): # noqa: E501 body=body_params, post_params=form_params, files=local_var_files, - response_type='TbResource', # noqa: E501 + response_type='TbResourceInfo', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/tb_rest_client/api/api_pe/telemetry_controller_api.py b/tb_rest_client/api/api_pe/telemetry_controller_api.py index 12c45116..ba53f4cc 100644 --- a/tb_rest_client/api/api_pe/telemetry_controller_api.py +++ b/tb_rest_client/api/api_pe/telemetry_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/tenant_controller_api.py b/tb_rest_client/api/api_pe/tenant_controller_api.py index 8774d0c4..acf1293c 100644 --- a/tb_rest_client/api/api_pe/tenant_controller_api.py +++ b/tb_rest_client/api/api_pe/tenant_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/tenant_profile_controller_api.py b/tb_rest_client/api/api_pe/tenant_profile_controller_api.py index 647630a6..9643b6c7 100644 --- a/tb_rest_client/api/api_pe/tenant_profile_controller_api.py +++ b/tb_rest_client/api/api_pe/tenant_profile_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -744,7 +744,7 @@ def get_tenant_profiles_using_get_with_http_info(self, page_size, page, **kwargs def save_tenant_profile_using_post(self, **kwargs): # noqa: E501 """Create Or update Tenant Profile (saveTenantProfile) # noqa: E501 - Create or update the Tenant Profile. When creating tenant profile, platform generates Tenant Profile Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Tenant Profile Id will be present in the response. Specify existing Tenant Profile Id id to update the Tenant Profile. Referencing non-existing Tenant Profile Id will cause 'Not Found' error. Update of the tenant profile configuration will cause immediate recalculation of API limits for all affected Tenants. The **'profileData'** object is the part of Tenant Profile that defines API limits and Rate limits. You have an ability to define maximum number of devices ('maxDevice'), assets ('maxAssets') and other entities. You may also define maximum number of messages to be processed per month ('maxTransportMessages', 'maxREExecutions', etc). The '*RateLimit' defines the rate limits using simple syntax. For example, '1000:1,20000:60' means up to 1000 events per second but no more than 20000 event per minute. Let's review the example of tenant profile data below: ```json { \"name\": \"Default\", \"description\": \"Default tenant profile\", \"isolatedTbRuleEngine\": false, \"profileData\": { \"configuration\": { \"type\": \"DEFAULT\", \"maxDevices\": 0, \"maxAssets\": 0, \"maxCustomers\": 0, \"maxUsers\": 0, \"maxDashboards\": 0, \"maxRuleChains\": 0, \"maxResourcesInBytes\": 0, \"maxOtaPackagesInBytes\": 0, \"transportTenantMsgRateLimit\": \"1000:1,20000:60\", \"transportTenantTelemetryMsgRateLimit\": \"1000:1,20000:60\", \"transportTenantTelemetryDataPointsRateLimit\": \"1000:1,20000:60\", \"transportDeviceMsgRateLimit\": \"20:1,600:60\", \"transportDeviceTelemetryMsgRateLimit\": \"20:1,600:60\", \"transportDeviceTelemetryDataPointsRateLimit\": \"20:1,600:60\", \"maxTransportMessages\": 10000000, \"maxTransportDataPoints\": 10000000, \"maxREExecutions\": 4000000, \"maxJSExecutions\": 5000000, \"maxDPStorageDays\": 0, \"maxRuleNodeExecutionsPerMessage\": 50, \"maxEmails\": 0, \"maxSms\": 0, \"maxCreatedAlarms\": 1000, \"defaultStorageTtlDays\": 0, \"alarmsTtlDays\": 0, \"rpcTtlDays\": 0, \"queueStatsTtlDays\": 0, \"ruleEngineExceptionsTtlDays\": 0, \"warnThreshold\": 0 } }, \"default\": true } ```Remove 'id', from the request body example (below) to create new Tenant Profile entity. Available for users with 'SYS_ADMIN' authority. # noqa: E501 + Create or update the Tenant Profile. When creating tenant profile, platform generates Tenant Profile Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Tenant Profile Id will be present in the response. Specify existing Tenant Profile Id id to update the Tenant Profile. Referencing non-existing Tenant Profile Id will cause 'Not Found' error. Update of the tenant profile configuration will cause immediate recalculation of API limits for all affected Tenants. The **'profileData'** object is the part of Tenant Profile that defines API limits and Rate limits. You have an ability to define maximum number of devices ('maxDevice'), assets ('maxAssets') and other entities. You may also define maximum number of messages to be processed per month ('maxTransportMessages', 'maxREExecutions', etc). The '*RateLimit' defines the rate limits using simple syntax. For example, '1000:1,20000:60' means up to 1000 events per second but no more than 20000 event per minute. Let's review the example of tenant profile data below: ```json { \"name\": \"Default\", \"description\": \"Default tenant profile\", \"isolatedTbRuleEngine\": false, \"profileData\": { \"configuration\": { \"type\": \"DEFAULT\", \"maxDevices\": 0, \"maxAssets\": 0, \"maxCustomers\": 0, \"maxUsers\": 0, \"maxDashboards\": 0, \"maxRuleChains\": 0, \"maxResourcesInBytes\": 0, \"maxOtaPackagesInBytes\": 0, \"maxResourceSize\": 0, \"transportTenantMsgRateLimit\": \"1000:1,20000:60\", \"transportTenantTelemetryMsgRateLimit\": \"1000:1,20000:60\", \"transportTenantTelemetryDataPointsRateLimit\": \"1000:1,20000:60\", \"transportDeviceMsgRateLimit\": \"20:1,600:60\", \"transportDeviceTelemetryMsgRateLimit\": \"20:1,600:60\", \"transportDeviceTelemetryDataPointsRateLimit\": \"20:1,600:60\", \"maxTransportMessages\": 10000000, \"maxTransportDataPoints\": 10000000, \"maxREExecutions\": 4000000, \"maxJSExecutions\": 5000000, \"maxDPStorageDays\": 0, \"maxRuleNodeExecutionsPerMessage\": 50, \"maxEmails\": 0, \"maxSms\": 0, \"maxCreatedAlarms\": 1000, \"defaultStorageTtlDays\": 0, \"alarmsTtlDays\": 0, \"rpcTtlDays\": 0, \"queueStatsTtlDays\": 0, \"ruleEngineExceptionsTtlDays\": 0, \"warnThreshold\": 0 } }, \"default\": true } ```Remove 'id', from the request body example (below) to create new Tenant Profile entity. Available for users with 'SYS_ADMIN' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.save_tenant_profile_using_post(async_req=True) @@ -766,7 +766,7 @@ def save_tenant_profile_using_post(self, **kwargs): # noqa: E501 def save_tenant_profile_using_post_with_http_info(self, **kwargs): # noqa: E501 """Create Or update Tenant Profile (saveTenantProfile) # noqa: E501 - Create or update the Tenant Profile. When creating tenant profile, platform generates Tenant Profile Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Tenant Profile Id will be present in the response. Specify existing Tenant Profile Id id to update the Tenant Profile. Referencing non-existing Tenant Profile Id will cause 'Not Found' error. Update of the tenant profile configuration will cause immediate recalculation of API limits for all affected Tenants. The **'profileData'** object is the part of Tenant Profile that defines API limits and Rate limits. You have an ability to define maximum number of devices ('maxDevice'), assets ('maxAssets') and other entities. You may also define maximum number of messages to be processed per month ('maxTransportMessages', 'maxREExecutions', etc). The '*RateLimit' defines the rate limits using simple syntax. For example, '1000:1,20000:60' means up to 1000 events per second but no more than 20000 event per minute. Let's review the example of tenant profile data below: ```json { \"name\": \"Default\", \"description\": \"Default tenant profile\", \"isolatedTbRuleEngine\": false, \"profileData\": { \"configuration\": { \"type\": \"DEFAULT\", \"maxDevices\": 0, \"maxAssets\": 0, \"maxCustomers\": 0, \"maxUsers\": 0, \"maxDashboards\": 0, \"maxRuleChains\": 0, \"maxResourcesInBytes\": 0, \"maxOtaPackagesInBytes\": 0, \"transportTenantMsgRateLimit\": \"1000:1,20000:60\", \"transportTenantTelemetryMsgRateLimit\": \"1000:1,20000:60\", \"transportTenantTelemetryDataPointsRateLimit\": \"1000:1,20000:60\", \"transportDeviceMsgRateLimit\": \"20:1,600:60\", \"transportDeviceTelemetryMsgRateLimit\": \"20:1,600:60\", \"transportDeviceTelemetryDataPointsRateLimit\": \"20:1,600:60\", \"maxTransportMessages\": 10000000, \"maxTransportDataPoints\": 10000000, \"maxREExecutions\": 4000000, \"maxJSExecutions\": 5000000, \"maxDPStorageDays\": 0, \"maxRuleNodeExecutionsPerMessage\": 50, \"maxEmails\": 0, \"maxSms\": 0, \"maxCreatedAlarms\": 1000, \"defaultStorageTtlDays\": 0, \"alarmsTtlDays\": 0, \"rpcTtlDays\": 0, \"queueStatsTtlDays\": 0, \"ruleEngineExceptionsTtlDays\": 0, \"warnThreshold\": 0 } }, \"default\": true } ```Remove 'id', from the request body example (below) to create new Tenant Profile entity. Available for users with 'SYS_ADMIN' authority. # noqa: E501 + Create or update the Tenant Profile. When creating tenant profile, platform generates Tenant Profile Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Tenant Profile Id will be present in the response. Specify existing Tenant Profile Id id to update the Tenant Profile. Referencing non-existing Tenant Profile Id will cause 'Not Found' error. Update of the tenant profile configuration will cause immediate recalculation of API limits for all affected Tenants. The **'profileData'** object is the part of Tenant Profile that defines API limits and Rate limits. You have an ability to define maximum number of devices ('maxDevice'), assets ('maxAssets') and other entities. You may also define maximum number of messages to be processed per month ('maxTransportMessages', 'maxREExecutions', etc). The '*RateLimit' defines the rate limits using simple syntax. For example, '1000:1,20000:60' means up to 1000 events per second but no more than 20000 event per minute. Let's review the example of tenant profile data below: ```json { \"name\": \"Default\", \"description\": \"Default tenant profile\", \"isolatedTbRuleEngine\": false, \"profileData\": { \"configuration\": { \"type\": \"DEFAULT\", \"maxDevices\": 0, \"maxAssets\": 0, \"maxCustomers\": 0, \"maxUsers\": 0, \"maxDashboards\": 0, \"maxRuleChains\": 0, \"maxResourcesInBytes\": 0, \"maxOtaPackagesInBytes\": 0, \"maxResourceSize\": 0, \"transportTenantMsgRateLimit\": \"1000:1,20000:60\", \"transportTenantTelemetryMsgRateLimit\": \"1000:1,20000:60\", \"transportTenantTelemetryDataPointsRateLimit\": \"1000:1,20000:60\", \"transportDeviceMsgRateLimit\": \"20:1,600:60\", \"transportDeviceTelemetryMsgRateLimit\": \"20:1,600:60\", \"transportDeviceTelemetryDataPointsRateLimit\": \"20:1,600:60\", \"maxTransportMessages\": 10000000, \"maxTransportDataPoints\": 10000000, \"maxREExecutions\": 4000000, \"maxJSExecutions\": 5000000, \"maxDPStorageDays\": 0, \"maxRuleNodeExecutionsPerMessage\": 50, \"maxEmails\": 0, \"maxSms\": 0, \"maxCreatedAlarms\": 1000, \"defaultStorageTtlDays\": 0, \"alarmsTtlDays\": 0, \"rpcTtlDays\": 0, \"queueStatsTtlDays\": 0, \"ruleEngineExceptionsTtlDays\": 0, \"warnThreshold\": 0 } }, \"default\": true } ```Remove 'id', from the request body example (below) to create new Tenant Profile entity. Available for users with 'SYS_ADMIN' authority. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.save_tenant_profile_using_post_with_http_info(async_req=True) diff --git a/tb_rest_client/api/api_pe/thing_park_integration_controller_api.py b/tb_rest_client/api/api_pe/thing_park_integration_controller_api.py index c1fb571b..dcb93ba5 100644 --- a/tb_rest_client/api/api_pe/thing_park_integration_controller_api.py +++ b/tb_rest_client/api/api_pe/thing_park_integration_controller_api.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/trail_controller_api.py b/tb_rest_client/api/api_pe/trail_controller_api.py index c34bc742..29cc2f32 100644 --- a/tb_rest_client/api/api_pe/trail_controller_api.py +++ b/tb_rest_client/api/api_pe/trail_controller_api.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/two_factor_auth_config_controller_api.py b/tb_rest_client/api/api_pe/two_factor_auth_config_controller_api.py index ac74f683..64757820 100644 --- a/tb_rest_client/api/api_pe/two_factor_auth_config_controller_api.py +++ b/tb_rest_client/api/api_pe/two_factor_auth_config_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/two_factor_auth_controller_api.py b/tb_rest_client/api/api_pe/two_factor_auth_controller_api.py index c14287bf..21868f68 100644 --- a/tb_rest_client/api/api_pe/two_factor_auth_controller_api.py +++ b/tb_rest_client/api/api_pe/two_factor_auth_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/ui_settings_controller_api.py b/tb_rest_client/api/api_pe/ui_settings_controller_api.py index 16a9d543..54b8fe6b 100644 --- a/tb_rest_client/api/api_pe/ui_settings_controller_api.py +++ b/tb_rest_client/api/api_pe/ui_settings_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/usage_info_controller_api.py b/tb_rest_client/api/api_pe/usage_info_controller_api.py index d5418ced..181f21d2 100644 --- a/tb_rest_client/api/api_pe/usage_info_controller_api.py +++ b/tb_rest_client/api/api_pe/usage_info_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/user_controller_api.py b/tb_rest_client/api/api_pe/user_controller_api.py index 3b786932..15082252 100644 --- a/tb_rest_client/api/api_pe/user_controller_api.py +++ b/tb_rest_client/api/api_pe/user_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -527,7 +527,8 @@ def get_activation_link_using_get_with_http_info(self, user_id, **kwargs): # no body_params = None # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept(['text/plain']) # noqa: E501 + header_params['Accept'] = self.api_client.select_header_accept( + ['text/plain', 'application/json']) # noqa: E501 # Authentication setting auth_settings = ['X-Authorization'] # noqa: E501 diff --git a/tb_rest_client/api/api_pe/user_permissions_controller_api.py b/tb_rest_client/api/api_pe/user_permissions_controller_api.py index b27e5005..8b070ca2 100644 --- a/tb_rest_client/api/api_pe/user_permissions_controller_api.py +++ b/tb_rest_client/api/api_pe/user_permissions_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/api/api_pe/white_labeling_controller_api.py b/tb_rest_client/api/api_pe/white_labeling_controller_api.py index 8a28c2ac..81157a1f 100644 --- a/tb_rest_client/api/api_pe/white_labeling_controller_api.py +++ b/tb_rest_client/api/api_pe/white_labeling_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -56,6 +56,7 @@ def get_current_login_white_label_params_using_get(self, **kwargs): # noqa: E50 >>> result = thread.get() :param async_req bool + :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' :return: LoginWhiteLabelingParams If the method is called asynchronously, returns the request thread. @@ -77,12 +78,13 @@ def get_current_login_white_label_params_using_get_with_http_info(self, **kwargs >>> result = thread.get() :param async_req bool + :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' :return: LoginWhiteLabelingParams If the method is called asynchronously, returns the request thread. """ - all_params = [] # noqa: E501 + all_params = ['customer_id'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -103,6 +105,8 @@ def get_current_login_white_label_params_using_get_with_http_info(self, **kwargs path_params = {} query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 header_params = {} @@ -118,7 +122,7 @@ def get_current_login_white_label_params_using_get_with_http_info(self, **kwargs auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/whiteLabel/currentLoginWhiteLabelParams', 'GET', + '/api/whiteLabel/currentLoginWhiteLabelParams{?customerId}', 'GET', path_params, query_params, header_params, @@ -143,6 +147,7 @@ def get_current_white_label_params_using_get(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool + :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' :return: WhiteLabelingParams If the method is called asynchronously, returns the request thread. @@ -164,12 +169,13 @@ def get_current_white_label_params_using_get_with_http_info(self, **kwargs): # >>> result = thread.get() :param async_req bool + :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' :return: WhiteLabelingParams If the method is called asynchronously, returns the request thread. """ - all_params = [] # noqa: E501 + all_params = ['customer_id'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -190,6 +196,8 @@ def get_current_white_label_params_using_get_with_http_info(self, **kwargs): # path_params = {} query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 header_params = {} @@ -205,7 +213,7 @@ def get_current_white_label_params_using_get_with_http_info(self, **kwargs): # auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/whiteLabel/currentWhiteLabelParams', 'GET', + '/api/whiteLabel/currentWhiteLabelParams{?customerId}', 'GET', path_params, query_params, header_params, @@ -230,8 +238,6 @@ def get_login_white_label_params_using_get(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param str logo_image_checksum: Logo image checksum. Expects value from the browser cache to compare it with the value from settings. If value matches, the 'logoImageUrl' will be null. - :param str favicon_checksum: Favicon image checksum. Expects value from the browser cache to compare it with the value from settings. If value matches, the 'faviconImageUrl' will be null. :return: LoginWhiteLabelingParams If the method is called asynchronously, returns the request thread. @@ -253,14 +259,12 @@ def get_login_white_label_params_using_get_with_http_info(self, **kwargs): # no >>> result = thread.get() :param async_req bool - :param str logo_image_checksum: Logo image checksum. Expects value from the browser cache to compare it with the value from settings. If value matches, the 'logoImageUrl' will be null. - :param str favicon_checksum: Favicon image checksum. Expects value from the browser cache to compare it with the value from settings. If value matches, the 'faviconImageUrl' will be null. :return: LoginWhiteLabelingParams If the method is called asynchronously, returns the request thread. """ - all_params = ['logo_image_checksum', 'favicon_checksum'] # noqa: E501 + all_params = [] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -281,10 +285,6 @@ def get_login_white_label_params_using_get_with_http_info(self, **kwargs): # no path_params = {} query_params = [] - if 'logo_image_checksum' in params: - query_params.append(('logoImageChecksum', params['logo_image_checksum'])) # noqa: E501 - if 'favicon_checksum' in params: - query_params.append(('faviconChecksum', params['favicon_checksum'])) # noqa: E501 header_params = {} @@ -300,7 +300,7 @@ def get_login_white_label_params_using_get_with_http_info(self, **kwargs): # no auth_settings = [] # noqa: E501 return self.api_client.call_api( - '/api/noauth/whiteLabel/loginWhiteLabelParams{?faviconChecksum,logoImageChecksum}', 'GET', + '/api/noauth/whiteLabel/loginWhiteLabelParams', 'GET', path_params, query_params, header_params, @@ -315,6 +315,97 @@ def get_login_white_label_params_using_get_with_http_info(self, **kwargs): # no _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def get_mail_templates_using_get(self, **kwargs): # noqa: E501 + """Get the Mail templates settings (getMailTemplates) # noqa: E501 + + Fetch Mail template settings. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. Security check is performed to verify that the user has 'READ' permission for the white labeling resource. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_mail_templates_using_get(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param bool system_by_default: Use system settings if settings are not defined on tenant level. + :return: JsonNode + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_mail_templates_using_get_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_mail_templates_using_get_with_http_info(**kwargs) # noqa: E501 + return data + + def get_mail_templates_using_get_with_http_info(self, **kwargs): # noqa: E501 + """Get the Mail templates settings (getMailTemplates) # noqa: E501 + + Fetch Mail template settings. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. Security check is performed to verify that the user has 'READ' permission for the white labeling resource. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_mail_templates_using_get_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param bool system_by_default: Use system settings if settings are not defined on tenant level. + :return: JsonNode + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['system_by_default'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_mail_templates_using_get" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'system_by_default' in params: + query_params.append(('systemByDefault', params['system_by_default'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/whiteLabel/mailTemplates{?systemByDefault}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='JsonNode', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def get_white_label_params_using_get(self, **kwargs): # noqa: E501 """Get White Labeling parameters # noqa: E501 @@ -325,8 +416,6 @@ def get_white_label_params_using_get(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param str logo_image_checksum: Logo image checksum. Expects value from the browser cache to compare it with the value from settings. If value matches, the 'logoImageUrl' will be null. - :param str favicon_checksum: Favicon image checksum. Expects value from the browser cache to compare it with the value from settings. If value matches, the 'faviconImageUrl' will be null. :return: WhiteLabelingParams If the method is called asynchronously, returns the request thread. @@ -348,14 +437,12 @@ def get_white_label_params_using_get_with_http_info(self, **kwargs): # noqa: E5 >>> result = thread.get() :param async_req bool - :param str logo_image_checksum: Logo image checksum. Expects value from the browser cache to compare it with the value from settings. If value matches, the 'logoImageUrl' will be null. - :param str favicon_checksum: Favicon image checksum. Expects value from the browser cache to compare it with the value from settings. If value matches, the 'faviconImageUrl' will be null. :return: WhiteLabelingParams If the method is called asynchronously, returns the request thread. """ - all_params = ['logo_image_checksum', 'favicon_checksum'] # noqa: E501 + all_params = [] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -376,10 +463,6 @@ def get_white_label_params_using_get_with_http_info(self, **kwargs): # noqa: E5 path_params = {} query_params = [] - if 'logo_image_checksum' in params: - query_params.append(('logoImageChecksum', params['logo_image_checksum'])) # noqa: E501 - if 'favicon_checksum' in params: - query_params.append(('faviconChecksum', params['favicon_checksum'])) # noqa: E501 header_params = {} @@ -395,7 +478,7 @@ def get_white_label_params_using_get_with_http_info(self, **kwargs): # noqa: E5 auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/whiteLabel/whiteLabelParams{?faviconChecksum,logoImageChecksum}', 'GET', + '/api/whiteLabel/whiteLabelParams', 'GET', path_params, query_params, header_params, @@ -690,6 +773,7 @@ def save_login_white_label_params_using_post(self, **kwargs): # noqa: E501 :param async_req bool :param LoginWhiteLabelingParams body: + :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' :return: LoginWhiteLabelingParams If the method is called asynchronously, returns the request thread. @@ -712,12 +796,13 @@ def save_login_white_label_params_using_post_with_http_info(self, **kwargs): # :param async_req bool :param LoginWhiteLabelingParams body: + :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' :return: LoginWhiteLabelingParams If the method is called asynchronously, returns the request thread. """ - all_params = ['body'] # noqa: E501 + all_params = ['body', 'customer_id'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -738,6 +823,8 @@ def save_login_white_label_params_using_post_with_http_info(self, **kwargs): # path_params = {} query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 header_params = {} @@ -759,7 +846,7 @@ def save_login_white_label_params_using_post_with_http_info(self, **kwargs): # auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/whiteLabel/loginWhiteLabelParams', 'POST', + '/api/whiteLabel/loginWhiteLabelParams{?customerId}', 'POST', path_params, query_params, header_params, @@ -774,6 +861,101 @@ def save_login_white_label_params_using_post_with_http_info(self, **kwargs): # _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def save_mail_templates_using_post(self, **kwargs): # noqa: E501 + """Save the Mail templates settings (saveMailTemplates) # noqa: E501 + + Creates or Updates the Mail templates settings. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. Security check is performed to verify that the user has 'WRITE' permission for the white labeling resource. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.save_mail_templates_using_post(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param JsonNode body: + :return: JsonNode + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.save_mail_templates_using_post_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.save_mail_templates_using_post_with_http_info(**kwargs) # noqa: E501 + return data + + def save_mail_templates_using_post_with_http_info(self, **kwargs): # noqa: E501 + """Save the Mail templates settings (saveMailTemplates) # noqa: E501 + + Creates or Updates the Mail templates settings. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. Security check is performed to verify that the user has 'WRITE' permission for the white labeling resource. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.save_mail_templates_using_post_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param JsonNode body: + :return: JsonNode + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method save_mail_templates_using_post" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['X-Authorization'] # noqa: E501 + + return self.api_client.call_api( + '/api/whiteLabel/mailTemplates', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='JsonNode', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def save_white_label_params_using_post(self, **kwargs): # noqa: E501 """Create Or Update White Labeling configuration (saveWhiteLabelParams) # noqa: E501 @@ -785,6 +967,7 @@ def save_white_label_params_using_post(self, **kwargs): # noqa: E501 :param async_req bool :param WhiteLabelingParams body: + :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' :return: WhiteLabelingParams If the method is called asynchronously, returns the request thread. @@ -807,12 +990,13 @@ def save_white_label_params_using_post_with_http_info(self, **kwargs): # noqa: :param async_req bool :param WhiteLabelingParams body: + :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' :return: WhiteLabelingParams If the method is called asynchronously, returns the request thread. """ - all_params = ['body'] # noqa: E501 + all_params = ['body', 'customer_id'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -833,6 +1017,8 @@ def save_white_label_params_using_post_with_http_info(self, **kwargs): # noqa: path_params = {} query_params = [] + if 'customer_id' in params: + query_params.append(('customerId', params['customer_id'])) # noqa: E501 header_params = {} @@ -854,7 +1040,7 @@ def save_white_label_params_using_post_with_http_info(self, **kwargs): # noqa: auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/whiteLabel/whiteLabelParams', 'POST', + '/api/whiteLabel/whiteLabelParams{?customerId}', 'POST', path_params, query_params, header_params, diff --git a/tb_rest_client/api/api_pe/widget_type_controller_api.py b/tb_rest_client/api/api_pe/widget_type_controller_api.py index d4fa44ac..e786be83 100644 --- a/tb_rest_client/api/api_pe/widget_type_controller_api.py +++ b/tb_rest_client/api/api_pe/widget_type_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -453,6 +453,7 @@ def get_bundle_widget_types_details_using_get(self, widgets_bundle_id, **kwargs) :param async_req bool :param str widgets_bundle_id: Widget Bundle Id (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: list[WidgetTypeDetails] If the method is called asynchronously, returns the request thread. @@ -475,12 +476,13 @@ def get_bundle_widget_types_details_using_get_with_http_info(self, widgets_bundl :param async_req bool :param str widgets_bundle_id: Widget Bundle Id (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: list[WidgetTypeDetails] If the method is called asynchronously, returns the request thread. """ - all_params = ['widgets_bundle_id'] # noqa: E501 + all_params = ['widgets_bundle_id', 'inline_images'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -507,6 +509,8 @@ def get_bundle_widget_types_details_using_get_with_http_info(self, widgets_bundl query_params = [] if 'widgets_bundle_id' in params: query_params.append(('widgetsBundleId', params['widgets_bundle_id'])) # noqa: E501 + if 'inline_images' in params: + query_params.append(('inlineImages', params['inline_images'])) # noqa: E501 header_params = {} @@ -522,7 +526,7 @@ def get_bundle_widget_types_details_using_get_with_http_info(self, widgets_bundl auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/widgetTypesDetails{?widgetsBundleId}', 'GET', + '/api/widgetTypesDetails{?inlineImages,widgetsBundleId}', 'GET', path_params, query_params, header_params, @@ -640,45 +644,61 @@ def get_bundle_widget_types_infos_by_bundle_alias_using_get_with_http_info(self, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_bundle_widget_types_infos_using_get(self, widgets_bundle_id, **kwargs): # noqa: E501 + def get_bundle_widget_types_infos_using_get(self, widgets_bundle_id, page_size, page, **kwargs): # noqa: E501 """Get Widget Type Info objects (getBundleWidgetTypesInfos) # noqa: E501 Get the Widget Type Info objects based on the provided parameters. Widget Type Info is a lightweight object that represents Widget Type but does not contain the heavyweight widget descriptor JSON Available for any authorized user. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_bundle_widget_types_infos_using_get(widgets_bundle_id, async_req=True) + >>> thread = api.get_bundle_widget_types_infos_using_get(widgets_bundle_id, page_size, page, async_req=True) >>> result = thread.get() :param async_req bool :param str widgets_bundle_id: Widget Bundle Id (required) - :return: list[WidgetTypeInfo] + :param int page_size: Maximum amount of entities in a one page (required) + :param int page: Sequence number of page starting from 0 (required) + :param str text_search: The case insensitive 'substring' filter based on the widget type name. + :param str sort_property: Property of entity to sort by + :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) + :param bool full_search: Optional boolean parameter indicating whether search widgets by description not only by name + :param str deprecated_filter: Optional string parameter indicating whether to include deprecated widgets + :param str widget_type_list: A list of string values separated by comma ',' representing one of the widget type value + :return: PageDataWidgetTypeInfo If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.get_bundle_widget_types_infos_using_get_with_http_info(widgets_bundle_id, **kwargs) # noqa: E501 + return self.get_bundle_widget_types_infos_using_get_with_http_info(widgets_bundle_id, page_size, page, **kwargs) # noqa: E501 else: - (data) = self.get_bundle_widget_types_infos_using_get_with_http_info(widgets_bundle_id, **kwargs) # noqa: E501 + (data) = self.get_bundle_widget_types_infos_using_get_with_http_info(widgets_bundle_id, page_size, page, **kwargs) # noqa: E501 return data - def get_bundle_widget_types_infos_using_get_with_http_info(self, widgets_bundle_id, **kwargs): # noqa: E501 + def get_bundle_widget_types_infos_using_get_with_http_info(self, widgets_bundle_id, page_size, page, **kwargs): # noqa: E501 """Get Widget Type Info objects (getBundleWidgetTypesInfos) # noqa: E501 Get the Widget Type Info objects based on the provided parameters. Widget Type Info is a lightweight object that represents Widget Type but does not contain the heavyweight widget descriptor JSON Available for any authorized user. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_bundle_widget_types_infos_using_get_with_http_info(widgets_bundle_id, async_req=True) + >>> thread = api.get_bundle_widget_types_infos_using_get_with_http_info(widgets_bundle_id, page_size, page, async_req=True) >>> result = thread.get() :param async_req bool :param str widgets_bundle_id: Widget Bundle Id (required) - :return: list[WidgetTypeInfo] + :param int page_size: Maximum amount of entities in a one page (required) + :param int page: Sequence number of page starting from 0 (required) + :param str text_search: The case insensitive 'substring' filter based on the widget type name. + :param str sort_property: Property of entity to sort by + :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) + :param bool full_search: Optional boolean parameter indicating whether search widgets by description not only by name + :param str deprecated_filter: Optional string parameter indicating whether to include deprecated widgets + :param str widget_type_list: A list of string values separated by comma ',' representing one of the widget type value + :return: PageDataWidgetTypeInfo If the method is called asynchronously, returns the request thread. """ - all_params = ['widgets_bundle_id'] # noqa: E501 + all_params = ['widgets_bundle_id', 'page_size', 'page', 'text_search', 'sort_property', 'sort_order', 'full_search', 'deprecated_filter', 'widget_type_list'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -697,6 +717,14 @@ def get_bundle_widget_types_infos_using_get_with_http_info(self, widgets_bundle_ if ('widgets_bundle_id' not in params or params['widgets_bundle_id'] is None): raise ValueError("Missing the required parameter `widgets_bundle_id` when calling `get_bundle_widget_types_infos_using_get`") # noqa: E501 + # verify the required parameter 'page_size' is set + if ('page_size' not in params or + params['page_size'] is None): + raise ValueError("Missing the required parameter `page_size` when calling `get_bundle_widget_types_infos_using_get`") # noqa: E501 + # verify the required parameter 'page' is set + if ('page' not in params or + params['page'] is None): + raise ValueError("Missing the required parameter `page` when calling `get_bundle_widget_types_infos_using_get`") # noqa: E501 collection_formats = {} @@ -705,6 +733,22 @@ def get_bundle_widget_types_infos_using_get_with_http_info(self, widgets_bundle_ query_params = [] if 'widgets_bundle_id' in params: query_params.append(('widgetsBundleId', params['widgets_bundle_id'])) # noqa: E501 + if 'page_size' in params: + query_params.append(('pageSize', params['page_size'])) # noqa: E501 + if 'page' in params: + query_params.append(('page', params['page'])) # noqa: E501 + if 'text_search' in params: + query_params.append(('textSearch', params['text_search'])) # noqa: E501 + if 'sort_property' in params: + query_params.append(('sortProperty', params['sort_property'])) # noqa: E501 + if 'sort_order' in params: + query_params.append(('sortOrder', params['sort_order'])) # noqa: E501 + if 'full_search' in params: + query_params.append(('fullSearch', params['full_search'])) # noqa: E501 + if 'deprecated_filter' in params: + query_params.append(('deprecatedFilter', params['deprecated_filter'])) # noqa: E501 + if 'widget_type_list' in params: + query_params.append(('widgetTypeList', params['widget_type_list'])) # noqa: E501 header_params = {} @@ -720,14 +764,14 @@ def get_bundle_widget_types_infos_using_get_with_http_info(self, widgets_bundle_ auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/widgetTypesInfos{?widgetsBundleId}', 'GET', + '/api/widgetTypesInfos{?deprecatedFilter,fullSearch,page,pageSize,sortOrder,sortProperty,textSearch,widgetTypeList,widgetsBundleId}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='list[WidgetTypeInfo]', # noqa: E501 + response_type='PageDataWidgetTypeInfo', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -952,6 +996,7 @@ def get_widget_type_by_id_using_get(self, widget_type_id, **kwargs): # noqa: E5 :param async_req bool :param str widget_type_id: A string value representing the widget type id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: WidgetTypeDetails If the method is called asynchronously, returns the request thread. @@ -974,12 +1019,13 @@ def get_widget_type_by_id_using_get_with_http_info(self, widget_type_id, **kwarg :param async_req bool :param str widget_type_id: A string value representing the widget type id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: WidgetTypeDetails If the method is called asynchronously, returns the request thread. """ - all_params = ['widget_type_id'] # noqa: E501 + all_params = ['widget_type_id', 'inline_images'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1006,6 +1052,8 @@ def get_widget_type_by_id_using_get_with_http_info(self, widget_type_id, **kwarg path_params['widgetTypeId'] = params['widget_type_id'] # noqa: E501 query_params = [] + if 'inline_images' in params: + query_params.append(('inlineImages', params['inline_images'])) # noqa: E501 header_params = {} @@ -1021,7 +1069,7 @@ def get_widget_type_by_id_using_get_with_http_info(self, widget_type_id, **kwarg auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/widgetType/{widgetTypeId}', 'GET', + '/api/widgetType/{widgetTypeId}{?inlineImages}', 'GET', path_params, query_params, header_params, @@ -1243,6 +1291,8 @@ def get_widget_types_using_get(self, page_size, page, **kwargs): # noqa: E501 :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) :param bool tenant_only: Optional boolean parameter indicating whether only tenant widget types should be returned :param bool full_search: Optional boolean parameter indicating whether search widgets by description not only by name + :param str deprecated_filter: Optional string parameter indicating whether to include deprecated widgets + :param str widget_type_list: A list of string values separated by comma ',' representing one of the widget type value :return: PageDataWidgetTypeInfo If the method is called asynchronously, returns the request thread. @@ -1271,12 +1321,14 @@ def get_widget_types_using_get_with_http_info(self, page_size, page, **kwargs): :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) :param bool tenant_only: Optional boolean parameter indicating whether only tenant widget types should be returned :param bool full_search: Optional boolean parameter indicating whether search widgets by description not only by name + :param str deprecated_filter: Optional string parameter indicating whether to include deprecated widgets + :param str widget_type_list: A list of string values separated by comma ',' representing one of the widget type value :return: PageDataWidgetTypeInfo If the method is called asynchronously, returns the request thread. """ - all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order', 'tenant_only', 'full_search'] # noqa: E501 + all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order', 'tenant_only', 'full_search', 'deprecated_filter', 'widget_type_list'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1319,6 +1371,10 @@ def get_widget_types_using_get_with_http_info(self, page_size, page, **kwargs): query_params.append(('tenantOnly', params['tenant_only'])) # noqa: E501 if 'full_search' in params: query_params.append(('fullSearch', params['full_search'])) # noqa: E501 + if 'deprecated_filter' in params: + query_params.append(('deprecatedFilter', params['deprecated_filter'])) # noqa: E501 + if 'widget_type_list' in params: + query_params.append(('widgetTypeList', params['widget_type_list'])) # noqa: E501 header_params = {} @@ -1334,7 +1390,7 @@ def get_widget_types_using_get_with_http_info(self, page_size, page, **kwargs): auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/widgetTypes{?fullSearch,page,pageSize,sortOrder,sortProperty,tenantOnly,textSearch}', 'GET', + '/api/widgetTypes{?deprecatedFilter,fullSearch,page,pageSize,sortOrder,sortProperty,tenantOnly,textSearch,widgetTypeList}', 'GET', path_params, query_params, header_params, diff --git a/tb_rest_client/api/api_pe/widgets_bundle_controller_api.py b/tb_rest_client/api/api_pe/widgets_bundle_controller_api.py index 533d0e96..ea89c4b9 100644 --- a/tb_rest_client/api/api_pe/widgets_bundle_controller_api.py +++ b/tb_rest_client/api/api_pe/widgets_bundle_controller_api.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -152,6 +152,7 @@ def get_widgets_bundle_by_id_using_get(self, widgets_bundle_id, **kwargs): # no :param async_req bool :param str widgets_bundle_id: A string value representing the widget bundle id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: WidgetsBundle If the method is called asynchronously, returns the request thread. @@ -174,12 +175,13 @@ def get_widgets_bundle_by_id_using_get_with_http_info(self, widgets_bundle_id, * :param async_req bool :param str widgets_bundle_id: A string value representing the widget bundle id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required) + :param bool inline_images: Inline images as a data URL (Base64) :return: WidgetsBundle If the method is called asynchronously, returns the request thread. """ - all_params = ['widgets_bundle_id'] # noqa: E501 + all_params = ['widgets_bundle_id', 'inline_images'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -206,6 +208,8 @@ def get_widgets_bundle_by_id_using_get_with_http_info(self, widgets_bundle_id, * path_params['widgetsBundleId'] = params['widgets_bundle_id'] # noqa: E501 query_params = [] + if 'inline_images' in params: + query_params.append(('inlineImages', params['inline_images'])) # noqa: E501 header_params = {} @@ -221,7 +225,7 @@ def get_widgets_bundle_by_id_using_get_with_http_info(self, widgets_bundle_id, * auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/widgetsBundle/{widgetsBundleId}', 'GET', + '/api/widgetsBundle/{widgetsBundleId}{?inlineImages}', 'GET', path_params, query_params, header_params, @@ -433,6 +437,8 @@ def get_widgets_bundles_using_get1(self, page_size, page, **kwargs): # noqa: E5 :param str text_search: The case insensitive 'substring' filter based on the widget bundle title. :param str sort_property: Property of entity to sort by :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) + :param bool tenant_only: Optional boolean parameter to include only tenant-level bundles without system + :param bool full_search: Optional boolean parameter indicating extended search of widget bundles by description and by name / description of related widget types :return: PageDataWidgetsBundle If the method is called asynchronously, returns the request thread. @@ -459,12 +465,14 @@ def get_widgets_bundles_using_get1_with_http_info(self, page_size, page, **kwarg :param str text_search: The case insensitive 'substring' filter based on the widget bundle title. :param str sort_property: Property of entity to sort by :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING) + :param bool tenant_only: Optional boolean parameter to include only tenant-level bundles without system + :param bool full_search: Optional boolean parameter indicating extended search of widget bundles by description and by name / description of related widget types :return: PageDataWidgetsBundle If the method is called asynchronously, returns the request thread. """ - all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501 + all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order', 'tenant_only', 'full_search'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -503,6 +511,10 @@ def get_widgets_bundles_using_get1_with_http_info(self, page_size, page, **kwarg query_params.append(('sortProperty', params['sort_property'])) # noqa: E501 if 'sort_order' in params: query_params.append(('sortOrder', params['sort_order'])) # noqa: E501 + if 'tenant_only' in params: + query_params.append(('tenantOnly', params['tenant_only'])) # noqa: E501 + if 'full_search' in params: + query_params.append(('fullSearch', params['full_search'])) # noqa: E501 header_params = {} @@ -518,7 +530,7 @@ def get_widgets_bundles_using_get1_with_http_info(self, page_size, page, **kwarg auth_settings = ['X-Authorization'] # noqa: E501 return self.api_client.call_api( - '/api/widgetsBundles{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET', + '/api/widgetsBundles{?fullSearch,page,pageSize,sortOrder,sortProperty,tenantOnly,textSearch}', 'GET', path_params, query_params, header_params, diff --git a/tb_rest_client/api_client.py b/tb_rest_client/api_client.py index d9512b81..7725f4be 100644 --- a/tb_rest_client/api_client.py +++ b/tb_rest_client/api_client.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/configuration.py b/tb_rest_client/configuration.py index b7d88460..d4fc2f54 100644 --- a/tb_rest_client/configuration.py +++ b/tb_rest_client/configuration.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/__init__.py b/tb_rest_client/models/__init__.py index 51546460..459717c1 100644 --- a/tb_rest_client/models/__init__.py +++ b/tb_rest_client/models/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/__init__.py b/tb_rest_client/models/models_ce/__init__.py index babc0aa1..e7d55ef8 100644 --- a/tb_rest_client/models/models_ce/__init__.py +++ b/tb_rest_client/models/models_ce/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -403,3 +403,10 @@ from .to_server_rpc_request_snmp_communication_config import ToServerRpcRequestSnmpCommunicationConfig from .user_notification_settings import UserNotificationSettings from .widget_type_export_data import WidgetTypeExportData +from .api_image_body import ApiImageBody +from .byte_array_resource import ByteArrayResource +from .edge_instructions import EdgeInstructions +from .has_idobject import HasIdobject +from .image_export_data import ImageExportData +from .tb_image_delete_result import TbImageDeleteResult +from .type_key_body import TypeKeyBody diff --git a/tb_rest_client/models/models_ce/account_two_fa_settings.py b/tb_rest_client/models/models_ce/account_two_fa_settings.py index 2e1ab78f..3639ce1d 100644 --- a/tb_rest_client/models/models_ce/account_two_fa_settings.py +++ b/tb_rest_client/models/models_ce/account_two_fa_settings.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/activate_user_request.py b/tb_rest_client/models/models_ce/activate_user_request.py index 01cd91ea..29fe0558 100644 --- a/tb_rest_client/models/models_ce/activate_user_request.py +++ b/tb_rest_client/models/models_ce/activate_user_request.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/admin_settings.py b/tb_rest_client/models/models_ce/admin_settings.py index 616c7082..3ede9da7 100644 --- a/tb_rest_client/models/models_ce/admin_settings.py +++ b/tb_rest_client/models/models_ce/admin_settings.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/admin_settings_id.py b/tb_rest_client/models/models_ce/admin_settings_id.py index 7bbbac6e..db3ca1b2 100644 --- a/tb_rest_client/models/models_ce/admin_settings_id.py +++ b/tb_rest_client/models/models_ce/admin_settings_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/affected_tenant_administrators_filter.py b/tb_rest_client/models/models_ce/affected_tenant_administrators_filter.py index 578fd91b..27b37291 100644 --- a/tb_rest_client/models/models_ce/affected_tenant_administrators_filter.py +++ b/tb_rest_client/models/models_ce/affected_tenant_administrators_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/affected_user_filter.py b/tb_rest_client/models/models_ce/affected_user_filter.py index 94d742d0..dcab9e34 100644 --- a/tb_rest_client/models/models_ce/affected_user_filter.py +++ b/tb_rest_client/models/models_ce/affected_user_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm.py b/tb_rest_client/models/models_ce/alarm.py index 8cd5b944..a09f32a0 100644 --- a/tb_rest_client/models/models_ce/alarm.py +++ b/tb_rest_client/models/models_ce/alarm.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm_assignee.py b/tb_rest_client/models/models_ce/alarm_assignee.py index 8895c0db..fc221fa3 100644 --- a/tb_rest_client/models/models_ce/alarm_assignee.py +++ b/tb_rest_client/models/models_ce/alarm_assignee.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm_assignment_notification_rule_trigger_config.py b/tb_rest_client/models/models_ce/alarm_assignment_notification_rule_trigger_config.py index 26f9eaca..79102247 100644 --- a/tb_rest_client/models/models_ce/alarm_assignment_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_ce/alarm_assignment_notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm_comment.py b/tb_rest_client/models/models_ce/alarm_comment.py index dabebd0f..26b529b6 100644 --- a/tb_rest_client/models/models_ce/alarm_comment.py +++ b/tb_rest_client/models/models_ce/alarm_comment.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm_comment_id.py b/tb_rest_client/models/models_ce/alarm_comment_id.py index 7528cda6..7971897b 100644 --- a/tb_rest_client/models/models_ce/alarm_comment_id.py +++ b/tb_rest_client/models/models_ce/alarm_comment_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm_comment_info.py b/tb_rest_client/models/models_ce/alarm_comment_info.py index a5e77e9b..1b3ab6f5 100644 --- a/tb_rest_client/models/models_ce/alarm_comment_info.py +++ b/tb_rest_client/models/models_ce/alarm_comment_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm_comment_notification_rule_trigger_config.py b/tb_rest_client/models/models_ce/alarm_comment_notification_rule_trigger_config.py index 29424865..699b5d29 100644 --- a/tb_rest_client/models/models_ce/alarm_comment_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_ce/alarm_comment_notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm_condition.py b/tb_rest_client/models/models_ce/alarm_condition.py index 3ab60b90..e78be6b6 100644 --- a/tb_rest_client/models/models_ce/alarm_condition.py +++ b/tb_rest_client/models/models_ce/alarm_condition.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm_condition_filter.py b/tb_rest_client/models/models_ce/alarm_condition_filter.py index 5aa00dae..e572fd94 100644 --- a/tb_rest_client/models/models_ce/alarm_condition_filter.py +++ b/tb_rest_client/models/models_ce/alarm_condition_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm_condition_filter_key.py b/tb_rest_client/models/models_ce/alarm_condition_filter_key.py index 2a55dd25..593cd99b 100644 --- a/tb_rest_client/models/models_ce/alarm_condition_filter_key.py +++ b/tb_rest_client/models/models_ce/alarm_condition_filter_key.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm_condition_spec.py b/tb_rest_client/models/models_ce/alarm_condition_spec.py index 623b53f0..92ae4f71 100644 --- a/tb_rest_client/models/models_ce/alarm_condition_spec.py +++ b/tb_rest_client/models/models_ce/alarm_condition_spec.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm_count_query.py b/tb_rest_client/models/models_ce/alarm_count_query.py index eb8c925f..7a4eaa10 100644 --- a/tb_rest_client/models/models_ce/alarm_count_query.py +++ b/tb_rest_client/models/models_ce/alarm_count_query.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm_data.py b/tb_rest_client/models/models_ce/alarm_data.py index 468c70ca..cca17284 100644 --- a/tb_rest_client/models/models_ce/alarm_data.py +++ b/tb_rest_client/models/models_ce/alarm_data.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm_data_page_link.py b/tb_rest_client/models/models_ce/alarm_data_page_link.py index 9dc9333e..e9842097 100644 --- a/tb_rest_client/models/models_ce/alarm_data_page_link.py +++ b/tb_rest_client/models/models_ce/alarm_data_page_link.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm_data_query.py b/tb_rest_client/models/models_ce/alarm_data_query.py index 4787b59e..838ecfe2 100644 --- a/tb_rest_client/models/models_ce/alarm_data_query.py +++ b/tb_rest_client/models/models_ce/alarm_data_query.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm_id.py b/tb_rest_client/models/models_ce/alarm_id.py index d00f8da1..6d271792 100644 --- a/tb_rest_client/models/models_ce/alarm_id.py +++ b/tb_rest_client/models/models_ce/alarm_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm_info.py b/tb_rest_client/models/models_ce/alarm_info.py index 09f3c3a0..c56f8978 100644 --- a/tb_rest_client/models/models_ce/alarm_info.py +++ b/tb_rest_client/models/models_ce/alarm_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm_notification_rule_trigger_config.py b/tb_rest_client/models/models_ce/alarm_notification_rule_trigger_config.py index 1aeec75d..c0caf47c 100644 --- a/tb_rest_client/models/models_ce/alarm_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_ce/alarm_notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm_rule.py b/tb_rest_client/models/models_ce/alarm_rule.py index 8dca0a4e..b0f631d9 100644 --- a/tb_rest_client/models/models_ce/alarm_rule.py +++ b/tb_rest_client/models/models_ce/alarm_rule.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/alarm_schedule.py b/tb_rest_client/models/models_ce/alarm_schedule.py index 11788f88..9a687124 100644 --- a/tb_rest_client/models/models_ce/alarm_schedule.py +++ b/tb_rest_client/models/models_ce/alarm_schedule.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/all_users_filter.py b/tb_rest_client/models/models_ce/all_users_filter.py index 486b78ca..90b7ba8a 100644 --- a/tb_rest_client/models/models_ce/all_users_filter.py +++ b/tb_rest_client/models/models_ce/all_users_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/allow_create_new_devices_device_profile_provision_configuration.py b/tb_rest_client/models/models_ce/allow_create_new_devices_device_profile_provision_configuration.py index 12a50018..81b8c97d 100644 --- a/tb_rest_client/models/models_ce/allow_create_new_devices_device_profile_provision_configuration.py +++ b/tb_rest_client/models/models_ce/allow_create_new_devices_device_profile_provision_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/any_time_schedule.py b/tb_rest_client/models/models_ce/any_time_schedule.py index 927dd3b2..c3b4aaef 100644 --- a/tb_rest_client/models/models_ce/any_time_schedule.py +++ b/tb_rest_client/models/models_ce/any_time_schedule.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/api_image_body.py b/tb_rest_client/models/models_ce/api_image_body.py new file mode 100644 index 00000000..1db87a25 --- /dev/null +++ b/tb_rest_client/models/models_ce/api_image_body.py @@ -0,0 +1,155 @@ +# coding: utf-8 + +""" + ThingsBoard REST API + + ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 + + OpenAPI spec version: 3.6.2 + Contact: info@thingsboard.io + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +# Copyright 2024. ThingsBoard +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import pprint +import re # noqa: F401 + +import six + +class ApiImageBody(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'file': 'str', + 'title': 'str' + } + + attribute_map = { + 'file': 'file', + 'title': 'title' + } + + def __init__(self, file=None, title=None): # noqa: E501 + """ApiImageBody - a model defined in Swagger""" # noqa: E501 + self._file = None + self._title = None + self.discriminator = None + self.file = file + if title is not None: + self.title = title + + @property + def file(self): + """Gets the file of this ApiImageBody. # noqa: E501 + + file # noqa: E501 + + :return: The file of this ApiImageBody. # noqa: E501 + :rtype: str + """ + return self._file + + @file.setter + def file(self, file): + """Sets the file of this ApiImageBody. + + file # noqa: E501 + + :param file: The file of this ApiImageBody. # noqa: E501 + :type: str + """ + if file is None: + raise ValueError("Invalid value for `file`, must not be `None`") # noqa: E501 + + self._file = file + + @property + def title(self): + """Gets the title of this ApiImageBody. # noqa: E501 + + title # noqa: E501 + + :return: The title of this ApiImageBody. # noqa: E501 + :rtype: str + """ + return self._title + + @title.setter + def title(self, title): + """Sets the title of this ApiImageBody. + + title # noqa: E501 + + :param title: The title of this ApiImageBody. # noqa: E501 + :type: str + """ + + self._title = title + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ApiImageBody, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ApiImageBody): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/tb_rest_client/models/models_ce/api_usage_limit_notification_rule_trigger_config.py b/tb_rest_client/models/models_ce/api_usage_limit_notification_rule_trigger_config.py index 1e058976..f48c5cdf 100644 --- a/tb_rest_client/models/models_ce/api_usage_limit_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_ce/api_usage_limit_notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -90,7 +90,7 @@ def api_features(self, api_features): :param api_features: The api_features of this ApiUsageLimitNotificationRuleTriggerConfig. # noqa: E501 :type: list[str] """ - allowed_values = ["ALARM", "DB", "EMAIL", "JS", "RE", "SMS", "TRANSPORT"] # noqa: E501 + allowed_values = ["ALARM", "DB", "EMAIL", "JS", "RE", "SMS", "TBEL", "TRANSPORT"] # noqa: E501 if not set(api_features).issubset(set(allowed_values)): raise ValueError( "Invalid values for `api_features` [{0}], must be a subset of [{1}]" # noqa: E501 diff --git a/tb_rest_client/models/models_ce/api_usage_state_filter.py b/tb_rest_client/models/models_ce/api_usage_state_filter.py index d3e04f77..027b1264 100644 --- a/tb_rest_client/models/models_ce/api_usage_state_filter.py +++ b/tb_rest_client/models/models_ce/api_usage_state_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/asset.py b/tb_rest_client/models/models_ce/asset.py index 0f7a4e9d..b567e3d1 100644 --- a/tb_rest_client/models/models_ce/asset.py +++ b/tb_rest_client/models/models_ce/asset.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/asset_id.py b/tb_rest_client/models/models_ce/asset_id.py index a83cc937..60f92a1d 100644 --- a/tb_rest_client/models/models_ce/asset_id.py +++ b/tb_rest_client/models/models_ce/asset_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/asset_info.py b/tb_rest_client/models/models_ce/asset_info.py index 8399ccaf..2e400249 100644 --- a/tb_rest_client/models/models_ce/asset_info.py +++ b/tb_rest_client/models/models_ce/asset_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/asset_profile.py b/tb_rest_client/models/models_ce/asset_profile.py index 756df572..767a6dad 100644 --- a/tb_rest_client/models/models_ce/asset_profile.py +++ b/tb_rest_client/models/models_ce/asset_profile.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/asset_profile_id.py b/tb_rest_client/models/models_ce/asset_profile_id.py index f723cf49..fc6fa841 100644 --- a/tb_rest_client/models/models_ce/asset_profile_id.py +++ b/tb_rest_client/models/models_ce/asset_profile_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/asset_profile_info.py b/tb_rest_client/models/models_ce/asset_profile_info.py index 4fa01020..44c7a31e 100644 --- a/tb_rest_client/models/models_ce/asset_profile_info.py +++ b/tb_rest_client/models/models_ce/asset_profile_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/asset_search_query.py b/tb_rest_client/models/models_ce/asset_search_query.py index 9fd59f02..b70aff18 100644 --- a/tb_rest_client/models/models_ce/asset_search_query.py +++ b/tb_rest_client/models/models_ce/asset_search_query.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/asset_search_query_filter.py b/tb_rest_client/models/models_ce/asset_search_query_filter.py index 12a8372f..cc4af56c 100644 --- a/tb_rest_client/models/models_ce/asset_search_query_filter.py +++ b/tb_rest_client/models/models_ce/asset_search_query_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/asset_type_filter.py b/tb_rest_client/models/models_ce/asset_type_filter.py index 45e644bf..272da23c 100644 --- a/tb_rest_client/models/models_ce/asset_type_filter.py +++ b/tb_rest_client/models/models_ce/asset_type_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/atomic_integer.py b/tb_rest_client/models/models_ce/atomic_integer.py index 6877b9ad..18138ecf 100644 --- a/tb_rest_client/models/models_ce/atomic_integer.py +++ b/tb_rest_client/models/models_ce/atomic_integer.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/attribute_export_data.py b/tb_rest_client/models/models_ce/attribute_export_data.py index 64207d2c..5d568460 100644 --- a/tb_rest_client/models/models_ce/attribute_export_data.py +++ b/tb_rest_client/models/models_ce/attribute_export_data.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/attributes_entity_view.py b/tb_rest_client/models/models_ce/attributes_entity_view.py index f63dcb09..bec97049 100644 --- a/tb_rest_client/models/models_ce/attributes_entity_view.py +++ b/tb_rest_client/models/models_ce/attributes_entity_view.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/audit_log.py b/tb_rest_client/models/models_ce/audit_log.py index 137fbb34..6c94b344 100644 --- a/tb_rest_client/models/models_ce/audit_log.py +++ b/tb_rest_client/models/models_ce/audit_log.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/audit_log_id.py b/tb_rest_client/models/models_ce/audit_log_id.py index a0fc4957..440f8dea 100644 --- a/tb_rest_client/models/models_ce/audit_log_id.py +++ b/tb_rest_client/models/models_ce/audit_log_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/auto_version_create_config.py b/tb_rest_client/models/models_ce/auto_version_create_config.py index 92eef30a..92432816 100644 --- a/tb_rest_client/models/models_ce/auto_version_create_config.py +++ b/tb_rest_client/models/models_ce/auto_version_create_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/aws_sns_sms_provider_configuration.py b/tb_rest_client/models/models_ce/aws_sns_sms_provider_configuration.py index 6f63815e..86020f30 100644 --- a/tb_rest_client/models/models_ce/aws_sns_sms_provider_configuration.py +++ b/tb_rest_client/models/models_ce/aws_sns_sms_provider_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/backup_code_two_fa_account_config.py b/tb_rest_client/models/models_ce/backup_code_two_fa_account_config.py index 6a2dcf29..13d61d98 100644 --- a/tb_rest_client/models/models_ce/backup_code_two_fa_account_config.py +++ b/tb_rest_client/models/models_ce/backup_code_two_fa_account_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/backup_code_two_fa_provider_config.py b/tb_rest_client/models/models_ce/backup_code_two_fa_provider_config.py index a56fd628..a6af39ca 100644 --- a/tb_rest_client/models/models_ce/backup_code_two_fa_provider_config.py +++ b/tb_rest_client/models/models_ce/backup_code_two_fa_provider_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/boolean_filter_predicate.py b/tb_rest_client/models/models_ce/boolean_filter_predicate.py index ff93ab8f..8f004c77 100644 --- a/tb_rest_client/models/models_ce/boolean_filter_predicate.py +++ b/tb_rest_client/models/models_ce/boolean_filter_predicate.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/branch_info.py b/tb_rest_client/models/models_ce/branch_info.py index 7bbead1b..555280aa 100644 --- a/tb_rest_client/models/models_ce/branch_info.py +++ b/tb_rest_client/models/models_ce/branch_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/bulk_import_request.py b/tb_rest_client/models/models_ce/bulk_import_request.py index 565a91f0..05750556 100644 --- a/tb_rest_client/models/models_ce/bulk_import_request.py +++ b/tb_rest_client/models/models_ce/bulk_import_request.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/bulk_import_result_asset.py b/tb_rest_client/models/models_ce/bulk_import_result_asset.py index d108c33c..a84b7402 100644 --- a/tb_rest_client/models/models_ce/bulk_import_result_asset.py +++ b/tb_rest_client/models/models_ce/bulk_import_result_asset.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/bulk_import_result_device.py b/tb_rest_client/models/models_ce/bulk_import_result_device.py index 23c36d6b..b272ae4e 100644 --- a/tb_rest_client/models/models_ce/bulk_import_result_device.py +++ b/tb_rest_client/models/models_ce/bulk_import_result_device.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/bulk_import_result_edge.py b/tb_rest_client/models/models_ce/bulk_import_result_edge.py index da6798ac..34bccf75 100644 --- a/tb_rest_client/models/models_ce/bulk_import_result_edge.py +++ b/tb_rest_client/models/models_ce/bulk_import_result_edge.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/button.py b/tb_rest_client/models/models_ce/button.py index 83035249..a066f735 100644 --- a/tb_rest_client/models/models_ce/button.py +++ b/tb_rest_client/models/models_ce/button.py @@ -5,11 +5,25 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ +# Copyright 2024. ThingsBoard +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import pprint import re # noqa: F401 diff --git a/tb_rest_client/models/models_ce/byte_array_resource.py b/tb_rest_client/models/models_ce/byte_array_resource.py new file mode 100644 index 00000000..b91d97ad --- /dev/null +++ b/tb_rest_client/models/models_ce/byte_array_resource.py @@ -0,0 +1,332 @@ +# coding: utf-8 + +""" + ThingsBoard REST API + + ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 + + OpenAPI spec version: 3.6.2 + Contact: info@thingsboard.io + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +# Copyright 2024. ThingsBoard +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import pprint +import re # noqa: F401 + +import six + +class ByteArrayResource(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'byte_array': 'str', + 'description': 'str', + 'file': 'str', + 'filename': 'str', + 'input_stream': 'InputStream', + 'open': 'bool', + 'readable': 'bool', + 'uri': 'str', + 'url': 'str' + } + + attribute_map = { + 'byte_array': 'byteArray', + 'description': 'description', + 'file': 'file', + 'filename': 'filename', + 'input_stream': 'inputStream', + 'open': 'open', + 'readable': 'readable', + 'uri': 'uri', + 'url': 'url' + } + + def __init__(self, byte_array=None, description=None, file=None, filename=None, input_stream=None, open=None, readable=None, uri=None, url=None): # noqa: E501 + """ByteArrayResource - a model defined in Swagger""" # noqa: E501 + self._byte_array = None + self._description = None + self._file = None + self._filename = None + self._input_stream = None + self._open = None + self._readable = None + self._uri = None + self._url = None + self.discriminator = None + if byte_array is not None: + self.byte_array = byte_array + if description is not None: + self.description = description + if file is not None: + self.file = file + if filename is not None: + self.filename = filename + if input_stream is not None: + self.input_stream = input_stream + if open is not None: + self.open = open + if readable is not None: + self.readable = readable + if uri is not None: + self.uri = uri + if url is not None: + self.url = url + + @property + def byte_array(self): + """Gets the byte_array of this ByteArrayResource. # noqa: E501 + + + :return: The byte_array of this ByteArrayResource. # noqa: E501 + :rtype: str + """ + return self._byte_array + + @byte_array.setter + def byte_array(self, byte_array): + """Sets the byte_array of this ByteArrayResource. + + + :param byte_array: The byte_array of this ByteArrayResource. # noqa: E501 + :type: str + """ + + self._byte_array = byte_array + + @property + def description(self): + """Gets the description of this ByteArrayResource. # noqa: E501 + + + :return: The description of this ByteArrayResource. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this ByteArrayResource. + + + :param description: The description of this ByteArrayResource. # noqa: E501 + :type: str + """ + + self._description = description + + @property + def file(self): + """Gets the file of this ByteArrayResource. # noqa: E501 + + + :return: The file of this ByteArrayResource. # noqa: E501 + :rtype: str + """ + return self._file + + @file.setter + def file(self, file): + """Sets the file of this ByteArrayResource. + + + :param file: The file of this ByteArrayResource. # noqa: E501 + :type: str + """ + + self._file = file + + @property + def filename(self): + """Gets the filename of this ByteArrayResource. # noqa: E501 + + + :return: The filename of this ByteArrayResource. # noqa: E501 + :rtype: str + """ + return self._filename + + @filename.setter + def filename(self, filename): + """Sets the filename of this ByteArrayResource. + + + :param filename: The filename of this ByteArrayResource. # noqa: E501 + :type: str + """ + + self._filename = filename + + @property + def input_stream(self): + """Gets the input_stream of this ByteArrayResource. # noqa: E501 + + + :return: The input_stream of this ByteArrayResource. # noqa: E501 + :rtype: InputStream + """ + return self._input_stream + + @input_stream.setter + def input_stream(self, input_stream): + """Sets the input_stream of this ByteArrayResource. + + + :param input_stream: The input_stream of this ByteArrayResource. # noqa: E501 + :type: InputStream + """ + + self._input_stream = input_stream + + @property + def open(self): + """Gets the open of this ByteArrayResource. # noqa: E501 + + + :return: The open of this ByteArrayResource. # noqa: E501 + :rtype: bool + """ + return self._open + + @open.setter + def open(self, open): + """Sets the open of this ByteArrayResource. + + + :param open: The open of this ByteArrayResource. # noqa: E501 + :type: bool + """ + + self._open = open + + @property + def readable(self): + """Gets the readable of this ByteArrayResource. # noqa: E501 + + + :return: The readable of this ByteArrayResource. # noqa: E501 + :rtype: bool + """ + return self._readable + + @readable.setter + def readable(self, readable): + """Sets the readable of this ByteArrayResource. + + + :param readable: The readable of this ByteArrayResource. # noqa: E501 + :type: bool + """ + + self._readable = readable + + @property + def uri(self): + """Gets the uri of this ByteArrayResource. # noqa: E501 + + + :return: The uri of this ByteArrayResource. # noqa: E501 + :rtype: str + """ + return self._uri + + @uri.setter + def uri(self, uri): + """Sets the uri of this ByteArrayResource. + + + :param uri: The uri of this ByteArrayResource. # noqa: E501 + :type: str + """ + + self._uri = uri + + @property + def url(self): + """Gets the url of this ByteArrayResource. # noqa: E501 + + + :return: The url of this ByteArrayResource. # noqa: E501 + :rtype: str + """ + return self._url + + @url.setter + def url(self, url): + """Sets the url of this ByteArrayResource. + + + :param url: The url of this ByteArrayResource. # noqa: E501 + :type: str + """ + + self._url = url + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ByteArrayResource, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ByteArrayResource): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/tb_rest_client/models/models_ce/byte_buffer.py b/tb_rest_client/models/models_ce/byte_buffer.py index 4b3ef032..4242944f 100644 --- a/tb_rest_client/models/models_ce/byte_buffer.py +++ b/tb_rest_client/models/models_ce/byte_buffer.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/change_password_request.py b/tb_rest_client/models/models_ce/change_password_request.py index d6e42bf6..da9e0a94 100644 --- a/tb_rest_client/models/models_ce/change_password_request.py +++ b/tb_rest_client/models/models_ce/change_password_request.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/check_pre_provisioned_devices_device_profile_provision_configuration.py b/tb_rest_client/models/models_ce/check_pre_provisioned_devices_device_profile_provision_configuration.py index abae2b74..4a3a734c 100644 --- a/tb_rest_client/models/models_ce/check_pre_provisioned_devices_device_profile_provision_configuration.py +++ b/tb_rest_client/models/models_ce/check_pre_provisioned_devices_device_profile_provision_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/claim_request.py b/tb_rest_client/models/models_ce/claim_request.py index 69292817..c4d9a941 100644 --- a/tb_rest_client/models/models_ce/claim_request.py +++ b/tb_rest_client/models/models_ce/claim_request.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/clear_rule.py b/tb_rest_client/models/models_ce/clear_rule.py index b9983277..b22c4126 100644 --- a/tb_rest_client/models/models_ce/clear_rule.py +++ b/tb_rest_client/models/models_ce/clear_rule.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/client_attributes_querying_snmp_communication_config.py b/tb_rest_client/models/models_ce/client_attributes_querying_snmp_communication_config.py index a8daec19..b744395b 100644 --- a/tb_rest_client/models/models_ce/client_attributes_querying_snmp_communication_config.py +++ b/tb_rest_client/models/models_ce/client_attributes_querying_snmp_communication_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/coap_device_profile_transport_configuration.py b/tb_rest_client/models/models_ce/coap_device_profile_transport_configuration.py index bd6f1a7d..4be8297a 100644 --- a/tb_rest_client/models/models_ce/coap_device_profile_transport_configuration.py +++ b/tb_rest_client/models/models_ce/coap_device_profile_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/coap_device_transport_configuration.py b/tb_rest_client/models/models_ce/coap_device_transport_configuration.py index b0bedc3b..e786b954 100644 --- a/tb_rest_client/models/models_ce/coap_device_transport_configuration.py +++ b/tb_rest_client/models/models_ce/coap_device_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/coap_device_type_configuration.py b/tb_rest_client/models/models_ce/coap_device_type_configuration.py index c834a41b..7c09ba1a 100644 --- a/tb_rest_client/models/models_ce/coap_device_type_configuration.py +++ b/tb_rest_client/models/models_ce/coap_device_type_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/column_mapping.py b/tb_rest_client/models/models_ce/column_mapping.py index 1690b180..1de04ed6 100644 --- a/tb_rest_client/models/models_ce/column_mapping.py +++ b/tb_rest_client/models/models_ce/column_mapping.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/comparison_ts_value.py b/tb_rest_client/models/models_ce/comparison_ts_value.py index de6f86f8..d3f7e188 100644 --- a/tb_rest_client/models/models_ce/comparison_ts_value.py +++ b/tb_rest_client/models/models_ce/comparison_ts_value.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/complex_filter_predicate.py b/tb_rest_client/models/models_ce/complex_filter_predicate.py index 95764913..e4caabec 100644 --- a/tb_rest_client/models/models_ce/complex_filter_predicate.py +++ b/tb_rest_client/models/models_ce/complex_filter_predicate.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/complex_version_create_request.py b/tb_rest_client/models/models_ce/complex_version_create_request.py index 97c1fa8d..b3e78156 100644 --- a/tb_rest_client/models/models_ce/complex_version_create_request.py +++ b/tb_rest_client/models/models_ce/complex_version_create_request.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/component_descriptor.py b/tb_rest_client/models/models_ce/component_descriptor.py index d4d56aff..8665c68b 100644 --- a/tb_rest_client/models/models_ce/component_descriptor.py +++ b/tb_rest_client/models/models_ce/component_descriptor.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/component_descriptor_id.py b/tb_rest_client/models/models_ce/component_descriptor_id.py index 9410534c..c4a3d2a4 100644 --- a/tb_rest_client/models/models_ce/component_descriptor_id.py +++ b/tb_rest_client/models/models_ce/component_descriptor_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/custom_time_schedule.py b/tb_rest_client/models/models_ce/custom_time_schedule.py index a9f369f0..06fd7861 100644 --- a/tb_rest_client/models/models_ce/custom_time_schedule.py +++ b/tb_rest_client/models/models_ce/custom_time_schedule.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/custom_time_schedule_item.py b/tb_rest_client/models/models_ce/custom_time_schedule_item.py index 0b02a086..9217246a 100644 --- a/tb_rest_client/models/models_ce/custom_time_schedule_item.py +++ b/tb_rest_client/models/models_ce/custom_time_schedule_item.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/customer.py b/tb_rest_client/models/models_ce/customer.py index 2c8dd7d2..d43af162 100644 --- a/tb_rest_client/models/models_ce/customer.py +++ b/tb_rest_client/models/models_ce/customer.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -183,6 +183,8 @@ def title(self, title): :param title: The title of this Customer. # noqa: E501 :type: str """ + if title is None: + raise ValueError("Invalid value for `title`, must not be `None`") # noqa: E501 self._title = title diff --git a/tb_rest_client/models/models_ce/customer_id.py b/tb_rest_client/models/models_ce/customer_id.py index 3d5c04c3..5fe8b739 100644 --- a/tb_rest_client/models/models_ce/customer_id.py +++ b/tb_rest_client/models/models_ce/customer_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/customer_users_filter.py b/tb_rest_client/models/models_ce/customer_users_filter.py index 9891a708..346af39b 100644 --- a/tb_rest_client/models/models_ce/customer_users_filter.py +++ b/tb_rest_client/models/models_ce/customer_users_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/dashboard.py b/tb_rest_client/models/models_ce/dashboard.py index fc3bbdf8..ded6db49 100644 --- a/tb_rest_client/models/models_ce/dashboard.py +++ b/tb_rest_client/models/models_ce/dashboard.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/dashboard_id.py b/tb_rest_client/models/models_ce/dashboard_id.py index 55d32137..b9100dd7 100644 --- a/tb_rest_client/models/models_ce/dashboard_id.py +++ b/tb_rest_client/models/models_ce/dashboard_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/dashboard_info.py b/tb_rest_client/models/models_ce/dashboard_info.py index 9810c716..610cbc55 100644 --- a/tb_rest_client/models/models_ce/dashboard_info.py +++ b/tb_rest_client/models/models_ce/dashboard_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/debug_rule_chain_event_filter.py b/tb_rest_client/models/models_ce/debug_rule_chain_event_filter.py index fdeb490a..9ed624f5 100644 --- a/tb_rest_client/models/models_ce/debug_rule_chain_event_filter.py +++ b/tb_rest_client/models/models_ce/debug_rule_chain_event_filter.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -28,7 +28,7 @@ import re # noqa: F401 import six -from .event_filter import EventFilter # noqa: F401,E501 +from tb_rest_client.models.models_ce.event_filter import EventFilter # noqa: F401,E501 class DebugRuleChainEventFilter(EventFilter): """ diff --git a/tb_rest_client/models/models_ce/default_coap_device_type_configuration.py b/tb_rest_client/models/models_ce/default_coap_device_type_configuration.py index b9000e66..2a56529d 100644 --- a/tb_rest_client/models/models_ce/default_coap_device_type_configuration.py +++ b/tb_rest_client/models/models_ce/default_coap_device_type_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/default_device_configuration.py b/tb_rest_client/models/models_ce/default_device_configuration.py index 43707963..bf98eab8 100644 --- a/tb_rest_client/models/models_ce/default_device_configuration.py +++ b/tb_rest_client/models/models_ce/default_device_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/default_device_profile_configuration.py b/tb_rest_client/models/models_ce/default_device_profile_configuration.py index d5f81cfa..ea3909d4 100644 --- a/tb_rest_client/models/models_ce/default_device_profile_configuration.py +++ b/tb_rest_client/models/models_ce/default_device_profile_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/default_device_profile_transport_configuration.py b/tb_rest_client/models/models_ce/default_device_profile_transport_configuration.py index 15de82ca..bf6011a5 100644 --- a/tb_rest_client/models/models_ce/default_device_profile_transport_configuration.py +++ b/tb_rest_client/models/models_ce/default_device_profile_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/default_device_transport_configuration.py b/tb_rest_client/models/models_ce/default_device_transport_configuration.py index d0e288fa..4089e083 100644 --- a/tb_rest_client/models/models_ce/default_device_transport_configuration.py +++ b/tb_rest_client/models/models_ce/default_device_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/default_rule_chain_create_request.py b/tb_rest_client/models/models_ce/default_rule_chain_create_request.py index 74ace93b..c5452b6e 100644 --- a/tb_rest_client/models/models_ce/default_rule_chain_create_request.py +++ b/tb_rest_client/models/models_ce/default_rule_chain_create_request.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/default_tenant_profile_configuration.py b/tb_rest_client/models/models_ce/default_tenant_profile_configuration.py index 2b2daaa3..7b56e01d 100644 --- a/tb_rest_client/models/models_ce/default_tenant_profile_configuration.py +++ b/tb_rest_client/models/models_ce/default_tenant_profile_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -56,10 +56,12 @@ class DefaultTenantProfileConfiguration(object): 'max_js_executions': 'int', 'max_ota_packages_in_bytes': 'int', 'max_re_executions': 'int', + 'max_resource_size': 'int', 'max_resources_in_bytes': 'int', 'max_rule_chains': 'int', 'max_rule_node_executions_per_message': 'int', 'max_sms': 'int', + 'max_tbel_executions': 'int', 'max_transport_data_points': 'int', 'max_transport_messages': 'int', 'max_users': 'int', @@ -71,7 +73,9 @@ class DefaultTenantProfileConfiguration(object): 'max_ws_subscriptions_per_public_user': 'int', 'max_ws_subscriptions_per_regular_user': 'int', 'max_ws_subscriptions_per_tenant': 'int', + 'queue_stats_ttl_days': 'int', 'rpc_ttl_days': 'int', + 'rule_engine_exceptions_ttl_days': 'int', 'sms_enabled': 'bool', 'tenant_entity_export_rate_limit': 'str', 'tenant_entity_import_rate_limit': 'str', @@ -104,10 +108,12 @@ class DefaultTenantProfileConfiguration(object): 'max_js_executions': 'maxJSExecutions', 'max_ota_packages_in_bytes': 'maxOtaPackagesInBytes', 'max_re_executions': 'maxREExecutions', + 'max_resource_size': 'maxResourceSize', 'max_resources_in_bytes': 'maxResourcesInBytes', 'max_rule_chains': 'maxRuleChains', 'max_rule_node_executions_per_message': 'maxRuleNodeExecutionsPerMessage', 'max_sms': 'maxSms', + 'max_tbel_executions': 'maxTbelExecutions', 'max_transport_data_points': 'maxTransportDataPoints', 'max_transport_messages': 'maxTransportMessages', 'max_users': 'maxUsers', @@ -119,7 +125,9 @@ class DefaultTenantProfileConfiguration(object): 'max_ws_subscriptions_per_public_user': 'maxWsSubscriptionsPerPublicUser', 'max_ws_subscriptions_per_regular_user': 'maxWsSubscriptionsPerRegularUser', 'max_ws_subscriptions_per_tenant': 'maxWsSubscriptionsPerTenant', + 'queue_stats_ttl_days': 'queueStatsTtlDays', 'rpc_ttl_days': 'rpcTtlDays', + 'rule_engine_exceptions_ttl_days': 'ruleEngineExceptionsTtlDays', 'sms_enabled': 'smsEnabled', 'tenant_entity_export_rate_limit': 'tenantEntityExportRateLimit', 'tenant_entity_import_rate_limit': 'tenantEntityImportRateLimit', @@ -137,7 +145,7 @@ class DefaultTenantProfileConfiguration(object): 'ws_updates_per_session_rate_limit': 'wsUpdatesPerSessionRateLimit' } - def __init__(self, alarms_ttl_days=None, cassandra_query_tenant_rate_limits_configuration=None, customer_server_rest_limits_configuration=None, default_storage_ttl_days=None, max_assets=None, max_created_alarms=None, max_customers=None, max_dp_storage_days=None, max_dashboards=None, max_devices=None, max_emails=None, max_js_executions=None, max_ota_packages_in_bytes=None, max_re_executions=None, max_resources_in_bytes=None, max_rule_chains=None, max_rule_node_executions_per_message=None, max_sms=None, max_transport_data_points=None, max_transport_messages=None, max_users=None, max_ws_sessions_per_customer=None, max_ws_sessions_per_public_user=None, max_ws_sessions_per_regular_user=None, max_ws_sessions_per_tenant=None, max_ws_subscriptions_per_customer=None, max_ws_subscriptions_per_public_user=None, max_ws_subscriptions_per_regular_user=None, max_ws_subscriptions_per_tenant=None, rpc_ttl_days=None, sms_enabled=None, tenant_entity_export_rate_limit=None, tenant_entity_import_rate_limit=None, tenant_notification_requests_per_rule_rate_limit=None, tenant_notification_requests_rate_limit=None, tenant_server_rest_limits_configuration=None, transport_device_msg_rate_limit=None, transport_device_telemetry_data_points_rate_limit=None, transport_device_telemetry_msg_rate_limit=None, transport_tenant_msg_rate_limit=None, transport_tenant_telemetry_data_points_rate_limit=None, transport_tenant_telemetry_msg_rate_limit=None, warn_threshold=None, ws_msg_queue_limit_per_session=None, ws_updates_per_session_rate_limit=None): # noqa: E501 + def __init__(self, alarms_ttl_days=None, cassandra_query_tenant_rate_limits_configuration=None, customer_server_rest_limits_configuration=None, default_storage_ttl_days=None, max_assets=None, max_created_alarms=None, max_customers=None, max_dp_storage_days=None, max_dashboards=None, max_devices=None, max_emails=None, max_js_executions=None, max_ota_packages_in_bytes=None, max_re_executions=None, max_resource_size=None, max_resources_in_bytes=None, max_rule_chains=None, max_rule_node_executions_per_message=None, max_sms=None, max_tbel_executions=None, max_transport_data_points=None, max_transport_messages=None, max_users=None, max_ws_sessions_per_customer=None, max_ws_sessions_per_public_user=None, max_ws_sessions_per_regular_user=None, max_ws_sessions_per_tenant=None, max_ws_subscriptions_per_customer=None, max_ws_subscriptions_per_public_user=None, max_ws_subscriptions_per_regular_user=None, max_ws_subscriptions_per_tenant=None, queue_stats_ttl_days=None, rpc_ttl_days=None, rule_engine_exceptions_ttl_days=None, sms_enabled=None, tenant_entity_export_rate_limit=None, tenant_entity_import_rate_limit=None, tenant_notification_requests_per_rule_rate_limit=None, tenant_notification_requests_rate_limit=None, tenant_server_rest_limits_configuration=None, transport_device_msg_rate_limit=None, transport_device_telemetry_data_points_rate_limit=None, transport_device_telemetry_msg_rate_limit=None, transport_tenant_msg_rate_limit=None, transport_tenant_telemetry_data_points_rate_limit=None, transport_tenant_telemetry_msg_rate_limit=None, warn_threshold=None, ws_msg_queue_limit_per_session=None, ws_updates_per_session_rate_limit=None): # noqa: E501 """DefaultTenantProfileConfiguration - a model defined in Swagger""" # noqa: E501 self._alarms_ttl_days = None self._cassandra_query_tenant_rate_limits_configuration = None @@ -153,10 +161,12 @@ def __init__(self, alarms_ttl_days=None, cassandra_query_tenant_rate_limits_conf self._max_js_executions = None self._max_ota_packages_in_bytes = None self._max_re_executions = None + self._max_resource_size = None self._max_resources_in_bytes = None self._max_rule_chains = None self._max_rule_node_executions_per_message = None self._max_sms = None + self._max_tbel_executions = None self._max_transport_data_points = None self._max_transport_messages = None self._max_users = None @@ -168,7 +178,9 @@ def __init__(self, alarms_ttl_days=None, cassandra_query_tenant_rate_limits_conf self._max_ws_subscriptions_per_public_user = None self._max_ws_subscriptions_per_regular_user = None self._max_ws_subscriptions_per_tenant = None + self._queue_stats_ttl_days = None self._rpc_ttl_days = None + self._rule_engine_exceptions_ttl_days = None self._sms_enabled = None self._tenant_entity_export_rate_limit = None self._tenant_entity_import_rate_limit = None @@ -213,6 +225,8 @@ def __init__(self, alarms_ttl_days=None, cassandra_query_tenant_rate_limits_conf self.max_ota_packages_in_bytes = max_ota_packages_in_bytes if max_re_executions is not None: self.max_re_executions = max_re_executions + if max_resource_size is not None: + self.max_resource_size = max_resource_size if max_resources_in_bytes is not None: self.max_resources_in_bytes = max_resources_in_bytes if max_rule_chains is not None: @@ -221,6 +235,8 @@ def __init__(self, alarms_ttl_days=None, cassandra_query_tenant_rate_limits_conf self.max_rule_node_executions_per_message = max_rule_node_executions_per_message if max_sms is not None: self.max_sms = max_sms + if max_tbel_executions is not None: + self.max_tbel_executions = max_tbel_executions if max_transport_data_points is not None: self.max_transport_data_points = max_transport_data_points if max_transport_messages is not None: @@ -243,8 +259,12 @@ def __init__(self, alarms_ttl_days=None, cassandra_query_tenant_rate_limits_conf self.max_ws_subscriptions_per_regular_user = max_ws_subscriptions_per_regular_user if max_ws_subscriptions_per_tenant is not None: self.max_ws_subscriptions_per_tenant = max_ws_subscriptions_per_tenant + if queue_stats_ttl_days is not None: + self.queue_stats_ttl_days = queue_stats_ttl_days if rpc_ttl_days is not None: self.rpc_ttl_days = rpc_ttl_days + if rule_engine_exceptions_ttl_days is not None: + self.rule_engine_exceptions_ttl_days = rule_engine_exceptions_ttl_days if sms_enabled is not None: self.sms_enabled = sms_enabled if tenant_entity_export_rate_limit is not None: @@ -570,6 +590,27 @@ def max_re_executions(self, max_re_executions): self._max_re_executions = max_re_executions + @property + def max_resource_size(self): + """Gets the max_resource_size of this DefaultTenantProfileConfiguration. # noqa: E501 + + + :return: The max_resource_size of this DefaultTenantProfileConfiguration. # noqa: E501 + :rtype: int + """ + return self._max_resource_size + + @max_resource_size.setter + def max_resource_size(self, max_resource_size): + """Sets the max_resource_size of this DefaultTenantProfileConfiguration. + + + :param max_resource_size: The max_resource_size of this DefaultTenantProfileConfiguration. # noqa: E501 + :type: int + """ + + self._max_resource_size = max_resource_size + @property def max_resources_in_bytes(self): """Gets the max_resources_in_bytes of this DefaultTenantProfileConfiguration. # noqa: E501 @@ -654,6 +695,27 @@ def max_sms(self, max_sms): self._max_sms = max_sms + @property + def max_tbel_executions(self): + """Gets the max_tbel_executions of this DefaultTenantProfileConfiguration. # noqa: E501 + + + :return: The max_tbel_executions of this DefaultTenantProfileConfiguration. # noqa: E501 + :rtype: int + """ + return self._max_tbel_executions + + @max_tbel_executions.setter + def max_tbel_executions(self, max_tbel_executions): + """Sets the max_tbel_executions of this DefaultTenantProfileConfiguration. + + + :param max_tbel_executions: The max_tbel_executions of this DefaultTenantProfileConfiguration. # noqa: E501 + :type: int + """ + + self._max_tbel_executions = max_tbel_executions + @property def max_transport_data_points(self): """Gets the max_transport_data_points of this DefaultTenantProfileConfiguration. # noqa: E501 @@ -885,6 +947,27 @@ def max_ws_subscriptions_per_tenant(self, max_ws_subscriptions_per_tenant): self._max_ws_subscriptions_per_tenant = max_ws_subscriptions_per_tenant + @property + def queue_stats_ttl_days(self): + """Gets the queue_stats_ttl_days of this DefaultTenantProfileConfiguration. # noqa: E501 + + + :return: The queue_stats_ttl_days of this DefaultTenantProfileConfiguration. # noqa: E501 + :rtype: int + """ + return self._queue_stats_ttl_days + + @queue_stats_ttl_days.setter + def queue_stats_ttl_days(self, queue_stats_ttl_days): + """Sets the queue_stats_ttl_days of this DefaultTenantProfileConfiguration. + + + :param queue_stats_ttl_days: The queue_stats_ttl_days of this DefaultTenantProfileConfiguration. # noqa: E501 + :type: int + """ + + self._queue_stats_ttl_days = queue_stats_ttl_days + @property def rpc_ttl_days(self): """Gets the rpc_ttl_days of this DefaultTenantProfileConfiguration. # noqa: E501 @@ -906,6 +989,27 @@ def rpc_ttl_days(self, rpc_ttl_days): self._rpc_ttl_days = rpc_ttl_days + @property + def rule_engine_exceptions_ttl_days(self): + """Gets the rule_engine_exceptions_ttl_days of this DefaultTenantProfileConfiguration. # noqa: E501 + + + :return: The rule_engine_exceptions_ttl_days of this DefaultTenantProfileConfiguration. # noqa: E501 + :rtype: int + """ + return self._rule_engine_exceptions_ttl_days + + @rule_engine_exceptions_ttl_days.setter + def rule_engine_exceptions_ttl_days(self, rule_engine_exceptions_ttl_days): + """Sets the rule_engine_exceptions_ttl_days of this DefaultTenantProfileConfiguration. + + + :param rule_engine_exceptions_ttl_days: The rule_engine_exceptions_ttl_days of this DefaultTenantProfileConfiguration. # noqa: E501 + :type: int + """ + + self._rule_engine_exceptions_ttl_days = rule_engine_exceptions_ttl_days + @property def sms_enabled(self): """Gets the sms_enabled of this DefaultTenantProfileConfiguration. # noqa: E501 diff --git a/tb_rest_client/models/models_ce/deferred_result_entity_data_diff.py b/tb_rest_client/models/models_ce/deferred_result_entity_data_diff.py index e3fc0f91..f2049be6 100644 --- a/tb_rest_client/models/models_ce/deferred_result_entity_data_diff.py +++ b/tb_rest_client/models/models_ce/deferred_result_entity_data_diff.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/deferred_result_entity_data_info.py b/tb_rest_client/models/models_ce/deferred_result_entity_data_info.py index 2cb05854..95270eb3 100644 --- a/tb_rest_client/models/models_ce/deferred_result_entity_data_info.py +++ b/tb_rest_client/models/models_ce/deferred_result_entity_data_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/deferred_result_list_branch_info.py b/tb_rest_client/models/models_ce/deferred_result_list_branch_info.py index bd11dd6c..e46e0f19 100644 --- a/tb_rest_client/models/models_ce/deferred_result_list_branch_info.py +++ b/tb_rest_client/models/models_ce/deferred_result_list_branch_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/deferred_result_list_versioned_entity_info.py b/tb_rest_client/models/models_ce/deferred_result_list_versioned_entity_info.py index 1d66d443..f9fac6f4 100644 --- a/tb_rest_client/models/models_ce/deferred_result_list_versioned_entity_info.py +++ b/tb_rest_client/models/models_ce/deferred_result_list_versioned_entity_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/deferred_result_page_data_entity_version.py b/tb_rest_client/models/models_ce/deferred_result_page_data_entity_version.py index 6b2a560d..fdf5c9cd 100644 --- a/tb_rest_client/models/models_ce/deferred_result_page_data_entity_version.py +++ b/tb_rest_client/models/models_ce/deferred_result_page_data_entity_version.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/deferred_result_repository_settings.py b/tb_rest_client/models/models_ce/deferred_result_repository_settings.py index 31657d37..eb0abab9 100644 --- a/tb_rest_client/models/models_ce/deferred_result_repository_settings.py +++ b/tb_rest_client/models/models_ce/deferred_result_repository_settings.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/deferred_result_response_entity.py b/tb_rest_client/models/models_ce/deferred_result_response_entity.py index af797240..50ef0fc4 100644 --- a/tb_rest_client/models/models_ce/deferred_result_response_entity.py +++ b/tb_rest_client/models/models_ce/deferred_result_response_entity.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/deferred_result_void.py b/tb_rest_client/models/models_ce/deferred_result_void.py index 99693237..a4e02974 100644 --- a/tb_rest_client/models/models_ce/deferred_result_void.py +++ b/tb_rest_client/models/models_ce/deferred_result_void.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/deferred_resultuuid.py b/tb_rest_client/models/models_ce/deferred_resultuuid.py index 1713db4f..715d9276 100644 --- a/tb_rest_client/models/models_ce/deferred_resultuuid.py +++ b/tb_rest_client/models/models_ce/deferred_resultuuid.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/delivery_method_notification_template.py b/tb_rest_client/models/models_ce/delivery_method_notification_template.py index 897afad4..53d6337b 100644 --- a/tb_rest_client/models/models_ce/delivery_method_notification_template.py +++ b/tb_rest_client/models/models_ce/delivery_method_notification_template.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device.py b/tb_rest_client/models/models_ce/device.py index 684726f7..d00937aa 100644 --- a/tb_rest_client/models/models_ce/device.py +++ b/tb_rest_client/models/models_ce/device.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -95,8 +95,10 @@ def __init__(self, id=None, created_time=None, tenant_id=None, customer_id=None, if customer_id is not None: self.customer_id = customer_id self.name = name - self.type = type - self.label = label + if type is not None: + self.type = type + if label is not None: + self.label = label self.device_profile_id = device_profile_id if device_data is not None: self.device_data = device_data diff --git a/tb_rest_client/models/models_ce/device_activity_notification_rule_trigger_config.py b/tb_rest_client/models/models_ce/device_activity_notification_rule_trigger_config.py index 4772b679..fe3abe85 100644 --- a/tb_rest_client/models/models_ce/device_activity_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_ce/device_activity_notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device_configuration.py b/tb_rest_client/models/models_ce/device_configuration.py index 49fb8ce0..04f37f16 100644 --- a/tb_rest_client/models/models_ce/device_configuration.py +++ b/tb_rest_client/models/models_ce/device_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device_credentials.py b/tb_rest_client/models/models_ce/device_credentials.py index b3b09bee..c8850a02 100644 --- a/tb_rest_client/models/models_ce/device_credentials.py +++ b/tb_rest_client/models/models_ce/device_credentials.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device_credentials_id.py b/tb_rest_client/models/models_ce/device_credentials_id.py index 45c77453..3ff5402d 100644 --- a/tb_rest_client/models/models_ce/device_credentials_id.py +++ b/tb_rest_client/models/models_ce/device_credentials_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device_data.py b/tb_rest_client/models/models_ce/device_data.py index 2f0d415d..566e7709 100644 --- a/tb_rest_client/models/models_ce/device_data.py +++ b/tb_rest_client/models/models_ce/device_data.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device_export_data.py b/tb_rest_client/models/models_ce/device_export_data.py index e9c85b6f..2044d1f9 100644 --- a/tb_rest_client/models/models_ce/device_export_data.py +++ b/tb_rest_client/models/models_ce/device_export_data.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device_id.py b/tb_rest_client/models/models_ce/device_id.py index 136b95b9..f3686421 100644 --- a/tb_rest_client/models/models_ce/device_id.py +++ b/tb_rest_client/models/models_ce/device_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device_info.py b/tb_rest_client/models/models_ce/device_info.py index a6bc9eb9..e71bfff5 100644 --- a/tb_rest_client/models/models_ce/device_info.py +++ b/tb_rest_client/models/models_ce/device_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device_profile.py b/tb_rest_client/models/models_ce/device_profile.py index a556ab59..30731070 100644 --- a/tb_rest_client/models/models_ce/device_profile.py +++ b/tb_rest_client/models/models_ce/device_profile.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device_profile_alarm.py b/tb_rest_client/models/models_ce/device_profile_alarm.py index a2a2e265..34141ac5 100644 --- a/tb_rest_client/models/models_ce/device_profile_alarm.py +++ b/tb_rest_client/models/models_ce/device_profile_alarm.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device_profile_configuration.py b/tb_rest_client/models/models_ce/device_profile_configuration.py index de99d642..12e0b9d8 100644 --- a/tb_rest_client/models/models_ce/device_profile_configuration.py +++ b/tb_rest_client/models/models_ce/device_profile_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device_profile_data.py b/tb_rest_client/models/models_ce/device_profile_data.py index 95627ebe..b2e14bdc 100644 --- a/tb_rest_client/models/models_ce/device_profile_data.py +++ b/tb_rest_client/models/models_ce/device_profile_data.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device_profile_id.py b/tb_rest_client/models/models_ce/device_profile_id.py index 2434ccbc..6c749352 100644 --- a/tb_rest_client/models/models_ce/device_profile_id.py +++ b/tb_rest_client/models/models_ce/device_profile_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device_profile_info.py b/tb_rest_client/models/models_ce/device_profile_info.py index 7f7a152b..8f6a7aa4 100644 --- a/tb_rest_client/models/models_ce/device_profile_info.py +++ b/tb_rest_client/models/models_ce/device_profile_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device_profile_provision_configuration.py b/tb_rest_client/models/models_ce/device_profile_provision_configuration.py index f0393e65..cd4eb258 100644 --- a/tb_rest_client/models/models_ce/device_profile_provision_configuration.py +++ b/tb_rest_client/models/models_ce/device_profile_provision_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device_profile_transport_configuration.py b/tb_rest_client/models/models_ce/device_profile_transport_configuration.py index 7f18b234..248f1a3d 100644 --- a/tb_rest_client/models/models_ce/device_profile_transport_configuration.py +++ b/tb_rest_client/models/models_ce/device_profile_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device_search_query.py b/tb_rest_client/models/models_ce/device_search_query.py index e09c17e8..71b4d7bc 100644 --- a/tb_rest_client/models/models_ce/device_search_query.py +++ b/tb_rest_client/models/models_ce/device_search_query.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device_search_query_filter.py b/tb_rest_client/models/models_ce/device_search_query_filter.py index 7238b598..9575fb1b 100644 --- a/tb_rest_client/models/models_ce/device_search_query_filter.py +++ b/tb_rest_client/models/models_ce/device_search_query_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device_transport_configuration.py b/tb_rest_client/models/models_ce/device_transport_configuration.py index 1d6e7c5d..f8f8fed8 100644 --- a/tb_rest_client/models/models_ce/device_transport_configuration.py +++ b/tb_rest_client/models/models_ce/device_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/device_type_filter.py b/tb_rest_client/models/models_ce/device_type_filter.py index 62339d62..f6e664e7 100644 --- a/tb_rest_client/models/models_ce/device_type_filter.py +++ b/tb_rest_client/models/models_ce/device_type_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/disabled_device_profile_provision_configuration.py b/tb_rest_client/models/models_ce/disabled_device_profile_provision_configuration.py index bd38d699..d34e3da3 100644 --- a/tb_rest_client/models/models_ce/disabled_device_profile_provision_configuration.py +++ b/tb_rest_client/models/models_ce/disabled_device_profile_provision_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/duration_alarm_condition_spec.py b/tb_rest_client/models/models_ce/duration_alarm_condition_spec.py index 512a343c..6b378c02 100644 --- a/tb_rest_client/models/models_ce/duration_alarm_condition_spec.py +++ b/tb_rest_client/models/models_ce/duration_alarm_condition_spec.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/dynamic_valueboolean.py b/tb_rest_client/models/models_ce/dynamic_valueboolean.py index f0f72b88..394abc28 100644 --- a/tb_rest_client/models/models_ce/dynamic_valueboolean.py +++ b/tb_rest_client/models/models_ce/dynamic_valueboolean.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/dynamic_valuedouble.py b/tb_rest_client/models/models_ce/dynamic_valuedouble.py index 14978533..c9c508b9 100644 --- a/tb_rest_client/models/models_ce/dynamic_valuedouble.py +++ b/tb_rest_client/models/models_ce/dynamic_valuedouble.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/dynamic_valueint.py b/tb_rest_client/models/models_ce/dynamic_valueint.py index 6bbd0125..d757e3b4 100644 --- a/tb_rest_client/models/models_ce/dynamic_valueint.py +++ b/tb_rest_client/models/models_ce/dynamic_valueint.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/dynamic_valuelong.py b/tb_rest_client/models/models_ce/dynamic_valuelong.py index 618e16a7..80ce2b2e 100644 --- a/tb_rest_client/models/models_ce/dynamic_valuelong.py +++ b/tb_rest_client/models/models_ce/dynamic_valuelong.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/dynamic_valuestring.py b/tb_rest_client/models/models_ce/dynamic_valuestring.py index ff7b3c0b..e4c294d2 100644 --- a/tb_rest_client/models/models_ce/dynamic_valuestring.py +++ b/tb_rest_client/models/models_ce/dynamic_valuestring.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/edge.py b/tb_rest_client/models/models_ce/edge.py index 41eb2f09..31b7eeb9 100644 --- a/tb_rest_client/models/models_ce/edge.py +++ b/tb_rest_client/models/models_ce/edge.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/edge_event.py b/tb_rest_client/models/models_ce/edge_event.py index e7f2fcc6..d5ba3cd2 100644 --- a/tb_rest_client/models/models_ce/edge_event.py +++ b/tb_rest_client/models/models_ce/edge_event.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -293,7 +293,7 @@ def type(self, type): :param type: The type of this EdgeEvent. # noqa: E501 :type: str """ - allowed_values = ["ADMIN_SETTINGS", "ALARM", "ASSET", "ASSET_PROFILE", "CUSTOMER", "DASHBOARD", "DEVICE", "DEVICE_PROFILE", "EDGE", "ENTITY_VIEW", "OTA_PACKAGE", "QUEUE", "RELATION", "RULE_CHAIN", "RULE_CHAIN_METADATA", "TENANT", "TENANT_PROFILE", "USER", "WIDGETS_BUNDLE", "WIDGET_TYPE"] # noqa: E501 + allowed_values = ["ADMIN_SETTINGS", "ALARM", "ASSET", "ASSET_PROFILE", "CUSTOMER", "DASHBOARD", "DEVICE", "DEVICE_PROFILE", "EDGE", "ENTITY_VIEW", "OTA_PACKAGE", "QUEUE", "RELATION", "RULE_CHAIN", "RULE_CHAIN_METADATA", "TB_RESOURCE", "TENANT", "TENANT_PROFILE", "USER", "WIDGETS_BUNDLE", "WIDGET_TYPE"] # noqa: E501 if type not in allowed_values: raise ValueError( "Invalid value for `type` ({0}), must be one of {1}" # noqa: E501 diff --git a/tb_rest_client/models/models_ce/edge_event_id.py b/tb_rest_client/models/models_ce/edge_event_id.py index 88c621c4..41fec46c 100644 --- a/tb_rest_client/models/models_ce/edge_event_id.py +++ b/tb_rest_client/models/models_ce/edge_event_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/edge_id.py b/tb_rest_client/models/models_ce/edge_id.py index 9e7a7fd4..1d80ac8a 100644 --- a/tb_rest_client/models/models_ce/edge_id.py +++ b/tb_rest_client/models/models_ce/edge_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/edge_info.py b/tb_rest_client/models/models_ce/edge_info.py index d099638a..a97e4fe8 100644 --- a/tb_rest_client/models/models_ce/edge_info.py +++ b/tb_rest_client/models/models_ce/edge_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/edge_install_instructions.py b/tb_rest_client/models/models_ce/edge_install_instructions.py index e7b6d3ae..09ce2069 100644 --- a/tb_rest_client/models/models_ce/edge_install_instructions.py +++ b/tb_rest_client/models/models_ce/edge_install_instructions.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/edge_instructions.py b/tb_rest_client/models/models_ce/edge_instructions.py new file mode 100644 index 00000000..773a5900 --- /dev/null +++ b/tb_rest_client/models/models_ce/edge_instructions.py @@ -0,0 +1,126 @@ +# coding: utf-8 + +""" + ThingsBoard REST API + + ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 + + OpenAPI spec version: 3.6.2 + Contact: info@thingsboard.io + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +# Copyright 2024. ThingsBoard +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import pprint +import re # noqa: F401 + +import six + +class EdgeInstructions(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'instructions': 'str' + } + + attribute_map = { + 'instructions': 'instructions' + } + + def __init__(self, instructions=None): # noqa: E501 + """EdgeInstructions - a model defined in Swagger""" # noqa: E501 + self._instructions = None + self.discriminator = None + if instructions is not None: + self.instructions = instructions + + @property + def instructions(self): + """Gets the instructions of this EdgeInstructions. # noqa: E501 + + Markdown with install/upgrade instructions # noqa: E501 + + :return: The instructions of this EdgeInstructions. # noqa: E501 + :rtype: str + """ + return self._instructions + + @instructions.setter + def instructions(self, instructions): + """Sets the instructions of this EdgeInstructions. + + Markdown with install/upgrade instructions # noqa: E501 + + :param instructions: The instructions of this EdgeInstructions. # noqa: E501 + :type: str + """ + + self._instructions = instructions + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(EdgeInstructions, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EdgeInstructions): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/tb_rest_client/models/models_ce/edge_search_query.py b/tb_rest_client/models/models_ce/edge_search_query.py index 60e7456b..7dbf572e 100644 --- a/tb_rest_client/models/models_ce/edge_search_query.py +++ b/tb_rest_client/models/models_ce/edge_search_query.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/edge_search_query_filter.py b/tb_rest_client/models/models_ce/edge_search_query_filter.py index efad4a63..1faddfb9 100644 --- a/tb_rest_client/models/models_ce/edge_search_query_filter.py +++ b/tb_rest_client/models/models_ce/edge_search_query_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/edge_type_filter.py b/tb_rest_client/models/models_ce/edge_type_filter.py index 311cbd63..ea90fc27 100644 --- a/tb_rest_client/models/models_ce/edge_type_filter.py +++ b/tb_rest_client/models/models_ce/edge_type_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/efento_coap_device_type_configuration.py b/tb_rest_client/models/models_ce/efento_coap_device_type_configuration.py index ad151735..097523e0 100644 --- a/tb_rest_client/models/models_ce/efento_coap_device_type_configuration.py +++ b/tb_rest_client/models/models_ce/efento_coap_device_type_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/email_delivery_method_notification_template.py b/tb_rest_client/models/models_ce/email_delivery_method_notification_template.py index af7ab135..964a7ab4 100644 --- a/tb_rest_client/models/models_ce/email_delivery_method_notification_template.py +++ b/tb_rest_client/models/models_ce/email_delivery_method_notification_template.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/email_two_fa_account_config.py b/tb_rest_client/models/models_ce/email_two_fa_account_config.py index 6a75ec0d..ba32ef7b 100644 --- a/tb_rest_client/models/models_ce/email_two_fa_account_config.py +++ b/tb_rest_client/models/models_ce/email_two_fa_account_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/email_two_fa_provider_config.py b/tb_rest_client/models/models_ce/email_two_fa_provider_config.py index 8aa2067e..e1cbf9a2 100644 --- a/tb_rest_client/models/models_ce/email_two_fa_provider_config.py +++ b/tb_rest_client/models/models_ce/email_two_fa_provider_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entities_limit_notification_rule_trigger_config.py b/tb_rest_client/models/models_ce/entities_limit_notification_rule_trigger_config.py index b4edc511..7621cba9 100644 --- a/tb_rest_client/models/models_ce/entities_limit_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_ce/entities_limit_notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_action_notification_rule_trigger_config.py b/tb_rest_client/models/models_ce/entity_action_notification_rule_trigger_config.py index 2ae4ceba..8e6d5a1c 100644 --- a/tb_rest_client/models/models_ce/entity_action_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_ce/entity_action_notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_count_query.py b/tb_rest_client/models/models_ce/entity_count_query.py index 700272f9..5b45207b 100644 --- a/tb_rest_client/models/models_ce/entity_count_query.py +++ b/tb_rest_client/models/models_ce/entity_count_query.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_data.py b/tb_rest_client/models/models_ce/entity_data.py index a1be5efb..f5f8fa9b 100644 --- a/tb_rest_client/models/models_ce/entity_data.py +++ b/tb_rest_client/models/models_ce/entity_data.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_data_diff.py b/tb_rest_client/models/models_ce/entity_data_diff.py index a35c86c2..8ff28759 100644 --- a/tb_rest_client/models/models_ce/entity_data_diff.py +++ b/tb_rest_client/models/models_ce/entity_data_diff.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_data_info.py b/tb_rest_client/models/models_ce/entity_data_info.py index 1d293849..ede5eeb8 100644 --- a/tb_rest_client/models/models_ce/entity_data_info.py +++ b/tb_rest_client/models/models_ce/entity_data_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_data_page_link.py b/tb_rest_client/models/models_ce/entity_data_page_link.py index 5438e7b4..a2133ce3 100644 --- a/tb_rest_client/models/models_ce/entity_data_page_link.py +++ b/tb_rest_client/models/models_ce/entity_data_page_link.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_data_query.py b/tb_rest_client/models/models_ce/entity_data_query.py index 209c362f..63d7c6c8 100644 --- a/tb_rest_client/models/models_ce/entity_data_query.py +++ b/tb_rest_client/models/models_ce/entity_data_query.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_data_sort_order.py b/tb_rest_client/models/models_ce/entity_data_sort_order.py index 85e756a4..902178d2 100644 --- a/tb_rest_client/models/models_ce/entity_data_sort_order.py +++ b/tb_rest_client/models/models_ce/entity_data_sort_order.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_export_dataobject.py b/tb_rest_client/models/models_ce/entity_export_dataobject.py index 0d59749a..6dfd1ebd 100644 --- a/tb_rest_client/models/models_ce/entity_export_dataobject.py +++ b/tb_rest_client/models/models_ce/entity_export_dataobject.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_filter.py b/tb_rest_client/models/models_ce/entity_filter.py index a1b57a65..143f61ca 100644 --- a/tb_rest_client/models/models_ce/entity_filter.py +++ b/tb_rest_client/models/models_ce/entity_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_id.py b/tb_rest_client/models/models_ce/entity_id.py index 0ceccd11..bb7c4ad1 100644 --- a/tb_rest_client/models/models_ce/entity_id.py +++ b/tb_rest_client/models/models_ce/entity_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_info.py b/tb_rest_client/models/models_ce/entity_info.py index 433d799e..3c8fd4fe 100644 --- a/tb_rest_client/models/models_ce/entity_info.py +++ b/tb_rest_client/models/models_ce/entity_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_key.py b/tb_rest_client/models/models_ce/entity_key.py index c63f8665..9ba854f8 100644 --- a/tb_rest_client/models/models_ce/entity_key.py +++ b/tb_rest_client/models/models_ce/entity_key.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_list_filter.py b/tb_rest_client/models/models_ce/entity_list_filter.py index b5492150..dbf4f1e7 100644 --- a/tb_rest_client/models/models_ce/entity_list_filter.py +++ b/tb_rest_client/models/models_ce/entity_list_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_load_error.py b/tb_rest_client/models/models_ce/entity_load_error.py index 481e0cdc..3d3d772f 100644 --- a/tb_rest_client/models/models_ce/entity_load_error.py +++ b/tb_rest_client/models/models_ce/entity_load_error.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_name_filter.py b/tb_rest_client/models/models_ce/entity_name_filter.py index 7a9522b7..d7093f2e 100644 --- a/tb_rest_client/models/models_ce/entity_name_filter.py +++ b/tb_rest_client/models/models_ce/entity_name_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_relation.py b/tb_rest_client/models/models_ce/entity_relation.py index b803871e..0dc773b6 100644 --- a/tb_rest_client/models/models_ce/entity_relation.py +++ b/tb_rest_client/models/models_ce/entity_relation.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_relation_info.py b/tb_rest_client/models/models_ce/entity_relation_info.py index 197f1f8b..1b64f549 100644 --- a/tb_rest_client/models/models_ce/entity_relation_info.py +++ b/tb_rest_client/models/models_ce/entity_relation_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_relations_query.py b/tb_rest_client/models/models_ce/entity_relations_query.py index 3aa7e695..7d442d7e 100644 --- a/tb_rest_client/models/models_ce/entity_relations_query.py +++ b/tb_rest_client/models/models_ce/entity_relations_query.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_subtype.py b/tb_rest_client/models/models_ce/entity_subtype.py index b68eaf82..4310234a 100644 --- a/tb_rest_client/models/models_ce/entity_subtype.py +++ b/tb_rest_client/models/models_ce/entity_subtype.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_type_filter.py b/tb_rest_client/models/models_ce/entity_type_filter.py index 1f64420c..35947788 100644 --- a/tb_rest_client/models/models_ce/entity_type_filter.py +++ b/tb_rest_client/models/models_ce/entity_type_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_type_load_result.py b/tb_rest_client/models/models_ce/entity_type_load_result.py index d42b9b0d..4415bba3 100644 --- a/tb_rest_client/models/models_ce/entity_type_load_result.py +++ b/tb_rest_client/models/models_ce/entity_type_load_result.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_type_version_create_config.py b/tb_rest_client/models/models_ce/entity_type_version_create_config.py index 0593119b..dea9b224 100644 --- a/tb_rest_client/models/models_ce/entity_type_version_create_config.py +++ b/tb_rest_client/models/models_ce/entity_type_version_create_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_type_version_load_config.py b/tb_rest_client/models/models_ce/entity_type_version_load_config.py index 68f3b092..36ce3d80 100644 --- a/tb_rest_client/models/models_ce/entity_type_version_load_config.py +++ b/tb_rest_client/models/models_ce/entity_type_version_load_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_type_version_load_request.py b/tb_rest_client/models/models_ce/entity_type_version_load_request.py index 0a929115..9b750709 100644 --- a/tb_rest_client/models/models_ce/entity_type_version_load_request.py +++ b/tb_rest_client/models/models_ce/entity_type_version_load_request.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_version.py b/tb_rest_client/models/models_ce/entity_version.py index d6b34234..4391b707 100644 --- a/tb_rest_client/models/models_ce/entity_version.py +++ b/tb_rest_client/models/models_ce/entity_version.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_view.py b/tb_rest_client/models/models_ce/entity_view.py index 6c19e40d..dc9c7c50 100644 --- a/tb_rest_client/models/models_ce/entity_view.py +++ b/tb_rest_client/models/models_ce/entity_view.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_view_id.py b/tb_rest_client/models/models_ce/entity_view_id.py index 0123d847..93f3657d 100644 --- a/tb_rest_client/models/models_ce/entity_view_id.py +++ b/tb_rest_client/models/models_ce/entity_view_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_view_info.py b/tb_rest_client/models/models_ce/entity_view_info.py index 64788dbe..f5c10a0a 100644 --- a/tb_rest_client/models/models_ce/entity_view_info.py +++ b/tb_rest_client/models/models_ce/entity_view_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_view_search_query.py b/tb_rest_client/models/models_ce/entity_view_search_query.py index d2855bb8..55a36639 100644 --- a/tb_rest_client/models/models_ce/entity_view_search_query.py +++ b/tb_rest_client/models/models_ce/entity_view_search_query.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_view_search_query_filter.py b/tb_rest_client/models/models_ce/entity_view_search_query_filter.py index 9fa88351..44a6d3ef 100644 --- a/tb_rest_client/models/models_ce/entity_view_search_query_filter.py +++ b/tb_rest_client/models/models_ce/entity_view_search_query_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/entity_view_type_filter.py b/tb_rest_client/models/models_ce/entity_view_type_filter.py index d22659ce..67cbdd3c 100644 --- a/tb_rest_client/models/models_ce/entity_view_type_filter.py +++ b/tb_rest_client/models/models_ce/entity_view_type_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/error_event_filter.py b/tb_rest_client/models/models_ce/error_event_filter.py index 52fd3275..983ac2e5 100644 --- a/tb_rest_client/models/models_ce/error_event_filter.py +++ b/tb_rest_client/models/models_ce/error_event_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/escalated_notification_rule_recipients_config.py b/tb_rest_client/models/models_ce/escalated_notification_rule_recipients_config.py index c30757e4..ba9086ca 100644 --- a/tb_rest_client/models/models_ce/escalated_notification_rule_recipients_config.py +++ b/tb_rest_client/models/models_ce/escalated_notification_rule_recipients_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/event.py b/tb_rest_client/models/models_ce/event.py index 1fa46134..f1a154d1 100644 --- a/tb_rest_client/models/models_ce/event.py +++ b/tb_rest_client/models/models_ce/event.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/event_filter.py b/tb_rest_client/models/models_ce/event_filter.py index 69850687..a3e0ed14 100644 --- a/tb_rest_client/models/models_ce/event_filter.py +++ b/tb_rest_client/models/models_ce/event_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/event_id.py b/tb_rest_client/models/models_ce/event_id.py index 286606a4..ae785bfa 100644 --- a/tb_rest_client/models/models_ce/event_id.py +++ b/tb_rest_client/models/models_ce/event_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/event_info.py b/tb_rest_client/models/models_ce/event_info.py index 6edc7b57..34e50b79 100644 --- a/tb_rest_client/models/models_ce/event_info.py +++ b/tb_rest_client/models/models_ce/event_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/features_info.py b/tb_rest_client/models/models_ce/features_info.py index 720398f1..f1c8982b 100644 --- a/tb_rest_client/models/models_ce/features_info.py +++ b/tb_rest_client/models/models_ce/features_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/file.py b/tb_rest_client/models/models_ce/file.py index c659662e..1ea19500 100644 --- a/tb_rest_client/models/models_ce/file.py +++ b/tb_rest_client/models/models_ce/file.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/filter_predicate_valueboolean.py b/tb_rest_client/models/models_ce/filter_predicate_valueboolean.py index a3b41942..69bdbb2d 100644 --- a/tb_rest_client/models/models_ce/filter_predicate_valueboolean.py +++ b/tb_rest_client/models/models_ce/filter_predicate_valueboolean.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/filter_predicate_valuedouble.py b/tb_rest_client/models/models_ce/filter_predicate_valuedouble.py index 30f98db2..12dcba57 100644 --- a/tb_rest_client/models/models_ce/filter_predicate_valuedouble.py +++ b/tb_rest_client/models/models_ce/filter_predicate_valuedouble.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/filter_predicate_valueint.py b/tb_rest_client/models/models_ce/filter_predicate_valueint.py index 354a0ea3..2784e6f7 100644 --- a/tb_rest_client/models/models_ce/filter_predicate_valueint.py +++ b/tb_rest_client/models/models_ce/filter_predicate_valueint.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/filter_predicate_valuelong.py b/tb_rest_client/models/models_ce/filter_predicate_valuelong.py index 3db0673e..5a7518cf 100644 --- a/tb_rest_client/models/models_ce/filter_predicate_valuelong.py +++ b/tb_rest_client/models/models_ce/filter_predicate_valuelong.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/filter_predicate_valuestring.py b/tb_rest_client/models/models_ce/filter_predicate_valuestring.py index 8db051ad..669b9765 100644 --- a/tb_rest_client/models/models_ce/filter_predicate_valuestring.py +++ b/tb_rest_client/models/models_ce/filter_predicate_valuestring.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/has_idobject.py b/tb_rest_client/models/models_ce/has_idobject.py new file mode 100644 index 00000000..58d6a966 --- /dev/null +++ b/tb_rest_client/models/models_ce/has_idobject.py @@ -0,0 +1,124 @@ +# coding: utf-8 + +""" + ThingsBoard REST API + + ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 + + OpenAPI spec version: 3.6.2 + Contact: info@thingsboard.io + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +# Copyright 2024. ThingsBoard +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import pprint +import re # noqa: F401 + +import six + +class HasIdobject(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'object' + } + + attribute_map = { + 'id': 'id' + } + + def __init__(self, id=None): # noqa: E501 + """HasIdobject - a model defined in Swagger""" # noqa: E501 + self._id = None + self.discriminator = None + if id is not None: + self.id = id + + @property + def id(self): + """Gets the id of this HasIdobject. # noqa: E501 + + + :return: The id of this HasIdobject. # noqa: E501 + :rtype: object + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this HasIdobject. + + + :param id: The id of this HasIdobject. # noqa: E501 + :type: object + """ + + self._id = id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(HasIdobject, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, HasIdobject): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/tb_rest_client/models/models_ce/home_dashboard.py b/tb_rest_client/models/models_ce/home_dashboard.py index c53661e8..494ab7b0 100644 --- a/tb_rest_client/models/models_ce/home_dashboard.py +++ b/tb_rest_client/models/models_ce/home_dashboard.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/home_dashboard_info.py b/tb_rest_client/models/models_ce/home_dashboard_info.py index 78052ea0..bf7e9709 100644 --- a/tb_rest_client/models/models_ce/home_dashboard_info.py +++ b/tb_rest_client/models/models_ce/home_dashboard_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/image_export_data.py b/tb_rest_client/models/models_ce/image_export_data.py new file mode 100644 index 00000000..8f9e8f4f --- /dev/null +++ b/tb_rest_client/models/models_ce/image_export_data.py @@ -0,0 +1,280 @@ +# coding: utf-8 + +""" + ThingsBoard REST API + + ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 + + OpenAPI spec version: 3.6.2 + Contact: info@thingsboard.io + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +# Copyright 2024. ThingsBoard +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import pprint +import re # noqa: F401 + +import six + +class ImageExportData(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'data': 'str', + 'file_name': 'str', + 'media_type': 'str', + 'public': 'bool', + 'public_resource_key': 'str', + 'resource_key': 'str', + 'title': 'str' + } + + attribute_map = { + 'data': 'data', + 'file_name': 'fileName', + 'media_type': 'mediaType', + 'public': 'public', + 'public_resource_key': 'publicResourceKey', + 'resource_key': 'resourceKey', + 'title': 'title' + } + + def __init__(self, data=None, file_name=None, media_type=None, public=None, public_resource_key=None, resource_key=None, title=None): # noqa: E501 + """ImageExportData - a model defined in Swagger""" # noqa: E501 + self._data = None + self._file_name = None + self._media_type = None + self._public = None + self._public_resource_key = None + self._resource_key = None + self._title = None + self.discriminator = None + if data is not None: + self.data = data + if file_name is not None: + self.file_name = file_name + if media_type is not None: + self.media_type = media_type + if public is not None: + self.public = public + if public_resource_key is not None: + self.public_resource_key = public_resource_key + if resource_key is not None: + self.resource_key = resource_key + if title is not None: + self.title = title + + @property + def data(self): + """Gets the data of this ImageExportData. # noqa: E501 + + + :return: The data of this ImageExportData. # noqa: E501 + :rtype: str + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this ImageExportData. + + + :param data: The data of this ImageExportData. # noqa: E501 + :type: str + """ + + self._data = data + + @property + def file_name(self): + """Gets the file_name of this ImageExportData. # noqa: E501 + + + :return: The file_name of this ImageExportData. # noqa: E501 + :rtype: str + """ + return self._file_name + + @file_name.setter + def file_name(self, file_name): + """Sets the file_name of this ImageExportData. + + + :param file_name: The file_name of this ImageExportData. # noqa: E501 + :type: str + """ + + self._file_name = file_name + + @property + def media_type(self): + """Gets the media_type of this ImageExportData. # noqa: E501 + + + :return: The media_type of this ImageExportData. # noqa: E501 + :rtype: str + """ + return self._media_type + + @media_type.setter + def media_type(self, media_type): + """Sets the media_type of this ImageExportData. + + + :param media_type: The media_type of this ImageExportData. # noqa: E501 + :type: str + """ + + self._media_type = media_type + + @property + def public(self): + """Gets the public of this ImageExportData. # noqa: E501 + + + :return: The public of this ImageExportData. # noqa: E501 + :rtype: bool + """ + return self._public + + @public.setter + def public(self, public): + """Sets the public of this ImageExportData. + + + :param public: The public of this ImageExportData. # noqa: E501 + :type: bool + """ + + self._public = public + + @property + def public_resource_key(self): + """Gets the public_resource_key of this ImageExportData. # noqa: E501 + + + :return: The public_resource_key of this ImageExportData. # noqa: E501 + :rtype: str + """ + return self._public_resource_key + + @public_resource_key.setter + def public_resource_key(self, public_resource_key): + """Sets the public_resource_key of this ImageExportData. + + + :param public_resource_key: The public_resource_key of this ImageExportData. # noqa: E501 + :type: str + """ + + self._public_resource_key = public_resource_key + + @property + def resource_key(self): + """Gets the resource_key of this ImageExportData. # noqa: E501 + + + :return: The resource_key of this ImageExportData. # noqa: E501 + :rtype: str + """ + return self._resource_key + + @resource_key.setter + def resource_key(self, resource_key): + """Sets the resource_key of this ImageExportData. + + + :param resource_key: The resource_key of this ImageExportData. # noqa: E501 + :type: str + """ + + self._resource_key = resource_key + + @property + def title(self): + """Gets the title of this ImageExportData. # noqa: E501 + + + :return: The title of this ImageExportData. # noqa: E501 + :rtype: str + """ + return self._title + + @title.setter + def title(self, title): + """Sets the title of this ImageExportData. + + + :param title: The title of this ImageExportData. # noqa: E501 + :type: str + """ + + self._title = title + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ImageExportData, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ImageExportData): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/tb_rest_client/models/models_ce/input_stream.py b/tb_rest_client/models/models_ce/input_stream.py index 9b855d1d..d81c9568 100644 --- a/tb_rest_client/models/models_ce/input_stream.py +++ b/tb_rest_client/models/models_ce/input_stream.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/json_node.py b/tb_rest_client/models/models_ce/json_node.py index f1602bca..64dd5326 100644 --- a/tb_rest_client/models/models_ce/json_node.py +++ b/tb_rest_client/models/models_ce/json_node.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/json_transport_payload_configuration.py b/tb_rest_client/models/models_ce/json_transport_payload_configuration.py index 664718a8..40735526 100644 --- a/tb_rest_client/models/models_ce/json_transport_payload_configuration.py +++ b/tb_rest_client/models/models_ce/json_transport_payload_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/jwt_pair.py b/tb_rest_client/models/models_ce/jwt_pair.py index f0e7ac82..de2d15fd 100644 --- a/tb_rest_client/models/models_ce/jwt_pair.py +++ b/tb_rest_client/models/models_ce/jwt_pair.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/jwt_settings.py b/tb_rest_client/models/models_ce/jwt_settings.py index fa763f81..505b28bf 100644 --- a/tb_rest_client/models/models_ce/jwt_settings.py +++ b/tb_rest_client/models/models_ce/jwt_settings.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/key_filter.py b/tb_rest_client/models/models_ce/key_filter.py index b552a5a2..533e6ef3 100644 --- a/tb_rest_client/models/models_ce/key_filter.py +++ b/tb_rest_client/models/models_ce/key_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/key_filter_predicate.py b/tb_rest_client/models/models_ce/key_filter_predicate.py index 1adf88a5..44bb733d 100644 --- a/tb_rest_client/models/models_ce/key_filter_predicate.py +++ b/tb_rest_client/models/models_ce/key_filter_predicate.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/last_visited_dashboard_info.py b/tb_rest_client/models/models_ce/last_visited_dashboard_info.py index 998df83f..326e6f2f 100644 --- a/tb_rest_client/models/models_ce/last_visited_dashboard_info.py +++ b/tb_rest_client/models/models_ce/last_visited_dashboard_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/life_cycle_event_filter.py b/tb_rest_client/models/models_ce/life_cycle_event_filter.py index 7bd7014d..c03930cc 100644 --- a/tb_rest_client/models/models_ce/life_cycle_event_filter.py +++ b/tb_rest_client/models/models_ce/life_cycle_event_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/login_request.py b/tb_rest_client/models/models_ce/login_request.py index cad940ee..d3acdf2f 100644 --- a/tb_rest_client/models/models_ce/login_request.py +++ b/tb_rest_client/models/models_ce/login_request.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/login_response.py b/tb_rest_client/models/models_ce/login_response.py index 945de223..0e9ec547 100644 --- a/tb_rest_client/models/models_ce/login_response.py +++ b/tb_rest_client/models/models_ce/login_response.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/lw_m2_m_bootstrap_server_credential.py b/tb_rest_client/models/models_ce/lw_m2_m_bootstrap_server_credential.py index a20680fb..10d4ba5f 100644 --- a/tb_rest_client/models/models_ce/lw_m2_m_bootstrap_server_credential.py +++ b/tb_rest_client/models/models_ce/lw_m2_m_bootstrap_server_credential.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/lw_m2_m_server_security_config_default.py b/tb_rest_client/models/models_ce/lw_m2_m_server_security_config_default.py index f206a9cc..5b08ec89 100644 --- a/tb_rest_client/models/models_ce/lw_m2_m_server_security_config_default.py +++ b/tb_rest_client/models/models_ce/lw_m2_m_server_security_config_default.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/lw_m2m_instance.py b/tb_rest_client/models/models_ce/lw_m2m_instance.py index 722f32fe..e54ae3ab 100644 --- a/tb_rest_client/models/models_ce/lw_m2m_instance.py +++ b/tb_rest_client/models/models_ce/lw_m2m_instance.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/lw_m2m_object.py b/tb_rest_client/models/models_ce/lw_m2m_object.py index a2075915..e36dc9a2 100644 --- a/tb_rest_client/models/models_ce/lw_m2m_object.py +++ b/tb_rest_client/models/models_ce/lw_m2m_object.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/lw_m2m_resource_observe.py b/tb_rest_client/models/models_ce/lw_m2m_resource_observe.py index 35500d48..ec0667b5 100644 --- a/tb_rest_client/models/models_ce/lw_m2m_resource_observe.py +++ b/tb_rest_client/models/models_ce/lw_m2m_resource_observe.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/lwm2m_device_profile_transport_configuration.py b/tb_rest_client/models/models_ce/lwm2m_device_profile_transport_configuration.py index 67b99e23..915b8347 100644 --- a/tb_rest_client/models/models_ce/lwm2m_device_profile_transport_configuration.py +++ b/tb_rest_client/models/models_ce/lwm2m_device_profile_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/lwm2m_device_transport_configuration.py b/tb_rest_client/models/models_ce/lwm2m_device_transport_configuration.py index bb6178db..f9855bfb 100644 --- a/tb_rest_client/models/models_ce/lwm2m_device_transport_configuration.py +++ b/tb_rest_client/models/models_ce/lwm2m_device_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/mapping.py b/tb_rest_client/models/models_ce/mapping.py index 3305284a..f11dd7f6 100644 --- a/tb_rest_client/models/models_ce/mapping.py +++ b/tb_rest_client/models/models_ce/mapping.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/microsoft_teams_delivery_method_notification_template.py b/tb_rest_client/models/models_ce/microsoft_teams_delivery_method_notification_template.py index 82ca4c0b..17a09605 100644 --- a/tb_rest_client/models/models_ce/microsoft_teams_delivery_method_notification_template.py +++ b/tb_rest_client/models/models_ce/microsoft_teams_delivery_method_notification_template.py @@ -5,11 +5,25 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ +# Copyright 2024. ThingsBoard +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import pprint import re # noqa: F401 diff --git a/tb_rest_client/models/models_ce/microsoft_teams_notification_target_config.py b/tb_rest_client/models/models_ce/microsoft_teams_notification_target_config.py index 0a4a3cc4..a26928d1 100644 --- a/tb_rest_client/models/models_ce/microsoft_teams_notification_target_config.py +++ b/tb_rest_client/models/models_ce/microsoft_teams_notification_target_config.py @@ -5,11 +5,25 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ +# Copyright 2024. ThingsBoard +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import pprint import re # noqa: F401 diff --git a/tb_rest_client/models/models_ce/mqtt_device_profile_transport_configuration.py b/tb_rest_client/models/models_ce/mqtt_device_profile_transport_configuration.py index b66a8c6f..802c43c6 100644 --- a/tb_rest_client/models/models_ce/mqtt_device_profile_transport_configuration.py +++ b/tb_rest_client/models/models_ce/mqtt_device_profile_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/mqtt_device_transport_configuration.py b/tb_rest_client/models/models_ce/mqtt_device_transport_configuration.py index 855fa5f8..45d0173a 100644 --- a/tb_rest_client/models/models_ce/mqtt_device_transport_configuration.py +++ b/tb_rest_client/models/models_ce/mqtt_device_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/new_platform_version_notification_rule_trigger_config.py b/tb_rest_client/models/models_ce/new_platform_version_notification_rule_trigger_config.py index efd598a3..8515749b 100644 --- a/tb_rest_client/models/models_ce/new_platform_version_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_ce/new_platform_version_notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/no_sec_lw_m2_m_bootstrap_server_credential.py b/tb_rest_client/models/models_ce/no_sec_lw_m2_m_bootstrap_server_credential.py index b18fb172..5b546d90 100644 --- a/tb_rest_client/models/models_ce/no_sec_lw_m2_m_bootstrap_server_credential.py +++ b/tb_rest_client/models/models_ce/no_sec_lw_m2_m_bootstrap_server_credential.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/node_connection_info.py b/tb_rest_client/models/models_ce/node_connection_info.py index f831bdbf..01808b7a 100644 --- a/tb_rest_client/models/models_ce/node_connection_info.py +++ b/tb_rest_client/models/models_ce/node_connection_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification.py b/tb_rest_client/models/models_ce/notification.py index a4a06045..6730d754 100644 --- a/tb_rest_client/models/models_ce/notification.py +++ b/tb_rest_client/models/models_ce/notification.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_delivery_method_config.py b/tb_rest_client/models/models_ce/notification_delivery_method_config.py index 2bcabec8..4490bf0a 100644 --- a/tb_rest_client/models/models_ce/notification_delivery_method_config.py +++ b/tb_rest_client/models/models_ce/notification_delivery_method_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_id.py b/tb_rest_client/models/models_ce/notification_id.py index f167e358..521fe3f6 100644 --- a/tb_rest_client/models/models_ce/notification_id.py +++ b/tb_rest_client/models/models_ce/notification_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_info.py b/tb_rest_client/models/models_ce/notification_info.py index a4c05438..def05682 100644 --- a/tb_rest_client/models/models_ce/notification_info.py +++ b/tb_rest_client/models/models_ce/notification_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_pref.py b/tb_rest_client/models/models_ce/notification_pref.py index d4b89bee..d39ffecb 100644 --- a/tb_rest_client/models/models_ce/notification_pref.py +++ b/tb_rest_client/models/models_ce/notification_pref.py @@ -5,11 +5,25 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ +# Copyright 2024. ThingsBoard +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import pprint import re # noqa: F401 diff --git a/tb_rest_client/models/models_ce/notification_request.py b/tb_rest_client/models/models_ce/notification_request.py index ab8a00fc..c5b7ba43 100644 --- a/tb_rest_client/models/models_ce/notification_request.py +++ b/tb_rest_client/models/models_ce/notification_request.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_request_config.py b/tb_rest_client/models/models_ce/notification_request_config.py index 67fe0df2..1514fed1 100644 --- a/tb_rest_client/models/models_ce/notification_request_config.py +++ b/tb_rest_client/models/models_ce/notification_request_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_request_id.py b/tb_rest_client/models/models_ce/notification_request_id.py index 3783a601..ec8233ed 100644 --- a/tb_rest_client/models/models_ce/notification_request_id.py +++ b/tb_rest_client/models/models_ce/notification_request_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_request_info.py b/tb_rest_client/models/models_ce/notification_request_info.py index 648aa082..a61b4346 100644 --- a/tb_rest_client/models/models_ce/notification_request_info.py +++ b/tb_rest_client/models/models_ce/notification_request_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_request_preview.py b/tb_rest_client/models/models_ce/notification_request_preview.py index e359e29d..e2216e32 100644 --- a/tb_rest_client/models/models_ce/notification_request_preview.py +++ b/tb_rest_client/models/models_ce/notification_request_preview.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_request_stats.py b/tb_rest_client/models/models_ce/notification_request_stats.py index b932663d..75cee96c 100644 --- a/tb_rest_client/models/models_ce/notification_request_stats.py +++ b/tb_rest_client/models/models_ce/notification_request_stats.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_rule.py b/tb_rest_client/models/models_ce/notification_rule.py index 5edf627b..f1d75dc3 100644 --- a/tb_rest_client/models/models_ce/notification_rule.py +++ b/tb_rest_client/models/models_ce/notification_rule.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -45,6 +45,7 @@ class NotificationRule(object): 'additional_config': 'NotificationRuleConfig', 'created_time': 'int', 'id': 'NotificationRuleId', + 'enabled': 'bool', 'name': 'str', 'recipients_config': 'NotificationRuleRecipientsConfig', 'template_id': 'NotificationTemplateId', @@ -57,6 +58,7 @@ class NotificationRule(object): 'additional_config': 'additionalConfig', 'created_time': 'createdTime', 'id': 'id', + 'enabled': 'enabled', 'name': 'name', 'recipients_config': 'recipientsConfig', 'template_id': 'templateId', @@ -65,11 +67,12 @@ class NotificationRule(object): 'trigger_type': 'triggerType' } - def __init__(self, additional_config=None, created_time=None, id=None, name=None, recipients_config=None, template_id=None, tenant_id=None, trigger_config=None, trigger_type=None): # noqa: E501 + def __init__(self, id=None, additional_config=None, created_time=None, enabled=None, name=None, recipients_config=None, template_id=None, tenant_id=None, trigger_config=None, trigger_type=None): # noqa: E501 """NotificationRule - a model defined in Swagger""" # noqa: E501 self._additional_config = None self._created_time = None self._id = None + self._enabled = None self._name = None self._recipients_config = None self._template_id = None @@ -83,6 +86,8 @@ def __init__(self, additional_config=None, created_time=None, id=None, name=None self.created_time = created_time if id is not None: self.id = id + if enabled is not None: + self.enabled = enabled self.name = name self.recipients_config = recipients_config self.template_id = template_id @@ -135,24 +140,37 @@ def created_time(self, created_time): @property def id(self): - """Gets the id of this NotificationRule. # noqa: E501 - - - :return: The id of this NotificationRule. # noqa: E501 - :rtype: NotificationRuleId + """Gets the enabled of this NotificationRule. # noqa: E501 """ return self._id @id.setter def id(self, id): - """Sets the id of this NotificationRule. + """Sets the enabled of this NotificationRule. + """ + + self._id = id + + @property + def enabled(self): + """Gets the enabled of this NotificationRule. # noqa: E501 - :param id: The id of this NotificationRule. # noqa: E501 - :type: NotificationRuleId + :return: The enabled of this NotificationRule. # noqa: E501 + :rtype: bool """ + return self._enabled - self._id = id + @enabled.setter + def enabled(self, enabled): + """Sets the enabled of this NotificationRule. + + + :param enabled: The enabled of this NotificationRule. # noqa: E501 + :type: bool + """ + + self._enabled = enabled @property def name(self): @@ -287,7 +305,7 @@ def trigger_type(self, trigger_type): """ if trigger_type is None: raise ValueError("Invalid value for `trigger_type`, must not be `None`") # noqa: E501 - allowed_values = ["ALARM", "ALARM_ASSIGNMENT", "ALARM_COMMENT", "API_USAGE_LIMIT", "DEVICE_ACTIVITY", "ENTITIES_LIMIT", "ENTITY_ACTION", "NEW_PLATFORM_VERSION", "RULE_ENGINE_COMPONENT_LIFECYCLE_EVENT"] # noqa: E501 + allowed_values = ["ALARM", "ALARM_ASSIGNMENT", "ALARM_COMMENT", "API_USAGE_LIMIT", "DEVICE_ACTIVITY", "ENTITIES_LIMIT", "ENTITY_ACTION", "NEW_PLATFORM_VERSION", "RATE_LIMITS", "RULE_ENGINE_COMPONENT_LIFECYCLE_EVENT"] # noqa: E501 if trigger_type not in allowed_values: raise ValueError( "Invalid value for `trigger_type` ({0}), must be one of {1}" # noqa: E501 diff --git a/tb_rest_client/models/models_ce/notification_rule_config.py b/tb_rest_client/models/models_ce/notification_rule_config.py index fb0a9697..03e4c6a8 100644 --- a/tb_rest_client/models/models_ce/notification_rule_config.py +++ b/tb_rest_client/models/models_ce/notification_rule_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_rule_id.py b/tb_rest_client/models/models_ce/notification_rule_id.py index 92f5ff5b..66fb0798 100644 --- a/tb_rest_client/models/models_ce/notification_rule_id.py +++ b/tb_rest_client/models/models_ce/notification_rule_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_rule_info.py b/tb_rest_client/models/models_ce/notification_rule_info.py index 7f7d797c..58ca8095 100644 --- a/tb_rest_client/models/models_ce/notification_rule_info.py +++ b/tb_rest_client/models/models_ce/notification_rule_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -46,6 +46,7 @@ class NotificationRuleInfo(object): 'created_time': 'int', 'delivery_methods': 'list[str]', 'id': 'NotificationRuleId', + 'enabled': 'bool', 'name': 'str', 'recipients_config': 'NotificationRuleRecipientsConfig', 'template_id': 'NotificationTemplateId', @@ -60,6 +61,7 @@ class NotificationRuleInfo(object): 'created_time': 'createdTime', 'delivery_methods': 'deliveryMethods', 'id': 'id', + 'enabled': 'enabled', 'name': 'name', 'recipients_config': 'recipientsConfig', 'template_id': 'templateId', @@ -69,12 +71,13 @@ class NotificationRuleInfo(object): 'trigger_type': 'triggerType' } - def __init__(self, additional_config=None, created_time=None, delivery_methods=None, id=None, name=None, recipients_config=None, template_id=None, template_name=None, tenant_id=None, trigger_config=None, trigger_type=None): # noqa: E501 + def __init__(self, additional_config=None, created_time=None, delivery_methods=None, id=None, enabled=None, name=None, recipients_config=None, template_id=None, template_name=None, tenant_id=None, trigger_config=None, trigger_type=None): # noqa: E501 """NotificationRuleInfo - a model defined in Swagger""" # noqa: E501 self._additional_config = None self._created_time = None self._delivery_methods = None self._id = None + self._enabled = None self._name = None self._recipients_config = None self._template_id = None @@ -91,6 +94,8 @@ def __init__(self, additional_config=None, created_time=None, delivery_methods=N self.delivery_methods = delivery_methods if id is not None: self.id = id + if enabled is not None: + self.enabled = enabled self.name = name self.recipients_config = recipients_config self.template_id = template_id @@ -172,24 +177,32 @@ def delivery_methods(self, delivery_methods): self._delivery_methods = delivery_methods @property - def id(self): - """Gets the id of this NotificationRuleInfo. # noqa: E501 + def enabled(self): + """Gets the enabled of this NotificationRuleInfo. # noqa: E501 - :return: The id of this NotificationRuleInfo. # noqa: E501 - :rtype: NotificationRuleId + :return: The enabled of this NotificationRuleInfo. # noqa: E501 + :rtype: bool """ - return self._id + return self._enabled - @id.setter - def id(self, id): - """Sets the id of this NotificationRuleInfo. + @enabled.setter + def enabled(self, enabled): + """Sets the enabled of this NotificationRuleInfo. - :param id: The id of this NotificationRuleInfo. # noqa: E501 - :type: NotificationRuleId + :param enabled: The enabled of this NotificationRuleInfo. # noqa: E501 + :type: bool """ + self._enabled = enabled + + @property + def id(self): + return self._id + + @id.setter + def id(self, id): self._id = id @property @@ -346,7 +359,7 @@ def trigger_type(self, trigger_type): """ if trigger_type is None: raise ValueError("Invalid value for `trigger_type`, must not be `None`") # noqa: E501 - allowed_values = ["ALARM", "ALARM_ASSIGNMENT", "ALARM_COMMENT", "API_USAGE_LIMIT", "DEVICE_ACTIVITY", "ENTITIES_LIMIT", "ENTITY_ACTION", "NEW_PLATFORM_VERSION", "RULE_ENGINE_COMPONENT_LIFECYCLE_EVENT"] # noqa: E501 + allowed_values = ["ALARM", "ALARM_ASSIGNMENT", "ALARM_COMMENT", "API_USAGE_LIMIT", "DEVICE_ACTIVITY", "ENTITIES_LIMIT", "ENTITY_ACTION", "NEW_PLATFORM_VERSION", "RATE_LIMITS", "RULE_ENGINE_COMPONENT_LIFECYCLE_EVENT"] # noqa: E501 if trigger_type not in allowed_values: raise ValueError( "Invalid value for `trigger_type` ({0}), must be one of {1}" # noqa: E501 diff --git a/tb_rest_client/models/models_ce/notification_rule_recipients_config.py b/tb_rest_client/models/models_ce/notification_rule_recipients_config.py index 8efeeb86..bee2b058 100644 --- a/tb_rest_client/models/models_ce/notification_rule_recipients_config.py +++ b/tb_rest_client/models/models_ce/notification_rule_recipients_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_rule_trigger_config.py b/tb_rest_client/models/models_ce/notification_rule_trigger_config.py index 0d6d0773..e2e29965 100644 --- a/tb_rest_client/models/models_ce/notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_ce/notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_settings.py b/tb_rest_client/models/models_ce/notification_settings.py index 40ee180b..bf83306e 100644 --- a/tb_rest_client/models/models_ce/notification_settings.py +++ b/tb_rest_client/models/models_ce/notification_settings.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_target.py b/tb_rest_client/models/models_ce/notification_target.py index 8fdca503..c86b76da 100644 --- a/tb_rest_client/models/models_ce/notification_target.py +++ b/tb_rest_client/models/models_ce/notification_target.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_target_config.py b/tb_rest_client/models/models_ce/notification_target_config.py index 590f961a..5d95f69a 100644 --- a/tb_rest_client/models/models_ce/notification_target_config.py +++ b/tb_rest_client/models/models_ce/notification_target_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_target_id.py b/tb_rest_client/models/models_ce/notification_target_id.py index 805f8a86..32920560 100644 --- a/tb_rest_client/models/models_ce/notification_target_id.py +++ b/tb_rest_client/models/models_ce/notification_target_id.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_template.py b/tb_rest_client/models/models_ce/notification_template.py index 7fc59082..8bad8d66 100644 --- a/tb_rest_client/models/models_ce/notification_template.py +++ b/tb_rest_client/models/models_ce/notification_template.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_template_config.py b/tb_rest_client/models/models_ce/notification_template_config.py index 6fff0032..d1504cbb 100644 --- a/tb_rest_client/models/models_ce/notification_template_config.py +++ b/tb_rest_client/models/models_ce/notification_template_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/notification_template_id.py b/tb_rest_client/models/models_ce/notification_template_id.py index 9f50f356..df7f18b9 100644 --- a/tb_rest_client/models/models_ce/notification_template_id.py +++ b/tb_rest_client/models/models_ce/notification_template_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/numeric_filter_predicate.py b/tb_rest_client/models/models_ce/numeric_filter_predicate.py index 287aa316..191775fe 100644 --- a/tb_rest_client/models/models_ce/numeric_filter_predicate.py +++ b/tb_rest_client/models/models_ce/numeric_filter_predicate.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/o_auth2_basic_mapper_config.py b/tb_rest_client/models/models_ce/o_auth2_basic_mapper_config.py index 0c685e0c..403c0175 100644 --- a/tb_rest_client/models/models_ce/o_auth2_basic_mapper_config.py +++ b/tb_rest_client/models/models_ce/o_auth2_basic_mapper_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/o_auth2_client_info.py b/tb_rest_client/models/models_ce/o_auth2_client_info.py index 217bb333..bb751205 100644 --- a/tb_rest_client/models/models_ce/o_auth2_client_info.py +++ b/tb_rest_client/models/models_ce/o_auth2_client_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/o_auth2_client_registration_template.py b/tb_rest_client/models/models_ce/o_auth2_client_registration_template.py index f0ea21e5..2937b84a 100644 --- a/tb_rest_client/models/models_ce/o_auth2_client_registration_template.py +++ b/tb_rest_client/models/models_ce/o_auth2_client_registration_template.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/o_auth2_client_registration_template_id.py b/tb_rest_client/models/models_ce/o_auth2_client_registration_template_id.py index 04af1bb2..cdcee5c3 100644 --- a/tb_rest_client/models/models_ce/o_auth2_client_registration_template_id.py +++ b/tb_rest_client/models/models_ce/o_auth2_client_registration_template_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/o_auth2_custom_mapper_config.py b/tb_rest_client/models/models_ce/o_auth2_custom_mapper_config.py index 11675e01..ee3e1c51 100644 --- a/tb_rest_client/models/models_ce/o_auth2_custom_mapper_config.py +++ b/tb_rest_client/models/models_ce/o_auth2_custom_mapper_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/o_auth2_domain_info.py b/tb_rest_client/models/models_ce/o_auth2_domain_info.py index b0595a4b..f2f965ff 100644 --- a/tb_rest_client/models/models_ce/o_auth2_domain_info.py +++ b/tb_rest_client/models/models_ce/o_auth2_domain_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/o_auth2_info.py b/tb_rest_client/models/models_ce/o_auth2_info.py index 3a9806f9..fc1e4692 100644 --- a/tb_rest_client/models/models_ce/o_auth2_info.py +++ b/tb_rest_client/models/models_ce/o_auth2_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/o_auth2_mapper_config.py b/tb_rest_client/models/models_ce/o_auth2_mapper_config.py index aa646507..4d619812 100644 --- a/tb_rest_client/models/models_ce/o_auth2_mapper_config.py +++ b/tb_rest_client/models/models_ce/o_auth2_mapper_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/o_auth2_mobile_info.py b/tb_rest_client/models/models_ce/o_auth2_mobile_info.py index da3aff08..f05a64a2 100644 --- a/tb_rest_client/models/models_ce/o_auth2_mobile_info.py +++ b/tb_rest_client/models/models_ce/o_auth2_mobile_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/o_auth2_params_info.py b/tb_rest_client/models/models_ce/o_auth2_params_info.py index c7bcab05..27210765 100644 --- a/tb_rest_client/models/models_ce/o_auth2_params_info.py +++ b/tb_rest_client/models/models_ce/o_auth2_params_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/o_auth2_registration_info.py b/tb_rest_client/models/models_ce/o_auth2_registration_info.py index 35f40554..f1b5f12f 100644 --- a/tb_rest_client/models/models_ce/o_auth2_registration_info.py +++ b/tb_rest_client/models/models_ce/o_auth2_registration_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/object_attributes.py b/tb_rest_client/models/models_ce/object_attributes.py index d9790369..988ffd95 100644 --- a/tb_rest_client/models/models_ce/object_attributes.py +++ b/tb_rest_client/models/models_ce/object_attributes.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/object_node.py b/tb_rest_client/models/models_ce/object_node.py index 9936d8f5..5ac1ec3c 100644 --- a/tb_rest_client/models/models_ce/object_node.py +++ b/tb_rest_client/models/models_ce/object_node.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/originator_entity_owner_users_filter.py b/tb_rest_client/models/models_ce/originator_entity_owner_users_filter.py index 59d4204b..a9000f55 100644 --- a/tb_rest_client/models/models_ce/originator_entity_owner_users_filter.py +++ b/tb_rest_client/models/models_ce/originator_entity_owner_users_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/ota_package.py b/tb_rest_client/models/models_ce/ota_package.py index 49971ce6..484837ce 100644 --- a/tb_rest_client/models/models_ce/ota_package.py +++ b/tb_rest_client/models/models_ce/ota_package.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/ota_package_id.py b/tb_rest_client/models/models_ce/ota_package_id.py index e3b89bda..5c8b0ad4 100644 --- a/tb_rest_client/models/models_ce/ota_package_id.py +++ b/tb_rest_client/models/models_ce/ota_package_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/ota_package_info.py b/tb_rest_client/models/models_ce/ota_package_info.py index dc98ea4e..432d9840 100644 --- a/tb_rest_client/models/models_ce/ota_package_info.py +++ b/tb_rest_client/models/models_ce/ota_package_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/ota_package_ota_package_id_body.py b/tb_rest_client/models/models_ce/ota_package_ota_package_id_body.py index b7819640..9b903784 100644 --- a/tb_rest_client/models/models_ce/ota_package_ota_package_id_body.py +++ b/tb_rest_client/models/models_ce/ota_package_ota_package_id_body.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/ota_package_ota_package_idchecksumchecksum_algorithm_body.py b/tb_rest_client/models/models_ce/ota_package_ota_package_idchecksumchecksum_algorithm_body.py index 099b33da..6e7c66ea 100644 --- a/tb_rest_client/models/models_ce/ota_package_ota_package_idchecksumchecksum_algorithm_body.py +++ b/tb_rest_client/models/models_ce/ota_package_ota_package_idchecksumchecksum_algorithm_body.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/other_configuration.py b/tb_rest_client/models/models_ce/other_configuration.py index 1536aa0c..e07e614a 100644 --- a/tb_rest_client/models/models_ce/other_configuration.py +++ b/tb_rest_client/models/models_ce/other_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_alarm_comment_info.py b/tb_rest_client/models/models_ce/page_data_alarm_comment_info.py index 17b06124..3ed8ecb1 100644 --- a/tb_rest_client/models/models_ce/page_data_alarm_comment_info.py +++ b/tb_rest_client/models/models_ce/page_data_alarm_comment_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_alarm_data.py b/tb_rest_client/models/models_ce/page_data_alarm_data.py index 4eb9c923..2492424f 100644 --- a/tb_rest_client/models/models_ce/page_data_alarm_data.py +++ b/tb_rest_client/models/models_ce/page_data_alarm_data.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_alarm_info.py b/tb_rest_client/models/models_ce/page_data_alarm_info.py index ab2451b8..502b8629 100644 --- a/tb_rest_client/models/models_ce/page_data_alarm_info.py +++ b/tb_rest_client/models/models_ce/page_data_alarm_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_asset.py b/tb_rest_client/models/models_ce/page_data_asset.py index a61add0d..d60c3588 100644 --- a/tb_rest_client/models/models_ce/page_data_asset.py +++ b/tb_rest_client/models/models_ce/page_data_asset.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_asset_info.py b/tb_rest_client/models/models_ce/page_data_asset_info.py index eb034b49..c1c470fc 100644 --- a/tb_rest_client/models/models_ce/page_data_asset_info.py +++ b/tb_rest_client/models/models_ce/page_data_asset_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_asset_profile.py b/tb_rest_client/models/models_ce/page_data_asset_profile.py index 2e0e6652..6d2b2a59 100644 --- a/tb_rest_client/models/models_ce/page_data_asset_profile.py +++ b/tb_rest_client/models/models_ce/page_data_asset_profile.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_asset_profile_info.py b/tb_rest_client/models/models_ce/page_data_asset_profile_info.py index 3636ccf7..eb6d5ab9 100644 --- a/tb_rest_client/models/models_ce/page_data_asset_profile_info.py +++ b/tb_rest_client/models/models_ce/page_data_asset_profile_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_audit_log.py b/tb_rest_client/models/models_ce/page_data_audit_log.py index c4346652..0f8391f3 100644 --- a/tb_rest_client/models/models_ce/page_data_audit_log.py +++ b/tb_rest_client/models/models_ce/page_data_audit_log.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_customer.py b/tb_rest_client/models/models_ce/page_data_customer.py index 7c5df6da..6531c90d 100644 --- a/tb_rest_client/models/models_ce/page_data_customer.py +++ b/tb_rest_client/models/models_ce/page_data_customer.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_dashboard_info.py b/tb_rest_client/models/models_ce/page_data_dashboard_info.py index ff95d417..eb5becca 100644 --- a/tb_rest_client/models/models_ce/page_data_dashboard_info.py +++ b/tb_rest_client/models/models_ce/page_data_dashboard_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_device.py b/tb_rest_client/models/models_ce/page_data_device.py index 821a7f41..331c5d86 100644 --- a/tb_rest_client/models/models_ce/page_data_device.py +++ b/tb_rest_client/models/models_ce/page_data_device.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_device_info.py b/tb_rest_client/models/models_ce/page_data_device_info.py index 8deeb620..c2203436 100644 --- a/tb_rest_client/models/models_ce/page_data_device_info.py +++ b/tb_rest_client/models/models_ce/page_data_device_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_device_profile.py b/tb_rest_client/models/models_ce/page_data_device_profile.py index 7283fe08..22a357bf 100644 --- a/tb_rest_client/models/models_ce/page_data_device_profile.py +++ b/tb_rest_client/models/models_ce/page_data_device_profile.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_device_profile_info.py b/tb_rest_client/models/models_ce/page_data_device_profile_info.py index 0438075d..8a61cdcb 100644 --- a/tb_rest_client/models/models_ce/page_data_device_profile_info.py +++ b/tb_rest_client/models/models_ce/page_data_device_profile_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_edge.py b/tb_rest_client/models/models_ce/page_data_edge.py index 7a344dc4..566e857f 100644 --- a/tb_rest_client/models/models_ce/page_data_edge.py +++ b/tb_rest_client/models/models_ce/page_data_edge.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_edge_event.py b/tb_rest_client/models/models_ce/page_data_edge_event.py index a884def6..b6fc205c 100644 --- a/tb_rest_client/models/models_ce/page_data_edge_event.py +++ b/tb_rest_client/models/models_ce/page_data_edge_event.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_edge_info.py b/tb_rest_client/models/models_ce/page_data_edge_info.py index 8bb837b2..7c787023 100644 --- a/tb_rest_client/models/models_ce/page_data_edge_info.py +++ b/tb_rest_client/models/models_ce/page_data_edge_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_entity_data.py b/tb_rest_client/models/models_ce/page_data_entity_data.py index 72920f32..9cc9464b 100644 --- a/tb_rest_client/models/models_ce/page_data_entity_data.py +++ b/tb_rest_client/models/models_ce/page_data_entity_data.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_entity_info.py b/tb_rest_client/models/models_ce/page_data_entity_info.py index a0f2a518..f7a71b38 100644 --- a/tb_rest_client/models/models_ce/page_data_entity_info.py +++ b/tb_rest_client/models/models_ce/page_data_entity_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_entity_subtype.py b/tb_rest_client/models/models_ce/page_data_entity_subtype.py index 84adb7f6..f6e38ce2 100644 --- a/tb_rest_client/models/models_ce/page_data_entity_subtype.py +++ b/tb_rest_client/models/models_ce/page_data_entity_subtype.py @@ -5,11 +5,25 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ +# Copyright 2024. ThingsBoard +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import pprint import re # noqa: F401 diff --git a/tb_rest_client/models/models_ce/page_data_entity_version.py b/tb_rest_client/models/models_ce/page_data_entity_version.py index bfb7274b..057ce62b 100644 --- a/tb_rest_client/models/models_ce/page_data_entity_version.py +++ b/tb_rest_client/models/models_ce/page_data_entity_version.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_entity_view.py b/tb_rest_client/models/models_ce/page_data_entity_view.py index 7f62d5a1..7cf4e831 100644 --- a/tb_rest_client/models/models_ce/page_data_entity_view.py +++ b/tb_rest_client/models/models_ce/page_data_entity_view.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_entity_view_info.py b/tb_rest_client/models/models_ce/page_data_entity_view_info.py index d31b07d0..c5006384 100644 --- a/tb_rest_client/models/models_ce/page_data_entity_view_info.py +++ b/tb_rest_client/models/models_ce/page_data_entity_view_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_event.py b/tb_rest_client/models/models_ce/page_data_event.py index af664d50..dcea9b58 100644 --- a/tb_rest_client/models/models_ce/page_data_event.py +++ b/tb_rest_client/models/models_ce/page_data_event.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_event_info.py b/tb_rest_client/models/models_ce/page_data_event_info.py index c24517e0..31d8f849 100644 --- a/tb_rest_client/models/models_ce/page_data_event_info.py +++ b/tb_rest_client/models/models_ce/page_data_event_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_notification.py b/tb_rest_client/models/models_ce/page_data_notification.py index 58e3c266..75014f51 100644 --- a/tb_rest_client/models/models_ce/page_data_notification.py +++ b/tb_rest_client/models/models_ce/page_data_notification.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_notification_request_info.py b/tb_rest_client/models/models_ce/page_data_notification_request_info.py index bc4d7b9f..02704f8d 100644 --- a/tb_rest_client/models/models_ce/page_data_notification_request_info.py +++ b/tb_rest_client/models/models_ce/page_data_notification_request_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_notification_rule_info.py b/tb_rest_client/models/models_ce/page_data_notification_rule_info.py index 5cc4ca75..3437468a 100644 --- a/tb_rest_client/models/models_ce/page_data_notification_rule_info.py +++ b/tb_rest_client/models/models_ce/page_data_notification_rule_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_notification_target.py b/tb_rest_client/models/models_ce/page_data_notification_target.py index c7e6116d..a4672893 100644 --- a/tb_rest_client/models/models_ce/page_data_notification_target.py +++ b/tb_rest_client/models/models_ce/page_data_notification_target.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_notification_template.py b/tb_rest_client/models/models_ce/page_data_notification_template.py index b7a703f7..c57ed7f6 100644 --- a/tb_rest_client/models/models_ce/page_data_notification_template.py +++ b/tb_rest_client/models/models_ce/page_data_notification_template.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_ota_package_info.py b/tb_rest_client/models/models_ce/page_data_ota_package_info.py index 00fe5761..e968bc62 100644 --- a/tb_rest_client/models/models_ce/page_data_ota_package_info.py +++ b/tb_rest_client/models/models_ce/page_data_ota_package_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_queue.py b/tb_rest_client/models/models_ce/page_data_queue.py index 2f9650c9..27e7b1bc 100644 --- a/tb_rest_client/models/models_ce/page_data_queue.py +++ b/tb_rest_client/models/models_ce/page_data_queue.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_rpc.py b/tb_rest_client/models/models_ce/page_data_rpc.py index b8fd6977..4fa68cb2 100644 --- a/tb_rest_client/models/models_ce/page_data_rpc.py +++ b/tb_rest_client/models/models_ce/page_data_rpc.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_rule_chain.py b/tb_rest_client/models/models_ce/page_data_rule_chain.py index d73ce15b..deebabcd 100644 --- a/tb_rest_client/models/models_ce/page_data_rule_chain.py +++ b/tb_rest_client/models/models_ce/page_data_rule_chain.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_tb_resource_info.py b/tb_rest_client/models/models_ce/page_data_tb_resource_info.py index 2365cc9a..e44a0181 100644 --- a/tb_rest_client/models/models_ce/page_data_tb_resource_info.py +++ b/tb_rest_client/models/models_ce/page_data_tb_resource_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_tenant.py b/tb_rest_client/models/models_ce/page_data_tenant.py index faf34742..643dbae6 100644 --- a/tb_rest_client/models/models_ce/page_data_tenant.py +++ b/tb_rest_client/models/models_ce/page_data_tenant.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_tenant_info.py b/tb_rest_client/models/models_ce/page_data_tenant_info.py index d8f0f31b..5f7c4ad3 100644 --- a/tb_rest_client/models/models_ce/page_data_tenant_info.py +++ b/tb_rest_client/models/models_ce/page_data_tenant_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_tenant_profile.py b/tb_rest_client/models/models_ce/page_data_tenant_profile.py index 072f933a..a9f75da0 100644 --- a/tb_rest_client/models/models_ce/page_data_tenant_profile.py +++ b/tb_rest_client/models/models_ce/page_data_tenant_profile.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_user.py b/tb_rest_client/models/models_ce/page_data_user.py index 879482b9..9649c80f 100644 --- a/tb_rest_client/models/models_ce/page_data_user.py +++ b/tb_rest_client/models/models_ce/page_data_user.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_user_email_info.py b/tb_rest_client/models/models_ce/page_data_user_email_info.py index e598b2df..5b7bfdf2 100644 --- a/tb_rest_client/models/models_ce/page_data_user_email_info.py +++ b/tb_rest_client/models/models_ce/page_data_user_email_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/page_data_widget_type_info.py b/tb_rest_client/models/models_ce/page_data_widget_type_info.py index 6043e4bd..30e367d0 100644 --- a/tb_rest_client/models/models_ce/page_data_widget_type_info.py +++ b/tb_rest_client/models/models_ce/page_data_widget_type_info.py @@ -5,11 +5,25 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ +# Copyright 2024. ThingsBoard +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import pprint import re # noqa: F401 diff --git a/tb_rest_client/models/models_ce/page_data_widgets_bundle.py b/tb_rest_client/models/models_ce/page_data_widgets_bundle.py index 646c2153..d734ca7c 100644 --- a/tb_rest_client/models/models_ce/page_data_widgets_bundle.py +++ b/tb_rest_client/models/models_ce/page_data_widgets_bundle.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/platform_two_fa_settings.py b/tb_rest_client/models/models_ce/platform_two_fa_settings.py index 32d80dec..d995d2f8 100644 --- a/tb_rest_client/models/models_ce/platform_two_fa_settings.py +++ b/tb_rest_client/models/models_ce/platform_two_fa_settings.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/platform_users_notification_target_config.py b/tb_rest_client/models/models_ce/platform_users_notification_target_config.py index 07e9dde8..15001570 100644 --- a/tb_rest_client/models/models_ce/platform_users_notification_target_config.py +++ b/tb_rest_client/models/models_ce/platform_users_notification_target_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/power_saving_configuration.py b/tb_rest_client/models/models_ce/power_saving_configuration.py index fe660504..fd6403e4 100644 --- a/tb_rest_client/models/models_ce/power_saving_configuration.py +++ b/tb_rest_client/models/models_ce/power_saving_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/processing_strategy.py b/tb_rest_client/models/models_ce/processing_strategy.py index 3eee019a..468a59cd 100644 --- a/tb_rest_client/models/models_ce/processing_strategy.py +++ b/tb_rest_client/models/models_ce/processing_strategy.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/proto_transport_payload_configuration.py b/tb_rest_client/models/models_ce/proto_transport_payload_configuration.py index 6dbb44e1..e4e0f01f 100644 --- a/tb_rest_client/models/models_ce/proto_transport_payload_configuration.py +++ b/tb_rest_client/models/models_ce/proto_transport_payload_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/psklw_m2_m_bootstrap_server_credential.py b/tb_rest_client/models/models_ce/psklw_m2_m_bootstrap_server_credential.py index a1025472..8b306b92 100644 --- a/tb_rest_client/models/models_ce/psklw_m2_m_bootstrap_server_credential.py +++ b/tb_rest_client/models/models_ce/psklw_m2_m_bootstrap_server_credential.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/queue.py b/tb_rest_client/models/models_ce/queue.py index c0e6c296..2f9bd562 100644 --- a/tb_rest_client/models/models_ce/queue.py +++ b/tb_rest_client/models/models_ce/queue.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/queue_id.py b/tb_rest_client/models/models_ce/queue_id.py index 2382620e..79ce85d2 100644 --- a/tb_rest_client/models/models_ce/queue_id.py +++ b/tb_rest_client/models/models_ce/queue_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/rate_limits_notification_rule_trigger_config.py b/tb_rest_client/models/models_ce/rate_limits_notification_rule_trigger_config.py index 10f3371a..e02113c9 100644 --- a/tb_rest_client/models/models_ce/rate_limits_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_ce/rate_limits_notification_rule_trigger_config.py @@ -5,11 +5,25 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ +# Copyright 2024. ThingsBoard +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import pprint import re # noqa: F401 diff --git a/tb_rest_client/models/models_ce/relation_entity_type_filter.py b/tb_rest_client/models/models_ce/relation_entity_type_filter.py index c80d4be5..d6e74912 100644 --- a/tb_rest_client/models/models_ce/relation_entity_type_filter.py +++ b/tb_rest_client/models/models_ce/relation_entity_type_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/relations_query_filter.py b/tb_rest_client/models/models_ce/relations_query_filter.py index 8b06479a..c1e8ab20 100644 --- a/tb_rest_client/models/models_ce/relations_query_filter.py +++ b/tb_rest_client/models/models_ce/relations_query_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/relations_search_parameters.py b/tb_rest_client/models/models_ce/relations_search_parameters.py index 5e0b8c52..e3b4c511 100644 --- a/tb_rest_client/models/models_ce/relations_search_parameters.py +++ b/tb_rest_client/models/models_ce/relations_search_parameters.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/repeating_alarm_condition_spec.py b/tb_rest_client/models/models_ce/repeating_alarm_condition_spec.py index 5e28dfda..d163a895 100644 --- a/tb_rest_client/models/models_ce/repeating_alarm_condition_spec.py +++ b/tb_rest_client/models/models_ce/repeating_alarm_condition_spec.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/repository_settings.py b/tb_rest_client/models/models_ce/repository_settings.py index a9ecf7fb..7f1ccd8c 100644 --- a/tb_rest_client/models/models_ce/repository_settings.py +++ b/tb_rest_client/models/models_ce/repository_settings.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/repository_settings_info.py b/tb_rest_client/models/models_ce/repository_settings_info.py index 263886fd..93670bde 100644 --- a/tb_rest_client/models/models_ce/repository_settings_info.py +++ b/tb_rest_client/models/models_ce/repository_settings_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/reset_password_email_request.py b/tb_rest_client/models/models_ce/reset_password_email_request.py index 384c259c..bdc0a6cd 100644 --- a/tb_rest_client/models/models_ce/reset_password_email_request.py +++ b/tb_rest_client/models/models_ce/reset_password_email_request.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/reset_password_request.py b/tb_rest_client/models/models_ce/reset_password_request.py index 677e74b5..1aaa1601 100644 --- a/tb_rest_client/models/models_ce/reset_password_request.py +++ b/tb_rest_client/models/models_ce/reset_password_request.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/resource.py b/tb_rest_client/models/models_ce/resource.py index 0ca5a710..76beecb1 100644 --- a/tb_rest_client/models/models_ce/resource.py +++ b/tb_rest_client/models/models_ce/resource.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/response_entity.py b/tb_rest_client/models/models_ce/response_entity.py index 51024d07..40ac97ea 100644 --- a/tb_rest_client/models/models_ce/response_entity.py +++ b/tb_rest_client/models/models_ce/response_entity.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/rpc.py b/tb_rest_client/models/models_ce/rpc.py index 2f14b8ee..2815f133 100644 --- a/tb_rest_client/models/models_ce/rpc.py +++ b/tb_rest_client/models/models_ce/rpc.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/rpc_id.py b/tb_rest_client/models/models_ce/rpc_id.py index 149ddb4b..ad997284 100644 --- a/tb_rest_client/models/models_ce/rpc_id.py +++ b/tb_rest_client/models/models_ce/rpc_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/rpklw_m2_m_bootstrap_server_credential.py b/tb_rest_client/models/models_ce/rpklw_m2_m_bootstrap_server_credential.py index 0993ba76..33f1e5ed 100644 --- a/tb_rest_client/models/models_ce/rpklw_m2_m_bootstrap_server_credential.py +++ b/tb_rest_client/models/models_ce/rpklw_m2_m_bootstrap_server_credential.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/rule_chain.py b/tb_rest_client/models/models_ce/rule_chain.py index 26e8f9f1..e9faaf21 100644 --- a/tb_rest_client/models/models_ce/rule_chain.py +++ b/tb_rest_client/models/models_ce/rule_chain.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/rule_chain_connection_info.py b/tb_rest_client/models/models_ce/rule_chain_connection_info.py index fcd7f44f..8ed0553f 100644 --- a/tb_rest_client/models/models_ce/rule_chain_connection_info.py +++ b/tb_rest_client/models/models_ce/rule_chain_connection_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/rule_chain_data.py b/tb_rest_client/models/models_ce/rule_chain_data.py index f8722383..513b0429 100644 --- a/tb_rest_client/models/models_ce/rule_chain_data.py +++ b/tb_rest_client/models/models_ce/rule_chain_data.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/rule_chain_debug_event_filter.py b/tb_rest_client/models/models_ce/rule_chain_debug_event_filter.py index 1f9836b2..60e575f6 100644 --- a/tb_rest_client/models/models_ce/rule_chain_debug_event_filter.py +++ b/tb_rest_client/models/models_ce/rule_chain_debug_event_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/rule_chain_export_data.py b/tb_rest_client/models/models_ce/rule_chain_export_data.py index b4434f6b..b385afb5 100644 --- a/tb_rest_client/models/models_ce/rule_chain_export_data.py +++ b/tb_rest_client/models/models_ce/rule_chain_export_data.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/rule_chain_id.py b/tb_rest_client/models/models_ce/rule_chain_id.py index 401cb5ac..8521a567 100644 --- a/tb_rest_client/models/models_ce/rule_chain_id.py +++ b/tb_rest_client/models/models_ce/rule_chain_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/rule_chain_import_result.py b/tb_rest_client/models/models_ce/rule_chain_import_result.py index 4d766291..6a97d91d 100644 --- a/tb_rest_client/models/models_ce/rule_chain_import_result.py +++ b/tb_rest_client/models/models_ce/rule_chain_import_result.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/rule_chain_meta_data.py b/tb_rest_client/models/models_ce/rule_chain_meta_data.py index 6ea4d33e..71dae1c4 100644 --- a/tb_rest_client/models/models_ce/rule_chain_meta_data.py +++ b/tb_rest_client/models/models_ce/rule_chain_meta_data.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/rule_chain_output_labels_usage.py b/tb_rest_client/models/models_ce/rule_chain_output_labels_usage.py index d28b3ba7..b17c9f77 100644 --- a/tb_rest_client/models/models_ce/rule_chain_output_labels_usage.py +++ b/tb_rest_client/models/models_ce/rule_chain_output_labels_usage.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py b/tb_rest_client/models/models_ce/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py index 457c6f26..adc25b91 100644 --- a/tb_rest_client/models/models_ce/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_ce/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -152,7 +152,7 @@ def rule_chain_events(self, rule_chain_events): :param rule_chain_events: The rule_chain_events of this RuleEngineComponentLifecycleEventNotificationRuleTriggerConfig. # noqa: E501 :type: list[str] """ - allowed_values = ["ACTIVATED", "CREATED", "DELETED", "STARTED", "STOPPED", "SUSPENDED", "UPDATED"] # noqa: E501 + allowed_values = ["ACTIVATED", "CREATED", "DEACTIVATED", "DELETED", "FAILED", "STARTED", "STOPPED", "SUSPENDED", "UPDATED"] # noqa: E501 if not set(rule_chain_events).issubset(set(allowed_values)): raise ValueError( "Invalid values for `rule_chain_events` [{0}], must be a subset of [{1}]" # noqa: E501 @@ -201,7 +201,7 @@ def rule_node_events(self, rule_node_events): :param rule_node_events: The rule_node_events of this RuleEngineComponentLifecycleEventNotificationRuleTriggerConfig. # noqa: E501 :type: list[str] """ - allowed_values = ["ACTIVATED", "CREATED", "DELETED", "STARTED", "STOPPED", "SUSPENDED", "UPDATED"] # noqa: E501 + allowed_values = ["ACTIVATED", "CREATED", "DEACTIVATED", "DELETED", "FAILED", "STARTED", "STOPPED", "SUSPENDED", "UPDATED"] # noqa: E501 if not set(rule_node_events).issubset(set(allowed_values)): raise ValueError( "Invalid values for `rule_node_events` [{0}], must be a subset of [{1}]" # noqa: E501 diff --git a/tb_rest_client/models/models_ce/rule_node.py b/tb_rest_client/models/models_ce/rule_node.py index 915b613e..d29badbd 100644 --- a/tb_rest_client/models/models_ce/rule_node.py +++ b/tb_rest_client/models/models_ce/rule_node.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/rule_node_debug_event_filter.py b/tb_rest_client/models/models_ce/rule_node_debug_event_filter.py index ca9dbfbf..cd033669 100644 --- a/tb_rest_client/models/models_ce/rule_node_debug_event_filter.py +++ b/tb_rest_client/models/models_ce/rule_node_debug_event_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/rule_node_id.py b/tb_rest_client/models/models_ce/rule_node_id.py index 780e73aa..64a58695 100644 --- a/tb_rest_client/models/models_ce/rule_node_id.py +++ b/tb_rest_client/models/models_ce/rule_node_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/save_device_with_credentials_request.py b/tb_rest_client/models/models_ce/save_device_with_credentials_request.py index e58a93d0..233b7002 100644 --- a/tb_rest_client/models/models_ce/save_device_with_credentials_request.py +++ b/tb_rest_client/models/models_ce/save_device_with_credentials_request.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/save_ota_package_info_request.py b/tb_rest_client/models/models_ce/save_ota_package_info_request.py index 3a20a0af..76a92dd5 100644 --- a/tb_rest_client/models/models_ce/save_ota_package_info_request.py +++ b/tb_rest_client/models/models_ce/save_ota_package_info_request.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/security_settings.py b/tb_rest_client/models/models_ce/security_settings.py index 2501e5cc..6a7845d2 100644 --- a/tb_rest_client/models/models_ce/security_settings.py +++ b/tb_rest_client/models/models_ce/security_settings.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/server_security_config.py b/tb_rest_client/models/models_ce/server_security_config.py index c3c48d1e..6763ffd3 100644 --- a/tb_rest_client/models/models_ce/server_security_config.py +++ b/tb_rest_client/models/models_ce/server_security_config.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/shared_attributes_setting_snmp_communication_config.py b/tb_rest_client/models/models_ce/shared_attributes_setting_snmp_communication_config.py index 72ab0346..dbef8c52 100644 --- a/tb_rest_client/models/models_ce/shared_attributes_setting_snmp_communication_config.py +++ b/tb_rest_client/models/models_ce/shared_attributes_setting_snmp_communication_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/short_customer_info.py b/tb_rest_client/models/models_ce/short_customer_info.py index 5bfe0a03..aee3f60a 100644 --- a/tb_rest_client/models/models_ce/short_customer_info.py +++ b/tb_rest_client/models/models_ce/short_customer_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/sign_up_request.py b/tb_rest_client/models/models_ce/sign_up_request.py index 62c08a68..3ba8ffac 100644 --- a/tb_rest_client/models/models_ce/sign_up_request.py +++ b/tb_rest_client/models/models_ce/sign_up_request.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/simple_alarm_condition_spec.py b/tb_rest_client/models/models_ce/simple_alarm_condition_spec.py index 5fae246c..ee7190a6 100644 --- a/tb_rest_client/models/models_ce/simple_alarm_condition_spec.py +++ b/tb_rest_client/models/models_ce/simple_alarm_condition_spec.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/single_entity_filter.py b/tb_rest_client/models/models_ce/single_entity_filter.py index dd3bbab1..86fe1520 100644 --- a/tb_rest_client/models/models_ce/single_entity_filter.py +++ b/tb_rest_client/models/models_ce/single_entity_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/single_entity_version_create_request.py b/tb_rest_client/models/models_ce/single_entity_version_create_request.py index 5d2d6118..2e2e4dc5 100644 --- a/tb_rest_client/models/models_ce/single_entity_version_create_request.py +++ b/tb_rest_client/models/models_ce/single_entity_version_create_request.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/single_entity_version_load_request.py b/tb_rest_client/models/models_ce/single_entity_version_load_request.py index d40f3bdd..c66251cf 100644 --- a/tb_rest_client/models/models_ce/single_entity_version_load_request.py +++ b/tb_rest_client/models/models_ce/single_entity_version_load_request.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/slack_conversation.py b/tb_rest_client/models/models_ce/slack_conversation.py index e453b2f0..69167bf7 100644 --- a/tb_rest_client/models/models_ce/slack_conversation.py +++ b/tb_rest_client/models/models_ce/slack_conversation.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/slack_delivery_method_notification_template.py b/tb_rest_client/models/models_ce/slack_delivery_method_notification_template.py index 5c955235..5db6c5d7 100644 --- a/tb_rest_client/models/models_ce/slack_delivery_method_notification_template.py +++ b/tb_rest_client/models/models_ce/slack_delivery_method_notification_template.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/slack_notification_delivery_method_config.py b/tb_rest_client/models/models_ce/slack_notification_delivery_method_config.py index 057536bb..cfc5e726 100644 --- a/tb_rest_client/models/models_ce/slack_notification_delivery_method_config.py +++ b/tb_rest_client/models/models_ce/slack_notification_delivery_method_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/slack_notification_target_config.py b/tb_rest_client/models/models_ce/slack_notification_target_config.py index 393ae4b2..3c5c495b 100644 --- a/tb_rest_client/models/models_ce/slack_notification_target_config.py +++ b/tb_rest_client/models/models_ce/slack_notification_target_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/smpp_sms_provider_configuration.py b/tb_rest_client/models/models_ce/smpp_sms_provider_configuration.py index 9335067b..19f9c6dc 100644 --- a/tb_rest_client/models/models_ce/smpp_sms_provider_configuration.py +++ b/tb_rest_client/models/models_ce/smpp_sms_provider_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/sms_delivery_method_notification_template.py b/tb_rest_client/models/models_ce/sms_delivery_method_notification_template.py index cb305167..523e0ea5 100644 --- a/tb_rest_client/models/models_ce/sms_delivery_method_notification_template.py +++ b/tb_rest_client/models/models_ce/sms_delivery_method_notification_template.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/sms_provider_configuration.py b/tb_rest_client/models/models_ce/sms_provider_configuration.py index 22bd4931..84d14c47 100644 --- a/tb_rest_client/models/models_ce/sms_provider_configuration.py +++ b/tb_rest_client/models/models_ce/sms_provider_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/sms_two_fa_account_config.py b/tb_rest_client/models/models_ce/sms_two_fa_account_config.py index 27f2c5ea..220d20cb 100644 --- a/tb_rest_client/models/models_ce/sms_two_fa_account_config.py +++ b/tb_rest_client/models/models_ce/sms_two_fa_account_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/sms_two_fa_provider_config.py b/tb_rest_client/models/models_ce/sms_two_fa_provider_config.py index d2a3e81c..97656f2e 100644 --- a/tb_rest_client/models/models_ce/sms_two_fa_provider_config.py +++ b/tb_rest_client/models/models_ce/sms_two_fa_provider_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/snmp_communication_config.py b/tb_rest_client/models/models_ce/snmp_communication_config.py index 10762da6..b082472e 100644 --- a/tb_rest_client/models/models_ce/snmp_communication_config.py +++ b/tb_rest_client/models/models_ce/snmp_communication_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/snmp_device_profile_transport_configuration.py b/tb_rest_client/models/models_ce/snmp_device_profile_transport_configuration.py index 9c2ea310..d2993554 100644 --- a/tb_rest_client/models/models_ce/snmp_device_profile_transport_configuration.py +++ b/tb_rest_client/models/models_ce/snmp_device_profile_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/snmp_device_transport_configuration.py b/tb_rest_client/models/models_ce/snmp_device_transport_configuration.py index d92bdc62..c217650e 100644 --- a/tb_rest_client/models/models_ce/snmp_device_transport_configuration.py +++ b/tb_rest_client/models/models_ce/snmp_device_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/snmp_mapping.py b/tb_rest_client/models/models_ce/snmp_mapping.py index 0452c3cb..f6818872 100644 --- a/tb_rest_client/models/models_ce/snmp_mapping.py +++ b/tb_rest_client/models/models_ce/snmp_mapping.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/specific_time_schedule.py b/tb_rest_client/models/models_ce/specific_time_schedule.py index 01ed14a7..b13ee86b 100644 --- a/tb_rest_client/models/models_ce/specific_time_schedule.py +++ b/tb_rest_client/models/models_ce/specific_time_schedule.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/starred_dashboard_info.py b/tb_rest_client/models/models_ce/starred_dashboard_info.py index 170205f4..04d512b3 100644 --- a/tb_rest_client/models/models_ce/starred_dashboard_info.py +++ b/tb_rest_client/models/models_ce/starred_dashboard_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/statistics_event_filter.py b/tb_rest_client/models/models_ce/statistics_event_filter.py index b94eee58..0ba1e8b1 100644 --- a/tb_rest_client/models/models_ce/statistics_event_filter.py +++ b/tb_rest_client/models/models_ce/statistics_event_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/string_filter_predicate.py b/tb_rest_client/models/models_ce/string_filter_predicate.py index 23a531bf..fd23a06c 100644 --- a/tb_rest_client/models/models_ce/string_filter_predicate.py +++ b/tb_rest_client/models/models_ce/string_filter_predicate.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/submit_strategy.py b/tb_rest_client/models/models_ce/submit_strategy.py index 6a3ed7f8..c291c031 100644 --- a/tb_rest_client/models/models_ce/submit_strategy.py +++ b/tb_rest_client/models/models_ce/submit_strategy.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/system_administrators_filter.py b/tb_rest_client/models/models_ce/system_administrators_filter.py index d24d1f41..8147f40a 100644 --- a/tb_rest_client/models/models_ce/system_administrators_filter.py +++ b/tb_rest_client/models/models_ce/system_administrators_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/system_info.py b/tb_rest_client/models/models_ce/system_info.py index 6a3251ba..7870ea88 100644 --- a/tb_rest_client/models/models_ce/system_info.py +++ b/tb_rest_client/models/models_ce/system_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/system_info_data.py b/tb_rest_client/models/models_ce/system_info_data.py index 5a9f1db8..b8a2a51c 100644 --- a/tb_rest_client/models/models_ce/system_info_data.py +++ b/tb_rest_client/models/models_ce/system_info_data.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/tb_image_delete_result.py b/tb_rest_client/models/models_ce/tb_image_delete_result.py new file mode 100644 index 00000000..5a626668 --- /dev/null +++ b/tb_rest_client/models/models_ce/tb_image_delete_result.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + ThingsBoard REST API + + ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 + + OpenAPI spec version: 3.6.2 + Contact: info@thingsboard.io + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +# Copyright 2024. ThingsBoard +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import pprint +import re # noqa: F401 + +import six + +class TbImageDeleteResult(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'references': 'dict(str, list[HasIdobject])', + 'success': 'bool' + } + + attribute_map = { + 'references': 'references', + 'success': 'success' + } + + def __init__(self, references=None, success=None): # noqa: E501 + """TbImageDeleteResult - a model defined in Swagger""" # noqa: E501 + self._references = None + self._success = None + self.discriminator = None + if references is not None: + self.references = references + if success is not None: + self.success = success + + @property + def references(self): + """Gets the references of this TbImageDeleteResult. # noqa: E501 + + + :return: The references of this TbImageDeleteResult. # noqa: E501 + :rtype: dict(str, list[HasIdobject]) + """ + return self._references + + @references.setter + def references(self, references): + """Sets the references of this TbImageDeleteResult. + + + :param references: The references of this TbImageDeleteResult. # noqa: E501 + :type: dict(str, list[HasIdobject]) + """ + + self._references = references + + @property + def success(self): + """Gets the success of this TbImageDeleteResult. # noqa: E501 + + + :return: The success of this TbImageDeleteResult. # noqa: E501 + :rtype: bool + """ + return self._success + + @success.setter + def success(self, success): + """Sets the success of this TbImageDeleteResult. + + + :param success: The success of this TbImageDeleteResult. # noqa: E501 + :type: bool + """ + + self._success = success + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(TbImageDeleteResult, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TbImageDeleteResult): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/tb_rest_client/models/models_ce/tb_resource.py b/tb_rest_client/models/models_ce/tb_resource.py index aaece5a7..7f6fbdcf 100644 --- a/tb_rest_client/models/models_ce/tb_resource.py +++ b/tb_rest_client/models/models_ce/tb_resource.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -42,6 +42,13 @@ class TbResource(object): and the value is json key in definition. """ swagger_types = { + 'descriptor': 'JsonNode', + 'link': 'str', + 'name': 'str', + 'preview': 'str', + 'public': 'bool', + 'public_link': 'str', + 'public_resource_key': 'str', 'id': 'TbResourceId', 'created_time': 'int', 'tenant_id': 'TenantId', @@ -54,6 +61,13 @@ class TbResource(object): } attribute_map = { + 'descriptor': 'descriptor', + 'link': 'link', + 'name': 'name', + 'preview': 'preview', + 'public': 'public', + 'public_link': 'publicLink', + 'public_resource_key': 'publicResourceKey', 'id': 'id', 'created_time': 'createdTime', 'tenant_id': 'tenantId', @@ -65,8 +79,15 @@ class TbResource(object): 'data': 'data' } - def __init__(self, id=None, created_time=None, tenant_id=None, title=None, resource_type=None, resource_key=None, etag=None, file_name=None, data=None): # noqa: E501 + def __init__(self, descriptor=None, link=None, name=None, preview=None, public=None, public_link=None, public_resource_key=None, id=None, created_time=None, tenant_id=None, title=None, resource_type=None, resource_key=None, etag=None, file_name=None, data=None): # noqa: E501 """TbResource - a model defined in Swagger""" # noqa: E501 + self._descriptor = None + self._link = None + self._name = None + self._preview = None + self._public = None + self._public_link = None + self._public_resource_key = None self._id = None self._created_time = None self._tenant_id = None @@ -77,6 +98,20 @@ def __init__(self, id=None, created_time=None, tenant_id=None, title=None, resou self._file_name = None self._data = None self.discriminator = None + if descriptor is not None: + self.descriptor = descriptor + if link is not None: + self.link = link + if name is not None: + self.name = name + if preview is not None: + self.preview = preview + if public is not None: + self.public = public + if public_link is not None: + self.public_link = public_link + if public_resource_key is not None: + self.public_resource_key = public_resource_key if id is not None: self.id = id if created_time is not None: @@ -96,6 +131,153 @@ def __init__(self, id=None, created_time=None, tenant_id=None, title=None, resou if data is not None: self.data = data + @property + def descriptor(self): + """Gets the descriptor of this TbResource. # noqa: E501 + + + :return: The descriptor of this TbResource. # noqa: E501 + :rtype: JsonNode + """ + return self._descriptor + + @descriptor.setter + def descriptor(self, descriptor): + """Sets the descriptor of this TbResource. + + + :param descriptor: The descriptor of this TbResource. # noqa: E501 + :type: JsonNode + """ + + self._descriptor = descriptor + + @property + def link(self): + """Gets the link of this TbResource. # noqa: E501 + + + :return: The link of this TbResource. # noqa: E501 + :rtype: str + """ + return self._link + + @link.setter + def link(self, link): + """Sets the link of this TbResource. + + + :param link: The link of this TbResource. # noqa: E501 + :type: str + """ + + self._link = link + + @property + def name(self): + """Gets the name of this TbResource. # noqa: E501 + + + :return: The name of this TbResource. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this TbResource. + + + :param name: The name of this TbResource. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def preview(self): + """Gets the preview of this TbResource. # noqa: E501 + + + :return: The preview of this TbResource. # noqa: E501 + :rtype: str + """ + return self._preview + + @preview.setter + def preview(self, preview): + """Sets the preview of this TbResource. + + + :param preview: The preview of this TbResource. # noqa: E501 + :type: str + """ + + self._preview = preview + + @property + def public(self): + """Gets the public of this TbResource. # noqa: E501 + + + :return: The public of this TbResource. # noqa: E501 + :rtype: bool + """ + return self._public + + @public.setter + def public(self, public): + """Sets the public of this TbResource. + + + :param public: The public of this TbResource. # noqa: E501 + :type: bool + """ + + self._public = public + + @property + def public_link(self): + """Gets the public_link of this TbResource. # noqa: E501 + + + :return: The public_link of this TbResource. # noqa: E501 + :rtype: str + """ + return self._public_link + + @public_link.setter + def public_link(self, public_link): + """Sets the public_link of this TbResource. + + + :param public_link: The public_link of this TbResource. # noqa: E501 + :type: str + """ + + self._public_link = public_link + + @property + def public_resource_key(self): + """Gets the public_resource_key of this TbResource. # noqa: E501 + + + :return: The public_resource_key of this TbResource. # noqa: E501 + :rtype: str + """ + return self._public_resource_key + + @public_resource_key.setter + def public_resource_key(self, public_resource_key): + """Sets the public_resource_key of this TbResource. + + + :param public_resource_key: The public_resource_key of this TbResource. # noqa: E501 + :type: str + """ + + self._public_resource_key = public_resource_key + @property def id(self): """Gets the id of this TbResource. # noqa: E501 @@ -204,7 +386,7 @@ def resource_type(self, resource_type): :param resource_type: The resource_type of this TbResource. # noqa: E501 :type: str """ - allowed_values = ["JKS", "JS_MODULE", "LWM2M_MODEL", "PKCS_12"] # noqa: E501 + allowed_values = ["IMAGE", "JKS", "JS_MODULE", "LWM2M_MODEL", "PKCS_12"] # noqa: E501 if resource_type not in allowed_values: raise ValueError( "Invalid value for `resource_type` ({0}), must be one of {1}" # noqa: E501 diff --git a/tb_rest_client/models/models_ce/tb_resource_id.py b/tb_rest_client/models/models_ce/tb_resource_id.py index 068b15f7..539f473d 100644 --- a/tb_rest_client/models/models_ce/tb_resource_id.py +++ b/tb_rest_client/models/models_ce/tb_resource_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/tb_resource_info.py b/tb_rest_client/models/models_ce/tb_resource_info.py index 0bdf1905..c8602c31 100644 --- a/tb_rest_client/models/models_ce/tb_resource_info.py +++ b/tb_rest_client/models/models_ce/tb_resource_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -42,27 +42,47 @@ class TbResourceInfo(object): and the value is json key in definition. """ swagger_types = { + 'descriptor': 'JsonNode', + 'link': 'str', + 'name': 'str', + 'public': 'bool', + 'public_link': 'str', + 'public_resource_key': 'str', 'id': 'TbResourceId', 'created_time': 'int', 'tenant_id': 'TenantId', 'title': 'str', 'resource_type': 'str', 'resource_key': 'str', - 'etag': 'str' + 'etag': 'str', + 'file_name': 'str' } attribute_map = { + 'descriptor': 'descriptor', + 'link': 'link', + 'name': 'name', + 'public': 'public', + 'public_link': 'publicLink', + 'public_resource_key': 'publicResourceKey', 'id': 'id', 'created_time': 'createdTime', 'tenant_id': 'tenantId', 'title': 'title', 'resource_type': 'resourceType', 'resource_key': 'resourceKey', - 'etag': 'etag' + 'etag': 'etag', + 'file_name': 'fileName' } - def __init__(self, id=None, created_time=None, tenant_id=None, title=None, resource_type=None, resource_key=None, etag=None): # noqa: E501 + def __init__(self, descriptor=None, link=None, name=None, public=None, public_link=None, public_resource_key=None, id=None, created_time=None, tenant_id=None, title=None, resource_type=None, resource_key=None, etag=None, file_name=None): # noqa: E501 """TbResourceInfo - a model defined in Swagger""" # noqa: E501 + self._descriptor = None + self._link = None + self._name = None + self._public = None + self._public_link = None + self._public_resource_key = None self._id = None self._created_time = None self._tenant_id = None @@ -70,7 +90,20 @@ def __init__(self, id=None, created_time=None, tenant_id=None, title=None, resou self._resource_type = None self._resource_key = None self._etag = None + self._file_name = None self.discriminator = None + if descriptor is not None: + self.descriptor = descriptor + if link is not None: + self.link = link + if name is not None: + self.name = name + if public is not None: + self.public = public + if public_link is not None: + self.public_link = public_link + if public_resource_key is not None: + self.public_resource_key = public_resource_key if id is not None: self.id = id if created_time is not None: @@ -85,6 +118,134 @@ def __init__(self, id=None, created_time=None, tenant_id=None, title=None, resou self.resource_key = resource_key if etag is not None: self.etag = etag + if file_name is not None: + self.file_name = file_name + + @property + def descriptor(self): + """Gets the descriptor of this TbResourceInfo. # noqa: E501 + + + :return: The descriptor of this TbResourceInfo. # noqa: E501 + :rtype: JsonNode + """ + return self._descriptor + + @descriptor.setter + def descriptor(self, descriptor): + """Sets the descriptor of this TbResourceInfo. + + + :param descriptor: The descriptor of this TbResourceInfo. # noqa: E501 + :type: JsonNode + """ + + self._descriptor = descriptor + + @property + def link(self): + """Gets the link of this TbResourceInfo. # noqa: E501 + + + :return: The link of this TbResourceInfo. # noqa: E501 + :rtype: str + """ + return self._link + + @link.setter + def link(self, link): + """Sets the link of this TbResourceInfo. + + + :param link: The link of this TbResourceInfo. # noqa: E501 + :type: str + """ + + self._link = link + + @property + def name(self): + """Gets the name of this TbResourceInfo. # noqa: E501 + + + :return: The name of this TbResourceInfo. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this TbResourceInfo. + + + :param name: The name of this TbResourceInfo. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def public(self): + """Gets the public of this TbResourceInfo. # noqa: E501 + + + :return: The public of this TbResourceInfo. # noqa: E501 + :rtype: bool + """ + return self._public + + @public.setter + def public(self, public): + """Sets the public of this TbResourceInfo. + + + :param public: The public of this TbResourceInfo. # noqa: E501 + :type: bool + """ + + self._public = public + + @property + def public_link(self): + """Gets the public_link of this TbResourceInfo. # noqa: E501 + + + :return: The public_link of this TbResourceInfo. # noqa: E501 + :rtype: str + """ + return self._public_link + + @public_link.setter + def public_link(self, public_link): + """Sets the public_link of this TbResourceInfo. + + + :param public_link: The public_link of this TbResourceInfo. # noqa: E501 + :type: str + """ + + self._public_link = public_link + + @property + def public_resource_key(self): + """Gets the public_resource_key of this TbResourceInfo. # noqa: E501 + + + :return: The public_resource_key of this TbResourceInfo. # noqa: E501 + :rtype: str + """ + return self._public_resource_key + + @public_resource_key.setter + def public_resource_key(self, public_resource_key): + """Sets the public_resource_key of this TbResourceInfo. + + + :param public_resource_key: The public_resource_key of this TbResourceInfo. # noqa: E501 + :type: str + """ + + self._public_resource_key = public_resource_key @property def id(self): @@ -194,7 +355,7 @@ def resource_type(self, resource_type): :param resource_type: The resource_type of this TbResourceInfo. # noqa: E501 :type: str """ - allowed_values = ["JKS", "JS_MODULE", "LWM2M_MODEL", "PKCS_12"] # noqa: E501 + allowed_values = ["IMAGE", "JKS", "JS_MODULE", "LWM2M_MODEL", "PKCS_12"] # noqa: E501 if resource_type not in allowed_values: raise ValueError( "Invalid value for `resource_type` ({0}), must be one of {1}" # noqa: E501 @@ -249,6 +410,29 @@ def etag(self, etag): self._etag = etag + @property + def file_name(self): + """Gets the file_name of this TbResourceInfo. # noqa: E501 + + Resource file name. # noqa: E501 + + :return: The file_name of this TbResourceInfo. # noqa: E501 + :rtype: str + """ + return self._file_name + + @file_name.setter + def file_name(self, file_name): + """Sets the file_name of this TbResourceInfo. + + Resource file name. # noqa: E501 + + :param file_name: The file_name of this TbResourceInfo. # noqa: E501 + :type: str + """ + + self._file_name = file_name + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/tb_rest_client/models/models_ce/telemetry_entity_view.py b/tb_rest_client/models/models_ce/telemetry_entity_view.py index 7de5e056..86e2307b 100644 --- a/tb_rest_client/models/models_ce/telemetry_entity_view.py +++ b/tb_rest_client/models/models_ce/telemetry_entity_view.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/telemetry_mapping_configuration.py b/tb_rest_client/models/models_ce/telemetry_mapping_configuration.py index a955f02e..109a1c36 100644 --- a/tb_rest_client/models/models_ce/telemetry_mapping_configuration.py +++ b/tb_rest_client/models/models_ce/telemetry_mapping_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/telemetry_querying_snmp_communication_config.py b/tb_rest_client/models/models_ce/telemetry_querying_snmp_communication_config.py index bf7cbe95..f573de62 100644 --- a/tb_rest_client/models/models_ce/telemetry_querying_snmp_communication_config.py +++ b/tb_rest_client/models/models_ce/telemetry_querying_snmp_communication_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/tenant.py b/tb_rest_client/models/models_ce/tenant.py index 2fc16ca1..33421378 100644 --- a/tb_rest_client/models/models_ce/tenant.py +++ b/tb_rest_client/models/models_ce/tenant.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/tenant_administrators_filter.py b/tb_rest_client/models/models_ce/tenant_administrators_filter.py index 39230085..3a2d0621 100644 --- a/tb_rest_client/models/models_ce/tenant_administrators_filter.py +++ b/tb_rest_client/models/models_ce/tenant_administrators_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/tenant_id.py b/tb_rest_client/models/models_ce/tenant_id.py index b2e5862d..2d8deba7 100644 --- a/tb_rest_client/models/models_ce/tenant_id.py +++ b/tb_rest_client/models/models_ce/tenant_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/tenant_info.py b/tb_rest_client/models/models_ce/tenant_info.py index 2fc4b6fd..967d79ac 100644 --- a/tb_rest_client/models/models_ce/tenant_info.py +++ b/tb_rest_client/models/models_ce/tenant_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/tenant_profile.py b/tb_rest_client/models/models_ce/tenant_profile.py index 074357a0..bd719d41 100644 --- a/tb_rest_client/models/models_ce/tenant_profile.py +++ b/tb_rest_client/models/models_ce/tenant_profile.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/tenant_profile_configuration.py b/tb_rest_client/models/models_ce/tenant_profile_configuration.py index b55cfd16..cf93089e 100644 --- a/tb_rest_client/models/models_ce/tenant_profile_configuration.py +++ b/tb_rest_client/models/models_ce/tenant_profile_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/tenant_profile_data.py b/tb_rest_client/models/models_ce/tenant_profile_data.py index caf93405..ddba1f46 100644 --- a/tb_rest_client/models/models_ce/tenant_profile_data.py +++ b/tb_rest_client/models/models_ce/tenant_profile_data.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/tenant_profile_id.py b/tb_rest_client/models/models_ce/tenant_profile_id.py index 66d95799..900b321c 100644 --- a/tb_rest_client/models/models_ce/tenant_profile_id.py +++ b/tb_rest_client/models/models_ce/tenant_profile_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/tenant_profile_queue_configuration.py b/tb_rest_client/models/models_ce/tenant_profile_queue_configuration.py index 095c286b..c9b64438 100644 --- a/tb_rest_client/models/models_ce/tenant_profile_queue_configuration.py +++ b/tb_rest_client/models/models_ce/tenant_profile_queue_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/test_sms_request.py b/tb_rest_client/models/models_ce/test_sms_request.py index ef867aa3..bfc0bc51 100644 --- a/tb_rest_client/models/models_ce/test_sms_request.py +++ b/tb_rest_client/models/models_ce/test_sms_request.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/thingsboard_credentials_expired_response.py b/tb_rest_client/models/models_ce/thingsboard_credentials_expired_response.py index 9e2c1c22..e2ec4db7 100644 --- a/tb_rest_client/models/models_ce/thingsboard_credentials_expired_response.py +++ b/tb_rest_client/models/models_ce/thingsboard_credentials_expired_response.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/thingsboard_error_response.py b/tb_rest_client/models/models_ce/thingsboard_error_response.py index d69b1fbc..54e436c0 100644 --- a/tb_rest_client/models/models_ce/thingsboard_error_response.py +++ b/tb_rest_client/models/models_ce/thingsboard_error_response.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/to_device_rpc_request_snmp_communication_config.py b/tb_rest_client/models/models_ce/to_device_rpc_request_snmp_communication_config.py index 74f76bfb..44c7b6ab 100644 --- a/tb_rest_client/models/models_ce/to_device_rpc_request_snmp_communication_config.py +++ b/tb_rest_client/models/models_ce/to_device_rpc_request_snmp_communication_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/to_server_rpc_request_snmp_communication_config.py b/tb_rest_client/models/models_ce/to_server_rpc_request_snmp_communication_config.py index b8f8984c..a4aea633 100644 --- a/tb_rest_client/models/models_ce/to_server_rpc_request_snmp_communication_config.py +++ b/tb_rest_client/models/models_ce/to_server_rpc_request_snmp_communication_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/totp_two_fa_account_config.py b/tb_rest_client/models/models_ce/totp_two_fa_account_config.py index cf4a8854..479777ab 100644 --- a/tb_rest_client/models/models_ce/totp_two_fa_account_config.py +++ b/tb_rest_client/models/models_ce/totp_two_fa_account_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/totp_two_fa_provider_config.py b/tb_rest_client/models/models_ce/totp_two_fa_provider_config.py index ab817eaa..4cc1e229 100644 --- a/tb_rest_client/models/models_ce/totp_two_fa_provider_config.py +++ b/tb_rest_client/models/models_ce/totp_two_fa_provider_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/transport_payload_type_configuration.py b/tb_rest_client/models/models_ce/transport_payload_type_configuration.py index 36c5b3fe..544c4bcb 100644 --- a/tb_rest_client/models/models_ce/transport_payload_type_configuration.py +++ b/tb_rest_client/models/models_ce/transport_payload_type_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/ts_value.py b/tb_rest_client/models/models_ce/ts_value.py index e159a07d..78524f34 100644 --- a/tb_rest_client/models/models_ce/ts_value.py +++ b/tb_rest_client/models/models_ce/ts_value.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/twilio_sms_provider_configuration.py b/tb_rest_client/models/models_ce/twilio_sms_provider_configuration.py index 064ae837..92e200a4 100644 --- a/tb_rest_client/models/models_ce/twilio_sms_provider_configuration.py +++ b/tb_rest_client/models/models_ce/twilio_sms_provider_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/two_fa_account_config.py b/tb_rest_client/models/models_ce/two_fa_account_config.py index e715d2bb..d1121426 100644 --- a/tb_rest_client/models/models_ce/two_fa_account_config.py +++ b/tb_rest_client/models/models_ce/two_fa_account_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/two_fa_account_config_update_request.py b/tb_rest_client/models/models_ce/two_fa_account_config_update_request.py index 0de77870..ea295818 100644 --- a/tb_rest_client/models/models_ce/two_fa_account_config_update_request.py +++ b/tb_rest_client/models/models_ce/two_fa_account_config_update_request.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/two_fa_provider_config.py b/tb_rest_client/models/models_ce/two_fa_provider_config.py index 1627bafd..170d4b47 100644 --- a/tb_rest_client/models/models_ce/two_fa_provider_config.py +++ b/tb_rest_client/models/models_ce/two_fa_provider_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/two_fa_provider_info.py b/tb_rest_client/models/models_ce/two_fa_provider_info.py index 688cbfb2..d54271b9 100644 --- a/tb_rest_client/models/models_ce/two_fa_provider_info.py +++ b/tb_rest_client/models/models_ce/two_fa_provider_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/type_key_body.py b/tb_rest_client/models/models_ce/type_key_body.py new file mode 100644 index 00000000..21089d55 --- /dev/null +++ b/tb_rest_client/models/models_ce/type_key_body.py @@ -0,0 +1,127 @@ +# coding: utf-8 + +""" + ThingsBoard REST API + + ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 + + OpenAPI spec version: 3.6.2 + Contact: info@thingsboard.io + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +# Copyright 2024. ThingsBoard +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import pprint +import re # noqa: F401 + +import six + +class TypeKeyBody(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'file': 'str' + } + + attribute_map = { + 'file': 'file' + } + + def __init__(self, file=None): # noqa: E501 + """TypeKeyBody - a model defined in Swagger""" # noqa: E501 + self._file = None + self.discriminator = None + self.file = file + + @property + def file(self): + """Gets the file of this TypeKeyBody. # noqa: E501 + + file # noqa: E501 + + :return: The file of this TypeKeyBody. # noqa: E501 + :rtype: str + """ + return self._file + + @file.setter + def file(self, file): + """Sets the file of this TypeKeyBody. + + file # noqa: E501 + + :param file: The file of this TypeKeyBody. # noqa: E501 + :type: str + """ + if file is None: + raise ValueError("Invalid value for `file`, must not be `None`") # noqa: E501 + + self._file = file + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(TypeKeyBody, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TypeKeyBody): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/tb_rest_client/models/models_ce/update_message.py b/tb_rest_client/models/models_ce/update_message.py index c01d91b9..08991813 100644 --- a/tb_rest_client/models/models_ce/update_message.py +++ b/tb_rest_client/models/models_ce/update_message.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/usage_info.py b/tb_rest_client/models/models_ce/usage_info.py index 541887bb..7743a079 100644 --- a/tb_rest_client/models/models_ce/usage_info.py +++ b/tb_rest_client/models/models_ce/usage_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -57,10 +57,12 @@ class UsageInfo(object): 'max_emails': 'int', 'max_js_executions': 'int', 'max_sms': 'int', + 'max_tbel_executions': 'int', 'max_transport_messages': 'int', 'max_users': 'int', 'sms': 'int', 'sms_enabled': 'bool', + 'tbel_executions': 'int', 'transport_messages': 'int', 'users': 'int' } @@ -81,15 +83,17 @@ class UsageInfo(object): 'max_emails': 'maxEmails', 'max_js_executions': 'maxJsExecutions', 'max_sms': 'maxSms', + 'max_tbel_executions': 'maxTbelExecutions', 'max_transport_messages': 'maxTransportMessages', 'max_users': 'maxUsers', 'sms': 'sms', 'sms_enabled': 'smsEnabled', + 'tbel_executions': 'tbelExecutions', 'transport_messages': 'transportMessages', 'users': 'users' } - def __init__(self, alarms=None, assets=None, customers=None, dashboards=None, devices=None, emails=None, js_executions=None, max_alarms=None, max_assets=None, max_customers=None, max_dashboards=None, max_devices=None, max_emails=None, max_js_executions=None, max_sms=None, max_transport_messages=None, max_users=None, sms=None, sms_enabled=None, transport_messages=None, users=None): # noqa: E501 + def __init__(self, alarms=None, assets=None, customers=None, dashboards=None, devices=None, emails=None, js_executions=None, max_alarms=None, max_assets=None, max_customers=None, max_dashboards=None, max_devices=None, max_emails=None, max_js_executions=None, max_sms=None, max_tbel_executions=None, max_transport_messages=None, max_users=None, sms=None, sms_enabled=None, tbel_executions=None, transport_messages=None, users=None): # noqa: E501 """UsageInfo - a model defined in Swagger""" # noqa: E501 self._alarms = None self._assets = None @@ -106,10 +110,12 @@ def __init__(self, alarms=None, assets=None, customers=None, dashboards=None, de self._max_emails = None self._max_js_executions = None self._max_sms = None + self._max_tbel_executions = None self._max_transport_messages = None self._max_users = None self._sms = None self._sms_enabled = None + self._tbel_executions = None self._transport_messages = None self._users = None self.discriminator = None @@ -143,6 +149,8 @@ def __init__(self, alarms=None, assets=None, customers=None, dashboards=None, de self.max_js_executions = max_js_executions if max_sms is not None: self.max_sms = max_sms + if max_tbel_executions is not None: + self.max_tbel_executions = max_tbel_executions if max_transport_messages is not None: self.max_transport_messages = max_transport_messages if max_users is not None: @@ -151,6 +159,8 @@ def __init__(self, alarms=None, assets=None, customers=None, dashboards=None, de self.sms = sms if sms_enabled is not None: self.sms_enabled = sms_enabled + if tbel_executions is not None: + self.tbel_executions = tbel_executions if transport_messages is not None: self.transport_messages = transport_messages if users is not None: @@ -471,6 +481,27 @@ def max_sms(self, max_sms): self._max_sms = max_sms + @property + def max_tbel_executions(self): + """Gets the max_tbel_executions of this UsageInfo. # noqa: E501 + + + :return: The max_tbel_executions of this UsageInfo. # noqa: E501 + :rtype: int + """ + return self._max_tbel_executions + + @max_tbel_executions.setter + def max_tbel_executions(self, max_tbel_executions): + """Sets the max_tbel_executions of this UsageInfo. + + + :param max_tbel_executions: The max_tbel_executions of this UsageInfo. # noqa: E501 + :type: int + """ + + self._max_tbel_executions = max_tbel_executions + @property def max_transport_messages(self): """Gets the max_transport_messages of this UsageInfo. # noqa: E501 @@ -555,6 +586,27 @@ def sms_enabled(self, sms_enabled): self._sms_enabled = sms_enabled + @property + def tbel_executions(self): + """Gets the tbel_executions of this UsageInfo. # noqa: E501 + + + :return: The tbel_executions of this UsageInfo. # noqa: E501 + :rtype: int + """ + return self._tbel_executions + + @tbel_executions.setter + def tbel_executions(self, tbel_executions): + """Sets the tbel_executions of this UsageInfo. + + + :param tbel_executions: The tbel_executions of this UsageInfo. # noqa: E501 + :type: int + """ + + self._tbel_executions = tbel_executions + @property def transport_messages(self): """Gets the transport_messages of this UsageInfo. # noqa: E501 diff --git a/tb_rest_client/models/models_ce/user.py b/tb_rest_client/models/models_ce/user.py index 82de1d96..98367a56 100644 --- a/tb_rest_client/models/models_ce/user.py +++ b/tb_rest_client/models/models_ce/user.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/user_dashboards_info.py b/tb_rest_client/models/models_ce/user_dashboards_info.py index 2cb7b315..45554083 100644 --- a/tb_rest_client/models/models_ce/user_dashboards_info.py +++ b/tb_rest_client/models/models_ce/user_dashboards_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/user_email_info.py b/tb_rest_client/models/models_ce/user_email_info.py index 14c4b616..2f96d8ff 100644 --- a/tb_rest_client/models/models_ce/user_email_info.py +++ b/tb_rest_client/models/models_ce/user_email_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/user_id.py b/tb_rest_client/models/models_ce/user_id.py index 01232145..63d82f1c 100644 --- a/tb_rest_client/models/models_ce/user_id.py +++ b/tb_rest_client/models/models_ce/user_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/user_list_filter.py b/tb_rest_client/models/models_ce/user_list_filter.py index 84c7fa93..a9310ba1 100644 --- a/tb_rest_client/models/models_ce/user_list_filter.py +++ b/tb_rest_client/models/models_ce/user_list_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/user_notification_settings.py b/tb_rest_client/models/models_ce/user_notification_settings.py index 8a12e5ea..146e61cb 100644 --- a/tb_rest_client/models/models_ce/user_notification_settings.py +++ b/tb_rest_client/models/models_ce/user_notification_settings.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/user_password_policy.py b/tb_rest_client/models/models_ce/user_password_policy.py index 91784411..dda9b20b 100644 --- a/tb_rest_client/models/models_ce/user_password_policy.py +++ b/tb_rest_client/models/models_ce/user_password_policy.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -43,6 +43,8 @@ class UserPasswordPolicy(object): """ swagger_types = { 'allow_whitespaces': 'bool', + 'force_user_to_reset_password_if_not_valid': 'bool', + 'maximum_length': 'int', 'minimum_digits': 'int', 'minimum_length': 'int', 'minimum_lowercase_letters': 'int', @@ -54,6 +56,8 @@ class UserPasswordPolicy(object): attribute_map = { 'allow_whitespaces': 'allowWhitespaces', + 'force_user_to_reset_password_if_not_valid': 'forceUserToResetPasswordIfNotValid', + 'maximum_length': 'maximumLength', 'minimum_digits': 'minimumDigits', 'minimum_length': 'minimumLength', 'minimum_lowercase_letters': 'minimumLowercaseLetters', @@ -63,9 +67,11 @@ class UserPasswordPolicy(object): 'password_reuse_frequency_days': 'passwordReuseFrequencyDays' } - def __init__(self, allow_whitespaces=None, minimum_digits=None, minimum_length=None, minimum_lowercase_letters=None, minimum_special_characters=None, minimum_uppercase_letters=None, password_expiration_period_days=None, password_reuse_frequency_days=None): # noqa: E501 + def __init__(self, allow_whitespaces=None, force_user_to_reset_password_if_not_valid=None, maximum_length=None, minimum_digits=None, minimum_length=None, minimum_lowercase_letters=None, minimum_special_characters=None, minimum_uppercase_letters=None, password_expiration_period_days=None, password_reuse_frequency_days=None): # noqa: E501 """UserPasswordPolicy - a model defined in Swagger""" # noqa: E501 self._allow_whitespaces = None + self._force_user_to_reset_password_if_not_valid = None + self._maximum_length = None self._minimum_digits = None self._minimum_length = None self._minimum_lowercase_letters = None @@ -76,6 +82,10 @@ def __init__(self, allow_whitespaces=None, minimum_digits=None, minimum_length=N self.discriminator = None if allow_whitespaces is not None: self.allow_whitespaces = allow_whitespaces + if force_user_to_reset_password_if_not_valid is not None: + self.force_user_to_reset_password_if_not_valid = force_user_to_reset_password_if_not_valid + if maximum_length is not None: + self.maximum_length = maximum_length if minimum_digits is not None: self.minimum_digits = minimum_digits if minimum_length is not None: @@ -114,6 +124,52 @@ def allow_whitespaces(self, allow_whitespaces): self._allow_whitespaces = allow_whitespaces + @property + def force_user_to_reset_password_if_not_valid(self): + """Gets the force_user_to_reset_password_if_not_valid of this UserPasswordPolicy. # noqa: E501 + + Force user to update password if existing one does not pass validation # noqa: E501 + + :return: The force_user_to_reset_password_if_not_valid of this UserPasswordPolicy. # noqa: E501 + :rtype: bool + """ + return self._force_user_to_reset_password_if_not_valid + + @force_user_to_reset_password_if_not_valid.setter + def force_user_to_reset_password_if_not_valid(self, force_user_to_reset_password_if_not_valid): + """Sets the force_user_to_reset_password_if_not_valid of this UserPasswordPolicy. + + Force user to update password if existing one does not pass validation # noqa: E501 + + :param force_user_to_reset_password_if_not_valid: The force_user_to_reset_password_if_not_valid of this UserPasswordPolicy. # noqa: E501 + :type: bool + """ + + self._force_user_to_reset_password_if_not_valid = force_user_to_reset_password_if_not_valid + + @property + def maximum_length(self): + """Gets the maximum_length of this UserPasswordPolicy. # noqa: E501 + + Maximum number of symbols in the password. # noqa: E501 + + :return: The maximum_length of this UserPasswordPolicy. # noqa: E501 + :rtype: int + """ + return self._maximum_length + + @maximum_length.setter + def maximum_length(self, maximum_length): + """Sets the maximum_length of this UserPasswordPolicy. + + Maximum number of symbols in the password. # noqa: E501 + + :param maximum_length: The maximum_length of this UserPasswordPolicy. # noqa: E501 + :type: int + """ + + self._maximum_length = maximum_length + @property def minimum_digits(self): """Gets the minimum_digits of this UserPasswordPolicy. # noqa: E501 diff --git a/tb_rest_client/models/models_ce/users_filter.py b/tb_rest_client/models/models_ce/users_filter.py index 7d6c2f10..de44dbe1 100644 --- a/tb_rest_client/models/models_ce/users_filter.py +++ b/tb_rest_client/models/models_ce/users_filter.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/version_create_config.py b/tb_rest_client/models/models_ce/version_create_config.py index db3d5002..87b14ef3 100644 --- a/tb_rest_client/models/models_ce/version_create_config.py +++ b/tb_rest_client/models/models_ce/version_create_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/version_create_request.py b/tb_rest_client/models/models_ce/version_create_request.py index 493b7e91..47304402 100644 --- a/tb_rest_client/models/models_ce/version_create_request.py +++ b/tb_rest_client/models/models_ce/version_create_request.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/version_creation_result.py b/tb_rest_client/models/models_ce/version_creation_result.py index 34470776..2a04dda6 100644 --- a/tb_rest_client/models/models_ce/version_creation_result.py +++ b/tb_rest_client/models/models_ce/version_creation_result.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/version_load_config.py b/tb_rest_client/models/models_ce/version_load_config.py index 398111ba..9868de95 100644 --- a/tb_rest_client/models/models_ce/version_load_config.py +++ b/tb_rest_client/models/models_ce/version_load_config.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/version_load_request.py b/tb_rest_client/models/models_ce/version_load_request.py index 21051fa9..791e9c49 100644 --- a/tb_rest_client/models/models_ce/version_load_request.py +++ b/tb_rest_client/models/models_ce/version_load_request.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/version_load_result.py b/tb_rest_client/models/models_ce/version_load_result.py index b72208a4..fbcb2904 100644 --- a/tb_rest_client/models/models_ce/version_load_result.py +++ b/tb_rest_client/models/models_ce/version_load_result.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/versioned_entity_info.py b/tb_rest_client/models/models_ce/versioned_entity_info.py index 2de7a00e..2ae93f65 100644 --- a/tb_rest_client/models/models_ce/versioned_entity_info.py +++ b/tb_rest_client/models/models_ce/versioned_entity_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/web_delivery_method_notification_template.py b/tb_rest_client/models/models_ce/web_delivery_method_notification_template.py index b20c03ab..4e086fe6 100644 --- a/tb_rest_client/models/models_ce/web_delivery_method_notification_template.py +++ b/tb_rest_client/models/models_ce/web_delivery_method_notification_template.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/widget_type.py b/tb_rest_client/models/models_ce/widget_type.py index 89ff340f..cb694ffa 100644 --- a/tb_rest_client/models/models_ce/widget_type.py +++ b/tb_rest_client/models/models_ce/widget_type.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/widget_type_details.py b/tb_rest_client/models/models_ce/widget_type_details.py index 8f03fb6f..86b05beb 100644 --- a/tb_rest_client/models/models_ce/widget_type_details.py +++ b/tb_rest_client/models/models_ce/widget_type_details.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -50,7 +50,8 @@ class WidgetTypeDetails(object): 'deprecated': 'bool', 'descriptor': 'JsonNode', 'image': 'str', - 'description': 'str' + 'description': 'str', + 'tags': 'list[str]' } attribute_map = { @@ -62,10 +63,11 @@ class WidgetTypeDetails(object): 'deprecated': 'deprecated', 'descriptor': 'descriptor', 'image': 'image', - 'description': 'description' + 'description': 'description', + 'tags': 'tags' } - def __init__(self, id=None, created_time=None, tenant_id=None, fqn=None, name=None, deprecated=None, descriptor=None, image=None, description=None): # noqa: E501 + def __init__(self, id=None, created_time=None, tenant_id=None, fqn=None, name=None, deprecated=None, descriptor=None, image=None, description=None, tags=None): # noqa: E501 """WidgetTypeDetails - a model defined in Swagger""" # noqa: E501 self._id = None self._created_time = None @@ -76,6 +78,7 @@ def __init__(self, id=None, created_time=None, tenant_id=None, fqn=None, name=No self._descriptor = None self._image = None self._description = None + self._tags = None self.discriminator = None if id is not None: self.id = id @@ -95,23 +98,25 @@ def __init__(self, id=None, created_time=None, tenant_id=None, fqn=None, name=No self.image = image if description is not None: self.description = description + if tags is not None: + self.tags = tags @property def id(self): - """Gets the id of this WidgetTypeDetails. # noqa: E501 + """Gets the id of this WidgetType. # noqa: E501 - :return: The id of this WidgetTypeDetails. # noqa: E501 + :return: The id of this WidgetType. # noqa: E501 :rtype: WidgetTypeId """ return self._id @id.setter def id(self, id): - """Sets the id of this WidgetTypeDetails. + """Sets the id of this WidgetType. - :param id: The id of this WidgetTypeDetails. # noqa: E501 + :param id: The id of this WidgetType. # noqa: E501 :type: WidgetTypeId """ @@ -255,7 +260,7 @@ def descriptor(self, descriptor): def image(self): """Gets the image of this WidgetTypeDetails. # noqa: E501 - Base64 encoded thumbnail # noqa: E501 + Relative or external image URL. Replaced with image data URL (Base64) in case of relative URL and 'inlineImages' option enabled. # noqa: E501 :return: The image of this WidgetTypeDetails. # noqa: E501 :rtype: str @@ -266,7 +271,7 @@ def image(self): def image(self, image): """Sets the image of this WidgetTypeDetails. - Base64 encoded thumbnail # noqa: E501 + Relative or external image URL. Replaced with image data URL (Base64) in case of relative URL and 'inlineImages' option enabled. # noqa: E501 :param image: The image of this WidgetTypeDetails. # noqa: E501 :type: str @@ -297,6 +302,29 @@ def description(self, description): self._description = description + @property + def tags(self): + """Gets the tags of this WidgetTypeDetails. # noqa: E501 + + Tags of the widget type # noqa: E501 + + :return: The tags of this WidgetTypeDetails. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this WidgetTypeDetails. + + Tags of the widget type # noqa: E501 + + :param tags: The tags of this WidgetTypeDetails. # noqa: E501 + :type: list[str] + """ + + self._tags = tags + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/tb_rest_client/models/models_ce/widget_type_export_data.py b/tb_rest_client/models/models_ce/widget_type_export_data.py index 62617c02..efa6c4a1 100644 --- a/tb_rest_client/models/models_ce/widget_type_export_data.py +++ b/tb_rest_client/models/models_ce/widget_type_export_data.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/widget_type_id.py b/tb_rest_client/models/models_ce/widget_type_id.py index cd62ab63..17037dfa 100644 --- a/tb_rest_client/models/models_ce/widget_type_id.py +++ b/tb_rest_client/models/models_ce/widget_type_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/widget_type_info.py b/tb_rest_client/models/models_ce/widget_type_info.py index 47f2a1f5..57117e30 100644 --- a/tb_rest_client/models/models_ce/widget_type_info.py +++ b/tb_rest_client/models/models_ce/widget_type_info.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -50,6 +50,7 @@ class WidgetTypeInfo(object): 'deprecated': 'bool', 'image': 'str', 'description': 'str', + 'tags': 'list[str]', 'widget_type': 'str' } @@ -62,10 +63,11 @@ class WidgetTypeInfo(object): 'deprecated': 'deprecated', 'image': 'image', 'description': 'description', + 'tags': 'tags', 'widget_type': 'widgetType' } - def __init__(self, id=None, created_time=None, tenant_id=None, fqn=None, name=None, deprecated=None, image=None, description=None, widget_type=None): # noqa: E501 + def __init__(self, id=None, created_time=None, tenant_id=None, fqn=None, name=None, deprecated=None, image=None, description=None, tags=None, widget_type=None): # noqa: E501 """WidgetTypeInfo - a model defined in Swagger""" # noqa: E501 self._id = None self._created_time = None @@ -75,6 +77,7 @@ def __init__(self, id=None, created_time=None, tenant_id=None, fqn=None, name=No self._deprecated = None self._image = None self._description = None + self._tags = None self._widget_type = None self.discriminator = None if id is not None: @@ -93,6 +96,8 @@ def __init__(self, id=None, created_time=None, tenant_id=None, fqn=None, name=No self.image = image if description is not None: self.description = description + if tags is not None: + self.tags = tags if widget_type is not None: self.widget_type = widget_type @@ -276,6 +281,29 @@ def description(self, description): self._description = description + @property + def tags(self): + """Gets the tags of this WidgetTypeInfo. # noqa: E501 + + Tags of the widget type # noqa: E501 + + :return: The tags of this WidgetTypeInfo. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this WidgetTypeInfo. + + Tags of the widget type # noqa: E501 + + :param tags: The tags of this WidgetTypeInfo. # noqa: E501 + :type: list[str] + """ + + self._tags = tags + @property def widget_type(self): """Gets the widget_type of this WidgetTypeInfo. # noqa: E501 diff --git a/tb_rest_client/models/models_ce/widgets_bundle.py b/tb_rest_client/models/models_ce/widgets_bundle.py index b1064e85..a5f3086c 100644 --- a/tb_rest_client/models/models_ce/widgets_bundle.py +++ b/tb_rest_client/models/models_ce/widgets_bundle.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -49,7 +49,8 @@ class WidgetsBundle(object): 'alias': 'str', 'title': 'str', 'image': 'str', - 'description': 'str' + 'description': 'str', + 'order': 'int' } attribute_map = { @@ -60,10 +61,11 @@ class WidgetsBundle(object): 'alias': 'alias', 'title': 'title', 'image': 'image', - 'description': 'description' + 'description': 'description', + 'order': 'order' } - def __init__(self, id=None, created_time=None, name=None, tenant_id=None, alias=None, title=None, image=None, description=None): # noqa: E501 + def __init__(self, id=None, created_time=None, name=None, tenant_id=None, alias=None, title=None, image=None, description=None, order=None): # noqa: E501 """WidgetsBundle - a model defined in Swagger""" # noqa: E501 self._id = None self._created_time = None @@ -73,6 +75,7 @@ def __init__(self, id=None, created_time=None, name=None, tenant_id=None, alias= self._title = None self._image = None self._description = None + self._order = None self.discriminator = None if id is not None: self.id = id @@ -90,6 +93,8 @@ def __init__(self, id=None, created_time=None, name=None, tenant_id=None, alias= self.image = image if description is not None: self.description = description + if order is not None: + self.order = order @property def id(self): @@ -229,7 +234,7 @@ def title(self, title): def image(self): """Gets the image of this WidgetsBundle. # noqa: E501 - Base64 encoded thumbnail # noqa: E501 + Relative or external image URL. Replaced with image data URL (Base64) in case of relative URL and 'inlineImages' option enabled. # noqa: E501 :return: The image of this WidgetsBundle. # noqa: E501 :rtype: str @@ -240,7 +245,7 @@ def image(self): def image(self, image): """Sets the image of this WidgetsBundle. - Base64 encoded thumbnail # noqa: E501 + Relative or external image URL. Replaced with image data URL (Base64) in case of relative URL and 'inlineImages' option enabled. # noqa: E501 :param image: The image of this WidgetsBundle. # noqa: E501 :type: str @@ -271,6 +276,29 @@ def description(self, description): self._description = description + @property + def order(self): + """Gets the order of this WidgetsBundle. # noqa: E501 + + Order # noqa: E501 + + :return: The order of this WidgetsBundle. # noqa: E501 + :rtype: int + """ + return self._order + + @order.setter + def order(self, order): + """Sets the order of this WidgetsBundle. + + Order # noqa: E501 + + :param order: The order of this WidgetsBundle. # noqa: E501 + :type: int + """ + + self._order = order + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/tb_rest_client/models/models_ce/widgets_bundle_export_data.py b/tb_rest_client/models/models_ce/widgets_bundle_export_data.py index 2ad32d03..d594a757 100644 --- a/tb_rest_client/models/models_ce/widgets_bundle_export_data.py +++ b/tb_rest_client/models/models_ce/widgets_bundle_export_data.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/widgets_bundle_id.py b/tb_rest_client/models/models_ce/widgets_bundle_id.py index 5e51ae1c..d095b747 100644 --- a/tb_rest_client/models/models_ce/widgets_bundle_id.py +++ b/tb_rest_client/models/models_ce/widgets_bundle_id.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/x509_certificate_chain_provision_configuration.py b/tb_rest_client/models/models_ce/x509_certificate_chain_provision_configuration.py index c2c766d5..3eeece89 100644 --- a/tb_rest_client/models/models_ce/x509_certificate_chain_provision_configuration.py +++ b/tb_rest_client/models/models_ce/x509_certificate_chain_provision_configuration.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_ce/x509_lw_m2_m_bootstrap_server_credential.py b/tb_rest_client/models/models_ce/x509_lw_m2_m_bootstrap_server_credential.py index fe0454a5..70805228 100644 --- a/tb_rest_client/models/models_ce/x509_lw_m2_m_bootstrap_server_credential.py +++ b/tb_rest_client/models/models_ce/x509_lw_m2_m_bootstrap_server_credential.py @@ -5,12 +5,12 @@ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0 + OpenAPI spec version: 3.6.2 Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/__init__.py b/tb_rest_client/models/models_pe/__init__.py index 6dede593..5a1c8e03 100644 --- a/tb_rest_client/models/models_pe/__init__.py +++ b/tb_rest_client/models/models_pe/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -45,7 +45,6 @@ from .share_group_request import ShareGroupRequest from .save_ota_package_info_request import SaveOtaPackageInfoRequest from .mqtt_device_transport_configuration import MqttDeviceTransportConfiguration -from .page_data_tb_resource_info import PageDataTbResourceInfo from .bulk_import_result_device import BulkImportResultDevice from .device_search_query_filter import DeviceSearchQueryFilter from .byte_buffer import ByteBuffer @@ -228,7 +227,6 @@ from .tenant_profile_configuration import TenantProfileConfiguration from .dynamic_valuelong import DynamicValuelong from .device_profile_transport_configuration import DeviceProfileTransportConfiguration -from .tb_resource_info import TbResourceInfo from .object_attributes import ObjectAttributes from .relation_entity_type_filter import RelationEntityTypeFilter from .asset_search_query_filter import AssetSearchQueryFilter diff --git a/tb_rest_client/models/models_pe/account_two_fa_settings.py b/tb_rest_client/models/models_pe/account_two_fa_settings.py index 4caa4099..64353936 100644 --- a/tb_rest_client/models/models_pe/account_two_fa_settings.py +++ b/tb_rest_client/models/models_pe/account_two_fa_settings.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/activate_user_request.py b/tb_rest_client/models/models_pe/activate_user_request.py index 78825118..605cf7b2 100644 --- a/tb_rest_client/models/models_pe/activate_user_request.py +++ b/tb_rest_client/models/models_pe/activate_user_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/admin_settings.py b/tb_rest_client/models/models_pe/admin_settings.py index 9fd23b80..a8efde80 100644 --- a/tb_rest_client/models/models_pe/admin_settings.py +++ b/tb_rest_client/models/models_pe/admin_settings.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/admin_settings_id.py b/tb_rest_client/models/models_pe/admin_settings_id.py index 30447bbe..85a927d0 100644 --- a/tb_rest_client/models/models_pe/admin_settings_id.py +++ b/tb_rest_client/models/models_pe/admin_settings_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/affected_tenant_administrators_filter.py b/tb_rest_client/models/models_pe/affected_tenant_administrators_filter.py index 3d9e5dbe..0098d90d 100644 --- a/tb_rest_client/models/models_pe/affected_tenant_administrators_filter.py +++ b/tb_rest_client/models/models_pe/affected_tenant_administrators_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/affected_user_filter.py b/tb_rest_client/models/models_pe/affected_user_filter.py index 0c7b223d..c32f74e3 100644 --- a/tb_rest_client/models/models_pe/affected_user_filter.py +++ b/tb_rest_client/models/models_pe/affected_user_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm.py b/tb_rest_client/models/models_pe/alarm.py index c7ec8394..fe35df3b 100644 --- a/tb_rest_client/models/models_pe/alarm.py +++ b/tb_rest_client/models/models_pe/alarm.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm_assignee.py b/tb_rest_client/models/models_pe/alarm_assignee.py index ce47c01c..ed19337b 100644 --- a/tb_rest_client/models/models_pe/alarm_assignee.py +++ b/tb_rest_client/models/models_pe/alarm_assignee.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm_assignment_notification_rule_trigger_config.py b/tb_rest_client/models/models_pe/alarm_assignment_notification_rule_trigger_config.py index 8b0b5661..4f164746 100644 --- a/tb_rest_client/models/models_pe/alarm_assignment_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_pe/alarm_assignment_notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm_comment.py b/tb_rest_client/models/models_pe/alarm_comment.py index f11c9180..de8eecd8 100644 --- a/tb_rest_client/models/models_pe/alarm_comment.py +++ b/tb_rest_client/models/models_pe/alarm_comment.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm_comment_id.py b/tb_rest_client/models/models_pe/alarm_comment_id.py index 888ce44b..f4db7ddd 100644 --- a/tb_rest_client/models/models_pe/alarm_comment_id.py +++ b/tb_rest_client/models/models_pe/alarm_comment_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm_comment_info.py b/tb_rest_client/models/models_pe/alarm_comment_info.py index 24d891dc..57650322 100644 --- a/tb_rest_client/models/models_pe/alarm_comment_info.py +++ b/tb_rest_client/models/models_pe/alarm_comment_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm_comment_notification_rule_trigger_config.py b/tb_rest_client/models/models_pe/alarm_comment_notification_rule_trigger_config.py index 39435fed..dd2d80ec 100644 --- a/tb_rest_client/models/models_pe/alarm_comment_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_pe/alarm_comment_notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm_condition.py b/tb_rest_client/models/models_pe/alarm_condition.py index 85493d71..1729be21 100644 --- a/tb_rest_client/models/models_pe/alarm_condition.py +++ b/tb_rest_client/models/models_pe/alarm_condition.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm_condition_filter.py b/tb_rest_client/models/models_pe/alarm_condition_filter.py index dc287d2f..4d617676 100644 --- a/tb_rest_client/models/models_pe/alarm_condition_filter.py +++ b/tb_rest_client/models/models_pe/alarm_condition_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm_condition_filter_key.py b/tb_rest_client/models/models_pe/alarm_condition_filter_key.py index d84362d3..ad26c493 100644 --- a/tb_rest_client/models/models_pe/alarm_condition_filter_key.py +++ b/tb_rest_client/models/models_pe/alarm_condition_filter_key.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm_condition_spec.py b/tb_rest_client/models/models_pe/alarm_condition_spec.py index 1018566e..6f1078a0 100644 --- a/tb_rest_client/models/models_pe/alarm_condition_spec.py +++ b/tb_rest_client/models/models_pe/alarm_condition_spec.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm_count_query.py b/tb_rest_client/models/models_pe/alarm_count_query.py index 761745b2..3fa93e33 100644 --- a/tb_rest_client/models/models_pe/alarm_count_query.py +++ b/tb_rest_client/models/models_pe/alarm_count_query.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm_data.py b/tb_rest_client/models/models_pe/alarm_data.py index 5d2a7440..892d99b1 100644 --- a/tb_rest_client/models/models_pe/alarm_data.py +++ b/tb_rest_client/models/models_pe/alarm_data.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm_data_page_link.py b/tb_rest_client/models/models_pe/alarm_data_page_link.py index f8c58199..b0412054 100644 --- a/tb_rest_client/models/models_pe/alarm_data_page_link.py +++ b/tb_rest_client/models/models_pe/alarm_data_page_link.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm_data_query.py b/tb_rest_client/models/models_pe/alarm_data_query.py index b99d3e17..fb0d7fe7 100644 --- a/tb_rest_client/models/models_pe/alarm_data_query.py +++ b/tb_rest_client/models/models_pe/alarm_data_query.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm_id.py b/tb_rest_client/models/models_pe/alarm_id.py index fec6b0b7..58deb191 100644 --- a/tb_rest_client/models/models_pe/alarm_id.py +++ b/tb_rest_client/models/models_pe/alarm_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm_info.py b/tb_rest_client/models/models_pe/alarm_info.py index 6f9ebc20..3b8f56d1 100644 --- a/tb_rest_client/models/models_pe/alarm_info.py +++ b/tb_rest_client/models/models_pe/alarm_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm_notification_rule_trigger_config.py b/tb_rest_client/models/models_pe/alarm_notification_rule_trigger_config.py index bb62f774..56688fff 100644 --- a/tb_rest_client/models/models_pe/alarm_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_pe/alarm_notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm_rule.py b/tb_rest_client/models/models_pe/alarm_rule.py index cefcfda1..c6adb2ce 100644 --- a/tb_rest_client/models/models_pe/alarm_rule.py +++ b/tb_rest_client/models/models_pe/alarm_rule.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/alarm_schedule.py b/tb_rest_client/models/models_pe/alarm_schedule.py index 883e1d1f..d3396ace 100644 --- a/tb_rest_client/models/models_pe/alarm_schedule.py +++ b/tb_rest_client/models/models_pe/alarm_schedule.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/all_users_filter.py b/tb_rest_client/models/models_pe/all_users_filter.py index 3aac0c81..b6433f68 100644 --- a/tb_rest_client/models/models_pe/all_users_filter.py +++ b/tb_rest_client/models/models_pe/all_users_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/allow_create_new_devices_device_profile_provision_configuration.py b/tb_rest_client/models/models_pe/allow_create_new_devices_device_profile_provision_configuration.py index 2dd5f89c..dc41c8e4 100644 --- a/tb_rest_client/models/models_pe/allow_create_new_devices_device_profile_provision_configuration.py +++ b/tb_rest_client/models/models_pe/allow_create_new_devices_device_profile_provision_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/allowed_permissions_info.py b/tb_rest_client/models/models_pe/allowed_permissions_info.py index 58d70eec..7dd055f2 100644 --- a/tb_rest_client/models/models_pe/allowed_permissions_info.py +++ b/tb_rest_client/models/models_pe/allowed_permissions_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -148,7 +148,7 @@ def allowed_resources(self, allowed_resources): :param allowed_resources: The allowed_resources of this AllowedPermissionsInfo. # noqa: E501 :type: list[str] """ - allowed_values = ["BILLING", "ADMIN_SETTINGS", "ALARM", "ALL", "API_USAGE_STATE", "ASSET", "ASSET_GROUP", "ASSET_PROFILE", "AUDIT_LOG", "BLOB_ENTITY", "CONVERTER", "CUSTOMER", "CUSTOMER_GROUP", "DASHBOARD", "DASHBOARD_GROUP", "DEVICE", "DEVICE_GROUP", "DEVICE_PROFILE", "EDGE", "EDGE_GROUP", "ENTITY_VIEW", "ENTITY_VIEW_GROUP", "GROUP_PERMISSION", "INTEGRATION", "NOTIFICATION", "OAUTH2_CONFIGURATION_INFO", "OAUTH2_CONFIGURATION_TEMPLATE", "OTA_PACKAGE", "PROFILE", "QUEUE", "ROLE", "RULE_CHAIN", "SCHEDULER_EVENT", "TB_RESOURCE", "TENANT", "TENANT_PROFILE", "USER", "USER_GROUP", "VERSION_CONTROL", "WHITE_LABELING", "WIDGETS_BUNDLE", "WIDGET_TYPE"] # noqa: E501 + allowed_values = ["ADMIN_SETTINGS", "ALARM", "ALL", "API_USAGE_STATE", "ASSET", "ASSET_GROUP", "ASSET_PROFILE", "AUDIT_LOG", "BLOB_ENTITY", "CONVERTER", "CUSTOMER", "CUSTOMER_GROUP", "DASHBOARD", "DASHBOARD_GROUP", "DEVICE", "DEVICE_GROUP", "DEVICE_PROFILE", "EDGE", "EDGE_GROUP", "ENTITY_VIEW", "ENTITY_VIEW_GROUP", "GROUP_PERMISSION", "INTEGRATION", "NOTIFICATION", "OAUTH2_CONFIGURATION_INFO", "OAUTH2_CONFIGURATION_TEMPLATE", "OTA_PACKAGE", "PROFILE", "QUEUE", "ROLE", "RULE_CHAIN", "SCHEDULER_EVENT", "TB_RESOURCE", "TENANT", "TENANT_PROFILE", "USER", "USER_GROUP", "VERSION_CONTROL", "WHITE_LABELING", "WIDGETS_BUNDLE", "WIDGET_TYPE"] # noqa: E501 if not set(allowed_resources).issubset(set(allowed_values)): raise ValueError( "Invalid values for `allowed_resources` [{0}], must be a subset of [{1}]" # noqa: E501 diff --git a/tb_rest_client/models/models_pe/any_time_schedule.py b/tb_rest_client/models/models_pe/any_time_schedule.py index e268b369..402a2db0 100644 --- a/tb_rest_client/models/models_pe/any_time_schedule.py +++ b/tb_rest_client/models/models_pe/any_time_schedule.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/api_usage_limit_notification_rule_trigger_config.py b/tb_rest_client/models/models_pe/api_usage_limit_notification_rule_trigger_config.py index 06a719b7..fe30f49c 100644 --- a/tb_rest_client/models/models_pe/api_usage_limit_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_pe/api_usage_limit_notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -90,7 +90,7 @@ def api_features(self, api_features): :param api_features: The api_features of this ApiUsageLimitNotificationRuleTriggerConfig. # noqa: E501 :type: list[str] """ - allowed_values = ["ALARM", "DB", "EMAIL", "JS", "RE", "SMS", "TRANSPORT"] # noqa: E501 + allowed_values = ["ALARM", "DB", "EMAIL", "JS", "RE", "SMS", "TBEL", "TRANSPORT"] # noqa: E501 if not set(api_features).issubset(set(allowed_values)): raise ValueError( "Invalid values for `api_features` [{0}], must be a subset of [{1}]" # noqa: E501 diff --git a/tb_rest_client/models/models_pe/api_usage_state_filter.py b/tb_rest_client/models/models_pe/api_usage_state_filter.py index b773e990..0aa6a16d 100644 --- a/tb_rest_client/models/models_pe/api_usage_state_filter.py +++ b/tb_rest_client/models/models_pe/api_usage_state_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/array_node.py b/tb_rest_client/models/models_pe/array_node.py index 1f151f09..e3e5cb08 100644 --- a/tb_rest_client/models/models_pe/array_node.py +++ b/tb_rest_client/models/models_pe/array_node.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/asset_id.py b/tb_rest_client/models/models_pe/asset_id.py index 28eb3746..2ef9db40 100644 --- a/tb_rest_client/models/models_pe/asset_id.py +++ b/tb_rest_client/models/models_pe/asset_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/asset_info.py b/tb_rest_client/models/models_pe/asset_info.py index 5c31b44d..2a1da873 100644 --- a/tb_rest_client/models/models_pe/asset_info.py +++ b/tb_rest_client/models/models_pe/asset_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/asset_profile_id.py b/tb_rest_client/models/models_pe/asset_profile_id.py index ee007c3c..1ca0c2ca 100644 --- a/tb_rest_client/models/models_pe/asset_profile_id.py +++ b/tb_rest_client/models/models_pe/asset_profile_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/asset_search_query.py b/tb_rest_client/models/models_pe/asset_search_query.py index 8332e493..4e1668de 100644 --- a/tb_rest_client/models/models_pe/asset_search_query.py +++ b/tb_rest_client/models/models_pe/asset_search_query.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/asset_search_query_filter.py b/tb_rest_client/models/models_pe/asset_search_query_filter.py index db00e0db..ed045981 100644 --- a/tb_rest_client/models/models_pe/asset_search_query_filter.py +++ b/tb_rest_client/models/models_pe/asset_search_query_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/asset_type_filter.py b/tb_rest_client/models/models_pe/asset_type_filter.py index 704ee209..58cc66c3 100644 --- a/tb_rest_client/models/models_pe/asset_type_filter.py +++ b/tb_rest_client/models/models_pe/asset_type_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/atomic_integer.py b/tb_rest_client/models/models_pe/atomic_integer.py index bcbb6e3d..9ceb41b5 100644 --- a/tb_rest_client/models/models_pe/atomic_integer.py +++ b/tb_rest_client/models/models_pe/atomic_integer.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/attribute_export_data.py b/tb_rest_client/models/models_pe/attribute_export_data.py index 37d3d741..684548fa 100644 --- a/tb_rest_client/models/models_pe/attribute_export_data.py +++ b/tb_rest_client/models/models_pe/attribute_export_data.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/attributes_entity_view.py b/tb_rest_client/models/models_pe/attributes_entity_view.py index 7323cd16..e825e6db 100644 --- a/tb_rest_client/models/models_pe/attributes_entity_view.py +++ b/tb_rest_client/models/models_pe/attributes_entity_view.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/audit_log.py b/tb_rest_client/models/models_pe/audit_log.py index 4d1b8b4a..38b89fa7 100644 --- a/tb_rest_client/models/models_pe/audit_log.py +++ b/tb_rest_client/models/models_pe/audit_log.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/audit_log_id.py b/tb_rest_client/models/models_pe/audit_log_id.py index 6c843596..13caf42e 100644 --- a/tb_rest_client/models/models_pe/audit_log_id.py +++ b/tb_rest_client/models/models_pe/audit_log_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/auto_version_create_config.py b/tb_rest_client/models/models_pe/auto_version_create_config.py index 8bb51cb5..2442038c 100644 --- a/tb_rest_client/models/models_pe/auto_version_create_config.py +++ b/tb_rest_client/models/models_pe/auto_version_create_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/aws_sns_sms_provider_configuration.py b/tb_rest_client/models/models_pe/aws_sns_sms_provider_configuration.py index ee8be6c1..6e41f350 100644 --- a/tb_rest_client/models/models_pe/aws_sns_sms_provider_configuration.py +++ b/tb_rest_client/models/models_pe/aws_sns_sms_provider_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/backup_code_two_fa_account_config.py b/tb_rest_client/models/models_pe/backup_code_two_fa_account_config.py index 8ce0a19e..ee944738 100644 --- a/tb_rest_client/models/models_pe/backup_code_two_fa_account_config.py +++ b/tb_rest_client/models/models_pe/backup_code_two_fa_account_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/backup_code_two_fa_provider_config.py b/tb_rest_client/models/models_pe/backup_code_two_fa_provider_config.py index 6ea7c17f..0ab9e89e 100644 --- a/tb_rest_client/models/models_pe/backup_code_two_fa_provider_config.py +++ b/tb_rest_client/models/models_pe/backup_code_two_fa_provider_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/blob_entity_id.py b/tb_rest_client/models/models_pe/blob_entity_id.py index 0a4b15f3..5db5f8c0 100644 --- a/tb_rest_client/models/models_pe/blob_entity_id.py +++ b/tb_rest_client/models/models_pe/blob_entity_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/blob_entity_info.py b/tb_rest_client/models/models_pe/blob_entity_info.py index 90d2127f..08f2fbcd 100644 --- a/tb_rest_client/models/models_pe/blob_entity_info.py +++ b/tb_rest_client/models/models_pe/blob_entity_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/blob_entity_with_customer_info.py b/tb_rest_client/models/models_pe/blob_entity_with_customer_info.py index 5fe83be6..c81d33db 100644 --- a/tb_rest_client/models/models_pe/blob_entity_with_customer_info.py +++ b/tb_rest_client/models/models_pe/blob_entity_with_customer_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/boolean_filter_predicate.py b/tb_rest_client/models/models_pe/boolean_filter_predicate.py index 693d19c0..91f4e546 100644 --- a/tb_rest_client/models/models_pe/boolean_filter_predicate.py +++ b/tb_rest_client/models/models_pe/boolean_filter_predicate.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/bootstrap_configuration.py b/tb_rest_client/models/models_pe/bootstrap_configuration.py index b8c716f5..74f9b822 100644 --- a/tb_rest_client/models/models_pe/bootstrap_configuration.py +++ b/tb_rest_client/models/models_pe/bootstrap_configuration.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/branch_info.py b/tb_rest_client/models/models_pe/branch_info.py index ce616e9f..b8ca1235 100644 --- a/tb_rest_client/models/models_pe/branch_info.py +++ b/tb_rest_client/models/models_pe/branch_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/bulk_import_request.py b/tb_rest_client/models/models_pe/bulk_import_request.py index 16d02a68..9a799051 100644 --- a/tb_rest_client/models/models_pe/bulk_import_request.py +++ b/tb_rest_client/models/models_pe/bulk_import_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/bulk_import_result_asset.py b/tb_rest_client/models/models_pe/bulk_import_result_asset.py index eea34f4f..15bdea89 100644 --- a/tb_rest_client/models/models_pe/bulk_import_result_asset.py +++ b/tb_rest_client/models/models_pe/bulk_import_result_asset.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/bulk_import_result_device.py b/tb_rest_client/models/models_pe/bulk_import_result_device.py index 3fd0c5c8..81735b12 100644 --- a/tb_rest_client/models/models_pe/bulk_import_result_device.py +++ b/tb_rest_client/models/models_pe/bulk_import_result_device.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/bulk_import_result_edge.py b/tb_rest_client/models/models_pe/bulk_import_result_edge.py index a1007c37..4cc3e500 100644 --- a/tb_rest_client/models/models_pe/bulk_import_result_edge.py +++ b/tb_rest_client/models/models_pe/bulk_import_result_edge.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/byte_buffer.py b/tb_rest_client/models/models_pe/byte_buffer.py index c1915932..c0b12ee5 100644 --- a/tb_rest_client/models/models_pe/byte_buffer.py +++ b/tb_rest_client/models/models_pe/byte_buffer.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/change_password_request.py b/tb_rest_client/models/models_pe/change_password_request.py index b70fbf1f..9f566ea9 100644 --- a/tb_rest_client/models/models_pe/change_password_request.py +++ b/tb_rest_client/models/models_pe/change_password_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/check_pre_provisioned_devices_device_profile_provision_configuration.py b/tb_rest_client/models/models_pe/check_pre_provisioned_devices_device_profile_provision_configuration.py index 80ec1798..17657a19 100644 --- a/tb_rest_client/models/models_pe/check_pre_provisioned_devices_device_profile_provision_configuration.py +++ b/tb_rest_client/models/models_pe/check_pre_provisioned_devices_device_profile_provision_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/claim_request.py b/tb_rest_client/models/models_pe/claim_request.py index aa8e8207..608b9dfa 100644 --- a/tb_rest_client/models/models_pe/claim_request.py +++ b/tb_rest_client/models/models_pe/claim_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/clear_rule.py b/tb_rest_client/models/models_pe/clear_rule.py index 99ff16d1..dc142a32 100644 --- a/tb_rest_client/models/models_pe/clear_rule.py +++ b/tb_rest_client/models/models_pe/clear_rule.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/client_attributes_querying_snmp_communication_config.py b/tb_rest_client/models/models_pe/client_attributes_querying_snmp_communication_config.py index 619ff029..4364e48e 100644 --- a/tb_rest_client/models/models_pe/client_attributes_querying_snmp_communication_config.py +++ b/tb_rest_client/models/models_pe/client_attributes_querying_snmp_communication_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/client_registration_dto.py b/tb_rest_client/models/models_pe/client_registration_dto.py index 74b704d5..4dc88363 100644 --- a/tb_rest_client/models/models_pe/client_registration_dto.py +++ b/tb_rest_client/models/models_pe/client_registration_dto.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/coap_device_profile_transport_configuration.py b/tb_rest_client/models/models_pe/coap_device_profile_transport_configuration.py index 85a75ced..cd7750d2 100644 --- a/tb_rest_client/models/models_pe/coap_device_profile_transport_configuration.py +++ b/tb_rest_client/models/models_pe/coap_device_profile_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/coap_device_transport_configuration.py b/tb_rest_client/models/models_pe/coap_device_transport_configuration.py index 7697f27e..244d803f 100644 --- a/tb_rest_client/models/models_pe/coap_device_transport_configuration.py +++ b/tb_rest_client/models/models_pe/coap_device_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/coap_device_type_configuration.py b/tb_rest_client/models/models_pe/coap_device_type_configuration.py index 61f62b22..cc2a9b62 100644 --- a/tb_rest_client/models/models_pe/coap_device_type_configuration.py +++ b/tb_rest_client/models/models_pe/coap_device_type_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/column_mapping.py b/tb_rest_client/models/models_pe/column_mapping.py index 0309bd1b..584fd405 100644 --- a/tb_rest_client/models/models_pe/column_mapping.py +++ b/tb_rest_client/models/models_pe/column_mapping.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/comparison_ts_value.py b/tb_rest_client/models/models_pe/comparison_ts_value.py index da4a0915..f391cfa7 100644 --- a/tb_rest_client/models/models_pe/comparison_ts_value.py +++ b/tb_rest_client/models/models_pe/comparison_ts_value.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/complex_filter_predicate.py b/tb_rest_client/models/models_pe/complex_filter_predicate.py index dffeaab5..b76067de 100644 --- a/tb_rest_client/models/models_pe/complex_filter_predicate.py +++ b/tb_rest_client/models/models_pe/complex_filter_predicate.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/complex_version_create_request.py b/tb_rest_client/models/models_pe/complex_version_create_request.py index 7389d917..ee2bb0b1 100644 --- a/tb_rest_client/models/models_pe/complex_version_create_request.py +++ b/tb_rest_client/models/models_pe/complex_version_create_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/component_descriptor.py b/tb_rest_client/models/models_pe/component_descriptor.py index 2fa414f4..0d610403 100644 --- a/tb_rest_client/models/models_pe/component_descriptor.py +++ b/tb_rest_client/models/models_pe/component_descriptor.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/component_descriptor_id.py b/tb_rest_client/models/models_pe/component_descriptor_id.py index 338bdca8..b2d03317 100644 --- a/tb_rest_client/models/models_pe/component_descriptor_id.py +++ b/tb_rest_client/models/models_pe/component_descriptor_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/contact_basedobject.py b/tb_rest_client/models/models_pe/contact_basedobject.py index fe63ebf0..2e82d16c 100644 --- a/tb_rest_client/models/models_pe/contact_basedobject.py +++ b/tb_rest_client/models/models_pe/contact_basedobject.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/converter.py b/tb_rest_client/models/models_pe/converter.py index 09213505..1554c5d3 100644 --- a/tb_rest_client/models/models_pe/converter.py +++ b/tb_rest_client/models/models_pe/converter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/converter_id.py b/tb_rest_client/models/models_pe/converter_id.py index bc859210..f67d9305 100644 --- a/tb_rest_client/models/models_pe/converter_id.py +++ b/tb_rest_client/models/models_pe/converter_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/custom_menu.py b/tb_rest_client/models/models_pe/custom_menu.py index 183d0b55..94ec88a3 100644 --- a/tb_rest_client/models/models_pe/custom_menu.py +++ b/tb_rest_client/models/models_pe/custom_menu.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/custom_menu_item.py b/tb_rest_client/models/models_pe/custom_menu_item.py index d5a28075..502b2657 100644 --- a/tb_rest_client/models/models_pe/custom_menu_item.py +++ b/tb_rest_client/models/models_pe/custom_menu_item.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/custom_time_schedule.py b/tb_rest_client/models/models_pe/custom_time_schedule.py index d853fcd6..7470f82c 100644 --- a/tb_rest_client/models/models_pe/custom_time_schedule.py +++ b/tb_rest_client/models/models_pe/custom_time_schedule.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/custom_time_schedule_item.py b/tb_rest_client/models/models_pe/custom_time_schedule_item.py index 902fab2c..6369d621 100644 --- a/tb_rest_client/models/models_pe/custom_time_schedule_item.py +++ b/tb_rest_client/models/models_pe/custom_time_schedule_item.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/custom_translation.py b/tb_rest_client/models/models_pe/custom_translation.py index 03c42e3d..6b3847c5 100644 --- a/tb_rest_client/models/models_pe/custom_translation.py +++ b/tb_rest_client/models/models_pe/custom_translation.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/customer_id.py b/tb_rest_client/models/models_pe/customer_id.py index a5d1192a..6e865575 100644 --- a/tb_rest_client/models/models_pe/customer_id.py +++ b/tb_rest_client/models/models_pe/customer_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/customer_info.py b/tb_rest_client/models/models_pe/customer_info.py index 0da2784d..3c792f80 100644 --- a/tb_rest_client/models/models_pe/customer_info.py +++ b/tb_rest_client/models/models_pe/customer_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/customer_users_filter.py b/tb_rest_client/models/models_pe/customer_users_filter.py index 78e4f00f..8ece512e 100644 --- a/tb_rest_client/models/models_pe/customer_users_filter.py +++ b/tb_rest_client/models/models_pe/customer_users_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/dashboard_id.py b/tb_rest_client/models/models_pe/dashboard_id.py index 72ffcf68..4ab8e004 100644 --- a/tb_rest_client/models/models_pe/dashboard_id.py +++ b/tb_rest_client/models/models_pe/dashboard_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/debug_converter_event_filter.py b/tb_rest_client/models/models_pe/debug_converter_event_filter.py index f2edebe5..70c81ed4 100644 --- a/tb_rest_client/models/models_pe/debug_converter_event_filter.py +++ b/tb_rest_client/models/models_pe/debug_converter_event_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/debug_integration_event_filter.py b/tb_rest_client/models/models_pe/debug_integration_event_filter.py index a8707b46..42dd1686 100644 --- a/tb_rest_client/models/models_pe/debug_integration_event_filter.py +++ b/tb_rest_client/models/models_pe/debug_integration_event_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/debug_rule_chain_event_filter.py b/tb_rest_client/models/models_pe/debug_rule_chain_event_filter.py index 3564e445..4e9df12e 100644 --- a/tb_rest_client/models/models_pe/debug_rule_chain_event_filter.py +++ b/tb_rest_client/models/models_pe/debug_rule_chain_event_filter.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/debug_rule_node_event_filter.py b/tb_rest_client/models/models_pe/debug_rule_node_event_filter.py index 8afc612a..72085d19 100644 --- a/tb_rest_client/models/models_pe/debug_rule_node_event_filter.py +++ b/tb_rest_client/models/models_pe/debug_rule_node_event_filter.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/default_coap_device_type_configuration.py b/tb_rest_client/models/models_pe/default_coap_device_type_configuration.py index 9f7d93a3..ca87ef04 100644 --- a/tb_rest_client/models/models_pe/default_coap_device_type_configuration.py +++ b/tb_rest_client/models/models_pe/default_coap_device_type_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/default_device_configuration.py b/tb_rest_client/models/models_pe/default_device_configuration.py index 2b41a27c..52714bd6 100644 --- a/tb_rest_client/models/models_pe/default_device_configuration.py +++ b/tb_rest_client/models/models_pe/default_device_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/default_device_profile_configuration.py b/tb_rest_client/models/models_pe/default_device_profile_configuration.py index af90241a..d65ab357 100644 --- a/tb_rest_client/models/models_pe/default_device_profile_configuration.py +++ b/tb_rest_client/models/models_pe/default_device_profile_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/default_device_profile_transport_configuration.py b/tb_rest_client/models/models_pe/default_device_profile_transport_configuration.py index 541971bd..9f3bce29 100644 --- a/tb_rest_client/models/models_pe/default_device_profile_transport_configuration.py +++ b/tb_rest_client/models/models_pe/default_device_profile_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/default_device_transport_configuration.py b/tb_rest_client/models/models_pe/default_device_transport_configuration.py index 6b168ddb..4f4eec50 100644 --- a/tb_rest_client/models/models_pe/default_device_transport_configuration.py +++ b/tb_rest_client/models/models_pe/default_device_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/default_rule_chain_create_request.py b/tb_rest_client/models/models_pe/default_rule_chain_create_request.py index e582d3cd..7cb357d3 100644 --- a/tb_rest_client/models/models_pe/default_rule_chain_create_request.py +++ b/tb_rest_client/models/models_pe/default_rule_chain_create_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/default_tenant_profile_configuration.py b/tb_rest_client/models/models_pe/default_tenant_profile_configuration.py index 8063629c..0b056955 100644 --- a/tb_rest_client/models/models_pe/default_tenant_profile_configuration.py +++ b/tb_rest_client/models/models_pe/default_tenant_profile_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -60,11 +60,13 @@ class DefaultTenantProfileConfiguration(object): 'max_js_executions': 'int', 'max_ota_packages_in_bytes': 'int', 'max_re_executions': 'int', + 'max_resource_size': 'int', 'max_resources_in_bytes': 'int', 'max_rule_chains': 'int', 'max_rule_node_executions_per_message': 'int', 'max_scheduler_events': 'int', 'max_sms': 'int', + 'max_tbel_executions': 'int', 'max_transport_data_points': 'int', 'max_transport_messages': 'int', 'max_users': 'int', @@ -115,11 +117,13 @@ class DefaultTenantProfileConfiguration(object): 'max_js_executions': 'maxJSExecutions', 'max_ota_packages_in_bytes': 'maxOtaPackagesInBytes', 'max_re_executions': 'maxREExecutions', + 'max_resource_size': 'maxResourceSize', 'max_resources_in_bytes': 'maxResourcesInBytes', 'max_rule_chains': 'maxRuleChains', 'max_rule_node_executions_per_message': 'maxRuleNodeExecutionsPerMessage', 'max_scheduler_events': 'maxSchedulerEvents', 'max_sms': 'maxSms', + 'max_tbel_executions': 'maxTbelExecutions', 'max_transport_data_points': 'maxTransportDataPoints', 'max_transport_messages': 'maxTransportMessages', 'max_users': 'maxUsers', @@ -151,7 +155,7 @@ class DefaultTenantProfileConfiguration(object): 'ws_updates_per_session_rate_limit': 'wsUpdatesPerSessionRateLimit' } - def __init__(self, alarms_ttl_days=None, cassandra_query_tenant_rate_limits_configuration=None, customer_server_rest_limits_configuration=None, default_storage_ttl_days=None, integration_msgs_per_device_rate_limit=None, integration_msgs_per_tenant_rate_limit=None, max_assets=None, max_converters=None, max_created_alarms=None, max_customers=None, max_dp_storage_days=None, max_dashboards=None, max_devices=None, max_emails=None, max_integrations=None, max_js_executions=None, max_ota_packages_in_bytes=None, max_re_executions=None, max_resources_in_bytes=None, max_rule_chains=None, max_rule_node_executions_per_message=None, max_scheduler_events=None, max_sms=None, max_transport_data_points=None, max_transport_messages=None, max_users=None, max_ws_sessions_per_customer=None, max_ws_sessions_per_public_user=None, max_ws_sessions_per_regular_user=None, max_ws_sessions_per_tenant=None, max_ws_subscriptions_per_customer=None, max_ws_subscriptions_per_public_user=None, max_ws_subscriptions_per_regular_user=None, max_ws_subscriptions_per_tenant=None, queue_stats_ttl_days=None, rpc_ttl_days=None, rule_engine_exceptions_ttl_days=None, sms_enabled=None, tenant_entity_export_rate_limit=None, tenant_entity_import_rate_limit=None, tenant_notification_requests_per_rule_rate_limit=None, tenant_notification_requests_rate_limit=None, tenant_server_rest_limits_configuration=None, transport_device_msg_rate_limit=None, transport_device_telemetry_data_points_rate_limit=None, transport_device_telemetry_msg_rate_limit=None, transport_tenant_msg_rate_limit=None, transport_tenant_telemetry_data_points_rate_limit=None, transport_tenant_telemetry_msg_rate_limit=None, warn_threshold=None, ws_msg_queue_limit_per_session=None, ws_updates_per_session_rate_limit=None): # noqa: E501 + def __init__(self, alarms_ttl_days=None, cassandra_query_tenant_rate_limits_configuration=None, customer_server_rest_limits_configuration=None, default_storage_ttl_days=None, integration_msgs_per_device_rate_limit=None, integration_msgs_per_tenant_rate_limit=None, max_assets=None, max_converters=None, max_created_alarms=None, max_customers=None, max_dp_storage_days=None, max_dashboards=None, max_devices=None, max_emails=None, max_integrations=None, max_js_executions=None, max_ota_packages_in_bytes=None, max_re_executions=None, max_resource_size=None, max_resources_in_bytes=None, max_rule_chains=None, max_rule_node_executions_per_message=None, max_scheduler_events=None, max_sms=None, max_tbel_executions=None, max_transport_data_points=None, max_transport_messages=None, max_users=None, max_ws_sessions_per_customer=None, max_ws_sessions_per_public_user=None, max_ws_sessions_per_regular_user=None, max_ws_sessions_per_tenant=None, max_ws_subscriptions_per_customer=None, max_ws_subscriptions_per_public_user=None, max_ws_subscriptions_per_regular_user=None, max_ws_subscriptions_per_tenant=None, queue_stats_ttl_days=None, rpc_ttl_days=None, rule_engine_exceptions_ttl_days=None, sms_enabled=None, tenant_entity_export_rate_limit=None, tenant_entity_import_rate_limit=None, tenant_notification_requests_per_rule_rate_limit=None, tenant_notification_requests_rate_limit=None, tenant_server_rest_limits_configuration=None, transport_device_msg_rate_limit=None, transport_device_telemetry_data_points_rate_limit=None, transport_device_telemetry_msg_rate_limit=None, transport_tenant_msg_rate_limit=None, transport_tenant_telemetry_data_points_rate_limit=None, transport_tenant_telemetry_msg_rate_limit=None, warn_threshold=None, ws_msg_queue_limit_per_session=None, ws_updates_per_session_rate_limit=None): # noqa: E501 """DefaultTenantProfileConfiguration - a model defined in Swagger""" # noqa: E501 self._alarms_ttl_days = None self._cassandra_query_tenant_rate_limits_configuration = None @@ -171,11 +175,13 @@ def __init__(self, alarms_ttl_days=None, cassandra_query_tenant_rate_limits_conf self._max_js_executions = None self._max_ota_packages_in_bytes = None self._max_re_executions = None + self._max_resource_size = None self._max_resources_in_bytes = None self._max_rule_chains = None self._max_rule_node_executions_per_message = None self._max_scheduler_events = None self._max_sms = None + self._max_tbel_executions = None self._max_transport_data_points = None self._max_transport_messages = None self._max_users = None @@ -242,6 +248,8 @@ def __init__(self, alarms_ttl_days=None, cassandra_query_tenant_rate_limits_conf self.max_ota_packages_in_bytes = max_ota_packages_in_bytes if max_re_executions is not None: self.max_re_executions = max_re_executions + if max_resource_size is not None: + self.max_resource_size = max_resource_size if max_resources_in_bytes is not None: self.max_resources_in_bytes = max_resources_in_bytes if max_rule_chains is not None: @@ -252,6 +260,8 @@ def __init__(self, alarms_ttl_days=None, cassandra_query_tenant_rate_limits_conf self.max_scheduler_events = max_scheduler_events if max_sms is not None: self.max_sms = max_sms + if max_tbel_executions is not None: + self.max_tbel_executions = max_tbel_executions if max_transport_data_points is not None: self.max_transport_data_points = max_transport_data_points if max_transport_messages is not None: @@ -689,6 +699,27 @@ def max_re_executions(self, max_re_executions): self._max_re_executions = max_re_executions + @property + def max_resource_size(self): + """Gets the max_resource_size of this DefaultTenantProfileConfiguration. # noqa: E501 + + + :return: The max_resource_size of this DefaultTenantProfileConfiguration. # noqa: E501 + :rtype: int + """ + return self._max_resource_size + + @max_resource_size.setter + def max_resource_size(self, max_resource_size): + """Sets the max_resource_size of this DefaultTenantProfileConfiguration. + + + :param max_resource_size: The max_resource_size of this DefaultTenantProfileConfiguration. # noqa: E501 + :type: int + """ + + self._max_resource_size = max_resource_size + @property def max_resources_in_bytes(self): """Gets the max_resources_in_bytes of this DefaultTenantProfileConfiguration. # noqa: E501 @@ -794,6 +825,27 @@ def max_sms(self, max_sms): self._max_sms = max_sms + @property + def max_tbel_executions(self): + """Gets the max_tbel_executions of this DefaultTenantProfileConfiguration. # noqa: E501 + + + :return: The max_tbel_executions of this DefaultTenantProfileConfiguration. # noqa: E501 + :rtype: int + """ + return self._max_tbel_executions + + @max_tbel_executions.setter + def max_tbel_executions(self, max_tbel_executions): + """Sets the max_tbel_executions of this DefaultTenantProfileConfiguration. + + + :param max_tbel_executions: The max_tbel_executions of this DefaultTenantProfileConfiguration. # noqa: E501 + :type: int + """ + + self._max_tbel_executions = max_tbel_executions + @property def max_transport_data_points(self): """Gets the max_transport_data_points of this DefaultTenantProfileConfiguration. # noqa: E501 diff --git a/tb_rest_client/models/models_pe/deferred_result_entity_data_diff.py b/tb_rest_client/models/models_pe/deferred_result_entity_data_diff.py index b1ec2028..93df7615 100644 --- a/tb_rest_client/models/models_pe/deferred_result_entity_data_diff.py +++ b/tb_rest_client/models/models_pe/deferred_result_entity_data_diff.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/deferred_result_entity_data_info.py b/tb_rest_client/models/models_pe/deferred_result_entity_data_info.py index 78932fc2..62517123 100644 --- a/tb_rest_client/models/models_pe/deferred_result_entity_data_info.py +++ b/tb_rest_client/models/models_pe/deferred_result_entity_data_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/deferred_result_list_branch_info.py b/tb_rest_client/models/models_pe/deferred_result_list_branch_info.py index 360a1a38..dc4449b5 100644 --- a/tb_rest_client/models/models_pe/deferred_result_list_branch_info.py +++ b/tb_rest_client/models/models_pe/deferred_result_list_branch_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/deferred_result_list_versioned_entity_info.py b/tb_rest_client/models/models_pe/deferred_result_list_versioned_entity_info.py index 1e70d427..fb82dedc 100644 --- a/tb_rest_client/models/models_pe/deferred_result_list_versioned_entity_info.py +++ b/tb_rest_client/models/models_pe/deferred_result_list_versioned_entity_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/deferred_result_page_data_entity_version.py b/tb_rest_client/models/models_pe/deferred_result_page_data_entity_version.py index de38d6bb..12e1cfbe 100644 --- a/tb_rest_client/models/models_pe/deferred_result_page_data_entity_version.py +++ b/tb_rest_client/models/models_pe/deferred_result_page_data_entity_version.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/deferred_result_repository_settings.py b/tb_rest_client/models/models_pe/deferred_result_repository_settings.py index 80c61db4..f2621c77 100644 --- a/tb_rest_client/models/models_pe/deferred_result_repository_settings.py +++ b/tb_rest_client/models/models_pe/deferred_result_repository_settings.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/deferred_result_void.py b/tb_rest_client/models/models_pe/deferred_result_void.py index ceac660e..2cc17088 100644 --- a/tb_rest_client/models/models_pe/deferred_result_void.py +++ b/tb_rest_client/models/models_pe/deferred_result_void.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/deferred_resultuuid.py b/tb_rest_client/models/models_pe/deferred_resultuuid.py index 6a2730b0..0eeb5b30 100644 --- a/tb_rest_client/models/models_pe/deferred_resultuuid.py +++ b/tb_rest_client/models/models_pe/deferred_resultuuid.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/delete_tenant_request.py b/tb_rest_client/models/models_pe/delete_tenant_request.py index c62c4982..e4648368 100644 --- a/tb_rest_client/models/models_pe/delete_tenant_request.py +++ b/tb_rest_client/models/models_pe/delete_tenant_request.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/delivery_method_notification_template.py b/tb_rest_client/models/models_pe/delivery_method_notification_template.py index 9f8359a7..4a4449cb 100644 --- a/tb_rest_client/models/models_pe/delivery_method_notification_template.py +++ b/tb_rest_client/models/models_pe/delivery_method_notification_template.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/device_activity_notification_rule_trigger_config.py b/tb_rest_client/models/models_pe/device_activity_notification_rule_trigger_config.py index 778eaf42..5b5f123b 100644 --- a/tb_rest_client/models/models_pe/device_activity_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_pe/device_activity_notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/device_configuration.py b/tb_rest_client/models/models_pe/device_configuration.py index 817b2252..3f5b2ac8 100644 --- a/tb_rest_client/models/models_pe/device_configuration.py +++ b/tb_rest_client/models/models_pe/device_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/device_credentials_id.py b/tb_rest_client/models/models_pe/device_credentials_id.py index 06ac0552..f833706d 100644 --- a/tb_rest_client/models/models_pe/device_credentials_id.py +++ b/tb_rest_client/models/models_pe/device_credentials_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/device_data.py b/tb_rest_client/models/models_pe/device_data.py index 21ad5f74..9051459d 100644 --- a/tb_rest_client/models/models_pe/device_data.py +++ b/tb_rest_client/models/models_pe/device_data.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/device_export_data.py b/tb_rest_client/models/models_pe/device_export_data.py index 1e79814c..53e63752 100644 --- a/tb_rest_client/models/models_pe/device_export_data.py +++ b/tb_rest_client/models/models_pe/device_export_data.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/device_group_ota_package.py b/tb_rest_client/models/models_pe/device_group_ota_package.py index 9cb41311..441b19f2 100644 --- a/tb_rest_client/models/models_pe/device_group_ota_package.py +++ b/tb_rest_client/models/models_pe/device_group_ota_package.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/device_id.py b/tb_rest_client/models/models_pe/device_id.py index 33c4831b..9f404cd2 100644 --- a/tb_rest_client/models/models_pe/device_id.py +++ b/tb_rest_client/models/models_pe/device_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/device_info.py b/tb_rest_client/models/models_pe/device_info.py index edce26db..a076d156 100644 --- a/tb_rest_client/models/models_pe/device_info.py +++ b/tb_rest_client/models/models_pe/device_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/device_profile_alarm.py b/tb_rest_client/models/models_pe/device_profile_alarm.py index 88f2a493..3393ceb4 100644 --- a/tb_rest_client/models/models_pe/device_profile_alarm.py +++ b/tb_rest_client/models/models_pe/device_profile_alarm.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/device_profile_configuration.py b/tb_rest_client/models/models_pe/device_profile_configuration.py index 12625a59..1c7b9789 100644 --- a/tb_rest_client/models/models_pe/device_profile_configuration.py +++ b/tb_rest_client/models/models_pe/device_profile_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/device_profile_data.py b/tb_rest_client/models/models_pe/device_profile_data.py index f245adce..e2f62c4c 100644 --- a/tb_rest_client/models/models_pe/device_profile_data.py +++ b/tb_rest_client/models/models_pe/device_profile_data.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/device_profile_id.py b/tb_rest_client/models/models_pe/device_profile_id.py index 821216c6..0054bc34 100644 --- a/tb_rest_client/models/models_pe/device_profile_id.py +++ b/tb_rest_client/models/models_pe/device_profile_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/device_profile_provision_configuration.py b/tb_rest_client/models/models_pe/device_profile_provision_configuration.py index 87cb3f3e..2270b380 100644 --- a/tb_rest_client/models/models_pe/device_profile_provision_configuration.py +++ b/tb_rest_client/models/models_pe/device_profile_provision_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/device_profile_transport_configuration.py b/tb_rest_client/models/models_pe/device_profile_transport_configuration.py index baa9e79a..d766e1f3 100644 --- a/tb_rest_client/models/models_pe/device_profile_transport_configuration.py +++ b/tb_rest_client/models/models_pe/device_profile_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/device_search_query.py b/tb_rest_client/models/models_pe/device_search_query.py index f31f861a..97497c46 100644 --- a/tb_rest_client/models/models_pe/device_search_query.py +++ b/tb_rest_client/models/models_pe/device_search_query.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/device_search_query_filter.py b/tb_rest_client/models/models_pe/device_search_query_filter.py index 7ef763ce..e562470e 100644 --- a/tb_rest_client/models/models_pe/device_search_query_filter.py +++ b/tb_rest_client/models/models_pe/device_search_query_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/device_transport_configuration.py b/tb_rest_client/models/models_pe/device_transport_configuration.py index 8d003bab..50a81577 100644 --- a/tb_rest_client/models/models_pe/device_transport_configuration.py +++ b/tb_rest_client/models/models_pe/device_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/device_type_filter.py b/tb_rest_client/models/models_pe/device_type_filter.py index 1ba50fcb..cb99c493 100644 --- a/tb_rest_client/models/models_pe/device_type_filter.py +++ b/tb_rest_client/models/models_pe/device_type_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/disabled_device_profile_provision_configuration.py b/tb_rest_client/models/models_pe/disabled_device_profile_provision_configuration.py index d25cb6ae..2f9b6ea0 100644 --- a/tb_rest_client/models/models_pe/disabled_device_profile_provision_configuration.py +++ b/tb_rest_client/models/models_pe/disabled_device_profile_provision_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/domain_info.py b/tb_rest_client/models/models_pe/domain_info.py index 59c1b642..ff83a6e0 100644 --- a/tb_rest_client/models/models_pe/domain_info.py +++ b/tb_rest_client/models/models_pe/domain_info.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/duration_alarm_condition_spec.py b/tb_rest_client/models/models_pe/duration_alarm_condition_spec.py index a7305315..cf050e8b 100644 --- a/tb_rest_client/models/models_pe/duration_alarm_condition_spec.py +++ b/tb_rest_client/models/models_pe/duration_alarm_condition_spec.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/dynamic_valueboolean.py b/tb_rest_client/models/models_pe/dynamic_valueboolean.py index 5a46e452..3642c1bb 100644 --- a/tb_rest_client/models/models_pe/dynamic_valueboolean.py +++ b/tb_rest_client/models/models_pe/dynamic_valueboolean.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/dynamic_valuedouble.py b/tb_rest_client/models/models_pe/dynamic_valuedouble.py index a205a9ac..659b0929 100644 --- a/tb_rest_client/models/models_pe/dynamic_valuedouble.py +++ b/tb_rest_client/models/models_pe/dynamic_valuedouble.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/dynamic_valueint.py b/tb_rest_client/models/models_pe/dynamic_valueint.py index 9499d6e3..c327305b 100644 --- a/tb_rest_client/models/models_pe/dynamic_valueint.py +++ b/tb_rest_client/models/models_pe/dynamic_valueint.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/dynamic_valuelong.py b/tb_rest_client/models/models_pe/dynamic_valuelong.py index be7bea68..276e2ca9 100644 --- a/tb_rest_client/models/models_pe/dynamic_valuelong.py +++ b/tb_rest_client/models/models_pe/dynamic_valuelong.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/dynamic_valuestring.py b/tb_rest_client/models/models_pe/dynamic_valuestring.py index 05f01662..0fc2f1d9 100644 --- a/tb_rest_client/models/models_pe/dynamic_valuestring.py +++ b/tb_rest_client/models/models_pe/dynamic_valuestring.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/edge.py b/tb_rest_client/models/models_pe/edge.py index a92700f5..995bce6e 100644 --- a/tb_rest_client/models/models_pe/edge.py +++ b/tb_rest_client/models/models_pe/edge.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/edge_event.py b/tb_rest_client/models/models_pe/edge_event.py index cf16b3c6..8c85d2d5 100644 --- a/tb_rest_client/models/models_pe/edge_event.py +++ b/tb_rest_client/models/models_pe/edge_event.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -319,7 +319,7 @@ def type(self, type): :param type: The type of this EdgeEvent. # noqa: E501 :type: str """ - allowed_values = ["ADMIN_SETTINGS", "ALARM", "ASSET", "ASSET_PROFILE", "CONVERTER", "CUSTOMER", "CUSTOM_TRANSLATION", "DASHBOARD", "DEVICE", "DEVICE_PROFILE", "EDGE", "ENTITY_GROUP", "ENTITY_VIEW", "GROUP_PERMISSION", "INTEGRATION", "LOGIN_WHITE_LABELING", "OTA_PACKAGE", "QUEUE", "RELATION", "ROLE", "RULE_CHAIN", "RULE_CHAIN_METADATA", "SCHEDULER_EVENT", "TENANT", "TENANT_PROFILE", "USER", "WHITE_LABELING", "WIDGETS_BUNDLE", "WIDGET_TYPE"] # noqa: E501 + allowed_values = ["ADMIN_SETTINGS", "ALARM", "ASSET", "ASSET_PROFILE", "CONVERTER", "CUSTOMER", "CUSTOM_TRANSLATION", "DASHBOARD", "DEVICE", "DEVICE_PROFILE", "EDGE", "ENTITY_GROUP", "ENTITY_VIEW", "GROUP_PERMISSION", "INTEGRATION", "LOGIN_WHITE_LABELING", "MAIL_TEMPLATES", "OTA_PACKAGE", "QUEUE", "RELATION", "ROLE", "RULE_CHAIN", "RULE_CHAIN_METADATA", "SCHEDULER_EVENT", "TB_RESOURCE", "TENANT", "TENANT_PROFILE", "USER", "WHITE_LABELING", "WIDGETS_BUNDLE", "WIDGET_TYPE"] # noqa: E501 if type not in allowed_values: raise ValueError( "Invalid value for `type` ({0}), must be one of {1}" # noqa: E501 diff --git a/tb_rest_client/models/models_pe/edge_event_id.py b/tb_rest_client/models/models_pe/edge_event_id.py index 9d8c11e5..40e79afb 100644 --- a/tb_rest_client/models/models_pe/edge_event_id.py +++ b/tb_rest_client/models/models_pe/edge_event_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/edge_id.py b/tb_rest_client/models/models_pe/edge_id.py index 36caf2f5..5a80d67c 100644 --- a/tb_rest_client/models/models_pe/edge_id.py +++ b/tb_rest_client/models/models_pe/edge_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/edge_info.py b/tb_rest_client/models/models_pe/edge_info.py index 05042bcc..f65f1740 100644 --- a/tb_rest_client/models/models_pe/edge_info.py +++ b/tb_rest_client/models/models_pe/edge_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/edge_install_instructions.py b/tb_rest_client/models/models_pe/edge_install_instructions.py index e5dccea6..4bcdb9c7 100644 --- a/tb_rest_client/models/models_pe/edge_install_instructions.py +++ b/tb_rest_client/models/models_pe/edge_install_instructions.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/edge_search_query.py b/tb_rest_client/models/models_pe/edge_search_query.py index 5fb8a674..a0b496a6 100644 --- a/tb_rest_client/models/models_pe/edge_search_query.py +++ b/tb_rest_client/models/models_pe/edge_search_query.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/edge_search_query_filter.py b/tb_rest_client/models/models_pe/edge_search_query_filter.py index b9dc4bf5..0c7142c7 100644 --- a/tb_rest_client/models/models_pe/edge_search_query_filter.py +++ b/tb_rest_client/models/models_pe/edge_search_query_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/edge_type_filter.py b/tb_rest_client/models/models_pe/edge_type_filter.py index 51fc3e27..2f044189 100644 --- a/tb_rest_client/models/models_pe/edge_type_filter.py +++ b/tb_rest_client/models/models_pe/edge_type_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/efento_coap_device_type_configuration.py b/tb_rest_client/models/models_pe/efento_coap_device_type_configuration.py index 5269a8d0..641f3220 100644 --- a/tb_rest_client/models/models_pe/efento_coap_device_type_configuration.py +++ b/tb_rest_client/models/models_pe/efento_coap_device_type_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/email_delivery_method_notification_template.py b/tb_rest_client/models/models_pe/email_delivery_method_notification_template.py index 89801530..f92dd062 100644 --- a/tb_rest_client/models/models_pe/email_delivery_method_notification_template.py +++ b/tb_rest_client/models/models_pe/email_delivery_method_notification_template.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/email_two_fa_account_config.py b/tb_rest_client/models/models_pe/email_two_fa_account_config.py index ee02ef06..363b6606 100644 --- a/tb_rest_client/models/models_pe/email_two_fa_account_config.py +++ b/tb_rest_client/models/models_pe/email_two_fa_account_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/email_two_fa_provider_config.py b/tb_rest_client/models/models_pe/email_two_fa_provider_config.py index f64ef306..042d5418 100644 --- a/tb_rest_client/models/models_pe/email_two_fa_provider_config.py +++ b/tb_rest_client/models/models_pe/email_two_fa_provider_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entities_by_group_name_filter.py b/tb_rest_client/models/models_pe/entities_by_group_name_filter.py index ec59dc6e..40d97d10 100644 --- a/tb_rest_client/models/models_pe/entities_by_group_name_filter.py +++ b/tb_rest_client/models/models_pe/entities_by_group_name_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entities_limit_notification_rule_trigger_config.py b/tb_rest_client/models/models_pe/entities_limit_notification_rule_trigger_config.py index bcf249bc..5fea34b2 100644 --- a/tb_rest_client/models/models_pe/entities_limit_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_pe/entities_limit_notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_action_notification_rule_trigger_config.py b/tb_rest_client/models/models_pe/entity_action_notification_rule_trigger_config.py index 575fb457..4a7d151d 100644 --- a/tb_rest_client/models/models_pe/entity_action_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_pe/entity_action_notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_count_query.py b/tb_rest_client/models/models_pe/entity_count_query.py index 15e7e966..b228c5fc 100644 --- a/tb_rest_client/models/models_pe/entity_count_query.py +++ b/tb_rest_client/models/models_pe/entity_count_query.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_data.py b/tb_rest_client/models/models_pe/entity_data.py index 79ab43b6..1953d21c 100644 --- a/tb_rest_client/models/models_pe/entity_data.py +++ b/tb_rest_client/models/models_pe/entity_data.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_data_diff.py b/tb_rest_client/models/models_pe/entity_data_diff.py index e88eae05..7cfbed1e 100644 --- a/tb_rest_client/models/models_pe/entity_data_diff.py +++ b/tb_rest_client/models/models_pe/entity_data_diff.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_data_info.py b/tb_rest_client/models/models_pe/entity_data_info.py index 7d61ec12..3ac6a6a8 100644 --- a/tb_rest_client/models/models_pe/entity_data_info.py +++ b/tb_rest_client/models/models_pe/entity_data_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_data_page_link.py b/tb_rest_client/models/models_pe/entity_data_page_link.py index 825cda47..6af2943a 100644 --- a/tb_rest_client/models/models_pe/entity_data_page_link.py +++ b/tb_rest_client/models/models_pe/entity_data_page_link.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_data_query.py b/tb_rest_client/models/models_pe/entity_data_query.py index 6a65f0b1..13a27143 100644 --- a/tb_rest_client/models/models_pe/entity_data_query.py +++ b/tb_rest_client/models/models_pe/entity_data_query.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_data_sort_order.py b/tb_rest_client/models/models_pe/entity_data_sort_order.py index 050cdea2..77033998 100644 --- a/tb_rest_client/models/models_pe/entity_data_sort_order.py +++ b/tb_rest_client/models/models_pe/entity_data_sort_order.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_export_dataobject.py b/tb_rest_client/models/models_pe/entity_export_dataobject.py index 574786a8..766f8d36 100644 --- a/tb_rest_client/models/models_pe/entity_export_dataobject.py +++ b/tb_rest_client/models/models_pe/entity_export_dataobject.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_filter.py b/tb_rest_client/models/models_pe/entity_filter.py index 25ee3a49..30372555 100644 --- a/tb_rest_client/models/models_pe/entity_filter.py +++ b/tb_rest_client/models/models_pe/entity_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_group.py b/tb_rest_client/models/models_pe/entity_group.py index cdbd7b2c..2fd16ff1 100644 --- a/tb_rest_client/models/models_pe/entity_group.py +++ b/tb_rest_client/models/models_pe/entity_group.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_group_export_data.py b/tb_rest_client/models/models_pe/entity_group_export_data.py index 2d04c4e6..2139ed37 100644 --- a/tb_rest_client/models/models_pe/entity_group_export_data.py +++ b/tb_rest_client/models/models_pe/entity_group_export_data.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_group_filter.py b/tb_rest_client/models/models_pe/entity_group_filter.py index fe851871..6014e10b 100644 --- a/tb_rest_client/models/models_pe/entity_group_filter.py +++ b/tb_rest_client/models/models_pe/entity_group_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_group_id.py b/tb_rest_client/models/models_pe/entity_group_id.py index b20ae808..0e1b44fa 100644 --- a/tb_rest_client/models/models_pe/entity_group_id.py +++ b/tb_rest_client/models/models_pe/entity_group_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_group_info.py b/tb_rest_client/models/models_pe/entity_group_info.py index 59bd2842..8c1779e5 100644 --- a/tb_rest_client/models/models_pe/entity_group_info.py +++ b/tb_rest_client/models/models_pe/entity_group_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_group_list_filter.py b/tb_rest_client/models/models_pe/entity_group_list_filter.py index f08d51ee..e25b853b 100644 --- a/tb_rest_client/models/models_pe/entity_group_list_filter.py +++ b/tb_rest_client/models/models_pe/entity_group_list_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_group_name_filter.py b/tb_rest_client/models/models_pe/entity_group_name_filter.py index a123d015..8fc40273 100644 --- a/tb_rest_client/models/models_pe/entity_group_name_filter.py +++ b/tb_rest_client/models/models_pe/entity_group_name_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_id.py b/tb_rest_client/models/models_pe/entity_id.py index e8636db1..bfb40400 100644 --- a/tb_rest_client/models/models_pe/entity_id.py +++ b/tb_rest_client/models/models_pe/entity_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_key.py b/tb_rest_client/models/models_pe/entity_key.py index c7781ab4..f6052a55 100644 --- a/tb_rest_client/models/models_pe/entity_key.py +++ b/tb_rest_client/models/models_pe/entity_key.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_list_filter.py b/tb_rest_client/models/models_pe/entity_list_filter.py index ac44ef37..ffeab99e 100644 --- a/tb_rest_client/models/models_pe/entity_list_filter.py +++ b/tb_rest_client/models/models_pe/entity_list_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_load_error.py b/tb_rest_client/models/models_pe/entity_load_error.py index 67a8538a..39710a89 100644 --- a/tb_rest_client/models/models_pe/entity_load_error.py +++ b/tb_rest_client/models/models_pe/entity_load_error.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_name_filter.py b/tb_rest_client/models/models_pe/entity_name_filter.py index b02392de..f709a824 100644 --- a/tb_rest_client/models/models_pe/entity_name_filter.py +++ b/tb_rest_client/models/models_pe/entity_name_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_relation_info.py b/tb_rest_client/models/models_pe/entity_relation_info.py index 658a2587..2e2084be 100644 --- a/tb_rest_client/models/models_pe/entity_relation_info.py +++ b/tb_rest_client/models/models_pe/entity_relation_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_relations_query.py b/tb_rest_client/models/models_pe/entity_relations_query.py index 2d72588d..b51fbc19 100644 --- a/tb_rest_client/models/models_pe/entity_relations_query.py +++ b/tb_rest_client/models/models_pe/entity_relations_query.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_subtype.py b/tb_rest_client/models/models_pe/entity_subtype.py index 961c1a03..2ca4e442 100644 --- a/tb_rest_client/models/models_pe/entity_subtype.py +++ b/tb_rest_client/models/models_pe/entity_subtype.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_type_filter.py b/tb_rest_client/models/models_pe/entity_type_filter.py index 387abef0..782ce660 100644 --- a/tb_rest_client/models/models_pe/entity_type_filter.py +++ b/tb_rest_client/models/models_pe/entity_type_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_type_load_result.py b/tb_rest_client/models/models_pe/entity_type_load_result.py index b26e6c45..cccde261 100644 --- a/tb_rest_client/models/models_pe/entity_type_load_result.py +++ b/tb_rest_client/models/models_pe/entity_type_load_result.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_type_version_create_config.py b/tb_rest_client/models/models_pe/entity_type_version_create_config.py index afcf4438..92c41a5c 100644 --- a/tb_rest_client/models/models_pe/entity_type_version_create_config.py +++ b/tb_rest_client/models/models_pe/entity_type_version_create_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_type_version_load_config.py b/tb_rest_client/models/models_pe/entity_type_version_load_config.py index a62f75bb..0ac3641e 100644 --- a/tb_rest_client/models/models_pe/entity_type_version_load_config.py +++ b/tb_rest_client/models/models_pe/entity_type_version_load_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_type_version_load_request.py b/tb_rest_client/models/models_pe/entity_type_version_load_request.py index 9117a307..e8cb12f0 100644 --- a/tb_rest_client/models/models_pe/entity_type_version_load_request.py +++ b/tb_rest_client/models/models_pe/entity_type_version_load_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_version.py b/tb_rest_client/models/models_pe/entity_version.py index c8d0eb31..9e2e1701 100644 --- a/tb_rest_client/models/models_pe/entity_version.py +++ b/tb_rest_client/models/models_pe/entity_version.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_view_id.py b/tb_rest_client/models/models_pe/entity_view_id.py index efb144b5..8b63d0cc 100644 --- a/tb_rest_client/models/models_pe/entity_view_id.py +++ b/tb_rest_client/models/models_pe/entity_view_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_view_info.py b/tb_rest_client/models/models_pe/entity_view_info.py index 90141795..72a3f55f 100644 --- a/tb_rest_client/models/models_pe/entity_view_info.py +++ b/tb_rest_client/models/models_pe/entity_view_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_view_search_query.py b/tb_rest_client/models/models_pe/entity_view_search_query.py index ccbbcaa8..a7ed6177 100644 --- a/tb_rest_client/models/models_pe/entity_view_search_query.py +++ b/tb_rest_client/models/models_pe/entity_view_search_query.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_view_search_query_filter.py b/tb_rest_client/models/models_pe/entity_view_search_query_filter.py index 533a6a0e..2a33972a 100644 --- a/tb_rest_client/models/models_pe/entity_view_search_query_filter.py +++ b/tb_rest_client/models/models_pe/entity_view_search_query_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/entity_view_type_filter.py b/tb_rest_client/models/models_pe/entity_view_type_filter.py index f08682e5..1f69846c 100644 --- a/tb_rest_client/models/models_pe/entity_view_type_filter.py +++ b/tb_rest_client/models/models_pe/entity_view_type_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/error_event_filter.py b/tb_rest_client/models/models_pe/error_event_filter.py index be691c3d..3d2485b6 100644 --- a/tb_rest_client/models/models_pe/error_event_filter.py +++ b/tb_rest_client/models/models_pe/error_event_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/escalated_notification_rule_recipients_config.py b/tb_rest_client/models/models_pe/escalated_notification_rule_recipients_config.py index 6c0e5697..5091ae33 100644 --- a/tb_rest_client/models/models_pe/escalated_notification_rule_recipients_config.py +++ b/tb_rest_client/models/models_pe/escalated_notification_rule_recipients_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/event.py b/tb_rest_client/models/models_pe/event.py index 2925e8ab..418d23a5 100644 --- a/tb_rest_client/models/models_pe/event.py +++ b/tb_rest_client/models/models_pe/event.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/event_filter.py b/tb_rest_client/models/models_pe/event_filter.py index d9b85f1f..6531b80d 100644 --- a/tb_rest_client/models/models_pe/event_filter.py +++ b/tb_rest_client/models/models_pe/event_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/event_id.py b/tb_rest_client/models/models_pe/event_id.py index f9449cdd..4e7ad99e 100644 --- a/tb_rest_client/models/models_pe/event_id.py +++ b/tb_rest_client/models/models_pe/event_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/event_info.py b/tb_rest_client/models/models_pe/event_info.py index b2fc9a7d..dffefa37 100644 --- a/tb_rest_client/models/models_pe/event_info.py +++ b/tb_rest_client/models/models_pe/event_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/exportable_entity_entity_id.py b/tb_rest_client/models/models_pe/exportable_entity_entity_id.py index 75f04701..7d189c6d 100644 --- a/tb_rest_client/models/models_pe/exportable_entity_entity_id.py +++ b/tb_rest_client/models/models_pe/exportable_entity_entity_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/favicon.py b/tb_rest_client/models/models_pe/favicon.py index 4bdac119..71c1c8fa 100644 --- a/tb_rest_client/models/models_pe/favicon.py +++ b/tb_rest_client/models/models_pe/favicon.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -42,46 +42,20 @@ class Favicon(object): and the value is json key in definition. """ swagger_types = { - 'type': 'str', 'url': 'str' } attribute_map = { - 'type': 'type', 'url': 'url' } - def __init__(self, type=None, url=None): # noqa: E501 + def __init__(self, url=None): # noqa: E501 """Favicon - a model defined in Swagger""" # noqa: E501 - self._type = None self._url = None self.discriminator = None - if type is not None: - self.type = type if url is not None: self.url = url - @property - def type(self): - """Gets the type of this Favicon. # noqa: E501 - - - :return: The type of this Favicon. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this Favicon. - - - :param type: The type of this Favicon. # noqa: E501 - :type: str - """ - - self._type = type - @property def url(self): """Gets the url of this Favicon. # noqa: E501 diff --git a/tb_rest_client/models/models_pe/features_info.py b/tb_rest_client/models/models_pe/features_info.py index 11244b88..d47a0370 100644 --- a/tb_rest_client/models/models_pe/features_info.py +++ b/tb_rest_client/models/models_pe/features_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/filter_predicate_valueboolean.py b/tb_rest_client/models/models_pe/filter_predicate_valueboolean.py index ba88d18b..d78f73cd 100644 --- a/tb_rest_client/models/models_pe/filter_predicate_valueboolean.py +++ b/tb_rest_client/models/models_pe/filter_predicate_valueboolean.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/filter_predicate_valuedouble.py b/tb_rest_client/models/models_pe/filter_predicate_valuedouble.py index 4b7ef476..88fa3171 100644 --- a/tb_rest_client/models/models_pe/filter_predicate_valuedouble.py +++ b/tb_rest_client/models/models_pe/filter_predicate_valuedouble.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/filter_predicate_valueint.py b/tb_rest_client/models/models_pe/filter_predicate_valueint.py index f35a3935..71c1f45f 100644 --- a/tb_rest_client/models/models_pe/filter_predicate_valueint.py +++ b/tb_rest_client/models/models_pe/filter_predicate_valueint.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/filter_predicate_valuelong.py b/tb_rest_client/models/models_pe/filter_predicate_valuelong.py index ccd3400d..1f1114d6 100644 --- a/tb_rest_client/models/models_pe/filter_predicate_valuelong.py +++ b/tb_rest_client/models/models_pe/filter_predicate_valuelong.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/filter_predicate_valuestring.py b/tb_rest_client/models/models_pe/filter_predicate_valuestring.py index c46ea8e9..2ed17158 100644 --- a/tb_rest_client/models/models_pe/filter_predicate_valuestring.py +++ b/tb_rest_client/models/models_pe/filter_predicate_valuestring.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/group_entity_export_data.py b/tb_rest_client/models/models_pe/group_entity_export_data.py index 3166712b..7a4d9a45 100644 --- a/tb_rest_client/models/models_pe/group_entity_export_data.py +++ b/tb_rest_client/models/models_pe/group_entity_export_data.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/group_permission.py b/tb_rest_client/models/models_pe/group_permission.py index 34688b0d..eacda0b5 100644 --- a/tb_rest_client/models/models_pe/group_permission.py +++ b/tb_rest_client/models/models_pe/group_permission.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/group_permission_id.py b/tb_rest_client/models/models_pe/group_permission_id.py index 54e7bc63..009396ec 100644 --- a/tb_rest_client/models/models_pe/group_permission_id.py +++ b/tb_rest_client/models/models_pe/group_permission_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/group_permission_info.py b/tb_rest_client/models/models_pe/group_permission_info.py index 4fd58be1..eb548041 100644 --- a/tb_rest_client/models/models_pe/group_permission_info.py +++ b/tb_rest_client/models/models_pe/group_permission_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/http_routing_key_body.py b/tb_rest_client/models/models_pe/http_routing_key_body.py index dfc6388f..7e71185a 100644 --- a/tb_rest_client/models/models_pe/http_routing_key_body.py +++ b/tb_rest_client/models/models_pe/http_routing_key_body.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/input_stream.py b/tb_rest_client/models/models_pe/input_stream.py index 512f5760..13b63445 100644 --- a/tb_rest_client/models/models_pe/input_stream.py +++ b/tb_rest_client/models/models_pe/input_stream.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/integration.py b/tb_rest_client/models/models_pe/integration.py index 23f1e0db..3e4dbb20 100644 --- a/tb_rest_client/models/models_pe/integration.py +++ b/tb_rest_client/models/models_pe/integration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -282,7 +282,7 @@ def type(self, type): """ if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - allowed_values = ["APACHE_PULSAR", "AWS_IOT", "AWS_KINESIS", "AWS_SQS", "AZURE_EVENT_HUB", "AZURE_IOT_HUB", "AZURE_SERVICE_BUS", "CHIRPSTACK", "COAP", "CUSTOM", "HTTP", "IBM_WATSON_IOT", "KAFKA", "LORIOT", "MQTT", "OCEANCONNECT", "OPC_UA", "PARTICLE", "PUB_SUB", "RABBITMQ", "SIGFOX", "TCP", "THINGPARK", "TMOBILE_IOT_CDP", "TPE", "TTI", "TTN", "TUYA", "UDP"] # noqa: E501 + allowed_values = ["APACHE_PULSAR", "AWS_IOT", "AWS_KINESIS", "AWS_SQS", "AZURE_EVENT_HUB", "AZURE_IOT_HUB", "AZURE_SERVICE_BUS", "CHIRPSTACK", "COAP", "CUSTOM", "HTTP", "IBM_WATSON_IOT", "KAFKA", "KPN", "LORIOT", "MQTT", "OCEANCONNECT", "OPC_UA", "PARTICLE", "PUB_SUB", "RABBITMQ", "SIGFOX", "TCP", "THINGPARK", "TMOBILE_IOT_CDP", "TPE", "TTI", "TTN", "TUYA", "UDP"] # noqa: E501 if type not in allowed_values: raise ValueError( "Invalid value for `type` ({0}), must be one of {1}" # noqa: E501 diff --git a/tb_rest_client/models/models_pe/integration_id.py b/tb_rest_client/models/models_pe/integration_id.py index 0766d208..1e9459aa 100644 --- a/tb_rest_client/models/models_pe/integration_id.py +++ b/tb_rest_client/models/models_pe/integration_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/integration_info.py b/tb_rest_client/models/models_pe/integration_info.py index 7279a386..b2570d23 100644 --- a/tb_rest_client/models/models_pe/integration_info.py +++ b/tb_rest_client/models/models_pe/integration_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -238,7 +238,7 @@ def type(self, type): """ if type is None: raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 - allowed_values = ["APACHE_PULSAR", "AWS_IOT", "AWS_KINESIS", "AWS_SQS", "AZURE_EVENT_HUB", "AZURE_IOT_HUB", "AZURE_SERVICE_BUS", "CHIRPSTACK", "COAP", "CUSTOM", "HTTP", "IBM_WATSON_IOT", "KAFKA", "LORIOT", "MQTT", "OCEANCONNECT", "OPC_UA", "PARTICLE", "PUB_SUB", "RABBITMQ", "SIGFOX", "TCP", "THINGPARK", "TMOBILE_IOT_CDP", "TPE", "TTI", "TTN", "TUYA", "UDP"] # noqa: E501 + allowed_values = ["APACHE_PULSAR", "AWS_IOT", "AWS_KINESIS", "AWS_SQS", "AZURE_EVENT_HUB", "AZURE_IOT_HUB", "AZURE_SERVICE_BUS", "CHIRPSTACK", "COAP", "CUSTOM", "HTTP", "IBM_WATSON_IOT", "KAFKA", "KPN", "LORIOT", "MQTT", "OCEANCONNECT", "OPC_UA", "PARTICLE", "PUB_SUB", "RABBITMQ", "SIGFOX", "TCP", "THINGPARK", "TMOBILE_IOT_CDP", "TPE", "TTI", "TTN", "TUYA", "UDP"] # noqa: E501 if type not in allowed_values: raise ValueError( "Invalid value for `type` ({0}), must be one of {1}" # noqa: E501 diff --git a/tb_rest_client/models/models_pe/integration_lifecycle_event_notification_rule_trigger_config.py b/tb_rest_client/models/models_pe/integration_lifecycle_event_notification_rule_trigger_config.py index fee09e64..0dd14b74 100644 --- a/tb_rest_client/models/models_pe/integration_lifecycle_event_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_pe/integration_lifecycle_event_notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -94,7 +94,7 @@ def integration_types(self, integration_types): :param integration_types: The integration_types of this IntegrationLifecycleEventNotificationRuleTriggerConfig. # noqa: E501 :type: list[str] """ - allowed_values = ["APACHE_PULSAR", "AWS_IOT", "AWS_KINESIS", "AWS_SQS", "AZURE_EVENT_HUB", "AZURE_IOT_HUB", "AZURE_SERVICE_BUS", "CHIRPSTACK", "COAP", "CUSTOM", "HTTP", "IBM_WATSON_IOT", "KAFKA", "LORIOT", "MQTT", "OCEANCONNECT", "OPC_UA", "PARTICLE", "PUB_SUB", "RABBITMQ", "SIGFOX", "TCP", "THINGPARK", "TMOBILE_IOT_CDP", "TPE", "TTI", "TTN", "TUYA", "UDP"] # noqa: E501 + allowed_values = ["APACHE_PULSAR", "AWS_IOT", "AWS_KINESIS", "AWS_SQS", "AZURE_EVENT_HUB", "AZURE_IOT_HUB", "AZURE_SERVICE_BUS", "CHIRPSTACK", "COAP", "CUSTOM", "HTTP", "IBM_WATSON_IOT", "KAFKA", "KPN", "LORIOT", "MQTT", "OCEANCONNECT", "OPC_UA", "PARTICLE", "PUB_SUB", "RABBITMQ", "SIGFOX", "TCP", "THINGPARK", "TMOBILE_IOT_CDP", "TPE", "TTI", "TTN", "TUYA", "UDP"] # noqa: E501 if not set(integration_types).issubset(set(allowed_values)): raise ValueError( "Invalid values for `integration_types` [{0}], must be a subset of [{1}]" # noqa: E501 @@ -143,7 +143,7 @@ def notify_on(self, notify_on): :param notify_on: The notify_on of this IntegrationLifecycleEventNotificationRuleTriggerConfig. # noqa: E501 :type: list[str] """ - allowed_values = ["ACTIVATED", "CREATED", "DELETED", "FAILED", "STARTED", "STOPPED", "SUSPENDED", "UPDATED"] # noqa: E501 + allowed_values = ["ACTIVATED", "CREATED", "DEACTIVATED", "DELETED", "FAILED", "STARTED", "STOPPED", "SUSPENDED", "UPDATED"] # noqa: E501 if not set(notify_on).issubset(set(allowed_values)): raise ValueError( "Invalid values for `notify_on` [{0}], must be a subset of [{1}]" # noqa: E501 diff --git a/tb_rest_client/models/models_pe/json_node.py b/tb_rest_client/models/models_pe/json_node.py index 667928a1..cf72c05d 100644 --- a/tb_rest_client/models/models_pe/json_node.py +++ b/tb_rest_client/models/models_pe/json_node.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/json_transport_payload_configuration.py b/tb_rest_client/models/models_pe/json_transport_payload_configuration.py index 878edd39..a755c130 100644 --- a/tb_rest_client/models/models_pe/json_transport_payload_configuration.py +++ b/tb_rest_client/models/models_pe/json_transport_payload_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/jwt_settings.py b/tb_rest_client/models/models_pe/jwt_settings.py index 58b708c2..e987caad 100644 --- a/tb_rest_client/models/models_pe/jwt_settings.py +++ b/tb_rest_client/models/models_pe/jwt_settings.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/key_filter.py b/tb_rest_client/models/models_pe/key_filter.py index 91dadfe8..d8c101ea 100644 --- a/tb_rest_client/models/models_pe/key_filter.py +++ b/tb_rest_client/models/models_pe/key_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/key_filter_predicate.py b/tb_rest_client/models/models_pe/key_filter_predicate.py index 83c2ab2f..2c33caa1 100644 --- a/tb_rest_client/models/models_pe/key_filter_predicate.py +++ b/tb_rest_client/models/models_pe/key_filter_predicate.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/last_visited_dashboard_info.py b/tb_rest_client/models/models_pe/last_visited_dashboard_info.py index c2c21975..f90b3d8e 100644 --- a/tb_rest_client/models/models_pe/last_visited_dashboard_info.py +++ b/tb_rest_client/models/models_pe/last_visited_dashboard_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/license_usage_info.py b/tb_rest_client/models/models_pe/license_usage_info.py index 20f5f373..6b8a34e4 100644 --- a/tb_rest_client/models/models_pe/license_usage_info.py +++ b/tb_rest_client/models/models_pe/license_usage_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/life_cycle_event_filter.py b/tb_rest_client/models/models_pe/life_cycle_event_filter.py index c5053cf1..cfd49380 100644 --- a/tb_rest_client/models/models_pe/life_cycle_event_filter.py +++ b/tb_rest_client/models/models_pe/life_cycle_event_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/login_request.py b/tb_rest_client/models/models_pe/login_request.py index afe5ed31..3a79c7ef 100644 --- a/tb_rest_client/models/models_pe/login_request.py +++ b/tb_rest_client/models/models_pe/login_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/login_response.py b/tb_rest_client/models/models_pe/login_response.py index dd03f32f..b7575ece 100644 --- a/tb_rest_client/models/models_pe/login_response.py +++ b/tb_rest_client/models/models_pe/login_response.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/login_white_labeling_params.py b/tb_rest_client/models/models_pe/login_white_labeling_params.py index f1c0b948..64a68bc6 100644 --- a/tb_rest_client/models/models_pe/login_white_labeling_params.py +++ b/tb_rest_client/models/models_pe/login_white_labeling_params.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -43,11 +43,9 @@ class LoginWhiteLabelingParams(object): """ swagger_types = { 'logo_image_url': 'str', - 'logo_image_checksum': 'str', 'logo_image_height': 'int', 'app_title': 'str', 'favicon': 'Favicon', - 'favicon_checksum': 'str', 'palette_settings': 'PaletteSettings', 'help_link_base_url': 'str', 'ui_help_base_url': 'str', @@ -68,11 +66,9 @@ class LoginWhiteLabelingParams(object): attribute_map = { 'logo_image_url': 'logoImageUrl', - 'logo_image_checksum': 'logoImageChecksum', 'logo_image_height': 'logoImageHeight', 'app_title': 'appTitle', 'favicon': 'favicon', - 'favicon_checksum': 'faviconChecksum', 'palette_settings': 'paletteSettings', 'help_link_base_url': 'helpLinkBaseUrl', 'ui_help_base_url': 'uiHelpBaseUrl', @@ -91,14 +87,12 @@ class LoginWhiteLabelingParams(object): 'show_name_bottom': 'showNameBottom' } - def __init__(self, logo_image_url=None, logo_image_checksum=None, logo_image_height=None, app_title=None, favicon=None, favicon_checksum=None, palette_settings=None, help_link_base_url=None, ui_help_base_url=None, enable_help_links=None, white_labeling_enabled=None, show_name_version=None, platform_name=None, platform_version=None, custom_css=None, page_background_color=None, dark_foreground=None, domain_name=None, base_url=None, prohibit_different_url=None, admin_settings_id=None, show_name_bottom=None): # noqa: E501 + def __init__(self, logo_image_url=None, logo_image_height=None, app_title=None, favicon=None, palette_settings=None, help_link_base_url=None, ui_help_base_url=None, enable_help_links=None, white_labeling_enabled=None, show_name_version=None, platform_name=None, platform_version=None, custom_css=None, page_background_color=None, dark_foreground=None, domain_name=None, base_url=None, prohibit_different_url=None, admin_settings_id=None, show_name_bottom=None): # noqa: E501 """LoginWhiteLabelingParams - a model defined in Swagger""" # noqa: E501 self._logo_image_url = None - self._logo_image_checksum = None self._logo_image_height = None self._app_title = None self._favicon = None - self._favicon_checksum = None self._palette_settings = None self._help_link_base_url = None self._ui_help_base_url = None @@ -118,16 +112,12 @@ def __init__(self, logo_image_url=None, logo_image_checksum=None, logo_image_hei self.discriminator = None if logo_image_url is not None: self.logo_image_url = logo_image_url - if logo_image_checksum is not None: - self.logo_image_checksum = logo_image_checksum if logo_image_height is not None: self.logo_image_height = logo_image_height if app_title is not None: self.app_title = app_title if favicon is not None: self.favicon = favicon - if favicon_checksum is not None: - self.favicon_checksum = favicon_checksum if palette_settings is not None: self.palette_settings = palette_settings if help_link_base_url is not None: @@ -184,29 +174,6 @@ def logo_image_url(self, logo_image_url): self._logo_image_url = logo_image_url - @property - def logo_image_checksum(self): - """Gets the logo_image_checksum of this LoginWhiteLabelingParams. # noqa: E501 - - Logo image checksum. Used to detect the changes of the logo image. # noqa: E501 - - :return: The logo_image_checksum of this LoginWhiteLabelingParams. # noqa: E501 - :rtype: str - """ - return self._logo_image_checksum - - @logo_image_checksum.setter - def logo_image_checksum(self, logo_image_checksum): - """Sets the logo_image_checksum of this LoginWhiteLabelingParams. - - Logo image checksum. Used to detect the changes of the logo image. # noqa: E501 - - :param logo_image_checksum: The logo_image_checksum of this LoginWhiteLabelingParams. # noqa: E501 - :type: str - """ - - self._logo_image_checksum = logo_image_checksum - @property def logo_image_height(self): """Gets the logo_image_height of this LoginWhiteLabelingParams. # noqa: E501 @@ -274,29 +241,6 @@ def favicon(self, favicon): self._favicon = favicon - @property - def favicon_checksum(self): - """Gets the favicon_checksum of this LoginWhiteLabelingParams. # noqa: E501 - - Favicon image checksum. Used to detect the changes of the website icon # noqa: E501 - - :return: The favicon_checksum of this LoginWhiteLabelingParams. # noqa: E501 - :rtype: str - """ - return self._favicon_checksum - - @favicon_checksum.setter - def favicon_checksum(self, favicon_checksum): - """Sets the favicon_checksum of this LoginWhiteLabelingParams. - - Favicon image checksum. Used to detect the changes of the website icon # noqa: E501 - - :param favicon_checksum: The favicon_checksum of this LoginWhiteLabelingParams. # noqa: E501 - :type: str - """ - - self._favicon_checksum = favicon_checksum - @property def palette_settings(self): """Gets the palette_settings of this LoginWhiteLabelingParams. # noqa: E501 diff --git a/tb_rest_client/models/models_pe/lw_m2_m_bootstrap_server_credential.py b/tb_rest_client/models/models_pe/lw_m2_m_bootstrap_server_credential.py index 79f9f2ca..338020c5 100644 --- a/tb_rest_client/models/models_pe/lw_m2_m_bootstrap_server_credential.py +++ b/tb_rest_client/models/models_pe/lw_m2_m_bootstrap_server_credential.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/lw_m2_m_server_security_config_default.py b/tb_rest_client/models/models_pe/lw_m2_m_server_security_config_default.py index 443cacbe..f74b52fd 100644 --- a/tb_rest_client/models/models_pe/lw_m2_m_server_security_config_default.py +++ b/tb_rest_client/models/models_pe/lw_m2_m_server_security_config_default.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/lw_m2m_instance.py b/tb_rest_client/models/models_pe/lw_m2m_instance.py index cd22f0ab..90fb0366 100644 --- a/tb_rest_client/models/models_pe/lw_m2m_instance.py +++ b/tb_rest_client/models/models_pe/lw_m2m_instance.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/lw_m2m_object.py b/tb_rest_client/models/models_pe/lw_m2m_object.py index 19124148..ccc0be41 100644 --- a/tb_rest_client/models/models_pe/lw_m2m_object.py +++ b/tb_rest_client/models/models_pe/lw_m2m_object.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/lw_m2m_resource_observe.py b/tb_rest_client/models/models_pe/lw_m2m_resource_observe.py index 7a83ecdb..8f5073e2 100644 --- a/tb_rest_client/models/models_pe/lw_m2m_resource_observe.py +++ b/tb_rest_client/models/models_pe/lw_m2m_resource_observe.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/lwm2m_device_profile_transport_configuration.py b/tb_rest_client/models/models_pe/lwm2m_device_profile_transport_configuration.py index 45d94b8d..b5d26fa1 100644 --- a/tb_rest_client/models/models_pe/lwm2m_device_profile_transport_configuration.py +++ b/tb_rest_client/models/models_pe/lwm2m_device_profile_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/lwm2m_device_transport_configuration.py b/tb_rest_client/models/models_pe/lwm2m_device_transport_configuration.py index 04eaf60a..b1cb09a6 100644 --- a/tb_rest_client/models/models_pe/lwm2m_device_transport_configuration.py +++ b/tb_rest_client/models/models_pe/lwm2m_device_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/mapping.py b/tb_rest_client/models/models_pe/mapping.py index 8fcc3050..0c5a3c00 100644 --- a/tb_rest_client/models/models_pe/mapping.py +++ b/tb_rest_client/models/models_pe/mapping.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/merged_group_permission_info.py b/tb_rest_client/models/models_pe/merged_group_permission_info.py index 7c69e945..6df583e5 100644 --- a/tb_rest_client/models/models_pe/merged_group_permission_info.py +++ b/tb_rest_client/models/models_pe/merged_group_permission_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/merged_group_type_permission_info.py b/tb_rest_client/models/models_pe/merged_group_type_permission_info.py index 4e00a679..a1d2215a 100644 --- a/tb_rest_client/models/models_pe/merged_group_type_permission_info.py +++ b/tb_rest_client/models/models_pe/merged_group_type_permission_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/merged_user_permissions.py b/tb_rest_client/models/models_pe/merged_user_permissions.py index 8e40351b..dc496c4c 100644 --- a/tb_rest_client/models/models_pe/merged_user_permissions.py +++ b/tb_rest_client/models/models_pe/merged_user_permissions.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/mqtt_device_profile_transport_configuration.py b/tb_rest_client/models/models_pe/mqtt_device_profile_transport_configuration.py index 5fafa5cc..372d989c 100644 --- a/tb_rest_client/models/models_pe/mqtt_device_profile_transport_configuration.py +++ b/tb_rest_client/models/models_pe/mqtt_device_profile_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/mqtt_device_transport_configuration.py b/tb_rest_client/models/models_pe/mqtt_device_transport_configuration.py index 5a5132f8..65e15804 100644 --- a/tb_rest_client/models/models_pe/mqtt_device_transport_configuration.py +++ b/tb_rest_client/models/models_pe/mqtt_device_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/new_platform_version_notification_rule_trigger_config.py b/tb_rest_client/models/models_pe/new_platform_version_notification_rule_trigger_config.py index 1e0ad6c3..54870c47 100644 --- a/tb_rest_client/models/models_pe/new_platform_version_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_pe/new_platform_version_notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/no_sec_lw_m2_m_bootstrap_server_credential.py b/tb_rest_client/models/models_pe/no_sec_lw_m2_m_bootstrap_server_credential.py index b1d77340..6cee9371 100644 --- a/tb_rest_client/models/models_pe/no_sec_lw_m2_m_bootstrap_server_credential.py +++ b/tb_rest_client/models/models_pe/no_sec_lw_m2_m_bootstrap_server_credential.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/node_connection_info.py b/tb_rest_client/models/models_pe/node_connection_info.py index e9b988ff..759581aa 100644 --- a/tb_rest_client/models/models_pe/node_connection_info.py +++ b/tb_rest_client/models/models_pe/node_connection_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/notification.py b/tb_rest_client/models/models_pe/notification.py index 6f11845f..3e51b539 100644 --- a/tb_rest_client/models/models_pe/notification.py +++ b/tb_rest_client/models/models_pe/notification.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/notification_delivery_method_config.py b/tb_rest_client/models/models_pe/notification_delivery_method_config.py index 9c619553..1b3e236e 100644 --- a/tb_rest_client/models/models_pe/notification_delivery_method_config.py +++ b/tb_rest_client/models/models_pe/notification_delivery_method_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/notification_id.py b/tb_rest_client/models/models_pe/notification_id.py index 74401bb1..d72f4ef4 100644 --- a/tb_rest_client/models/models_pe/notification_id.py +++ b/tb_rest_client/models/models_pe/notification_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/notification_info.py b/tb_rest_client/models/models_pe/notification_info.py index 2023eb1a..15b6ef9a 100644 --- a/tb_rest_client/models/models_pe/notification_info.py +++ b/tb_rest_client/models/models_pe/notification_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/notification_request.py b/tb_rest_client/models/models_pe/notification_request.py index 83a83088..1095fbad 100644 --- a/tb_rest_client/models/models_pe/notification_request.py +++ b/tb_rest_client/models/models_pe/notification_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/notification_request_config.py b/tb_rest_client/models/models_pe/notification_request_config.py index 39852b72..a4b3d1f1 100644 --- a/tb_rest_client/models/models_pe/notification_request_config.py +++ b/tb_rest_client/models/models_pe/notification_request_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/notification_request_id.py b/tb_rest_client/models/models_pe/notification_request_id.py index 75c680eb..873d88d9 100644 --- a/tb_rest_client/models/models_pe/notification_request_id.py +++ b/tb_rest_client/models/models_pe/notification_request_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/notification_request_preview.py b/tb_rest_client/models/models_pe/notification_request_preview.py index 7163a480..7b1641b9 100644 --- a/tb_rest_client/models/models_pe/notification_request_preview.py +++ b/tb_rest_client/models/models_pe/notification_request_preview.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/notification_request_stats.py b/tb_rest_client/models/models_pe/notification_request_stats.py index 579b358b..5da6576d 100644 --- a/tb_rest_client/models/models_pe/notification_request_stats.py +++ b/tb_rest_client/models/models_pe/notification_request_stats.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/notification_rule_config.py b/tb_rest_client/models/models_pe/notification_rule_config.py index 78a22f10..4089985e 100644 --- a/tb_rest_client/models/models_pe/notification_rule_config.py +++ b/tb_rest_client/models/models_pe/notification_rule_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/notification_rule_id.py b/tb_rest_client/models/models_pe/notification_rule_id.py index 83ab6607..77cb1ed2 100644 --- a/tb_rest_client/models/models_pe/notification_rule_id.py +++ b/tb_rest_client/models/models_pe/notification_rule_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/notification_rule_recipients_config.py b/tb_rest_client/models/models_pe/notification_rule_recipients_config.py index e7afd7a3..b8e73396 100644 --- a/tb_rest_client/models/models_pe/notification_rule_recipients_config.py +++ b/tb_rest_client/models/models_pe/notification_rule_recipients_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/notification_target_id.py b/tb_rest_client/models/models_pe/notification_target_id.py index 1cbe661a..acce1336 100644 --- a/tb_rest_client/models/models_pe/notification_target_id.py +++ b/tb_rest_client/models/models_pe/notification_target_id.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/notification_template_config.py b/tb_rest_client/models/models_pe/notification_template_config.py index af58a539..d1becd3a 100644 --- a/tb_rest_client/models/models_pe/notification_template_config.py +++ b/tb_rest_client/models/models_pe/notification_template_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/notification_template_id.py b/tb_rest_client/models/models_pe/notification_template_id.py index 6fc49e6d..ba18e4bf 100644 --- a/tb_rest_client/models/models_pe/notification_template_id.py +++ b/tb_rest_client/models/models_pe/notification_template_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/numeric_filter_predicate.py b/tb_rest_client/models/models_pe/numeric_filter_predicate.py index b7bb08be..e0e7231e 100644 --- a/tb_rest_client/models/models_pe/numeric_filter_predicate.py +++ b/tb_rest_client/models/models_pe/numeric_filter_predicate.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/o_auth2_basic_mapper_config.py b/tb_rest_client/models/models_pe/o_auth2_basic_mapper_config.py index 6eea850e..c47007a6 100644 --- a/tb_rest_client/models/models_pe/o_auth2_basic_mapper_config.py +++ b/tb_rest_client/models/models_pe/o_auth2_basic_mapper_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/o_auth2_client_info.py b/tb_rest_client/models/models_pe/o_auth2_client_info.py index d69b7bf6..88c8d555 100644 --- a/tb_rest_client/models/models_pe/o_auth2_client_info.py +++ b/tb_rest_client/models/models_pe/o_auth2_client_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/o_auth2_client_registration_template.py b/tb_rest_client/models/models_pe/o_auth2_client_registration_template.py index 417f7217..4aea52e1 100644 --- a/tb_rest_client/models/models_pe/o_auth2_client_registration_template.py +++ b/tb_rest_client/models/models_pe/o_auth2_client_registration_template.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/o_auth2_client_registration_template_id.py b/tb_rest_client/models/models_pe/o_auth2_client_registration_template_id.py index 40aab5c9..8c6e6bd5 100644 --- a/tb_rest_client/models/models_pe/o_auth2_client_registration_template_id.py +++ b/tb_rest_client/models/models_pe/o_auth2_client_registration_template_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/o_auth2_clients_domain_params.py b/tb_rest_client/models/models_pe/o_auth2_clients_domain_params.py index 4383a89d..3dcb89e1 100644 --- a/tb_rest_client/models/models_pe/o_auth2_clients_domain_params.py +++ b/tb_rest_client/models/models_pe/o_auth2_clients_domain_params.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/o_auth2_clients_params.py b/tb_rest_client/models/models_pe/o_auth2_clients_params.py index a249d83d..3aff0886 100644 --- a/tb_rest_client/models/models_pe/o_auth2_clients_params.py +++ b/tb_rest_client/models/models_pe/o_auth2_clients_params.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/o_auth2_custom_mapper_config.py b/tb_rest_client/models/models_pe/o_auth2_custom_mapper_config.py index ecc8c021..6c59ff39 100644 --- a/tb_rest_client/models/models_pe/o_auth2_custom_mapper_config.py +++ b/tb_rest_client/models/models_pe/o_auth2_custom_mapper_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/o_auth2_domain_info.py b/tb_rest_client/models/models_pe/o_auth2_domain_info.py index 03446d13..a9cd9019 100644 --- a/tb_rest_client/models/models_pe/o_auth2_domain_info.py +++ b/tb_rest_client/models/models_pe/o_auth2_domain_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/o_auth2_info.py b/tb_rest_client/models/models_pe/o_auth2_info.py index d50e3281..7489fef1 100644 --- a/tb_rest_client/models/models_pe/o_auth2_info.py +++ b/tb_rest_client/models/models_pe/o_auth2_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/o_auth2_mapper_config.py b/tb_rest_client/models/models_pe/o_auth2_mapper_config.py index 44b15068..95f07c74 100644 --- a/tb_rest_client/models/models_pe/o_auth2_mapper_config.py +++ b/tb_rest_client/models/models_pe/o_auth2_mapper_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/o_auth2_mobile_info.py b/tb_rest_client/models/models_pe/o_auth2_mobile_info.py index 530cf9f6..ebd37cc4 100644 --- a/tb_rest_client/models/models_pe/o_auth2_mobile_info.py +++ b/tb_rest_client/models/models_pe/o_auth2_mobile_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/o_auth2_params_info.py b/tb_rest_client/models/models_pe/o_auth2_params_info.py index 5382107d..3b29f7cb 100644 --- a/tb_rest_client/models/models_pe/o_auth2_params_info.py +++ b/tb_rest_client/models/models_pe/o_auth2_params_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/o_auth2_registration_info.py b/tb_rest_client/models/models_pe/o_auth2_registration_info.py index 7949d96d..6c85b8f6 100644 --- a/tb_rest_client/models/models_pe/o_auth2_registration_info.py +++ b/tb_rest_client/models/models_pe/o_auth2_registration_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/object_attributes.py b/tb_rest_client/models/models_pe/object_attributes.py index b80bada9..1bf38f66 100644 --- a/tb_rest_client/models/models_pe/object_attributes.py +++ b/tb_rest_client/models/models_pe/object_attributes.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/object_node.py b/tb_rest_client/models/models_pe/object_node.py index ed9c0c51..cf052af8 100644 --- a/tb_rest_client/models/models_pe/object_node.py +++ b/tb_rest_client/models/models_pe/object_node.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/originator_entity_owner_users_filter.py b/tb_rest_client/models/models_pe/originator_entity_owner_users_filter.py index 49e77543..0ccefb84 100644 --- a/tb_rest_client/models/models_pe/originator_entity_owner_users_filter.py +++ b/tb_rest_client/models/models_pe/originator_entity_owner_users_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/ota_package.py b/tb_rest_client/models/models_pe/ota_package.py index 5db20a52..09901766 100644 --- a/tb_rest_client/models/models_pe/ota_package.py +++ b/tb_rest_client/models/models_pe/ota_package.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/ota_package_id.py b/tb_rest_client/models/models_pe/ota_package_id.py index 8655b926..dc2c0c69 100644 --- a/tb_rest_client/models/models_pe/ota_package_id.py +++ b/tb_rest_client/models/models_pe/ota_package_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/ota_package_info.py b/tb_rest_client/models/models_pe/ota_package_info.py index 22ec863b..cd8956b1 100644 --- a/tb_rest_client/models/models_pe/ota_package_info.py +++ b/tb_rest_client/models/models_pe/ota_package_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/ota_package_ota_package_id_body.py b/tb_rest_client/models/models_pe/ota_package_ota_package_id_body.py index 5c0f67ff..255b07aa 100644 --- a/tb_rest_client/models/models_pe/ota_package_ota_package_id_body.py +++ b/tb_rest_client/models/models_pe/ota_package_ota_package_id_body.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/other_configuration.py b/tb_rest_client/models/models_pe/other_configuration.py index fcaac610..91239d3c 100644 --- a/tb_rest_client/models/models_pe/other_configuration.py +++ b/tb_rest_client/models/models_pe/other_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_blob_entity_with_customer_info.py b/tb_rest_client/models/models_pe/page_data_blob_entity_with_customer_info.py index 414032aa..7341c5af 100644 --- a/tb_rest_client/models/models_pe/page_data_blob_entity_with_customer_info.py +++ b/tb_rest_client/models/models_pe/page_data_blob_entity_with_customer_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_contact_basedobject.py b/tb_rest_client/models/models_pe/page_data_contact_basedobject.py index 16c7c279..0f219898 100644 --- a/tb_rest_client/models/models_pe/page_data_contact_basedobject.py +++ b/tb_rest_client/models/models_pe/page_data_contact_basedobject.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_converter.py b/tb_rest_client/models/models_pe/page_data_converter.py index cb70f60a..3ef1c384 100644 --- a/tb_rest_client/models/models_pe/page_data_converter.py +++ b/tb_rest_client/models/models_pe/page_data_converter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_customer_info.py b/tb_rest_client/models/models_pe/page_data_customer_info.py index ce6d2326..cc600250 100644 --- a/tb_rest_client/models/models_pe/page_data_customer_info.py +++ b/tb_rest_client/models/models_pe/page_data_customer_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_edge.py b/tb_rest_client/models/models_pe/page_data_edge.py index 8f81a699..1c1d8cee 100644 --- a/tb_rest_client/models/models_pe/page_data_edge.py +++ b/tb_rest_client/models/models_pe/page_data_edge.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_edge_event.py b/tb_rest_client/models/models_pe/page_data_edge_event.py index f3b210e7..af8e8d1f 100644 --- a/tb_rest_client/models/models_pe/page_data_edge_event.py +++ b/tb_rest_client/models/models_pe/page_data_edge_event.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_edge_info.py b/tb_rest_client/models/models_pe/page_data_edge_info.py index 0986992a..90d95f8e 100644 --- a/tb_rest_client/models/models_pe/page_data_edge_info.py +++ b/tb_rest_client/models/models_pe/page_data_edge_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_entity_group.py b/tb_rest_client/models/models_pe/page_data_entity_group.py index 0bd1f792..c7b1fe10 100644 --- a/tb_rest_client/models/models_pe/page_data_entity_group.py +++ b/tb_rest_client/models/models_pe/page_data_entity_group.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_entity_group_info.py b/tb_rest_client/models/models_pe/page_data_entity_group_info.py index 37b7d74c..5125bdb1 100644 --- a/tb_rest_client/models/models_pe/page_data_entity_group_info.py +++ b/tb_rest_client/models/models_pe/page_data_entity_group_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_entity_version.py b/tb_rest_client/models/models_pe/page_data_entity_version.py index 21cd28e9..8f30961d 100644 --- a/tb_rest_client/models/models_pe/page_data_entity_version.py +++ b/tb_rest_client/models/models_pe/page_data_entity_version.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_entity_view_info.py b/tb_rest_client/models/models_pe/page_data_entity_view_info.py index db084861..35b79b59 100644 --- a/tb_rest_client/models/models_pe/page_data_entity_view_info.py +++ b/tb_rest_client/models/models_pe/page_data_entity_view_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_event.py b/tb_rest_client/models/models_pe/page_data_event.py index 7a4d5f04..2a6d256a 100644 --- a/tb_rest_client/models/models_pe/page_data_event.py +++ b/tb_rest_client/models/models_pe/page_data_event.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_event_info.py b/tb_rest_client/models/models_pe/page_data_event_info.py index 49e15e59..43b27ebc 100644 --- a/tb_rest_client/models/models_pe/page_data_event_info.py +++ b/tb_rest_client/models/models_pe/page_data_event_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_integration.py b/tb_rest_client/models/models_pe/page_data_integration.py index 88852857..f05d2fef 100644 --- a/tb_rest_client/models/models_pe/page_data_integration.py +++ b/tb_rest_client/models/models_pe/page_data_integration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_integration_info.py b/tb_rest_client/models/models_pe/page_data_integration_info.py index 90d7b7b7..4678a76d 100644 --- a/tb_rest_client/models/models_pe/page_data_integration_info.py +++ b/tb_rest_client/models/models_pe/page_data_integration_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_ota_package_info.py b/tb_rest_client/models/models_pe/page_data_ota_package_info.py index 96ef8238..21f3ce11 100644 --- a/tb_rest_client/models/models_pe/page_data_ota_package_info.py +++ b/tb_rest_client/models/models_pe/page_data_ota_package_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_queue.py b/tb_rest_client/models/models_pe/page_data_queue.py index 87c45ff6..ce969f79 100644 --- a/tb_rest_client/models/models_pe/page_data_queue.py +++ b/tb_rest_client/models/models_pe/page_data_queue.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_role.py b/tb_rest_client/models/models_pe/page_data_role.py index 8120e523..4102da4d 100644 --- a/tb_rest_client/models/models_pe/page_data_role.py +++ b/tb_rest_client/models/models_pe/page_data_role.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_rule_chain.py b/tb_rest_client/models/models_pe/page_data_rule_chain.py index de999fb5..fc972876 100644 --- a/tb_rest_client/models/models_pe/page_data_rule_chain.py +++ b/tb_rest_client/models/models_pe/page_data_rule_chain.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_scheduler_event_info.py b/tb_rest_client/models/models_pe/page_data_scheduler_event_info.py index 65792c9f..cc4e5136 100644 --- a/tb_rest_client/models/models_pe/page_data_scheduler_event_info.py +++ b/tb_rest_client/models/models_pe/page_data_scheduler_event_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_short_entity_view.py b/tb_rest_client/models/models_pe/page_data_short_entity_view.py index cb833997..e026d754 100644 --- a/tb_rest_client/models/models_pe/page_data_short_entity_view.py +++ b/tb_rest_client/models/models_pe/page_data_short_entity_view.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_tb_resource_info.py b/tb_rest_client/models/models_pe/page_data_tb_resource_info.py deleted file mode 100644 index 0f0524ad..00000000 --- a/tb_rest_client/models/models_pe/page_data_tb_resource_info.py +++ /dev/null @@ -1,210 +0,0 @@ -# coding: utf-8 - -""" - ThingsBoard REST API - - ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - - OpenAPI spec version: 3.6.0PE-SNAPSHOT - Contact: info@thingsboard.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -# Copyright 2023. ThingsBoard -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import pprint -import re # noqa: F401 - -import six - -class PageDataTbResourceInfo(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'data': 'list[TbResourceInfo]', - 'total_pages': 'int', - 'total_elements': 'int', - 'has_next': 'bool' - } - - attribute_map = { - 'data': 'data', - 'total_pages': 'totalPages', - 'total_elements': 'totalElements', - 'has_next': 'hasNext' - } - - def __init__(self, data=None, total_pages=None, total_elements=None, has_next=None): # noqa: E501 - """PageDataTbResourceInfo - a model defined in Swagger""" # noqa: E501 - self._data = None - self._total_pages = None - self._total_elements = None - self._has_next = None - self.discriminator = None - if data is not None: - self.data = data - if total_pages is not None: - self.total_pages = total_pages - if total_elements is not None: - self.total_elements = total_elements - if has_next is not None: - self.has_next = has_next - - @property - def data(self): - """Gets the data of this PageDataTbResourceInfo. # noqa: E501 - - Array of the entities # noqa: E501 - - :return: The data of this PageDataTbResourceInfo. # noqa: E501 - :rtype: list[TbResourceInfo] - """ - return self._data - - @data.setter - def data(self, data): - """Sets the data of this PageDataTbResourceInfo. - - Array of the entities # noqa: E501 - - :param data: The data of this PageDataTbResourceInfo. # noqa: E501 - :type: list[TbResourceInfo] - """ - - self._data = data - - @property - def total_pages(self): - """Gets the total_pages of this PageDataTbResourceInfo. # noqa: E501 - - Total number of available pages. Calculated based on the 'pageSize' request parameter and total number of entities that match search criteria # noqa: E501 - - :return: The total_pages of this PageDataTbResourceInfo. # noqa: E501 - :rtype: int - """ - return self._total_pages - - @total_pages.setter - def total_pages(self, total_pages): - """Sets the total_pages of this PageDataTbResourceInfo. - - Total number of available pages. Calculated based on the 'pageSize' request parameter and total number of entities that match search criteria # noqa: E501 - - :param total_pages: The total_pages of this PageDataTbResourceInfo. # noqa: E501 - :type: int - """ - - self._total_pages = total_pages - - @property - def total_elements(self): - """Gets the total_elements of this PageDataTbResourceInfo. # noqa: E501 - - Total number of elements in all available pages # noqa: E501 - - :return: The total_elements of this PageDataTbResourceInfo. # noqa: E501 - :rtype: int - """ - return self._total_elements - - @total_elements.setter - def total_elements(self, total_elements): - """Sets the total_elements of this PageDataTbResourceInfo. - - Total number of elements in all available pages # noqa: E501 - - :param total_elements: The total_elements of this PageDataTbResourceInfo. # noqa: E501 - :type: int - """ - - self._total_elements = total_elements - - @property - def has_next(self): - """Gets the has_next of this PageDataTbResourceInfo. # noqa: E501 - - 'false' value indicates the end of the result set # noqa: E501 - - :return: The has_next of this PageDataTbResourceInfo. # noqa: E501 - :rtype: bool - """ - return self._has_next - - @has_next.setter - def has_next(self, has_next): - """Sets the has_next of this PageDataTbResourceInfo. - - 'false' value indicates the end of the result set # noqa: E501 - - :param has_next: The has_next of this PageDataTbResourceInfo. # noqa: E501 - :type: bool - """ - - self._has_next = has_next - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(PageDataTbResourceInfo, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, PageDataTbResourceInfo): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/tb_rest_client/models/models_pe/page_data_user_email_info.py b/tb_rest_client/models/models_pe/page_data_user_email_info.py index 7bd30efd..2b1139ec 100644 --- a/tb_rest_client/models/models_pe/page_data_user_email_info.py +++ b/tb_rest_client/models/models_pe/page_data_user_email_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/page_data_user_info.py b/tb_rest_client/models/models_pe/page_data_user_info.py index 90fb6849..899ad03d 100644 --- a/tb_rest_client/models/models_pe/page_data_user_info.py +++ b/tb_rest_client/models/models_pe/page_data_user_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/palette.py b/tb_rest_client/models/models_pe/palette.py index 9dcafcc0..eaa8214f 100644 --- a/tb_rest_client/models/models_pe/palette.py +++ b/tb_rest_client/models/models_pe/palette.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/palette_settings.py b/tb_rest_client/models/models_pe/palette_settings.py index 6f9753f3..9cb47851 100644 --- a/tb_rest_client/models/models_pe/palette_settings.py +++ b/tb_rest_client/models/models_pe/palette_settings.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/platform_two_fa_settings.py b/tb_rest_client/models/models_pe/platform_two_fa_settings.py index 61901124..0a98af42 100644 --- a/tb_rest_client/models/models_pe/platform_two_fa_settings.py +++ b/tb_rest_client/models/models_pe/platform_two_fa_settings.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/platform_users_notification_target_config.py b/tb_rest_client/models/models_pe/platform_users_notification_target_config.py index 5e0b2b3c..fa1bc574 100644 --- a/tb_rest_client/models/models_pe/platform_users_notification_target_config.py +++ b/tb_rest_client/models/models_pe/platform_users_notification_target_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/power_saving_configuration.py b/tb_rest_client/models/models_pe/power_saving_configuration.py index d4ab28c4..3f46f9f7 100644 --- a/tb_rest_client/models/models_pe/power_saving_configuration.py +++ b/tb_rest_client/models/models_pe/power_saving_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/processing_strategy.py b/tb_rest_client/models/models_pe/processing_strategy.py index 181d3b61..8ddb0837 100644 --- a/tb_rest_client/models/models_pe/processing_strategy.py +++ b/tb_rest_client/models/models_pe/processing_strategy.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/proto_transport_payload_configuration.py b/tb_rest_client/models/models_pe/proto_transport_payload_configuration.py index df2e63a9..72822dc8 100644 --- a/tb_rest_client/models/models_pe/proto_transport_payload_configuration.py +++ b/tb_rest_client/models/models_pe/proto_transport_payload_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/psk_lw_m2_m_bootstrap_server_credential.py b/tb_rest_client/models/models_pe/psk_lw_m2_m_bootstrap_server_credential.py index c32b3d8d..1faead4a 100644 --- a/tb_rest_client/models/models_pe/psk_lw_m2_m_bootstrap_server_credential.py +++ b/tb_rest_client/models/models_pe/psk_lw_m2_m_bootstrap_server_credential.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/psklw_m2_m_bootstrap_server_credential.py b/tb_rest_client/models/models_pe/psklw_m2_m_bootstrap_server_credential.py index 283c103a..3f6e8990 100644 --- a/tb_rest_client/models/models_pe/psklw_m2_m_bootstrap_server_credential.py +++ b/tb_rest_client/models/models_pe/psklw_m2_m_bootstrap_server_credential.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/queue.py b/tb_rest_client/models/models_pe/queue.py index 1c9b397e..5beb1816 100644 --- a/tb_rest_client/models/models_pe/queue.py +++ b/tb_rest_client/models/models_pe/queue.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/queue_id.py b/tb_rest_client/models/models_pe/queue_id.py index 01513fb0..9a315864 100644 --- a/tb_rest_client/models/models_pe/queue_id.py +++ b/tb_rest_client/models/models_pe/queue_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/raw_data_event_filter.py b/tb_rest_client/models/models_pe/raw_data_event_filter.py index 0a8175c8..2ad83a1e 100644 --- a/tb_rest_client/models/models_pe/raw_data_event_filter.py +++ b/tb_rest_client/models/models_pe/raw_data_event_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/relation_entity_type_filter.py b/tb_rest_client/models/models_pe/relation_entity_type_filter.py index fb6ee408..4482ed3c 100644 --- a/tb_rest_client/models/models_pe/relation_entity_type_filter.py +++ b/tb_rest_client/models/models_pe/relation_entity_type_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/relations_query_filter.py b/tb_rest_client/models/models_pe/relations_query_filter.py index 48358a9a..d4ebc612 100644 --- a/tb_rest_client/models/models_pe/relations_query_filter.py +++ b/tb_rest_client/models/models_pe/relations_query_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/relations_search_parameters.py b/tb_rest_client/models/models_pe/relations_search_parameters.py index 38832552..5aa4c6b4 100644 --- a/tb_rest_client/models/models_pe/relations_search_parameters.py +++ b/tb_rest_client/models/models_pe/relations_search_parameters.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/repeating_alarm_condition_spec.py b/tb_rest_client/models/models_pe/repeating_alarm_condition_spec.py index 27bc27bd..eeb3b870 100644 --- a/tb_rest_client/models/models_pe/repeating_alarm_condition_spec.py +++ b/tb_rest_client/models/models_pe/repeating_alarm_condition_spec.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/report_config.py b/tb_rest_client/models/models_pe/report_config.py index a9a38929..5f3ab84f 100644 --- a/tb_rest_client/models/models_pe/report_config.py +++ b/tb_rest_client/models/models_pe/report_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/repository_settings.py b/tb_rest_client/models/models_pe/repository_settings.py index 5f0628a9..8640997c 100644 --- a/tb_rest_client/models/models_pe/repository_settings.py +++ b/tb_rest_client/models/models_pe/repository_settings.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/repository_settings_info.py b/tb_rest_client/models/models_pe/repository_settings_info.py index 6b98b6c4..0acafb21 100644 --- a/tb_rest_client/models/models_pe/repository_settings_info.py +++ b/tb_rest_client/models/models_pe/repository_settings_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/reset_password_email_request.py b/tb_rest_client/models/models_pe/reset_password_email_request.py index 1759e4cc..9294c35b 100644 --- a/tb_rest_client/models/models_pe/reset_password_email_request.py +++ b/tb_rest_client/models/models_pe/reset_password_email_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/reset_password_request.py b/tb_rest_client/models/models_pe/reset_password_request.py index 35c99f37..337fbe68 100644 --- a/tb_rest_client/models/models_pe/reset_password_request.py +++ b/tb_rest_client/models/models_pe/reset_password_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/resource.py b/tb_rest_client/models/models_pe/resource.py index 0b2c0eab..5b5e9cf0 100644 --- a/tb_rest_client/models/models_pe/resource.py +++ b/tb_rest_client/models/models_pe/resource.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/response_entity.py b/tb_rest_client/models/models_pe/response_entity.py index 0d246e9b..66a69739 100644 --- a/tb_rest_client/models/models_pe/response_entity.py +++ b/tb_rest_client/models/models_pe/response_entity.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/role.py b/tb_rest_client/models/models_pe/role.py index 76783a85..d93fbd0d 100644 --- a/tb_rest_client/models/models_pe/role.py +++ b/tb_rest_client/models/models_pe/role.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/role_id.py b/tb_rest_client/models/models_pe/role_id.py index ae370a3c..a65e2162 100644 --- a/tb_rest_client/models/models_pe/role_id.py +++ b/tb_rest_client/models/models_pe/role_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/rpc.py b/tb_rest_client/models/models_pe/rpc.py index 4fca5576..18e16f33 100644 --- a/tb_rest_client/models/models_pe/rpc.py +++ b/tb_rest_client/models/models_pe/rpc.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/rpc_id.py b/tb_rest_client/models/models_pe/rpc_id.py index 393ec933..5482c02f 100644 --- a/tb_rest_client/models/models_pe/rpc_id.py +++ b/tb_rest_client/models/models_pe/rpc_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/rpk_lw_m2_m_bootstrap_server_credential.py b/tb_rest_client/models/models_pe/rpk_lw_m2_m_bootstrap_server_credential.py index 0be87108..d69e0786 100644 --- a/tb_rest_client/models/models_pe/rpk_lw_m2_m_bootstrap_server_credential.py +++ b/tb_rest_client/models/models_pe/rpk_lw_m2_m_bootstrap_server_credential.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/rpklw_m2_m_bootstrap_server_credential.py b/tb_rest_client/models/models_pe/rpklw_m2_m_bootstrap_server_credential.py index df21ddbd..989fa465 100644 --- a/tb_rest_client/models/models_pe/rpklw_m2_m_bootstrap_server_credential.py +++ b/tb_rest_client/models/models_pe/rpklw_m2_m_bootstrap_server_credential.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/rule_chain.py b/tb_rest_client/models/models_pe/rule_chain.py index cbe34af1..f42d5101 100644 --- a/tb_rest_client/models/models_pe/rule_chain.py +++ b/tb_rest_client/models/models_pe/rule_chain.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/rule_chain_connection_info.py b/tb_rest_client/models/models_pe/rule_chain_connection_info.py index 9919fa6c..02ffec3b 100644 --- a/tb_rest_client/models/models_pe/rule_chain_connection_info.py +++ b/tb_rest_client/models/models_pe/rule_chain_connection_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/rule_chain_data.py b/tb_rest_client/models/models_pe/rule_chain_data.py index b34c5a0e..9c8535a7 100644 --- a/tb_rest_client/models/models_pe/rule_chain_data.py +++ b/tb_rest_client/models/models_pe/rule_chain_data.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/rule_chain_debug_event_filter.py b/tb_rest_client/models/models_pe/rule_chain_debug_event_filter.py index 9035ffd6..fe842205 100644 --- a/tb_rest_client/models/models_pe/rule_chain_debug_event_filter.py +++ b/tb_rest_client/models/models_pe/rule_chain_debug_event_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/rule_chain_export_data.py b/tb_rest_client/models/models_pe/rule_chain_export_data.py index 517140f6..049b517f 100644 --- a/tb_rest_client/models/models_pe/rule_chain_export_data.py +++ b/tb_rest_client/models/models_pe/rule_chain_export_data.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/rule_chain_id.py b/tb_rest_client/models/models_pe/rule_chain_id.py index 1d0af62a..72bfbb90 100644 --- a/tb_rest_client/models/models_pe/rule_chain_id.py +++ b/tb_rest_client/models/models_pe/rule_chain_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/rule_chain_import_result.py b/tb_rest_client/models/models_pe/rule_chain_import_result.py index 0fb8b306..72e2293f 100644 --- a/tb_rest_client/models/models_pe/rule_chain_import_result.py +++ b/tb_rest_client/models/models_pe/rule_chain_import_result.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/rule_chain_meta_data.py b/tb_rest_client/models/models_pe/rule_chain_meta_data.py index 805b4435..323eced6 100644 --- a/tb_rest_client/models/models_pe/rule_chain_meta_data.py +++ b/tb_rest_client/models/models_pe/rule_chain_meta_data.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/rule_chain_output_labels_usage.py b/tb_rest_client/models/models_pe/rule_chain_output_labels_usage.py index 691e98b0..7fe0b3ad 100644 --- a/tb_rest_client/models/models_pe/rule_chain_output_labels_usage.py +++ b/tb_rest_client/models/models_pe/rule_chain_output_labels_usage.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py b/tb_rest_client/models/models_pe/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py index ad7858b6..731f113c 100644 --- a/tb_rest_client/models/models_pe/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py +++ b/tb_rest_client/models/models_pe/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -152,7 +152,7 @@ def rule_chain_events(self, rule_chain_events): :param rule_chain_events: The rule_chain_events of this RuleEngineComponentLifecycleEventNotificationRuleTriggerConfig. # noqa: E501 :type: list[str] """ - allowed_values = ["ACTIVATED", "CREATED", "DELETED", "FAILED", "STARTED", "STOPPED", "SUSPENDED", "UPDATED"] # noqa: E501 + allowed_values = ["ACTIVATED", "CREATED", "DEACTIVATED", "DELETED", "FAILED", "STARTED", "STOPPED", "SUSPENDED", "UPDATED"] # noqa: E501 if not set(rule_chain_events).issubset(set(allowed_values)): raise ValueError( "Invalid values for `rule_chain_events` [{0}], must be a subset of [{1}]" # noqa: E501 @@ -201,7 +201,7 @@ def rule_node_events(self, rule_node_events): :param rule_node_events: The rule_node_events of this RuleEngineComponentLifecycleEventNotificationRuleTriggerConfig. # noqa: E501 :type: list[str] """ - allowed_values = ["ACTIVATED", "CREATED", "DELETED", "FAILED", "STARTED", "STOPPED", "SUSPENDED", "UPDATED"] # noqa: E501 + allowed_values = ["ACTIVATED", "CREATED", "DEACTIVATED", "DELETED", "FAILED", "STARTED", "STOPPED", "SUSPENDED", "UPDATED"] # noqa: E501 if not set(rule_node_events).issubset(set(allowed_values)): raise ValueError( "Invalid values for `rule_node_events` [{0}], must be a subset of [{1}]" # noqa: E501 diff --git a/tb_rest_client/models/models_pe/rule_node.py b/tb_rest_client/models/models_pe/rule_node.py index c1fad6d1..dcb7e52e 100644 --- a/tb_rest_client/models/models_pe/rule_node.py +++ b/tb_rest_client/models/models_pe/rule_node.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/rule_node_debug_event_filter.py b/tb_rest_client/models/models_pe/rule_node_debug_event_filter.py index 9a4a95c8..ecd2fa89 100644 --- a/tb_rest_client/models/models_pe/rule_node_debug_event_filter.py +++ b/tb_rest_client/models/models_pe/rule_node_debug_event_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/rule_node_id.py b/tb_rest_client/models/models_pe/rule_node_id.py index 07712897..30382a48 100644 --- a/tb_rest_client/models/models_pe/rule_node_id.py +++ b/tb_rest_client/models/models_pe/rule_node_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/save_device_with_credentials_request.py b/tb_rest_client/models/models_pe/save_device_with_credentials_request.py index cb7795a6..acf03c63 100644 --- a/tb_rest_client/models/models_pe/save_device_with_credentials_request.py +++ b/tb_rest_client/models/models_pe/save_device_with_credentials_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/save_ota_package_info_request.py b/tb_rest_client/models/models_pe/save_ota_package_info_request.py index f2408e7d..04b2a6bd 100644 --- a/tb_rest_client/models/models_pe/save_ota_package_info_request.py +++ b/tb_rest_client/models/models_pe/save_ota_package_info_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/scheduler_event.py b/tb_rest_client/models/models_pe/scheduler_event.py index 5971a02e..e7b05ac5 100644 --- a/tb_rest_client/models/models_pe/scheduler_event.py +++ b/tb_rest_client/models/models_pe/scheduler_event.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/scheduler_event_filter.py b/tb_rest_client/models/models_pe/scheduler_event_filter.py index 94add6ca..b819cf63 100644 --- a/tb_rest_client/models/models_pe/scheduler_event_filter.py +++ b/tb_rest_client/models/models_pe/scheduler_event_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/scheduler_event_id.py b/tb_rest_client/models/models_pe/scheduler_event_id.py index d8c79767..3e999bf3 100644 --- a/tb_rest_client/models/models_pe/scheduler_event_id.py +++ b/tb_rest_client/models/models_pe/scheduler_event_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/scheduler_event_info.py b/tb_rest_client/models/models_pe/scheduler_event_info.py index bb6faa52..12a733b2 100644 --- a/tb_rest_client/models/models_pe/scheduler_event_info.py +++ b/tb_rest_client/models/models_pe/scheduler_event_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/scheduler_event_with_customer_info.py b/tb_rest_client/models/models_pe/scheduler_event_with_customer_info.py index 89994cf8..f483550c 100644 --- a/tb_rest_client/models/models_pe/scheduler_event_with_customer_info.py +++ b/tb_rest_client/models/models_pe/scheduler_event_with_customer_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/security_settings.py b/tb_rest_client/models/models_pe/security_settings.py index 0350f14c..1f62d9eb 100644 --- a/tb_rest_client/models/models_pe/security_settings.py +++ b/tb_rest_client/models/models_pe/security_settings.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/self_registration_params.py b/tb_rest_client/models/models_pe/self_registration_params.py index e467b8e1..99436c4e 100644 --- a/tb_rest_client/models/models_pe/self_registration_params.py +++ b/tb_rest_client/models/models_pe/self_registration_params.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/server_security_config.py b/tb_rest_client/models/models_pe/server_security_config.py index c41c95f5..a8fe18d7 100644 --- a/tb_rest_client/models/models_pe/server_security_config.py +++ b/tb_rest_client/models/models_pe/server_security_config.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/share_group_request.py b/tb_rest_client/models/models_pe/share_group_request.py index 36bf54a0..23b21614 100644 --- a/tb_rest_client/models/models_pe/share_group_request.py +++ b/tb_rest_client/models/models_pe/share_group_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/shared_attributes_setting_snmp_communication_config.py b/tb_rest_client/models/models_pe/shared_attributes_setting_snmp_communication_config.py index 9d9a504e..55702dd0 100644 --- a/tb_rest_client/models/models_pe/shared_attributes_setting_snmp_communication_config.py +++ b/tb_rest_client/models/models_pe/shared_attributes_setting_snmp_communication_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/short_customer_info.py b/tb_rest_client/models/models_pe/short_customer_info.py index 0552e9df..a430346c 100644 --- a/tb_rest_client/models/models_pe/short_customer_info.py +++ b/tb_rest_client/models/models_pe/short_customer_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/short_entity_view.py b/tb_rest_client/models/models_pe/short_entity_view.py index 6a3731ad..02634487 100644 --- a/tb_rest_client/models/models_pe/short_entity_view.py +++ b/tb_rest_client/models/models_pe/short_entity_view.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/sign_up_request.py b/tb_rest_client/models/models_pe/sign_up_request.py index b7af24fa..5cf1985e 100644 --- a/tb_rest_client/models/models_pe/sign_up_request.py +++ b/tb_rest_client/models/models_pe/sign_up_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/sign_up_self_registration_params.py b/tb_rest_client/models/models_pe/sign_up_self_registration_params.py index 67d35276..6761cb0f 100644 --- a/tb_rest_client/models/models_pe/sign_up_self_registration_params.py +++ b/tb_rest_client/models/models_pe/sign_up_self_registration_params.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/simple_alarm_condition_spec.py b/tb_rest_client/models/models_pe/simple_alarm_condition_spec.py index 8dcc9aa2..86fadd6a 100644 --- a/tb_rest_client/models/models_pe/simple_alarm_condition_spec.py +++ b/tb_rest_client/models/models_pe/simple_alarm_condition_spec.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/single_entity_filter.py b/tb_rest_client/models/models_pe/single_entity_filter.py index 9f7b8e6e..81152504 100644 --- a/tb_rest_client/models/models_pe/single_entity_filter.py +++ b/tb_rest_client/models/models_pe/single_entity_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/single_entity_version_create_request.py b/tb_rest_client/models/models_pe/single_entity_version_create_request.py index 3aa60e96..3e5da103 100644 --- a/tb_rest_client/models/models_pe/single_entity_version_create_request.py +++ b/tb_rest_client/models/models_pe/single_entity_version_create_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/single_entity_version_load_request.py b/tb_rest_client/models/models_pe/single_entity_version_load_request.py index 165aba6c..0b2f0f9b 100644 --- a/tb_rest_client/models/models_pe/single_entity_version_load_request.py +++ b/tb_rest_client/models/models_pe/single_entity_version_load_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/slack_conversation.py b/tb_rest_client/models/models_pe/slack_conversation.py index 24a5edb6..84341173 100644 --- a/tb_rest_client/models/models_pe/slack_conversation.py +++ b/tb_rest_client/models/models_pe/slack_conversation.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/slack_delivery_method_notification_template.py b/tb_rest_client/models/models_pe/slack_delivery_method_notification_template.py index 66f5fa56..0574b400 100644 --- a/tb_rest_client/models/models_pe/slack_delivery_method_notification_template.py +++ b/tb_rest_client/models/models_pe/slack_delivery_method_notification_template.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/slack_notification_delivery_method_config.py b/tb_rest_client/models/models_pe/slack_notification_delivery_method_config.py index 44390935..3189312f 100644 --- a/tb_rest_client/models/models_pe/slack_notification_delivery_method_config.py +++ b/tb_rest_client/models/models_pe/slack_notification_delivery_method_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/slack_notification_target_config.py b/tb_rest_client/models/models_pe/slack_notification_target_config.py index 84f50693..10e77d0c 100644 --- a/tb_rest_client/models/models_pe/slack_notification_target_config.py +++ b/tb_rest_client/models/models_pe/slack_notification_target_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/smpp_sms_provider_configuration.py b/tb_rest_client/models/models_pe/smpp_sms_provider_configuration.py index 31ad7d18..c9ce3092 100644 --- a/tb_rest_client/models/models_pe/smpp_sms_provider_configuration.py +++ b/tb_rest_client/models/models_pe/smpp_sms_provider_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/sms_delivery_method_notification_template.py b/tb_rest_client/models/models_pe/sms_delivery_method_notification_template.py index 287956c5..c915da9d 100644 --- a/tb_rest_client/models/models_pe/sms_delivery_method_notification_template.py +++ b/tb_rest_client/models/models_pe/sms_delivery_method_notification_template.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/sms_provider_configuration.py b/tb_rest_client/models/models_pe/sms_provider_configuration.py index 9fcb283e..2bbc5081 100644 --- a/tb_rest_client/models/models_pe/sms_provider_configuration.py +++ b/tb_rest_client/models/models_pe/sms_provider_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/sms_two_fa_account_config.py b/tb_rest_client/models/models_pe/sms_two_fa_account_config.py index d6f144f4..69d56991 100644 --- a/tb_rest_client/models/models_pe/sms_two_fa_account_config.py +++ b/tb_rest_client/models/models_pe/sms_two_fa_account_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/sms_two_fa_provider_config.py b/tb_rest_client/models/models_pe/sms_two_fa_provider_config.py index 587500b0..906e08f3 100644 --- a/tb_rest_client/models/models_pe/sms_two_fa_provider_config.py +++ b/tb_rest_client/models/models_pe/sms_two_fa_provider_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/snmp_communication_config.py b/tb_rest_client/models/models_pe/snmp_communication_config.py index 6203d64b..7216c136 100644 --- a/tb_rest_client/models/models_pe/snmp_communication_config.py +++ b/tb_rest_client/models/models_pe/snmp_communication_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/snmp_device_profile_transport_configuration.py b/tb_rest_client/models/models_pe/snmp_device_profile_transport_configuration.py index 1c4c7725..4381a27b 100644 --- a/tb_rest_client/models/models_pe/snmp_device_profile_transport_configuration.py +++ b/tb_rest_client/models/models_pe/snmp_device_profile_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/snmp_device_transport_configuration.py b/tb_rest_client/models/models_pe/snmp_device_transport_configuration.py index 5cea0bf2..8ac6084b 100644 --- a/tb_rest_client/models/models_pe/snmp_device_transport_configuration.py +++ b/tb_rest_client/models/models_pe/snmp_device_transport_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/snmp_mapping.py b/tb_rest_client/models/models_pe/snmp_mapping.py index b1829513..52faeab9 100644 --- a/tb_rest_client/models/models_pe/snmp_mapping.py +++ b/tb_rest_client/models/models_pe/snmp_mapping.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/solution_install_response.py b/tb_rest_client/models/models_pe/solution_install_response.py index 5a8834cb..006abf9d 100644 --- a/tb_rest_client/models/models_pe/solution_install_response.py +++ b/tb_rest_client/models/models_pe/solution_install_response.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/specific_time_schedule.py b/tb_rest_client/models/models_pe/specific_time_schedule.py index 434699e2..161ab3e7 100644 --- a/tb_rest_client/models/models_pe/specific_time_schedule.py +++ b/tb_rest_client/models/models_pe/specific_time_schedule.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/starred_dashboard_info.py b/tb_rest_client/models/models_pe/starred_dashboard_info.py index 2bca7ae4..a624e0dc 100644 --- a/tb_rest_client/models/models_pe/starred_dashboard_info.py +++ b/tb_rest_client/models/models_pe/starred_dashboard_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/state_entity_owner_filter.py b/tb_rest_client/models/models_pe/state_entity_owner_filter.py index 1c8dbfc5..7f7eb5fb 100644 --- a/tb_rest_client/models/models_pe/state_entity_owner_filter.py +++ b/tb_rest_client/models/models_pe/state_entity_owner_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/statistics_event_filter.py b/tb_rest_client/models/models_pe/statistics_event_filter.py index 31155477..04a53a23 100644 --- a/tb_rest_client/models/models_pe/statistics_event_filter.py +++ b/tb_rest_client/models/models_pe/statistics_event_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/string_filter_predicate.py b/tb_rest_client/models/models_pe/string_filter_predicate.py index 9aed558f..08a74808 100644 --- a/tb_rest_client/models/models_pe/string_filter_predicate.py +++ b/tb_rest_client/models/models_pe/string_filter_predicate.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/submit_strategy.py b/tb_rest_client/models/models_pe/submit_strategy.py index 11dcfe26..7612825e 100644 --- a/tb_rest_client/models/models_pe/submit_strategy.py +++ b/tb_rest_client/models/models_pe/submit_strategy.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/subscription_usage.py b/tb_rest_client/models/models_pe/subscription_usage.py index 2c5b3580..9f8481d8 100644 --- a/tb_rest_client/models/models_pe/subscription_usage.py +++ b/tb_rest_client/models/models_pe/subscription_usage.py @@ -10,7 +10,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/system_administrators_filter.py b/tb_rest_client/models/models_pe/system_administrators_filter.py index 9ad6945f..9e3b2f73 100644 --- a/tb_rest_client/models/models_pe/system_administrators_filter.py +++ b/tb_rest_client/models/models_pe/system_administrators_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/system_info.py b/tb_rest_client/models/models_pe/system_info.py index 4d5ea018..6174e76b 100644 --- a/tb_rest_client/models/models_pe/system_info.py +++ b/tb_rest_client/models/models_pe/system_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/system_info_data.py b/tb_rest_client/models/models_pe/system_info_data.py index d2623f26..ec93fb04 100644 --- a/tb_rest_client/models/models_pe/system_info_data.py +++ b/tb_rest_client/models/models_pe/system_info_data.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/tb_resource.py b/tb_rest_client/models/models_pe/tb_resource.py index 13f8adfc..149849c1 100644 --- a/tb_rest_client/models/models_pe/tb_resource.py +++ b/tb_rest_client/models/models_pe/tb_resource.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -42,9 +42,17 @@ class TbResource(object): and the value is json key in definition. """ swagger_types = { + 'descriptor': 'JsonNode', + 'link': 'str', + 'name': 'str', + 'preview': 'str', + 'public': 'bool', + 'public_link': 'str', + 'public_resource_key': 'str', 'id': 'TbResourceId', 'created_time': 'int', 'tenant_id': 'TenantId', + 'customer_id': 'CustomerId', 'title': 'str', 'resource_type': 'str', 'resource_key': 'str', @@ -54,9 +62,17 @@ class TbResource(object): } attribute_map = { + 'descriptor': 'descriptor', + 'link': 'link', + 'name': 'name', + 'preview': 'preview', + 'public': 'public', + 'public_link': 'publicLink', + 'public_resource_key': 'publicResourceKey', 'id': 'id', 'created_time': 'createdTime', 'tenant_id': 'tenantId', + 'customer_id': 'customerId', 'title': 'title', 'resource_type': 'resourceType', 'resource_key': 'resourceKey', @@ -65,11 +81,19 @@ class TbResource(object): 'data': 'data' } - def __init__(self, id=None, created_time=None, tenant_id=None, title=None, resource_type=None, resource_key=None, etag=None, file_name=None, data=None): # noqa: E501 + def __init__(self, descriptor=None, link=None, name=None, preview=None, public=None, public_link=None, public_resource_key=None, id=None, created_time=None, tenant_id=None, customer_id=None, title=None, resource_type=None, resource_key=None, etag=None, file_name=None, data=None): # noqa: E501 """TbResource - a model defined in Swagger""" # noqa: E501 + self._descriptor = None + self._link = None + self._name = None + self._preview = None + self._public = None + self._public_link = None + self._public_resource_key = None self._id = None self._created_time = None self._tenant_id = None + self._customer_id = None self._title = None self._resource_type = None self._resource_key = None @@ -77,12 +101,28 @@ def __init__(self, id=None, created_time=None, tenant_id=None, title=None, resou self._file_name = None self._data = None self.discriminator = None + if descriptor is not None: + self.descriptor = descriptor + if link is not None: + self.link = link + if name is not None: + self.name = name + if preview is not None: + self.preview = preview + if public is not None: + self.public = public + if public_link is not None: + self.public_link = public_link + if public_resource_key is not None: + self.public_resource_key = public_resource_key if id is not None: self.id = id if created_time is not None: self.created_time = created_time if tenant_id is not None: self.tenant_id = tenant_id + if customer_id is not None: + self.customer_id = customer_id if title is not None: self.title = title if resource_type is not None: @@ -96,6 +136,153 @@ def __init__(self, id=None, created_time=None, tenant_id=None, title=None, resou if data is not None: self.data = data + @property + def descriptor(self): + """Gets the descriptor of this TbResource. # noqa: E501 + + + :return: The descriptor of this TbResource. # noqa: E501 + :rtype: JsonNode + """ + return self._descriptor + + @descriptor.setter + def descriptor(self, descriptor): + """Sets the descriptor of this TbResource. + + + :param descriptor: The descriptor of this TbResource. # noqa: E501 + :type: JsonNode + """ + + self._descriptor = descriptor + + @property + def link(self): + """Gets the link of this TbResource. # noqa: E501 + + + :return: The link of this TbResource. # noqa: E501 + :rtype: str + """ + return self._link + + @link.setter + def link(self, link): + """Sets the link of this TbResource. + + + :param link: The link of this TbResource. # noqa: E501 + :type: str + """ + + self._link = link + + @property + def name(self): + """Gets the name of this TbResource. # noqa: E501 + + + :return: The name of this TbResource. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this TbResource. + + + :param name: The name of this TbResource. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def preview(self): + """Gets the preview of this TbResource. # noqa: E501 + + + :return: The preview of this TbResource. # noqa: E501 + :rtype: str + """ + return self._preview + + @preview.setter + def preview(self, preview): + """Sets the preview of this TbResource. + + + :param preview: The preview of this TbResource. # noqa: E501 + :type: str + """ + + self._preview = preview + + @property + def public(self): + """Gets the public of this TbResource. # noqa: E501 + + + :return: The public of this TbResource. # noqa: E501 + :rtype: bool + """ + return self._public + + @public.setter + def public(self, public): + """Sets the public of this TbResource. + + + :param public: The public of this TbResource. # noqa: E501 + :type: bool + """ + + self._public = public + + @property + def public_link(self): + """Gets the public_link of this TbResource. # noqa: E501 + + + :return: The public_link of this TbResource. # noqa: E501 + :rtype: str + """ + return self._public_link + + @public_link.setter + def public_link(self, public_link): + """Sets the public_link of this TbResource. + + + :param public_link: The public_link of this TbResource. # noqa: E501 + :type: str + """ + + self._public_link = public_link + + @property + def public_resource_key(self): + """Gets the public_resource_key of this TbResource. # noqa: E501 + + + :return: The public_resource_key of this TbResource. # noqa: E501 + :rtype: str + """ + return self._public_resource_key + + @public_resource_key.setter + def public_resource_key(self, public_resource_key): + """Sets the public_resource_key of this TbResource. + + + :param public_resource_key: The public_resource_key of this TbResource. # noqa: E501 + :type: str + """ + + self._public_resource_key = public_resource_key + @property def id(self): """Gets the id of this TbResource. # noqa: E501 @@ -161,6 +348,27 @@ def tenant_id(self, tenant_id): self._tenant_id = tenant_id + @property + def customer_id(self): + """Gets the customer_id of this TbResource. # noqa: E501 + + + :return: The customer_id of this TbResource. # noqa: E501 + :rtype: CustomerId + """ + return self._customer_id + + @customer_id.setter + def customer_id(self, customer_id): + """Sets the customer_id of this TbResource. + + + :param customer_id: The customer_id of this TbResource. # noqa: E501 + :type: CustomerId + """ + + self._customer_id = customer_id + @property def title(self): """Gets the title of this TbResource. # noqa: E501 @@ -204,7 +412,7 @@ def resource_type(self, resource_type): :param resource_type: The resource_type of this TbResource. # noqa: E501 :type: str """ - allowed_values = ["JKS", "JS_MODULE", "LWM2M_MODEL", "PKCS_12"] # noqa: E501 + allowed_values = ["IMAGE", "JKS", "JS_MODULE", "LWM2M_MODEL", "PKCS_12"] # noqa: E501 if resource_type not in allowed_values: raise ValueError( "Invalid value for `resource_type` ({0}), must be one of {1}" # noqa: E501 diff --git a/tb_rest_client/models/models_pe/tb_resource_id.py b/tb_rest_client/models/models_pe/tb_resource_id.py index b9f0ddb1..abdca6b4 100644 --- a/tb_rest_client/models/models_pe/tb_resource_id.py +++ b/tb_rest_client/models/models_pe/tb_resource_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/tb_resource_info.py b/tb_rest_client/models/models_pe/tb_resource_info.py deleted file mode 100644 index 531588ed..00000000 --- a/tb_rest_client/models/models_pe/tb_resource_info.py +++ /dev/null @@ -1,296 +0,0 @@ -# coding: utf-8 - -""" - ThingsBoard REST API - - ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - - OpenAPI spec version: 3.6.0PE-SNAPSHOT - Contact: info@thingsboard.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -# Copyright 2023. ThingsBoard -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import pprint -import re # noqa: F401 - -import six - -class TbResourceInfo(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'TbResourceId', - 'created_time': 'int', - 'tenant_id': 'TenantId', - 'title': 'str', - 'resource_type': 'str', - 'resource_key': 'str', - 'etag': 'str' - } - - attribute_map = { - 'id': 'id', - 'created_time': 'createdTime', - 'tenant_id': 'tenantId', - 'title': 'title', - 'resource_type': 'resourceType', - 'resource_key': 'resourceKey', - 'etag': 'etag' - } - - def __init__(self, id=None, created_time=None, tenant_id=None, title=None, resource_type=None, resource_key=None, etag=None): # noqa: E501 - """TbResourceInfo - a model defined in Swagger""" # noqa: E501 - self._id = None - self._created_time = None - self._tenant_id = None - self._title = None - self._resource_type = None - self._resource_key = None - self._etag = None - self.discriminator = None - if id is not None: - self.id = id - if created_time is not None: - self.created_time = created_time - if tenant_id is not None: - self.tenant_id = tenant_id - if title is not None: - self.title = title - if resource_type is not None: - self.resource_type = resource_type - if resource_key is not None: - self.resource_key = resource_key - if etag is not None: - self.etag = etag - - @property - def id(self): - """Gets the id of this TbResourceInfo. # noqa: E501 - - - :return: The id of this TbResourceInfo. # noqa: E501 - :rtype: TbResourceId - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this TbResourceInfo. - - - :param id: The id of this TbResourceInfo. # noqa: E501 - :type: TbResourceId - """ - - self._id = id - - @property - def created_time(self): - """Gets the created_time of this TbResourceInfo. # noqa: E501 - - Timestamp of the resource creation, in milliseconds # noqa: E501 - - :return: The created_time of this TbResourceInfo. # noqa: E501 - :rtype: int - """ - return self._created_time - - @created_time.setter - def created_time(self, created_time): - """Sets the created_time of this TbResourceInfo. - - Timestamp of the resource creation, in milliseconds # noqa: E501 - - :param created_time: The created_time of this TbResourceInfo. # noqa: E501 - :type: int - """ - - self._created_time = created_time - - @property - def tenant_id(self): - """Gets the tenant_id of this TbResourceInfo. # noqa: E501 - - - :return: The tenant_id of this TbResourceInfo. # noqa: E501 - :rtype: TenantId - """ - return self._tenant_id - - @tenant_id.setter - def tenant_id(self, tenant_id): - """Sets the tenant_id of this TbResourceInfo. - - - :param tenant_id: The tenant_id of this TbResourceInfo. # noqa: E501 - :type: TenantId - """ - - self._tenant_id = tenant_id - - @property - def title(self): - """Gets the title of this TbResourceInfo. # noqa: E501 - - Resource title. # noqa: E501 - - :return: The title of this TbResourceInfo. # noqa: E501 - :rtype: str - """ - return self._title - - @title.setter - def title(self, title): - """Sets the title of this TbResourceInfo. - - Resource title. # noqa: E501 - - :param title: The title of this TbResourceInfo. # noqa: E501 - :type: str - """ - - self._title = title - - @property - def resource_type(self): - """Gets the resource_type of this TbResourceInfo. # noqa: E501 - - Resource type. # noqa: E501 - - :return: The resource_type of this TbResourceInfo. # noqa: E501 - :rtype: str - """ - return self._resource_type - - @resource_type.setter - def resource_type(self, resource_type): - """Sets the resource_type of this TbResourceInfo. - - Resource type. # noqa: E501 - - :param resource_type: The resource_type of this TbResourceInfo. # noqa: E501 - :type: str - """ - allowed_values = ["JKS", "JS_MODULE", "LWM2M_MODEL", "PKCS_12"] # noqa: E501 - if resource_type not in allowed_values: - raise ValueError( - "Invalid value for `resource_type` ({0}), must be one of {1}" # noqa: E501 - .format(resource_type, allowed_values) - ) - - self._resource_type = resource_type - - @property - def resource_key(self): - """Gets the resource_key of this TbResourceInfo. # noqa: E501 - - Resource key. # noqa: E501 - - :return: The resource_key of this TbResourceInfo. # noqa: E501 - :rtype: str - """ - return self._resource_key - - @resource_key.setter - def resource_key(self, resource_key): - """Sets the resource_key of this TbResourceInfo. - - Resource key. # noqa: E501 - - :param resource_key: The resource_key of this TbResourceInfo. # noqa: E501 - :type: str - """ - - self._resource_key = resource_key - - @property - def etag(self): - """Gets the etag of this TbResourceInfo. # noqa: E501 - - Resource etag. # noqa: E501 - - :return: The etag of this TbResourceInfo. # noqa: E501 - :rtype: str - """ - return self._etag - - @etag.setter - def etag(self, etag): - """Sets the etag of this TbResourceInfo. - - Resource etag. # noqa: E501 - - :param etag: The etag of this TbResourceInfo. # noqa: E501 - :type: str - """ - - self._etag = etag - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(TbResourceInfo, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, TbResourceInfo): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/tb_rest_client/models/models_pe/telemetry_entity_view.py b/tb_rest_client/models/models_pe/telemetry_entity_view.py index 110339f4..465c5206 100644 --- a/tb_rest_client/models/models_pe/telemetry_entity_view.py +++ b/tb_rest_client/models/models_pe/telemetry_entity_view.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/telemetry_mapping_configuration.py b/tb_rest_client/models/models_pe/telemetry_mapping_configuration.py index 5a838eb9..9b90b6f9 100644 --- a/tb_rest_client/models/models_pe/telemetry_mapping_configuration.py +++ b/tb_rest_client/models/models_pe/telemetry_mapping_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/telemetry_querying_snmp_communication_config.py b/tb_rest_client/models/models_pe/telemetry_querying_snmp_communication_config.py index b3d83094..d939f5ee 100644 --- a/tb_rest_client/models/models_pe/telemetry_querying_snmp_communication_config.py +++ b/tb_rest_client/models/models_pe/telemetry_querying_snmp_communication_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/tenant_administrators_filter.py b/tb_rest_client/models/models_pe/tenant_administrators_filter.py index 6683b970..3df7fb5b 100644 --- a/tb_rest_client/models/models_pe/tenant_administrators_filter.py +++ b/tb_rest_client/models/models_pe/tenant_administrators_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/tenant_id.py b/tb_rest_client/models/models_pe/tenant_id.py index 604490a4..91c84ed9 100644 --- a/tb_rest_client/models/models_pe/tenant_id.py +++ b/tb_rest_client/models/models_pe/tenant_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/tenant_profile_configuration.py b/tb_rest_client/models/models_pe/tenant_profile_configuration.py index a313430d..45dad3e0 100644 --- a/tb_rest_client/models/models_pe/tenant_profile_configuration.py +++ b/tb_rest_client/models/models_pe/tenant_profile_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/tenant_profile_data.py b/tb_rest_client/models/models_pe/tenant_profile_data.py index d054cd92..9f5331b1 100644 --- a/tb_rest_client/models/models_pe/tenant_profile_data.py +++ b/tb_rest_client/models/models_pe/tenant_profile_data.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/tenant_profile_id.py b/tb_rest_client/models/models_pe/tenant_profile_id.py index 8f698ec2..333559c4 100644 --- a/tb_rest_client/models/models_pe/tenant_profile_id.py +++ b/tb_rest_client/models/models_pe/tenant_profile_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/tenant_profile_queue_configuration.py b/tb_rest_client/models/models_pe/tenant_profile_queue_configuration.py index 38196a47..8ef65ab9 100644 --- a/tb_rest_client/models/models_pe/tenant_profile_queue_configuration.py +++ b/tb_rest_client/models/models_pe/tenant_profile_queue_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/tenant_solution_template_details.py b/tb_rest_client/models/models_pe/tenant_solution_template_details.py index dc08c3ab..c0546450 100644 --- a/tb_rest_client/models/models_pe/tenant_solution_template_details.py +++ b/tb_rest_client/models/models_pe/tenant_solution_template_details.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/tenant_solution_template_info.py b/tb_rest_client/models/models_pe/tenant_solution_template_info.py index f9e1a5c8..4196fe2a 100644 --- a/tb_rest_client/models/models_pe/tenant_solution_template_info.py +++ b/tb_rest_client/models/models_pe/tenant_solution_template_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/tenant_solution_template_instructions.py b/tb_rest_client/models/models_pe/tenant_solution_template_instructions.py index 92f090ad..6c164929 100644 --- a/tb_rest_client/models/models_pe/tenant_solution_template_instructions.py +++ b/tb_rest_client/models/models_pe/tenant_solution_template_instructions.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/test_sms_request.py b/tb_rest_client/models/models_pe/test_sms_request.py index 952171f8..e845a70a 100644 --- a/tb_rest_client/models/models_pe/test_sms_request.py +++ b/tb_rest_client/models/models_pe/test_sms_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/thingsboard_credentials_expired_response.py b/tb_rest_client/models/models_pe/thingsboard_credentials_expired_response.py index d72f9ee7..d28c4644 100644 --- a/tb_rest_client/models/models_pe/thingsboard_credentials_expired_response.py +++ b/tb_rest_client/models/models_pe/thingsboard_credentials_expired_response.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/thingsboard_error_response.py b/tb_rest_client/models/models_pe/thingsboard_error_response.py index 45b14e75..37ac3c1b 100644 --- a/tb_rest_client/models/models_pe/thingsboard_error_response.py +++ b/tb_rest_client/models/models_pe/thingsboard_error_response.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/to_device_rpc_request_snmp_communication_config.py b/tb_rest_client/models/models_pe/to_device_rpc_request_snmp_communication_config.py index dd8504e5..0bf50e7c 100644 --- a/tb_rest_client/models/models_pe/to_device_rpc_request_snmp_communication_config.py +++ b/tb_rest_client/models/models_pe/to_device_rpc_request_snmp_communication_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/totp_two_fa_account_config.py b/tb_rest_client/models/models_pe/totp_two_fa_account_config.py index b49f3696..ec2523ac 100644 --- a/tb_rest_client/models/models_pe/totp_two_fa_account_config.py +++ b/tb_rest_client/models/models_pe/totp_two_fa_account_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/totp_two_fa_provider_config.py b/tb_rest_client/models/models_pe/totp_two_fa_provider_config.py index d376b247..7fa8bc70 100644 --- a/tb_rest_client/models/models_pe/totp_two_fa_provider_config.py +++ b/tb_rest_client/models/models_pe/totp_two_fa_provider_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/transport_payload_type_configuration.py b/tb_rest_client/models/models_pe/transport_payload_type_configuration.py index 9015330d..8a599527 100644 --- a/tb_rest_client/models/models_pe/transport_payload_type_configuration.py +++ b/tb_rest_client/models/models_pe/transport_payload_type_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/ts_value.py b/tb_rest_client/models/models_pe/ts_value.py index 35ca9145..cd9dbcfd 100644 --- a/tb_rest_client/models/models_pe/ts_value.py +++ b/tb_rest_client/models/models_pe/ts_value.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/twilio_sms_provider_configuration.py b/tb_rest_client/models/models_pe/twilio_sms_provider_configuration.py index 6ef78911..56d189ac 100644 --- a/tb_rest_client/models/models_pe/twilio_sms_provider_configuration.py +++ b/tb_rest_client/models/models_pe/twilio_sms_provider_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/two_fa_account_config.py b/tb_rest_client/models/models_pe/two_fa_account_config.py index 8fb9e6c3..e7b750f0 100644 --- a/tb_rest_client/models/models_pe/two_fa_account_config.py +++ b/tb_rest_client/models/models_pe/two_fa_account_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/two_fa_account_config_update_request.py b/tb_rest_client/models/models_pe/two_fa_account_config_update_request.py index 0a26bffe..7ec6af45 100644 --- a/tb_rest_client/models/models_pe/two_fa_account_config_update_request.py +++ b/tb_rest_client/models/models_pe/two_fa_account_config_update_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/two_fa_provider_config.py b/tb_rest_client/models/models_pe/two_fa_provider_config.py index 34c45142..8adee5fa 100644 --- a/tb_rest_client/models/models_pe/two_fa_provider_config.py +++ b/tb_rest_client/models/models_pe/two_fa_provider_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/two_fa_provider_info.py b/tb_rest_client/models/models_pe/two_fa_provider_info.py index 24d71090..33ff3a94 100644 --- a/tb_rest_client/models/models_pe/two_fa_provider_info.py +++ b/tb_rest_client/models/models_pe/two_fa_provider_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/update_message.py b/tb_rest_client/models/models_pe/update_message.py index 45248ec5..8aa3f6a7 100644 --- a/tb_rest_client/models/models_pe/update_message.py +++ b/tb_rest_client/models/models_pe/update_message.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/user.py b/tb_rest_client/models/models_pe/user.py index 3f730ab8..ad8bf4c9 100644 --- a/tb_rest_client/models/models_pe/user.py +++ b/tb_rest_client/models/models_pe/user.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/user_dashboards_info.py b/tb_rest_client/models/models_pe/user_dashboards_info.py index f099939c..ce937e9d 100644 --- a/tb_rest_client/models/models_pe/user_dashboards_info.py +++ b/tb_rest_client/models/models_pe/user_dashboards_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/user_email_info.py b/tb_rest_client/models/models_pe/user_email_info.py index b6645628..4bd44472 100644 --- a/tb_rest_client/models/models_pe/user_email_info.py +++ b/tb_rest_client/models/models_pe/user_email_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/user_group_list_filter.py b/tb_rest_client/models/models_pe/user_group_list_filter.py index 55c5d5c8..74710108 100644 --- a/tb_rest_client/models/models_pe/user_group_list_filter.py +++ b/tb_rest_client/models/models_pe/user_group_list_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/user_id.py b/tb_rest_client/models/models_pe/user_id.py index d43f26b3..d948e8f7 100644 --- a/tb_rest_client/models/models_pe/user_id.py +++ b/tb_rest_client/models/models_pe/user_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/user_info.py b/tb_rest_client/models/models_pe/user_info.py index cd12ee03..e771bf8c 100644 --- a/tb_rest_client/models/models_pe/user_info.py +++ b/tb_rest_client/models/models_pe/user_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/user_list_filter.py b/tb_rest_client/models/models_pe/user_list_filter.py index 0055a246..120efb98 100644 --- a/tb_rest_client/models/models_pe/user_list_filter.py +++ b/tb_rest_client/models/models_pe/user_list_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/user_password_policy.py b/tb_rest_client/models/models_pe/user_password_policy.py index e30b6035..3b41ed9c 100644 --- a/tb_rest_client/models/models_pe/user_password_policy.py +++ b/tb_rest_client/models/models_pe/user_password_policy.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -43,6 +43,8 @@ class UserPasswordPolicy(object): """ swagger_types = { 'allow_whitespaces': 'bool', + 'force_user_to_reset_password_if_not_valid': 'bool', + 'maximum_length': 'int', 'minimum_digits': 'int', 'minimum_length': 'int', 'minimum_lowercase_letters': 'int', @@ -54,6 +56,8 @@ class UserPasswordPolicy(object): attribute_map = { 'allow_whitespaces': 'allowWhitespaces', + 'force_user_to_reset_password_if_not_valid': 'forceUserToResetPasswordIfNotValid', + 'maximum_length': 'maximumLength', 'minimum_digits': 'minimumDigits', 'minimum_length': 'minimumLength', 'minimum_lowercase_letters': 'minimumLowercaseLetters', @@ -63,9 +67,11 @@ class UserPasswordPolicy(object): 'password_reuse_frequency_days': 'passwordReuseFrequencyDays' } - def __init__(self, allow_whitespaces=None, minimum_digits=None, minimum_length=None, minimum_lowercase_letters=None, minimum_special_characters=None, minimum_uppercase_letters=None, password_expiration_period_days=None, password_reuse_frequency_days=None): # noqa: E501 + def __init__(self, allow_whitespaces=None, force_user_to_reset_password_if_not_valid=None, maximum_length=None, minimum_digits=None, minimum_length=None, minimum_lowercase_letters=None, minimum_special_characters=None, minimum_uppercase_letters=None, password_expiration_period_days=None, password_reuse_frequency_days=None): # noqa: E501 """UserPasswordPolicy - a model defined in Swagger""" # noqa: E501 self._allow_whitespaces = None + self._force_user_to_reset_password_if_not_valid = None + self._maximum_length = None self._minimum_digits = None self._minimum_length = None self._minimum_lowercase_letters = None @@ -76,6 +82,10 @@ def __init__(self, allow_whitespaces=None, minimum_digits=None, minimum_length=N self.discriminator = None if allow_whitespaces is not None: self.allow_whitespaces = allow_whitespaces + if force_user_to_reset_password_if_not_valid is not None: + self.force_user_to_reset_password_if_not_valid = force_user_to_reset_password_if_not_valid + if maximum_length is not None: + self.maximum_length = maximum_length if minimum_digits is not None: self.minimum_digits = minimum_digits if minimum_length is not None: @@ -114,6 +124,52 @@ def allow_whitespaces(self, allow_whitespaces): self._allow_whitespaces = allow_whitespaces + @property + def force_user_to_reset_password_if_not_valid(self): + """Gets the force_user_to_reset_password_if_not_valid of this UserPasswordPolicy. # noqa: E501 + + Force user to update password if existing one does not pass validation # noqa: E501 + + :return: The force_user_to_reset_password_if_not_valid of this UserPasswordPolicy. # noqa: E501 + :rtype: bool + """ + return self._force_user_to_reset_password_if_not_valid + + @force_user_to_reset_password_if_not_valid.setter + def force_user_to_reset_password_if_not_valid(self, force_user_to_reset_password_if_not_valid): + """Sets the force_user_to_reset_password_if_not_valid of this UserPasswordPolicy. + + Force user to update password if existing one does not pass validation # noqa: E501 + + :param force_user_to_reset_password_if_not_valid: The force_user_to_reset_password_if_not_valid of this UserPasswordPolicy. # noqa: E501 + :type: bool + """ + + self._force_user_to_reset_password_if_not_valid = force_user_to_reset_password_if_not_valid + + @property + def maximum_length(self): + """Gets the maximum_length of this UserPasswordPolicy. # noqa: E501 + + Maximum number of symbols in the password. # noqa: E501 + + :return: The maximum_length of this UserPasswordPolicy. # noqa: E501 + :rtype: int + """ + return self._maximum_length + + @maximum_length.setter + def maximum_length(self, maximum_length): + """Sets the maximum_length of this UserPasswordPolicy. + + Maximum number of symbols in the password. # noqa: E501 + + :param maximum_length: The maximum_length of this UserPasswordPolicy. # noqa: E501 + :type: int + """ + + self._maximum_length = maximum_length + @property def minimum_digits(self): """Gets the minimum_digits of this UserPasswordPolicy. # noqa: E501 diff --git a/tb_rest_client/models/models_pe/user_role_filter.py b/tb_rest_client/models/models_pe/user_role_filter.py index 9ce09ca7..ed65e210 100644 --- a/tb_rest_client/models/models_pe/user_role_filter.py +++ b/tb_rest_client/models/models_pe/user_role_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/users_filter.py b/tb_rest_client/models/models_pe/users_filter.py index 7f28674d..4e1f38b0 100644 --- a/tb_rest_client/models/models_pe/users_filter.py +++ b/tb_rest_client/models/models_pe/users_filter.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/version_create_config.py b/tb_rest_client/models/models_pe/version_create_config.py index 27fc82d9..b7602718 100644 --- a/tb_rest_client/models/models_pe/version_create_config.py +++ b/tb_rest_client/models/models_pe/version_create_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/version_create_request.py b/tb_rest_client/models/models_pe/version_create_request.py index 5d2f8ab8..344bcf8e 100644 --- a/tb_rest_client/models/models_pe/version_create_request.py +++ b/tb_rest_client/models/models_pe/version_create_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/version_creation_result.py b/tb_rest_client/models/models_pe/version_creation_result.py index e2e5cf0f..5a7fa9cf 100644 --- a/tb_rest_client/models/models_pe/version_creation_result.py +++ b/tb_rest_client/models/models_pe/version_creation_result.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/version_load_config.py b/tb_rest_client/models/models_pe/version_load_config.py index 0ff5d3eb..ddc5ae57 100644 --- a/tb_rest_client/models/models_pe/version_load_config.py +++ b/tb_rest_client/models/models_pe/version_load_config.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/version_load_request.py b/tb_rest_client/models/models_pe/version_load_request.py index 1e52423f..67713889 100644 --- a/tb_rest_client/models/models_pe/version_load_request.py +++ b/tb_rest_client/models/models_pe/version_load_request.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/version_load_result.py b/tb_rest_client/models/models_pe/version_load_result.py index 0e77c307..05c0f2ad 100644 --- a/tb_rest_client/models/models_pe/version_load_result.py +++ b/tb_rest_client/models/models_pe/version_load_result.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/versioned_entity_info.py b/tb_rest_client/models/models_pe/versioned_entity_info.py index 330b697d..1b5eff2d 100644 --- a/tb_rest_client/models/models_pe/versioned_entity_info.py +++ b/tb_rest_client/models/models_pe/versioned_entity_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/web_delivery_method_notification_template.py b/tb_rest_client/models/models_pe/web_delivery_method_notification_template.py index 5c4cf1d3..aa8f2ebf 100644 --- a/tb_rest_client/models/models_pe/web_delivery_method_notification_template.py +++ b/tb_rest_client/models/models_pe/web_delivery_method_notification_template.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/white_labeling_params.py b/tb_rest_client/models/models_pe/white_labeling_params.py index 7f2788c1..8e1ec747 100644 --- a/tb_rest_client/models/models_pe/white_labeling_params.py +++ b/tb_rest_client/models/models_pe/white_labeling_params.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -43,11 +43,9 @@ class WhiteLabelingParams(object): """ swagger_types = { 'logo_image_url': 'str', - 'logo_image_checksum': 'str', 'logo_image_height': 'int', 'app_title': 'str', 'favicon': 'Favicon', - 'favicon_checksum': 'str', 'palette_settings': 'PaletteSettings', 'help_link_base_url': 'str', 'ui_help_base_url': 'str', @@ -61,11 +59,9 @@ class WhiteLabelingParams(object): attribute_map = { 'logo_image_url': 'logoImageUrl', - 'logo_image_checksum': 'logoImageChecksum', 'logo_image_height': 'logoImageHeight', 'app_title': 'appTitle', 'favicon': 'favicon', - 'favicon_checksum': 'faviconChecksum', 'palette_settings': 'paletteSettings', 'help_link_base_url': 'helpLinkBaseUrl', 'ui_help_base_url': 'uiHelpBaseUrl', @@ -77,14 +73,12 @@ class WhiteLabelingParams(object): 'custom_css': 'customCss' } - def __init__(self, logo_image_url=None, logo_image_checksum=None, logo_image_height=None, app_title=None, favicon=None, favicon_checksum=None, palette_settings=None, help_link_base_url=None, ui_help_base_url=None, enable_help_links=None, white_labeling_enabled=None, show_name_version=None, platform_name=None, platform_version=None, custom_css=None): # noqa: E501 + def __init__(self, logo_image_url=None, logo_image_height=None, app_title=None, favicon=None, palette_settings=None, help_link_base_url=None, ui_help_base_url=None, enable_help_links=None, white_labeling_enabled=None, show_name_version=None, platform_name=None, platform_version=None, custom_css=None): # noqa: E501 """WhiteLabelingParams - a model defined in Swagger""" # noqa: E501 self._logo_image_url = None - self._logo_image_checksum = None self._logo_image_height = None self._app_title = None self._favicon = None - self._favicon_checksum = None self._palette_settings = None self._help_link_base_url = None self._ui_help_base_url = None @@ -97,16 +91,12 @@ def __init__(self, logo_image_url=None, logo_image_checksum=None, logo_image_hei self.discriminator = None if logo_image_url is not None: self.logo_image_url = logo_image_url - if logo_image_checksum is not None: - self.logo_image_checksum = logo_image_checksum if logo_image_height is not None: self.logo_image_height = logo_image_height if app_title is not None: self.app_title = app_title if favicon is not None: self.favicon = favicon - if favicon_checksum is not None: - self.favicon_checksum = favicon_checksum if palette_settings is not None: self.palette_settings = palette_settings if help_link_base_url is not None: @@ -149,29 +139,6 @@ def logo_image_url(self, logo_image_url): self._logo_image_url = logo_image_url - @property - def logo_image_checksum(self): - """Gets the logo_image_checksum of this WhiteLabelingParams. # noqa: E501 - - Logo image checksum. Used to detect the changes of the logo image. # noqa: E501 - - :return: The logo_image_checksum of this WhiteLabelingParams. # noqa: E501 - :rtype: str - """ - return self._logo_image_checksum - - @logo_image_checksum.setter - def logo_image_checksum(self, logo_image_checksum): - """Sets the logo_image_checksum of this WhiteLabelingParams. - - Logo image checksum. Used to detect the changes of the logo image. # noqa: E501 - - :param logo_image_checksum: The logo_image_checksum of this WhiteLabelingParams. # noqa: E501 - :type: str - """ - - self._logo_image_checksum = logo_image_checksum - @property def logo_image_height(self): """Gets the logo_image_height of this WhiteLabelingParams. # noqa: E501 @@ -239,29 +206,6 @@ def favicon(self, favicon): self._favicon = favicon - @property - def favicon_checksum(self): - """Gets the favicon_checksum of this WhiteLabelingParams. # noqa: E501 - - Favicon image checksum. Used to detect the changes of the website icon # noqa: E501 - - :return: The favicon_checksum of this WhiteLabelingParams. # noqa: E501 - :rtype: str - """ - return self._favicon_checksum - - @favicon_checksum.setter - def favicon_checksum(self, favicon_checksum): - """Sets the favicon_checksum of this WhiteLabelingParams. - - Favicon image checksum. Used to detect the changes of the website icon # noqa: E501 - - :param favicon_checksum: The favicon_checksum of this WhiteLabelingParams. # noqa: E501 - :type: str - """ - - self._favicon_checksum = favicon_checksum - @property def palette_settings(self): """Gets the palette_settings of this WhiteLabelingParams. # noqa: E501 diff --git a/tb_rest_client/models/models_pe/widget_type_id.py b/tb_rest_client/models/models_pe/widget_type_id.py index 6c8a982e..0775d687 100644 --- a/tb_rest_client/models/models_pe/widget_type_id.py +++ b/tb_rest_client/models/models_pe/widget_type_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/widget_type_info.py b/tb_rest_client/models/models_pe/widget_type_info.py index db54b98f..1d75eb06 100644 --- a/tb_rest_client/models/models_pe/widget_type_info.py +++ b/tb_rest_client/models/models_pe/widget_type_info.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -50,6 +50,7 @@ class WidgetTypeInfo(object): 'deprecated': 'bool', 'image': 'str', 'description': 'str', + 'tags': 'list[str]', 'widget_type': 'str' } @@ -62,10 +63,11 @@ class WidgetTypeInfo(object): 'deprecated': 'deprecated', 'image': 'image', 'description': 'description', + 'tags': 'tags', 'widget_type': 'widgetType' } - def __init__(self, id=None, created_time=None, tenant_id=None, fqn=None, name=None, deprecated=None, image=None, description=None, widget_type=None): # noqa: E501 + def __init__(self, id=None, created_time=None, tenant_id=None, fqn=None, name=None, deprecated=None, image=None, description=None, tags=None, widget_type=None): # noqa: E501 """WidgetTypeInfo - a model defined in Swagger""" # noqa: E501 self._id = None self._created_time = None @@ -75,6 +77,7 @@ def __init__(self, id=None, created_time=None, tenant_id=None, fqn=None, name=No self._deprecated = None self._image = None self._description = None + self._tags = None self._widget_type = None self.discriminator = None if id is not None: @@ -93,6 +96,8 @@ def __init__(self, id=None, created_time=None, tenant_id=None, fqn=None, name=No self.image = image if description is not None: self.description = description + if tags is not None: + self.tags = tags if widget_type is not None: self.widget_type = widget_type @@ -276,6 +281,29 @@ def description(self, description): self._description = description + @property + def tags(self): + """Gets the tags of this WidgetTypeInfo. # noqa: E501 + + Tags of the widget type # noqa: E501 + + :return: The tags of this WidgetTypeInfo. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this WidgetTypeInfo. + + Tags of the widget type # noqa: E501 + + :param tags: The tags of this WidgetTypeInfo. # noqa: E501 + :type: list[str] + """ + + self._tags = tags + @property def widget_type(self): """Gets the widget_type of this WidgetTypeInfo. # noqa: E501 diff --git a/tb_rest_client/models/models_pe/widgets_bundle_export_data.py b/tb_rest_client/models/models_pe/widgets_bundle_export_data.py index 1e8ca2c9..b0f93477 100644 --- a/tb_rest_client/models/models_pe/widgets_bundle_export_data.py +++ b/tb_rest_client/models/models_pe/widgets_bundle_export_data.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/widgets_bundle_id.py b/tb_rest_client/models/models_pe/widgets_bundle_id.py index 2edc3418..9a0e317b 100644 --- a/tb_rest_client/models/models_pe/widgets_bundle_id.py +++ b/tb_rest_client/models/models_pe/widgets_bundle_id.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/x509_certificate_chain_provision_configuration.py b/tb_rest_client/models/models_pe/x509_certificate_chain_provision_configuration.py index 6ceba269..41bc0347 100644 --- a/tb_rest_client/models/models_pe/x509_certificate_chain_provision_configuration.py +++ b/tb_rest_client/models/models_pe/x509_certificate_chain_provision_configuration.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/models/models_pe/x509_lw_m2_m_bootstrap_server_credential.py b/tb_rest_client/models/models_pe/x509_lw_m2_m_bootstrap_server_credential.py index c0efea0d..a92912a6 100644 --- a/tb_rest_client/models/models_pe/x509_lw_m2_m_bootstrap_server_credential.py +++ b/tb_rest_client/models/models_pe/x509_lw_m2_m_bootstrap_server_credential.py @@ -5,12 +5,12 @@ ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501 - OpenAPI spec version: 3.6.0PE-SNAPSHOT + OpenAPI spec version: 3.6.2PE Contact: info@thingsboard.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/rest.py b/tb_rest_client/rest.py index e7a990a1..e55773d2 100644 --- a/tb_rest_client/rest.py +++ b/tb_rest_client/rest.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/tb_rest_client/rest_client_base.py b/tb_rest_client/rest_client_base.py index 1b76808a..ad684126 100644 --- a/tb_rest_client/rest_client_base.py +++ b/tb_rest_client/rest_client_base.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -69,6 +69,7 @@ from tb_rest_client.api.api_ce.two_factor_auth_config_controller_api import TwoFactorAuthConfigControllerApi from tb_rest_client.api.api_ce.device_connectivity_controller_api import DeviceConnectivityControllerApi from tb_rest_client.api.api_ce.mail_config_template_controller_api import MailConfigTemplateControllerApi +from tb_rest_client.api.api_ce.image_controller_api import ImageControllerApi # from tb_rest_client.models.models_pe import * from tb_rest_client.configuration import Configuration from tb_rest_client.api_client import ApiClient @@ -1095,7 +1096,7 @@ def get_resource_by_id(self, resource_id: EntityId) -> None: resource_id = self.get_id(resource_id) return self.tb_resource_controller.get_resource_by_id_using_get(resource_id=resource_id) - def save_resource(self, body: Optional[TbResource] = None) -> TbResource: + def save_resource(self, body: Optional[TbResource] = None) -> TbResourceInfo: return self.tb_resource_controller.save_resource_using_post(body=body) def get_resources(self, page_size: int, page: int, text_search: Optional[str] = None, sort_property: Optional[str] = None, @@ -1109,7 +1110,7 @@ def get_lwm2m_list_objects(self, sort_order: str, sort_property: str, object_ids sort_property=sort_property, object_ids=str(object_ids)) - def download_resource(self, resource_id: EntityId) -> Resource: + def download_resource(self, resource_id: EntityId) -> ByteArrayResource: resource_id = self.get_id(resource_id) return self.tb_resource_controller.download_resource_using_get(resource_id=resource_id) @@ -1121,6 +1122,14 @@ def get_lwm2m_list_objects_page(self, page_size: int, page: int, text_search: Op sort_property=sort_property, sort_order=sort_order) + def get_tenant_resources(self, page_size: int, page: int, text_search: Optional[str] = None, + sort_property: Optional[str] = None, + sort_order: Optional[str] = None) -> PageDataTbResourceInfo: + return self.tb_resource_controller.get_tenant_resources_using_get(page_size=page_size, page=page, + text_search=text_search, + sort_property=sort_property, + sort_order=sort_order) + def code_processing_url(self, code: str, state: str): return self.admin_controller.code_processing_url_using_get(code=code, state=state) @@ -1130,24 +1139,25 @@ def get_authorization_url(self) -> str: def get_mail_processing_url(self) -> str: return self.admin_controller.get_mail_processing_url_using_get() - def download_jks_resource_if_changed(self, resource_id: EntityId, if_none_match: Optional[str] = None) -> Resource: + def download_jks_resource_if_changed(self, resource_id: EntityId, + if_none_match: Optional[str] = '') -> ByteArrayResource: resource_id = self.get_id(resource_id) return self.tb_resource_controller.download_jks_resource_if_changed_using_get(resource_id=resource_id, if_none_match=if_none_match) - def download_js_resource_if_changed(self, resource_id: EntityId, if_none_match: Optional[str] = None) -> Resource: + def download_js_resource_if_changed(self, resource_id: EntityId, if_none_match: Optional[str] = '') -> ByteArrayResource: resource_id = self.get_id(resource_id) return self.tb_resource_controller.download_js_resource_if_changed_using_get(resource_id=resource_id, if_none_match=if_none_match) def download_lwm2m_resource_if_changed(self, resource_id: EntityId, - if_none_match: Optional[str] = None) -> Resource: + if_none_match: Optional[str] = '') -> ByteArrayResource: resource_id = self.get_id(resource_id) return self.tb_resource_controller.download_lwm2m_resource_if_changed_using_get(resource_id=resource_id, if_none_match=if_none_match) def download_pkcs12_resource_if_changed(self, resource_id: EntityId, - if_none_match: Optional[str] = None) -> Resource: + if_none_match: Optional[str] = '') -> ByteArrayResource: resource_id = self.get_id(resource_id) return self.tb_resource_controller.download_pkcs12_resource_if_changed_using_get(resource_id=resource_id, if_none_match=if_none_match) @@ -1220,19 +1230,25 @@ def update_widgets_bundle_widget_types(self, widgets_bundle_id: WidgetsBundleId, return self.widgets_bundle_controller.update_widgets_bundle_widget_types_using_post( widgets_bundle_id=widgets_bundle_id, body=body) - def get_widgets_bundle_by_id(self, widgets_bundle_id: WidgetsBundleId) -> WidgetsBundle: + def get_widgets_bundle_by_id(self, widgets_bundle_id: WidgetsBundleId, + inline_images: Optional[bool] = None) -> WidgetsBundle: widgets_bundle_id = self.get_id(widgets_bundle_id) - return self.widgets_bundle_controller.get_widgets_bundle_by_id_using_get(widgets_bundle_id=widgets_bundle_id) + return self.widgets_bundle_controller.get_widgets_bundle_by_id_using_get(widgets_bundle_id=widgets_bundle_id, + inline_images=inline_images) def save_widgets_bundle(self, body: Optional[WidgetsBundle] = None) -> WidgetsBundle: return self.widgets_bundle_controller.save_widgets_bundle_using_post(body=body) def get_widgets_bundles_v1(self, page_size: int, page: int, text_search: Optional[str] = None, - sort_property: Optional[str] = None, sort_order: Optional[str] = None) -> PageDataWidgetsBundle: + sort_property: Optional[str] = None, sort_order: Optional[str] = None, + tenant_only: Optional[bool] = None, + full_search: Optional[bool] = None) -> PageDataWidgetsBundle: return self.widgets_bundle_controller.get_widgets_bundles_using_get1(page_size=page_size, page=page, text_search=text_search, sort_property=sort_property, - sort_order=sort_order) + sort_order=sort_order, + tenant_only=tenant_only, + full_search=full_search) def delete_widgets_bundle(self, widgets_bundle_id: WidgetsBundleId) -> None: widgets_bundle_id = self.get_id(widgets_bundle_id) @@ -1285,9 +1301,11 @@ def get_device_profiles(self, page_size: int, page: int, text_search: Optional[s sort_property=sort_property, sort_order=sort_order) - def get_device_profile_by_id(self, device_profile_id: DeviceProfileId) -> DeviceProfile: + def get_device_profile_by_id(self, device_profile_id: DeviceProfileId, + inline_images: Optional[bool] = None) -> DeviceProfile: device_profile_id = self.get_id(device_profile_id) - return self.device_profile_controller.get_device_profile_by_id_using_get(device_profile_id=device_profile_id) + return self.device_profile_controller.get_device_profile_by_id_using_get(device_profile_id=device_profile_id, + inline_images=inline_images) # Dashboard Controller def get_tenant_dashboards_v1(self, tenant_id: TenantId, page_size: int, page: int, text_search: Optional[str] = None, @@ -1330,9 +1348,10 @@ def get_max_datapoints_limit(self) -> int: def get_home_dashboard_info(self) -> HomeDashboardInfo: return self.dashboard_controller.get_home_dashboard_info_using_get() - def get_dashboard_by_id(self, dashboard_id: DashboardId) -> Dashboard: + def get_dashboard_by_id(self, dashboard_id: DashboardId, inline_images: Optional[bool] = None) -> Dashboard: dashboard_id = self.get_id(dashboard_id) - return self.dashboard_controller.get_dashboard_by_id_using_get(dashboard_id=dashboard_id) + return self.dashboard_controller.get_dashboard_by_id_using_get(dashboard_id=dashboard_id, + inline_images=inline_images) def get_tenant_dashboards(self, page_size: int, page: int, mobile: Optional[bool] = None, text_search: Optional[str] = None, sort_property: Optional[str] = None, @@ -1387,25 +1406,46 @@ def get_widget_type_by_bundle_alias_and_type_alias(self, is_system: bool, bundle def get_widget_types(self, page_size: int, page: int, text_search: Optional[str] = None, sort_property: Optional[str] = None, sort_order: Optional[str] = None, - tenant_only: Optional[bool] = None, full_search: Optional[bool] = None): + tenant_only: Optional[bool] = None, full_search: Optional[bool] = None, + deprecated_filter: Optional[str] = None, widget_type_list: Optional[List[str]] = None): + if widget_type_list: + widget_type_list = ','.join(widget_type_list) return self.widget_type_controller.get_widget_types_using_get(page_size=page_size, page=page, text_search=text_search, sort_property=sort_property, sort_order=sort_order, tenant_only=tenant_only, - full_search=full_search) + full_search=full_search, + deprecated_filter=deprecated_filter, + widget_type_list=widget_type_list) def get_widget_type_info_by_id(self, widget_type_id: WidgetTypeId) -> WidgetTypeInfo: widget_type_id = self.get_id(widget_type_id) return self.widget_type_controller.get_widget_type_info_by_id_using_get(widget_type_id=widget_type_id) - def get_bundle_widget_types_infos(self, widgets_bundle_id: WidgetsBundleId) -> List[WidgetTypeInfo]: + def get_bundle_widget_types_infos(self, widgets_bundle_id: WidgetsBundleId, page_size: int, page: int, + text_search: Optional[str] = None, + sort_property: Optional[str] = None, sort_order: Optional[str] = None, + full_search: Optional[bool] = None, deprecated_filter: Optional[str] = None, + widget_type_list: Optional[List[str]] = None) -> List[WidgetTypeInfo]: widgets_bundle_id = self.get_id(widgets_bundle_id) - return self.widget_type_controller.get_bundle_widget_types_infos_using_get(widgets_bundle_id=widgets_bundle_id) - def get_bundle_widget_types_details(self, widgets_bundle_id: WidgetsBundleId) -> List[WidgetTypeDetails]: + if widget_type_list: + widget_type_list = ','.join(widget_type_list) + + return self.widget_type_controller.get_bundle_widget_types_infos_using_get(widgets_bundle_id=widgets_bundle_id, + page_size=page_size, page=page, + text_search=text_search, + sort_property=sort_property, + sort_order=sort_order, + full_search=full_search, + deprecated_filter=deprecated_filter, + widget_type_list=widget_type_list) + + def get_bundle_widget_types_details(self, widgets_bundle_id: WidgetsBundleId, + inline_images: Optional[bool] = None) -> List[WidgetTypeDetails]: widgets_bundle_id = self.get_id(widgets_bundle_id) return self.widget_type_controller.get_bundle_widget_types_details_using_get( - widgets_bundle_id=widgets_bundle_id) + widgets_bundle_id=widgets_bundle_id, inline_images=inline_images) def delete_widget_type(self, widget_type_id: WidgetTypeId) -> None: widget_type_id = self.get_id(widget_type_id) @@ -1423,9 +1463,10 @@ def get_bundle_widget_types(self, widgets_bundle_id: WidgetsBundleId) -> List[Wi def get_widget_type(self, fqn: str): return self.widget_type_controller.get_widget_type_using_get(fqn=fqn) - def get_widget_type_by_id(self, widget_type_id: WidgetTypeId) -> WidgetType: + def get_widget_type_by_id(self, widget_type_id: WidgetTypeId, inline_images: Optional[bool] = None) -> WidgetType: widget_type_id = self.get_id(widget_type_id) - return self.widget_type_controller.get_widget_type_by_id_using_get(widget_type_id=widget_type_id) + return self.widget_type_controller.get_widget_type_by_id_using_get(widget_type_id=widget_type_id, + inline_images=inline_images) # Audit Log Controller def get_audit_logs_by_customer_id(self, customer_id: CustomerId, page_size: int, page: int, @@ -1876,14 +1917,78 @@ def get_device_publish_telemetry_commands(self, device_id: DeviceId): device_id = self.get_id(device_id) return self.device_connectivity_controller.get_device_publish_telemetry_commands_using_get(device_id=device_id) - def get_gateway_launch_commands(self, device_id: DeviceId): - device_id = self.get_id(device_id) - return self.device_connectivity_controller.get_gateway_launch_commands_using_get(device_id=device_id) - # Mail Config Template Controller def get_client_registration_templates_mail(self): return self.mail_config_template_controller.get_client_registration_templates_using_get() + # Image Controller + def delete_image(self, _type: str, key: str, force: Optional[bool] = None) -> TbImageDeleteResult: + return self.image_controller.delete_image_using_delete(type=_type, key=key, force=force) + + def download_image_preview(self, _type: str, key: str, if_none_match: Optional[str] = '') -> ByteArrayResource: + return self.image_controller.download_image_preview_using_get(type=_type, key=key, if_none=if_none_match) + + def download_image(self, _type: str, key: str, if_none_match: Optional[str] = '') -> ByteArrayResource: + return self.image_controller.download_image_using_get(type=_type, key=key, if_none_match=if_none_match) + + def download_public_image(self, public_resource_key: str, if_none_match: Optional[str] = '') -> ByteArrayResource: + return self.image_controller.download_public_image_using_get(public_resource_key=public_resource_key, + if_none_match=if_none_match) + + def export_image(self, _type: str, key: str) -> ImageExportData: + return self.image_controller.export_image_using_get(type=_type, key=key) + + def get_image_info(self, _type: str, key: str) -> TbResourceInfo: + return self.image_controller.get_image_info_using_get(type=_type, key=key) + + def get_images(self, page_size: int, page: int, text_search: Optional[str] = None, + include_system_images: Optional[bool] = None, + sort_property: Optional[str] = None, + sort_order: Optional[str] = None) -> PageDataTbResourceInfo: + return self.image_controller.get_images_using_get(page_size=page_size, page=page, text_search=text_search, + include_system_images=include_system_images, + sort_order=sort_order, sort_property=sort_property) + + def import_image(self, body: ImageExportData) -> TbResourceInfo: + return self.image_controller.import_image_using_put(body=body) + + def update_image_info(self, _type: str, key: str, body: TbResourceInfo) -> TbResourceInfo: + return self.image_controller.update_image_info_using_put(type=_type, key=key, body=body) + + def update_image_public_status(self, _type: str, key: str, is_public: Optional[bool] = None) -> TbResourceInfo: + return self.image_controller.update_image_public_status_using_put(type=_type, key=key, is_public=is_public) + + def update_image(self, _type: str, key: str, file: str) -> TbResourceInfo: + return self.image_controller.update_image_using_put(type=_type, key=key, file=file) + + def upload_image(self, title: str, file: str) -> TbResourceInfo: + return self.image_controller.upload_image_using_post(title=title, file=file) + + def get_asset_profile_by_id(self, asset_profile_id: str, inline_images: Optional[bool] = None) -> AssetProfile: + return self.asset_profile_controller.get_asset_profile_by_id_using_get(asset_profile_id=asset_profile_id, + inline_images=inline_images) + + def get_asset_profile_by_names(self, active_only: Optional[bool]) -> List[EntityInfo]: + return self.asset_profile_controller.get_asset_profile_names_using_get(active_only=active_only) + + def download_gateway_docker_compose(self, device_id: DeviceId) -> Resource: + device_id = self.get_id(device_id) + return self.device_connectivity_controller.download_gateway_docker_compose_using_get(device_id=device_id) + + def get_device_profile_names(self, active_only: Optional[bool]) -> List[EntityInfo]: + return self.device_profile_controller.get_device_profile_names_using_get(active_only=active_only) + + def get_edge_install_instructions(self, edge_id: EdgeId, method: str) -> EdgeInstructions: + edge_id = self.get_id(edge_id) + return self.edge_controller.get_edge_install_instructions_using_get(edge_id=edge_id, method=method) + + def get_edge_upgrade_instructions(self, edge_version: str, method: str) -> EdgeInstructions: + return self.edge_controller.get_edge_upgrade_instructions_using_get(edge_version=edge_version, method=method) + + def is_edge_upgrade_available(self, edge_id: EdgeId) -> bool: + edge_id = self.get_id(edge_id) + return self.edge_controller.is_edge_upgrade_available_using_get(edge_id=edge_id) + def __load_controllers(self): self.audit_log_controller = AuditLogControllerApi(self.api_client) self.o_auth2_config_template_controller = OAuth2ConfigTemplateControllerApi(self.api_client) @@ -1930,6 +2035,7 @@ def __load_controllers(self): self.two_factor_auth_config_controller = TwoFactorAuthConfigControllerApi(self.api_client) self.device_connectivity_controller = DeviceConnectivityControllerApi(self.api_client) self.mail_config_template_controller = MailConfigTemplateControllerApi(self.api_client) + self.image_controller = ImageControllerApi(self.api_client) @staticmethod def get_type(type): diff --git a/tb_rest_client/rest_client_ce.py b/tb_rest_client/rest_client_ce.py index e8360d91..b3cc5deb 100644 --- a/tb_rest_client/rest_client_ce.py +++ b/tb_rest_client/rest_client_ce.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -1281,9 +1281,6 @@ def assign_alarm(self, alarm_id: AlarmId, assignee_id: str) -> Alarm: def delete_asset_profile(self, asset_profile_id: str): return self.asset_profile_controller.delete_asset_profile_using_delete(asset_profile_id=asset_profile_id) - def get_asset_profile_by_id(self, asset_profile_id: str) -> AssetProfile: - return self.asset_profile_controller.get_asset_profile_by_id_using_get(asset_profile_id=asset_profile_id) - def get_asset_profile_info_by_id(self, asset_profile_id: str) -> AssetProfileInfo: return self.asset_profile_controller.get_asset_profile_info_by_id_using_get(asset_profile_id=asset_profile_id) diff --git a/tb_rest_client/rest_client_pe.py b/tb_rest_client/rest_client_pe.py index f52f0a33..49455ac1 100644 --- a/tb_rest_client/rest_client_pe.py +++ b/tb_rest_client/rest_client_pe.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -1514,10 +1514,6 @@ def delete_asset_profile(self, asset_profile_id: AssetProfileId): asset_profile_id = self.get_id(asset_profile_id) return self.asset_profile_controller.delete_asset_profile_using_delete(asset_profile_id=asset_profile_id) - def get_asset_profile_by_id(self, asset_profile_id: AssetProfileId) -> AssetProfile: - asset_profile_id = self.get_id(asset_profile_id) - return self.asset_profile_controller.get_asset_profile_by_id_using_get(asset_profile_id=asset_profile_id) - def get_asset_profile_info_by_id(self, asset_profile_id: AssetProfileId) -> AssetProfileInfo: asset_profile_id = self.get_id(asset_profile_id) return self.asset_profile_controller.get_asset_profile_info_by_id_using_get(asset_profile_id=asset_profile_id) diff --git a/test/__init__.py b/test/__init__.py index 51546460..459717c1 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/test/data/images/task_done.png b/test/data/images/task_done.png new file mode 100644 index 00000000..4b2503ae Binary files /dev/null and b/test/data/images/task_done.png differ diff --git a/test/tests.py b/test/tests.py index 9dd3849b..81734786 100644 --- a/test/tests.py +++ b/test/tests.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/test/tests_ce.py b/test/tests_ce.py index 1d16f0ae..9608315b 100644 --- a/test/tests_ce.py +++ b/test/tests_ce.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -869,6 +869,7 @@ def setUpClass(cls) -> None: trigger_config=NotificationRuleTriggerConfig(trigger_type='ALARM', notify_on=['CREATED']), template_id=cls.template.id) cls.rule = cls.client.save_notification_rule(cls.rule) + print(cls.rule) @classmethod def tearDownClass(cls) -> None: @@ -1019,7 +1020,9 @@ def test_get_bundle_widget_types(self): self.assertIsInstance(self.client.get_bundle_widget_types(self.widget_bundle.id), list) def test_get_bundle_widget_types_infos(self): - self.assertIsInstance(self.client.get_bundle_widget_types_infos(self.widget_bundle.id), list) + self.assertIsInstance(self.client.get_bundle_widget_types_infos(self.widget_bundle.id, 10, 0), + PageDataWidgetTypeInfo) + class DeviceConnectivityControllerTests(TBClientCETests): device_profile_id = None @@ -1061,5 +1064,35 @@ def test_get_mail_processing_url(self): self.assertIsInstance(self.client.get_mail_processing_url(), str) +class ImageControllerTests(TBClientCETests): + image_info = None + + @classmethod + def setUpClass(cls) -> None: + super(ImageControllerTests, cls).setUpClass() + + cls.image_info = cls.client.upload_image('test', 'data/images/task_done.png') + + @classmethod + def tearDownClass(cls) -> None: + cls.client.delete_image('tenant', 'task_done.png') + + def test_upload_image(self): + self.assertIsInstance(self.client.upload_image('tenant', 'data/images/task_done.png'), TbResourceInfo) + + def test_update_image(self): + self.assertIsInstance(self.client.update_image('tenant', 'task_done.png', 'data/images/task_done.png'), + TbResourceInfo) + + def test_get_image_info(self): + self.assertIsInstance(self.client.get_image_info('tenant', 'task_done.png'), TbResourceInfo) + + def test_get_images(self): + self.assertIsInstance(self.client.get_images(10, 0), PageDataTbResourceInfo) + + def test_download_image(self): + self.assertIsInstance(self.client.download_image('tenant', 'task_done.png'), str) + + if __name__ == '__main__': unittest.main() diff --git a/test/tests_pe.py b/test/tests_pe.py index ed162320..edd147b2 100644 --- a/test/tests_pe.py +++ b/test/tests_pe.py @@ -1,4 +1,4 @@ -# Copyright 2023. ThingsBoard +# Copyright 2024. ThingsBoard # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -25,7 +25,7 @@ class TBClientPETests(unittest.TestCase): @classmethod def setUpClass(cls) -> None: # ThingsBoard REST API URL - url = "http://127.0.0.1:8080" + url = "http://10.7.1.65:8080" # Default Tenant Administrator credentials username = "tenant@thingsboard.org" @@ -143,7 +143,8 @@ def test_save_entity_telemetry(self): def test_save_entity_telemetry_with_ttl(self): self.assertEqual( self.client.save_entity_telemetry_with_ttl(self.device.id, - scope='ANY', ttl=1000, body={"temperature": 26, "humidity": 87}), b'') + scope='ANY', ttl=1000, body={"temperature": 26, "humidity": 87}), + b'') def test_get_timeseries_keys(self): self.assertIsInstance( @@ -985,7 +986,8 @@ def test_get_bundle_widget_types(self): self.assertIsInstance(self.client.get_bundle_widget_types(self.widget_bundle.id), list) def test_get_bundle_widget_types_infos(self): - self.assertIsInstance(self.client.get_bundle_widget_types_infos(self.widget_bundle.id), list) + self.assertIsInstance(self.client.get_bundle_widget_types_infos(self.widget_bundle.id, 10, 0), + PageDataWidgetTypeInfo) class NotificationControllerTests(TBClientPETests): @@ -1125,5 +1127,35 @@ def test_get_notification_rules(self): self.assertIsInstance(self.client.get_notification_rules(10, 0), PageDataNotificationRuleInfo) +class ImageControllerTests(TBClientPETests): + image_info = None + + @classmethod + def setUpClass(cls) -> None: + super(ImageControllerTests, cls).setUpClass() + + cls.image_info = cls.client.upload_image('test', 'data/images/task_done.png') + + @classmethod + def tearDownClass(cls) -> None: + cls.client.delete_image('tenant', 'task_done.png') + + def test_upload_image(self): + self.assertIsInstance(self.client.upload_image('tenant', 'data/images/task_done.png'), TbResourceInfo) + + def test_update_image(self): + self.assertIsInstance(self.client.update_image('tenant', 'task_done.png', 'data/images/task_done.png'), + TbResourceInfo) + + def test_get_image_info(self): + self.assertIsInstance(self.client.get_image_info('tenant', 'task_done.png'), TbResourceInfo) + + def test_get_images(self): + self.assertIsInstance(self.client.get_images(10, 0), PageDataTbResourceInfo) + + def test_download_image(self): + self.assertIsInstance(self.client.download_image('tenant', 'task_done.png'), str) + + if __name__ == '__main__': unittest.main()