def save_widgets_bundle_using_post(self, **kwargs):
    "Create Or Update Widget Bundle (saveWidgetsBundle)  # noqa: E501\n\n        Create or update the Widget Bundle. Widget Bundle represents a group(bundle) of widgets. Widgets are grouped into bundle by type or use case.  When creating the bundle, platform generates Widget Bundle Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Widget Bundle Id will be present in the response. Specify existing Widget Bundle id to update the Widget Bundle. Referencing non-existing Widget Bundle Id will cause 'Not Found' error.  Widget Bundle alias is unique in the scope of tenant. Special Tenant Id '13814000-1dd2-11b2-8080-808080808080' is automatically used if the create bundle request is sent by user with 'SYS_ADMIN' authority.  Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority.  # 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.save_widgets_bundle_using_post(async_req=True)\n        >>> result = thread.get()\n\n        :param async_req bool\n        :param WidgetsBundle body:\n        :return: WidgetsBundle\n                 If the method is called asynchronously,\n                 returns the request thread.\n        "
    kwargs['_return_http_data_only'] = True
    if kwargs.get('async_req'):
        return self.save_widgets_bundle_using_post_with_http_info(**kwargs)
    else:
        data = self.save_widgets_bundle_using_post_with_http_info(**kwargs)
        return data
Create Or Update Widget Bundle (saveWidgetsBundle)  # noqa: E501

Create or update the Widget Bundle. Widget Bundle represents a group(bundle) of widgets. Widgets are grouped into bundle by type or use case.  When creating the bundle, platform generates Widget Bundle Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Widget Bundle Id will be present in the response. Specify existing Widget Bundle id to update the Widget Bundle. Referencing non-existing Widget Bundle Id will cause 'Not Found' error.  Widget Bundle alias is unique in the scope of tenant. Special Tenant Id '13814000-1dd2-11b2-8080-808080808080' is automatically used if the create bundle request is sent by user with 'SYS_ADMIN' authority.  Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority.  # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.save_widgets_bundle_using_post(async_req=True)
>>> result = thread.get()

:param async_req bool
:param WidgetsBundle body:
:return: WidgetsBundle
         If the method is called asynchronously,
         returns the request thread.
def save_widgets_bundle_using_post(self, **kwargs):
    "Create Or Update Widget Bundle (saveWidgetsBundle)  # noqa: E501\n\n        Create or update the Widget Bundle. Widget Bundle represents a group(bundle) of widgets. Widgets are grouped into bundle by type or use case.  When creating the bundle, platform generates Widget Bundle Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Widget Bundle Id will be present in the response. Specify existing Widget Bundle id to update the Widget Bundle. Referencing non-existing Widget Bundle Id will cause 'Not Found' error.  Widget Bundle alias is unique in the scope of tenant. Special Tenant Id '13814000-1dd2-11b2-8080-808080808080' is automatically used if the create bundle request is sent by user with 'SYS_ADMIN' authority.  Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority.  # 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.save_widgets_bundle_using_post(async_req=True)\n        >>> result = thread.get()\n\n        :param async_req bool\n        :param WidgetsBundle body:\n        :return: WidgetsBundle\n                 If the method is called asynchronously,\n                 returns the request thread.\n        "
    kwargs['_return_http_data_only'] = True
    if kwargs.get('async_req'):
        return self.save_widgets_bundle_using_post_with_http_info(**kwargs)
    else:
        data = self.save_widgets_bundle_using_post_with_http_info(**kwargs)
        return data