def get_widgets_bundles_using_get1_with_http_info(self, page_size, page, **kwargs):
    "Get Widget Bundles (getWidgetsBundles)  # noqa: E501\n\n        Returns a page of Widget Bundle objects available for current user. Widget Bundle represents a group(bundle) of widgets. Widgets are grouped into bundle by type or use case.  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.   Available for any authorized user.   # noqa: E501\n        This method makes a synchronous HTTP request by default. To make an\n        asynchronous HTTP request, please pass async_req=True\n        >>> thread = api.get_widgets_bundles_using_get1_with_http_info(page_size, page, async_req=True)\n        >>> result = thread.get()\n\n        :param async_req bool\n        :param int page_size: Maximum amount of entities in a one page (required)\n        :param int page: Sequence number of page starting from 0 (required)\n        :param str text_search: The case insensitive 'startsWith' filter based on the widget bundle title.\n        :param str sort_property: Property of entity to sort by\n        :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)\n        :return: PageDataWidgetsBundle\n                 If the method is called asynchronously,\n                 returns the request thread.\n        "
    all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order']
    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_widgets_bundles_using_get1" % key))
        params[key] = val
    del params['kwargs']
    if (('page_size' not in params) or (params['page_size'] is None)):
        raise ValueError('Missing the required parameter `page_size` when calling `get_widgets_bundles_using_get1`')
    if (('page' not in params) or (params['page'] is None)):
        raise ValueError('Missing the required parameter `page` when calling `get_widgets_bundles_using_get1`')
    collection_formats = {}
    path_params = {}
    query_params = []
    if ('page_size' in params):
        query_params.append(('pageSize', params['page_size']))
    if ('page' in params):
        query_params.append(('page', params['page']))
    if ('text_search' in params):
        query_params.append(('textSearch', params['text_search']))
    if ('sort_property' in params):
        query_params.append(('sortProperty', params['sort_property']))
    if ('sort_order' in params):
        query_params.append(('sortOrder', params['sort_order']))
    header_params = {}
    form_params = []
    local_var_files = {}
    body_params = None
    header_params['Accept'] = self.api_client.select_header_accept(['application/json'])
    auth_settings = ['X-Authorization']
    return self.api_client.call_api('/api/widgetsBundles{?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='PageDataWidgetsBundle', 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)
Get Widget Bundles (getWidgetsBundles)  # noqa: E501

Returns a page of Widget Bundle objects available for current user. Widget Bundle represents a group(bundle) of widgets. Widgets are grouped into bundle by type or use case.  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.   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_widgets_bundles_using_get1_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 text_search: The case insensitive 'startsWith' 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)
:return: PageDataWidgetsBundle
         If the method is called asynchronously,
         returns the request thread.
def get_widgets_bundles_using_get1_with_http_info(self, page_size, page, **kwargs):
    "Get Widget Bundles (getWidgetsBundles)  # noqa: E501\n\n        Returns a page of Widget Bundle objects available for current user. Widget Bundle represents a group(bundle) of widgets. Widgets are grouped into bundle by type or use case.  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.   Available for any authorized user.   # noqa: E501\n        This method makes a synchronous HTTP request by default. To make an\n        asynchronous HTTP request, please pass async_req=True\n        >>> thread = api.get_widgets_bundles_using_get1_with_http_info(page_size, page, async_req=True)\n        >>> result = thread.get()\n\n        :param async_req bool\n        :param int page_size: Maximum amount of entities in a one page (required)\n        :param int page: Sequence number of page starting from 0 (required)\n        :param str text_search: The case insensitive 'startsWith' filter based on the widget bundle title.\n        :param str sort_property: Property of entity to sort by\n        :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)\n        :return: PageDataWidgetsBundle\n                 If the method is called asynchronously,\n                 returns the request thread.\n        "
    all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order']
    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_widgets_bundles_using_get1" % key))
        params[key] = val
    del params['kwargs']
    if (('page_size' not in params) or (params['page_size'] is None)):
        raise ValueError('Missing the required parameter `page_size` when calling `get_widgets_bundles_using_get1`')
    if (('page' not in params) or (params['page'] is None)):
        raise ValueError('Missing the required parameter `page` when calling `get_widgets_bundles_using_get1`')
    collection_formats = {}
    path_params = {}
    query_params = []
    if ('page_size' in params):
        query_params.append(('pageSize', params['page_size']))
    if ('page' in params):
        query_params.append(('page', params['page']))
    if ('text_search' in params):
        query_params.append(('textSearch', params['text_search']))
    if ('sort_property' in params):
        query_params.append(('sortProperty', params['sort_property']))
    if ('sort_order' in params):
        query_params.append(('sortOrder', params['sort_order']))
    header_params = {}
    form_params = []
    local_var_files = {}
    body_params = None
    header_params['Accept'] = self.api_client.select_header_accept(['application/json'])
    auth_settings = ['X-Authorization']
    return self.api_client.call_api('/api/widgetsBundles{?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='PageDataWidgetsBundle', 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)