def get_groups_of_user(self, user_id, **kwargs):  # noqa: E501
        """Get groups of the user.  # noqa: E501

        An endpoint for retrieving groups of the user.   **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/users/{user-id}/groups -H 'Authorization: Bearer API_KEY'`  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass asynchronous=True
        >>> thread = api.get_groups_of_user(user_id, asynchronous=True)
        >>> result = thread.get()

        :param asynchronous bool
        :param str user_id: The ID of the user whose details are retrieved. (required)
        :param int limit: The number of results to return (2-1000), default is 50.
        :param str after: The entity ID to fetch after the given one.
        :param str order: The order of the records based on creation time, ASC or DESC; by default ASC
        :param str include: Comma separated additional data to return. Currently supported: total_count
        :return: GroupSummaryList
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('asynchronous'):
            return self.get_groups_of_user_with_http_info(user_id, **kwargs)  # noqa: E501
        else:
            (data) = self.get_groups_of_user_with_http_info(user_id, **kwargs)  # noqa: E501
            return data
def get_groups_of_user ( self , user_id , ** kwargs ) : kwargs [ '_return_http_data_only' ] = True if kwargs . get ( 'asynchronous' ) : return self . get_groups_of_user_with_http_info ( user_id , ** kwargs ) else : ( data ) = self . get_groups_of_user_with_http_info ( user_id , ** kwargs ) return data
Get groups of the user.  # noqa: E501

        An endpoint for retrieving groups of the user.   **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/users/{user-id}/groups -H 'Authorization: Bearer API_KEY'`  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass asynchronous=True
        >>> thread = api.get_groups_of_user(user_id, asynchronous=True)
        >>> result = thread.get()

        :param asynchronous bool
        :param str user_id: The ID of the user whose details are retrieved. (required)
        :param int limit: The number of results to return (2-1000), default is 50.
        :param str after: The entity ID to fetch after the given one.
        :param str order: The order of the records based on creation time, ASC or DESC; by default ASC
        :param str include: Comma separated additional data to return. Currently supported: total_count
        :return: GroupSummaryList
                 If the method is called asynchronously,
                 returns the request thread.