Skip to content

Commit d86d2ea

Browse files
authored
Merge pull request #183 from samson0v/develop/4.1
Fixed get_customer_device_infos_using_get method for PE
2 parents 11cfa9f + 0569d38 commit d86d2ea

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tb_rest_client/api/api_pe/device_controller_api.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ def get_customer_device_infos_using_get_with_http_info(self, customer_id, page_s
841841
returns the request thread.
842842
"""
843843

844-
all_params = ['customer_id', 'page_size', 'page', 'include_customers', 'device_profile_id', 'active', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
844+
all_params = ['customer_id', 'page_size', 'type', 'page', 'include_customers', 'device_profile_id', 'active', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
845845
all_params.append('async_req')
846846
all_params.append('_return_http_data_only')
847847
all_params.append('_preload_content')
@@ -880,6 +880,8 @@ def get_customer_device_infos_using_get_with_http_info(self, customer_id, page_s
880880
query_params.append(('pageSize', params['page_size'])) # noqa: E501
881881
if 'page' in params:
882882
query_params.append(('page', params['page'])) # noqa: E501
883+
if 'type' in params:
884+
query_params.append(('type', params['type'])) # noqa: E501
883885
if 'include_customers' in params:
884886
query_params.append(('includeCustomers', params['include_customers'])) # noqa: E501
885887
if 'device_profile_id' in params:
@@ -907,7 +909,7 @@ def get_customer_device_infos_using_get_with_http_info(self, customer_id, page_s
907909
auth_settings = ['X-Authorization'] # noqa: E501
908910

909911
return self.api_client.call_api(
910-
'/api/customer/{customerId}/deviceInfos{?active,deviceProfileId,includeCustomers,page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
912+
'/api/customer/{customerId}/deviceInfos{?active,deviceProfileId,includeCustomers,page,pageSize,sortOrder,sortProperty,textSearch,type}', 'GET',
911913
path_params,
912914
query_params,
913915
header_params,

0 commit comments

Comments
 (0)