def assign_entity_group_to_edge_using_post_with_http_info(self, edge_id, group_type, entity_group_id, **kwargs):
    "Assign entity group to edge (assignEntityGroupToEdge)  # noqa: E501\n\n        Creates assignment of an existing entity group to an instance of The Edge. Assignment works in async way - first, notification event pushed to edge service queue on platform. Second, remote edge service will receive a copy of assignment entity group (Edge will receive this instantly, if it's currently connected, or once it's going to be connected to platform). Third, once entity group will be delivered to edge service, edge will request entities of this group to be send to edge. Once entities will be delivered to edge service, they are going to be available for usage on remote edge instance.  Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'WRITE' 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.assign_entity_group_to_edge_using_post_with_http_info(edge_id, group_type, entity_group_id, async_req=True)\n        >>> result = thread.get()\n\n        :param async_req bool\n        :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)\n        :param str group_type: EntityGroup type (required)\n        :param str entity_group_id: A string value representing the Entity Group Id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)\n        :return: EntityGroup\n                 If the method is called asynchronously,\n                 returns the request thread.\n        "
    all_params = ['edge_id', 'group_type', 'entity_group_id']
    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 assign_entity_group_to_edge_using_post" % key))
        params[key] = val
    del params['kwargs']
    if (('edge_id' not in params) or (params['edge_id'] is None)):
        raise ValueError('Missing the required parameter `edge_id` when calling `assign_entity_group_to_edge_using_post`')
    if (('group_type' not in params) or (params['group_type'] is None)):
        raise ValueError('Missing the required parameter `group_type` when calling `assign_entity_group_to_edge_using_post`')
    if (('entity_group_id' not in params) or (params['entity_group_id'] is None)):
        raise ValueError('Missing the required parameter `entity_group_id` when calling `assign_entity_group_to_edge_using_post`')
    collection_formats = {}
    path_params = {}
    if ('edge_id' in params):
        path_params['edgeId'] = params['edge_id']
    if ('group_type' in params):
        path_params['groupType'] = params['group_type']
    if ('entity_group_id' in params):
        path_params['entityGroupId'] = params['entity_group_id']
    query_params = []
    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/edge/{edgeId}/entityGroup/{entityGroupId}/{groupType}', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='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)
Assign entity group to edge (assignEntityGroupToEdge)  # noqa: E501

Creates assignment of an existing entity group to an instance of The Edge. Assignment works in async way - first, notification event pushed to edge service queue on platform. Second, remote edge service will receive a copy of assignment entity group (Edge will receive this instantly, if it's currently connected, or once it's going to be connected to platform). Third, once entity group will be delivered to edge service, edge will request entities of this group to be send to edge. Once entities will be delivered to edge service, they are going to be available for usage on remote edge instance.  Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'WRITE' 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.assign_entity_group_to_edge_using_post_with_http_info(edge_id, group_type, entity_group_id, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
:param str group_type: EntityGroup type (required)
:param str entity_group_id: A string value representing the Entity Group Id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
:return: EntityGroup
         If the method is called asynchronously,
         returns the request thread.
def assign_entity_group_to_edge_using_post_with_http_info(self, edge_id, group_type, entity_group_id, **kwargs):
    "Assign entity group to edge (assignEntityGroupToEdge)  # noqa: E501\n\n        Creates assignment of an existing entity group to an instance of The Edge. Assignment works in async way - first, notification event pushed to edge service queue on platform. Second, remote edge service will receive a copy of assignment entity group (Edge will receive this instantly, if it's currently connected, or once it's going to be connected to platform). Third, once entity group will be delivered to edge service, edge will request entities of this group to be send to edge. Once entities will be delivered to edge service, they are going to be available for usage on remote edge instance.  Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'WRITE' 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.assign_entity_group_to_edge_using_post_with_http_info(edge_id, group_type, entity_group_id, async_req=True)\n        >>> result = thread.get()\n\n        :param async_req bool\n        :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)\n        :param str group_type: EntityGroup type (required)\n        :param str entity_group_id: A string value representing the Entity Group Id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)\n        :return: EntityGroup\n                 If the method is called asynchronously,\n                 returns the request thread.\n        "
    all_params = ['edge_id', 'group_type', 'entity_group_id']
    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 assign_entity_group_to_edge_using_post" % key))
        params[key] = val
    del params['kwargs']
    if (('edge_id' not in params) or (params['edge_id'] is None)):
        raise ValueError('Missing the required parameter `edge_id` when calling `assign_entity_group_to_edge_using_post`')
    if (('group_type' not in params) or (params['group_type'] is None)):
        raise ValueError('Missing the required parameter `group_type` when calling `assign_entity_group_to_edge_using_post`')
    if (('entity_group_id' not in params) or (params['entity_group_id'] is None)):
        raise ValueError('Missing the required parameter `entity_group_id` when calling `assign_entity_group_to_edge_using_post`')
    collection_formats = {}
    path_params = {}
    if ('edge_id' in params):
        path_params['edgeId'] = params['edge_id']
    if ('group_type' in params):
        path_params['groupType'] = params['group_type']
    if ('entity_group_id' in params):
        path_params['entityGroupId'] = params['entity_group_id']
    query_params = []
    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/edge/{edgeId}/entityGroup/{entityGroupId}/{groupType}', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='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)