@@ -511,53 +511,55 @@ def find_by_query_using_post1_with_http_info(self, query, **kwargs): # noqa: E5
511511 _request_timeout = params .get ('_request_timeout' ),
512512 collection_formats = collection_formats )
513513
514- def get_customer_devices_using_get (self , customer_id , limit , ** kwargs ): # noqa: E501
514+ def get_customer_devices_using_get (self , customer_id , ** kwargs ): # noqa: E501
515515 """getCustomerDevices # noqa: E501
516516
517517 This method makes a synchronous HTTP request by default. To make an
518518 asynchronous HTTP request, please pass async_req=True
519- >>> thread = api_pe.get_customer_devices_using_get(customer_id, limit, async_req=True)
519+ >>> thread = api_pe.get_customer_devices_using_get(customer_id, async_req=True)
520520 >>> result = thread.get()
521521
522522 :param async_req bool
523523 :param str customer_id: customerId (required)
524- :param str limit: limit (required)
525524 :param str type: type
526525 :param str text_search: textSearch
527- :param str id_offset: idOffset
528- :param str text_offset: textOffset
526+ :param str sort_property: sortProperty
527+ :param str sort_order: sortOrder
528+ :param str page_size: pageSize (required)
529+ :param str page: page (required)
529530 :return: TextPageDataDevice
530531 If the method is called asynchronously,
531532 returns the request thread.
532533 """
533534 kwargs ['_return_http_data_only' ] = True
534535 if kwargs .get ('async_req' ):
535- return self .get_customer_devices_using_get_with_http_info (customer_id , limit , ** kwargs ) # noqa: E501
536+ return self .get_customer_devices_using_get_with_http_info (customer_id , ** kwargs ) # noqa: E501
536537 else :
537- (data ) = self .get_customer_devices_using_get_with_http_info (customer_id , limit , ** kwargs ) # noqa: E501
538+ (data ) = self .get_customer_devices_using_get_with_http_info (customer_id , ** kwargs ) # noqa: E501
538539 return data
539540
540- def get_customer_devices_using_get_with_http_info (self , customer_id , limit , ** kwargs ): # noqa: E501
541+ def get_customer_devices_using_get_with_http_info (self , customer_id , ** kwargs ): # noqa: E501
541542 """getCustomerDevices # noqa: E501
542543
543544 This method makes a synchronous HTTP request by default. To make an
544545 asynchronous HTTP request, please pass async_req=True
545- >>> thread = api_pe.get_customer_devices_using_get_with_http_info(customer_id, limit, async_req=True)
546+ >>> thread = api_pe.get_customer_devices_using_get_with_http_info(customer_id, async_req=True)
546547 >>> result = thread.get()
547548
548549 :param async_req bool
549550 :param str customer_id: customerId (required)
550- :param str limit: limit (required)
551551 :param str type: type
552552 :param str text_search: textSearch
553- :param str id_offset: idOffset
554- :param str text_offset: textOffset
553+ :param str sort_property: sortProperty
554+ :param str sort_order: sortOrder
555+ :param str page_size: pageSize (required)
556+ :param str page: page (required)
555557 :return: TextPageDataDevice
556558 If the method is called asynchronously,
557559 returns the request thread.
558560 """
559561
560- all_params = ['customer_id' , 'limit' , 'type' , 'text_search' , 'id_offset ' , 'text_offset ' ] # noqa: E501
562+ all_params = ['customer_id' , 'limit' , 'type' , 'text_search' , 'sort_property ' , 'sort_order' , 'page_size' , 'page ' ] # noqa: E501
561563 all_params .append ('async_req' )
562564 all_params .append ('_return_http_data_only' )
563565 all_params .append ('_preload_content' )
@@ -572,10 +574,14 @@ def get_customer_devices_using_get_with_http_info(self, customer_id, limit, **kw
572574 if ('customer_id' not in params or
573575 params ['customer_id' ] is None ):
574576 raise ValueError ("Missing the required parameter `customer_id` when calling `get_customer_devices_using_get`" ) # noqa: E501
575- # verify the required parameter 'limit' is set
576- if ('limit' not in params or
577- params ['limit' ] is None ):
578- raise ValueError ("Missing the required parameter `limit` when calling `get_customer_devices_using_get`" ) # noqa: E501
577+ # verify the required parameter 'page_size' is set
578+ if ('page_size' not in params or
579+ params ['page_size' ] is None ):
580+ raise ValueError ("Missing the required parameter `page_size` when calling `get_customer_devices_using_get`" ) # noqa: E501
581+ # verify the required parameter 'page' is set
582+ if ('page' not in params or
583+ params ['page' ] is None ):
584+ raise ValueError ("Missing the required parameter `page` when calling `get_customer_devices_using_get`" ) # noqa: E501
579585
580586 collection_formats = {}
581587
@@ -588,12 +594,14 @@ def get_customer_devices_using_get_with_http_info(self, customer_id, limit, **kw
588594 query_params .append (('type' , params ['type' ])) # noqa: E501
589595 if 'text_search' in params :
590596 query_params .append (('textSearch' , params ['text_search' ])) # noqa: E501
591- if 'id_offset' in params :
592- query_params .append (('idOffset' , params ['id_offset' ])) # noqa: E501
593- if 'text_offset' in params :
594- query_params .append (('textOffset' , params ['text_offset' ])) # noqa: E501
595- if 'limit' in params :
596- query_params .append (('limit' , params ['limit' ])) # noqa: E501
597+ if 'sort_property' in params :
598+ query_params .append (('sortProperty' , params ['sort_property' ])) # noqa: E501
599+ if 'sort_order' in params :
600+ query_params .append (('sortOrder' , params ['sort_order' ])) # noqa: E501
601+ if 'page_size' in params :
602+ query_params .append (('pageSize' , params ['page_size' ])) # noqa: E501
603+ if 'page' in params :
604+ query_params .append (('page' , params ['page' ])) # noqa: E501
597605
598606 header_params = {}
599607
@@ -613,7 +621,7 @@ def get_customer_devices_using_get_with_http_info(self, customer_id, limit, **kw
613621 auth_settings = ['X-Authorization' ] # noqa: E501
614622
615623 return self .api_client .call_api (
616- '/api/customer/{customerId}/devices{?type,textSearch,idOffset,textOffset,limit }' , 'GET' ,
624+ '/api/customer/{customerId}/devices{?type,textSearch,sortProperty,sortOrder,pageSize,page }' , 'GET' ,
617625 path_params ,
618626 query_params ,
619627 header_params ,
0 commit comments