def get_entity_groups_by_ids_using_get_with_http_info(self, entity_group_ids, **kwargs):
    "Get Entity Groups by Ids (getDevicesByIds)  # noqa: E501\n\n        Requested devices must be owned by tenant or assigned to customer which user is performing the request.   Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities).  # 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_entity_groups_by_ids_using_get_with_http_info(entity_group_ids, async_req=True)\n        >>> result = thread.get()\n\n        :param async_req bool\n        :param str entity_group_ids: A list of group ids, separated by comma ',' (required)\n        :return: list[EntityGroup]\n                 If the method is called asynchronously,\n                 returns the request thread.\n        "
    all_params = ['entity_group_ids']
    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_entity_groups_by_ids_using_get" % key))
        params[key] = val
    del params['kwargs']
    if (('entity_group_ids' not in params) or (params['entity_group_ids'] is None)):
        raise ValueError('Missing the required parameter `entity_group_ids` when calling `get_entity_groups_by_ids_using_get`')
    collection_formats = {}
    path_params = {}
    query_params = []
    if ('entity_group_ids' in params):
        query_params.append(('entityGroupIds', params['entity_group_ids']))
    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/entityGroups{?entityGroupIds}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='list[EntityGroup]', 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 Entity Groups by Ids (getDevicesByIds)  # noqa: E501

Requested devices must be owned by tenant or assigned to customer which user is performing the request.   Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities).  # 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_entity_groups_by_ids_using_get_with_http_info(entity_group_ids, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str entity_group_ids: A list of group ids, separated by comma ',' (required)
:return: list[EntityGroup]
         If the method is called asynchronously,
         returns the request thread.
def get_entity_groups_by_ids_using_get_with_http_info(self, entity_group_ids, **kwargs):
    "Get Entity Groups by Ids (getDevicesByIds)  # noqa: E501\n\n        Requested devices must be owned by tenant or assigned to customer which user is performing the request.   Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities).  # 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_entity_groups_by_ids_using_get_with_http_info(entity_group_ids, async_req=True)\n        >>> result = thread.get()\n\n        :param async_req bool\n        :param str entity_group_ids: A list of group ids, separated by comma ',' (required)\n        :return: list[EntityGroup]\n                 If the method is called asynchronously,\n                 returns the request thread.\n        "
    all_params = ['entity_group_ids']
    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_entity_groups_by_ids_using_get" % key))
        params[key] = val
    del params['kwargs']
    if (('entity_group_ids' not in params) or (params['entity_group_ids'] is None)):
        raise ValueError('Missing the required parameter `entity_group_ids` when calling `get_entity_groups_by_ids_using_get`')
    collection_formats = {}
    path_params = {}
    query_params = []
    if ('entity_group_ids' in params):
        query_params.append(('entityGroupIds', params['entity_group_ids']))
    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/entityGroups{?entityGroupIds}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='list[EntityGroup]', 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)