def teams_get_teams_v2(self, **kwargs):
    'Get all available Teams  # noqa: E501\n\n        Operation to get IDs and names for all available Teams.  # 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.teams_get_teams_v2(async_req=True)\n        >>> result = thread.get()\n\n        :param async_req bool: execute request asynchronously\n        :param _preload_content: if False, the urllib3.HTTPResponse object will\n                                 be returned without reading/decoding response\n                                 data. Default is True.\n        :param _request_timeout: timeout setting for this request. If one\n                                 number provided, it will be total request\n                                 timeout. It can also be a pair (tuple) of\n                                 (connection, read) timeouts.\n        :return: TeamsV2Response\n                 If the method is called asynchronously,\n                 returns the request thread.\n        '
    kwargs['_return_http_data_only'] = True
    return self.teams_get_teams_v2_with_http_info(**kwargs)
Get all available Teams  # noqa: E501

Operation to get IDs and names for all available Teams.  # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.teams_get_teams_v2(async_req=True)
>>> result = thread.get()

:param async_req bool: execute request asynchronously
:param _preload_content: if False, the urllib3.HTTPResponse object will
                         be returned without reading/decoding response
                         data. Default is True.
:param _request_timeout: timeout setting for this request. If one
                         number provided, it will be total request
                         timeout. It can also be a pair (tuple) of
                         (connection, read) timeouts.
:return: TeamsV2Response
         If the method is called asynchronously,
         returns the request thread.
def teams_get_teams_v2(self, **kwargs):
    'Get all available Teams  # noqa: E501\n\n        Operation to get IDs and names for all available Teams.  # 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.teams_get_teams_v2(async_req=True)\n        >>> result = thread.get()\n\n        :param async_req bool: execute request asynchronously\n        :param _preload_content: if False, the urllib3.HTTPResponse object will\n                                 be returned without reading/decoding response\n                                 data. Default is True.\n        :param _request_timeout: timeout setting for this request. If one\n                                 number provided, it will be total request\n                                 timeout. It can also be a pair (tuple) of\n                                 (connection, read) timeouts.\n        :return: TeamsV2Response\n                 If the method is called asynchronously,\n                 returns the request thread.\n        '
    kwargs['_return_http_data_only'] = True
    return self.teams_get_teams_v2_with_http_info(**kwargs)