55
66 ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
77
8- OpenAPI spec version: 3.6.3
8+ OpenAPI spec version: 3.7.0
99 Contact: info@thingsboard.io
1010 Generated by: https://github.com/swagger-api/swagger-codegen.git
1111"""
@@ -186,6 +186,10 @@ def check_repository_access_using_post_with_http_info(self, **kwargs): # noqa:
186186 )
187187 params [key ] = val
188188 del params ['kwargs' ]
189+ # verify the required parameter 'body' is set
190+ if ('body' not in params or
191+ params ['body' ] is None ):
192+ raise ValueError ("Missing the required parameter `body` when calling `check_repository_access`" ) # noqa: E501
189193
190194 collection_formats = {}
191195
@@ -955,7 +959,7 @@ def get_jwt_settings_using_get(self, **kwargs): # noqa: E501
955959 >>> result = thread.get()
956960
957961 :param async_req bool
958- :return: JWTSettings
962+ :return: JwtSettings
959963 If the method is called asynchronously,
960964 returns the request thread.
961965 """
@@ -976,7 +980,7 @@ def get_jwt_settings_using_get_with_http_info(self, **kwargs): # noqa: E501
976980 >>> result = thread.get()
977981
978982 :param async_req bool
979- :return: JWTSettings
983+ :return: JwtSettings
980984 If the method is called asynchronously,
981985 returns the request thread.
982986 """
@@ -1017,14 +1021,14 @@ def get_jwt_settings_using_get_with_http_info(self, **kwargs): # noqa: E501
10171021 auth_settings = ['X-Authorization' ] # noqa: E501
10181022
10191023 return self .api_client .call_api (
1020- '/api/admin/jwtSettings ' , 'GET' ,
1024+ '/api/admin/JwtSettings ' , 'GET' ,
10211025 path_params ,
10221026 query_params ,
10231027 header_params ,
10241028 body = body_params ,
10251029 post_params = form_params ,
10261030 files = local_var_files ,
1027- response_type = 'JWTSettings ' , # noqa: E501
1031+ response_type = 'JwtSettings ' , # noqa: E501
10281032 auth_settings = auth_settings ,
10291033 async_req = params .get ('async_req' ),
10301034 _return_http_data_only = params .get ('_return_http_data_only' ),
@@ -1605,6 +1609,10 @@ def save_admin_settings_using_post_with_http_info(self, **kwargs): # noqa: E501
16051609 )
16061610 params [key ] = val
16071611 del params ['kwargs' ]
1612+ # verify the required parameter 'body' is set
1613+ if ('body' not in params or
1614+ params ['body' ] is None ):
1615+ raise ValueError ("Missing the required parameter `body` when calling `save_admin_settings`" ) # noqa: E501
16081616
16091617 collection_formats = {}
16101618
@@ -1700,6 +1708,10 @@ def save_auto_commit_settings_using_post_with_http_info(self, **kwargs): # noqa
17001708 )
17011709 params [key ] = val
17021710 del params ['kwargs' ]
1711+ # verify the required parameter 'body' is set
1712+ if ('body' not in params or
1713+ params ['body' ] is None ):
1714+ raise ValueError ("Missing the required parameter `body` when calling `save_auto_commit_settings`" ) # noqa: E501
17031715
17041716 collection_formats = {}
17051717
@@ -1734,7 +1746,7 @@ def save_auto_commit_settings_using_post_with_http_info(self, **kwargs): # noqa
17341746 body = body_params ,
17351747 post_params = form_params ,
17361748 files = local_var_files ,
1737- response_type = 'dict(str, AutoVersionCreateConfig) ' , # noqa: E501
1749+ response_type = 'AutoCommitSettings ' , # noqa: E501
17381750 auth_settings = auth_settings ,
17391751 async_req = params .get ('async_req' ),
17401752 _return_http_data_only = params .get ('_return_http_data_only' ),
@@ -1752,8 +1764,8 @@ def save_jwt_settings_using_post(self, **kwargs): # noqa: E501
17521764 >>> result = thread.get()
17531765
17541766 :param async_req bool
1755- :param JWTSettings body:
1756- :return: JWTPair
1767+ :param JwtSettings body:
1768+ :return: JwtPair
17571769 If the method is called asynchronously,
17581770 returns the request thread.
17591771 """
@@ -1774,8 +1786,8 @@ def save_jwt_settings_using_post_with_http_info(self, **kwargs): # noqa: E501
17741786 >>> result = thread.get()
17751787
17761788 :param async_req bool
1777- :param JWTSettings body:
1778- :return: JWTPair
1789+ :param JwtSettings body:
1790+ :return: JwtPair
17791791 If the method is called asynchronously,
17801792 returns the request thread.
17811793 """
@@ -1795,6 +1807,10 @@ def save_jwt_settings_using_post_with_http_info(self, **kwargs): # noqa: E501
17951807 )
17961808 params [key ] = val
17971809 del params ['kwargs' ]
1810+ # verify the required parameter 'body' is set
1811+ if ('body' not in params or
1812+ params ['body' ] is None ):
1813+ raise ValueError ("Missing the required parameter `body` when calling `save_jwt_settings`" ) # noqa: E501
17981814
17991815 collection_formats = {}
18001816
@@ -1822,14 +1838,14 @@ def save_jwt_settings_using_post_with_http_info(self, **kwargs): # noqa: E501
18221838 auth_settings = ['X-Authorization' ] # noqa: E501
18231839
18241840 return self .api_client .call_api (
1825- '/api/admin/jwtSettings ' , 'POST' ,
1841+ '/api/admin/JwtSettings ' , 'POST' ,
18261842 path_params ,
18271843 query_params ,
18281844 header_params ,
18291845 body = body_params ,
18301846 post_params = form_params ,
18311847 files = local_var_files ,
1832- response_type = 'JWTPair ' , # noqa: E501
1848+ response_type = 'JwtPair ' , # noqa: E501
18331849 auth_settings = auth_settings ,
18341850 async_req = params .get ('async_req' ),
18351851 _return_http_data_only = params .get ('_return_http_data_only' ),
@@ -1890,6 +1906,10 @@ def save_repository_settings_using_post_with_http_info(self, **kwargs): # noqa:
18901906 )
18911907 params [key ] = val
18921908 del params ['kwargs' ]
1909+ # verify the required parameter 'body' is set
1910+ if ('body' not in params or
1911+ params ['body' ] is None ):
1912+ raise ValueError ("Missing the required parameter `body` when calling `save_repository_settings`" ) # noqa: E501
18931913
18941914 collection_formats = {}
18951915
@@ -1985,6 +2005,10 @@ def save_security_settings_using_post_with_http_info(self, **kwargs): # noqa: E
19852005 )
19862006 params [key ] = val
19872007 del params ['kwargs' ]
2008+ # verify the required parameter 'body' is set
2009+ if ('body' not in params or
2010+ params ['body' ] is None ):
2011+ raise ValueError ("Missing the required parameter `body` when calling `save_security_settings`" ) # noqa: E501
19882012
19892013 collection_formats = {}
19902014
@@ -2080,6 +2104,10 @@ def send_test_mail_using_post_with_http_info(self, **kwargs): # noqa: E501
20802104 )
20812105 params [key ] = val
20822106 del params ['kwargs' ]
2107+ # verify the required parameter 'body' is set
2108+ if ('body' not in params or
2109+ params ['body' ] is None ):
2110+ raise ValueError ("Missing the required parameter `body` when calling `send_test_mail`" ) # noqa: E501
20832111
20842112 collection_formats = {}
20852113
@@ -2175,6 +2203,10 @@ def send_test_sms_using_post_with_http_info(self, **kwargs): # noqa: E501
21752203 )
21762204 params [key ] = val
21772205 del params ['kwargs' ]
2206+ # verify the required parameter 'body' is set
2207+ if ('body' not in params or
2208+ params ['body' ] is None ):
2209+ raise ValueError ("Missing the required parameter `body` when calling `send_test_sms`" ) # noqa: E501
21782210
21792211 collection_formats = {}
21802212
0 commit comments