@@ -685,53 +685,55 @@ def get_assets_by_ids_using_get_with_http_info(self, asset_ids, **kwargs): # no
685
685
_request_timeout = params .get ('_request_timeout' ),
686
686
collection_formats = collection_formats )
687
687
688
- def get_customer_assets_using_get (self , customer_id , limit , ** kwargs ): # noqa: E501
688
+ def get_customer_assets_using_get (self , customer_id , page_size , page , ** kwargs ): # noqa: E501
689
689
"""getCustomerAssets # noqa: E501
690
690
691
691
This method makes a synchronous HTTP request by default. To make an
692
692
asynchronous HTTP request, please pass async_req=True
693
- >>> thread = api_pe.get_customer_assets_using_get(customer_id, limit , async_req=True)
693
+ >>> thread = api_pe.get_customer_assets_using_get(customer_id, page_size, page , async_req=True)
694
694
>>> result = thread.get()
695
695
696
696
:param async_req bool
697
697
:param str customer_id: customerId (required)
698
- :param str limit: limit (required)
699
698
:param str type: type
700
699
:param str text_search: textSearch
701
- :param str id_offset: idOffset
702
- :param str text_offset: textOffset
700
+ :param str sort_property: sortProperty
701
+ :param str sort_order: sortOrder
702
+ :param str page_size: pageSize (required)
703
+ :param str page: page (required)
703
704
:return: TextPageDataAsset
704
705
If the method is called asynchronously,
705
706
returns the request thread.
706
707
"""
707
708
kwargs ['_return_http_data_only' ] = True
708
709
if kwargs .get ('async_req' ):
709
- return self .get_customer_assets_using_get_with_http_info (customer_id , limit , ** kwargs ) # noqa: E501
710
+ return self .get_customer_assets_using_get_with_http_info (customer_id , page_size , page , ** kwargs ) # noqa: E501
710
711
else :
711
- (data ) = self .get_customer_assets_using_get_with_http_info (customer_id , limit , ** kwargs ) # noqa: E501
712
+ (data ) = self .get_customer_assets_using_get_with_http_info (customer_id , page_size , page , ** kwargs ) # noqa: E501
712
713
return data
713
714
714
- def get_customer_assets_using_get_with_http_info (self , customer_id , limit , ** kwargs ): # noqa: E501
715
+ def get_customer_assets_using_get_with_http_info (self , customer_id , page_size , page , ** kwargs ): # noqa: E501
715
716
"""getCustomerAssets # noqa: E501
716
717
717
718
This method makes a synchronous HTTP request by default. To make an
718
719
asynchronous HTTP request, please pass async_req=True
719
- >>> thread = api_pe.get_customer_assets_using_get_with_http_info(customer_id, limit , async_req=True)
720
+ >>> thread = api_pe.get_customer_assets_using_get_with_http_info(customer_id, page_size, page , async_req=True)
720
721
>>> result = thread.get()
721
722
722
723
:param async_req bool
723
724
:param str customer_id: customerId (required)
724
- :param str limit: limit (required)
725
725
:param str type: type
726
726
:param str text_search: textSearch
727
- :param str id_offset: idOffset
728
- :param str text_offset: textOffset
727
+ :param str sort_property: sortProperty
728
+ :param str sort_order: sortOrder
729
+ :param str page_size: pageSize (required)
730
+ :param str page: page (required)
729
731
:return: TextPageDataAsset
730
732
If the method is called asynchronously,
731
733
returns the request thread.
732
734
"""
733
735
734
- all_params = ['customer_id' , 'limit ' , 'type ' , 'text_search ' , 'id_offset ' , 'text_offset ' ] # noqa: E501
736
+ all_params = ['customer_id' , 'type ' , 'text_search ' , 'sort_property ' , 'sort_order ' , 'page_size' , 'page ' ] # noqa: E501
735
737
all_params .append ('async_req' )
736
738
all_params .append ('_return_http_data_only' )
737
739
all_params .append ('_preload_content' )
@@ -746,10 +748,14 @@ def get_customer_assets_using_get_with_http_info(self, customer_id, limit, **kwa
746
748
if ('customer_id' not in params or
747
749
params ['customer_id' ] is None ):
748
750
raise ValueError ("Missing the required parameter `customer_id` when calling `get_customer_assets_using_get`" ) # noqa: E501
749
- # verify the required parameter 'limit' is set
750
- if ('limit' not in params or
751
- params ['limit' ] is None ):
752
- raise ValueError ("Missing the required parameter `limit` when calling `get_customer_assets_using_get`" ) # noqa: E501
751
+ # verify the required parameter 'page_size' is set
752
+ if ('page_size' not in params or
753
+ params ['page_size' ] is None ):
754
+ raise ValueError ("Missing the required parameter `page_size` when calling `get_customer_assets_using_get`" ) # noqa: E501
755
+ # verify the required parameter 'page' is set
756
+ if ('page' not in params or
757
+ params ['page' ] is None ):
758
+ raise ValueError ("Missing the required parameter `page` when calling `get_customer_assets_using_get`" ) # noqa: E501
753
759
754
760
collection_formats = {}
755
761
@@ -762,12 +768,14 @@ def get_customer_assets_using_get_with_http_info(self, customer_id, limit, **kwa
762
768
query_params .append (('type' , params ['type' ])) # noqa: E501
763
769
if 'text_search' in params :
764
770
query_params .append (('textSearch' , params ['text_search' ])) # noqa: E501
765
- if 'id_offset' in params :
766
- query_params .append (('idOffset' , params ['id_offset' ])) # noqa: E501
767
- if 'text_offset' in params :
768
- query_params .append (('textOffset' , params ['text_offset' ])) # noqa: E501
769
- if 'limit' in params :
770
- query_params .append (('limit' , params ['limit' ])) # noqa: E501
771
+ if 'sort_property' in params :
772
+ query_params .append (('sortProperty' , params ['sort_property' ])) # noqa: E501
773
+ if 'sort_order' in params :
774
+ query_params .append (('sortOrder' , params ['sort_order' ])) # noqa: E501
775
+ if 'page_size' in params :
776
+ query_params .append (('pageSize' , params ['page_size' ])) # noqa: E501
777
+ if 'page' in params :
778
+ query_params .append (('page' , params ['page' ])) # noqa: E501
771
779
772
780
header_params = {}
773
781
@@ -787,7 +795,7 @@ def get_customer_assets_using_get_with_http_info(self, customer_id, limit, **kwa
787
795
auth_settings = ['X-Authorization' ] # noqa: E501
788
796
789
797
return self .api_client .call_api (
790
- '/api/customer/{customerId}/assets{?type,textSearch,idOffset,textOffset,limit }' , 'GET' ,
798
+ '/api/customer/{customerId}/assets{?type,textSearch,sortProperty,sortOrder,pageSize,page }' , 'GET' ,
791
799
path_params ,
792
800
query_params ,
793
801
header_params ,
@@ -895,51 +903,53 @@ def get_tenant_asset_using_get_with_http_info(self, asset_name, **kwargs): # no
895
903
_request_timeout = params .get ('_request_timeout' ),
896
904
collection_formats = collection_formats )
897
905
898
- def get_tenant_assets_using_get (self , limit , ** kwargs ): # noqa: E501
906
+ def get_tenant_assets_using_get (self , page_size , page , ** kwargs ): # noqa: E501
899
907
"""getTenantAssets # noqa: E501
900
908
901
909
This method makes a synchronous HTTP request by default. To make an
902
910
asynchronous HTTP request, please pass async_req=True
903
- >>> thread = api_pe.get_tenant_assets_using_get(limit , async_req=True)
911
+ >>> thread = api_pe.get_tenant_assets_using_get(page_size, page , async_req=True)
904
912
>>> result = thread.get()
905
913
906
914
:param async_req bool
907
- :param str limit: limit (required)
908
915
:param str type: type
909
916
:param str text_search: textSearch
910
- :param str id_offset: idOffset
911
- :param str text_offset: textOffset
917
+ :param str sort_property: sortProperty
918
+ :param str sort_order: sortOrder
919
+ :param str page_size: pageSize (required)
920
+ :param str page: page (required)
912
921
:return: TextPageDataAsset
913
922
If the method is called asynchronously,
914
923
returns the request thread.
915
924
"""
916
925
kwargs ['_return_http_data_only' ] = True
917
926
if kwargs .get ('async_req' ):
918
- return self .get_tenant_assets_using_get_with_http_info (limit , ** kwargs ) # noqa: E501
927
+ return self .get_tenant_assets_using_get_with_http_info (page_size , page , ** kwargs ) # noqa: E501
919
928
else :
920
- (data ) = self .get_tenant_assets_using_get_with_http_info (limit , ** kwargs ) # noqa: E501
929
+ (data ) = self .get_tenant_assets_using_get_with_http_info (page_size , page , ** kwargs ) # noqa: E501
921
930
return data
922
931
923
- def get_tenant_assets_using_get_with_http_info (self , limit , ** kwargs ): # noqa: E501
932
+ def get_tenant_assets_using_get_with_http_info (self , page_size , page , ** kwargs ): # noqa: E501
924
933
"""getTenantAssets # noqa: E501
925
934
926
935
This method makes a synchronous HTTP request by default. To make an
927
936
asynchronous HTTP request, please pass async_req=True
928
- >>> thread = api_pe.get_tenant_assets_using_get_with_http_info(limit , async_req=True)
937
+ >>> thread = api_pe.get_tenant_assets_using_get_with_http_info(page_size, page , async_req=True)
929
938
>>> result = thread.get()
930
939
931
940
:param async_req bool
932
- :param str limit: limit (required)
933
941
:param str type: type
934
942
:param str text_search: textSearch
935
- :param str id_offset: idOffset
936
- :param str text_offset: textOffset
943
+ :param str sort_property: sortProperty
944
+ :param str sort_order: sortOrder
945
+ :param str page_size: pageSize (required)
946
+ :param str page: page (required)
937
947
:return: TextPageDataAsset
938
948
If the method is called asynchronously,
939
949
returns the request thread.
940
950
"""
941
951
942
- all_params = ['limit ' , 'type ' , 'text_search ' , 'id_offset ' , 'text_offset ' ] # noqa: E501
952
+ all_params = ['type ' , 'text_search ' , 'sort_property ' , 'sort_order ' , 'page_size' , 'page ' ] # noqa: E501
943
953
all_params .append ('async_req' )
944
954
all_params .append ('_return_http_data_only' )
945
955
all_params .append ('_preload_content' )
@@ -950,10 +960,14 @@ def get_tenant_assets_using_get_with_http_info(self, limit, **kwargs): # noqa:
950
960
951
961
params [key ] = val
952
962
del params ['kwargs' ]
953
- # verify the required parameter 'limit' is set
954
- if ('limit' not in params or
955
- params ['limit' ] is None ):
956
- raise ValueError ("Missing the required parameter `limit` when calling `get_tenant_assets_using_get`" ) # noqa: E501
963
+ # verify the required parameter 'page_size' is set
964
+ if ('page_size' not in params or
965
+ params ['page_size' ] is None ):
966
+ raise ValueError ("Missing the required parameter `page_size` when calling `get_tenant_assets_using_get`" ) # noqa: E501
967
+ # verify the required parameter 'page' is set
968
+ if ('page' not in params or
969
+ params ['page' ] is None ):
970
+ raise ValueError ("Missing the required parameter `page` when calling `get_tenant_assets_using_get`" ) # noqa: E501
957
971
958
972
collection_formats = {}
959
973
@@ -964,12 +978,14 @@ def get_tenant_assets_using_get_with_http_info(self, limit, **kwargs): # noqa:
964
978
query_params .append (('type' , params ['type' ])) # noqa: E501
965
979
if 'text_search' in params :
966
980
query_params .append (('textSearch' , params ['text_search' ])) # noqa: E501
967
- if 'id_offset' in params :
968
- query_params .append (('idOffset' , params ['id_offset' ])) # noqa: E501
969
- if 'text_offset' in params :
970
- query_params .append (('textOffset' , params ['text_offset' ])) # noqa: E501
971
- if 'limit' in params :
972
- query_params .append (('limit' , params ['limit' ])) # noqa: E501
981
+ if 'sort_property' in params :
982
+ query_params .append (('sortProperty' , params ['sort_property' ])) # noqa: E501
983
+ if 'sort_order' in params :
984
+ query_params .append (('sortOrder' , params ['sort_order' ])) # noqa: E501
985
+ if 'page_size' in params :
986
+ query_params .append (('pageSize' , params ['page_size' ])) # noqa: E501
987
+ if 'page' in params :
988
+ query_params .append (('page' , params ['page' ])) # noqa: E501
973
989
974
990
header_params = {}
975
991
@@ -989,7 +1005,7 @@ def get_tenant_assets_using_get_with_http_info(self, limit, **kwargs): # noqa:
989
1005
auth_settings = ['X-Authorization' ] # noqa: E501
990
1006
991
1007
return self .api_client .call_api (
992
- '/api/tenant/assets{?type,textSearch,idOffset,textOffset,limit }' , 'GET' ,
1008
+ '/api/tenant/assets{?type,textSearch,sortProperty,sortOrder,pageSize,page }' , 'GET' ,
993
1009
path_params ,
994
1010
query_params ,
995
1011
header_params ,
0 commit comments