<reponame>openlattice/api-clients<gh_stars>0
# coding: utf-8

"""
    OpenLattice API

    OpenLattice API  # noqa: E501

    The version of the OpenAPI document: 0.0.1
    Contact: <EMAIL>
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import re  # noqa: F401

# python 2 and python 3 compatibility library
import six

from openlattice.api_client import ApiClient
from openlattice.exceptions import (  # noqa: F401
    ApiTypeError,
    ApiValueError
)


class DataApi(object):
    """NOTE: This class is auto generated by OpenAPI Generator
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    """

    def __init__(self, api_client=None):
        if api_client is None:
            api_client = ApiClient()
        self.api_client = api_client

    def create_associations(self, inline_object, **kwargs):  # noqa: E501
        """Creates a new set of associations.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.create_associations(inline_object, async_req=True)
        >>> result = thread.get()

        :param inline_object: (required)
        :type inline_object: InlineObject
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: dict(str, list[str])
        """
        kwargs['_return_http_data_only'] = True
        return self.create_associations_with_http_info(inline_object, **kwargs)  # noqa: E501

    def create_associations_with_http_info(self, inline_object, **kwargs):  # noqa: E501
        """Creates a new set of associations.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.create_associations_with_http_info(inline_object, async_req=True)
        >>> result = thread.get()

        :param inline_object: (required)
        :type inline_object: InlineObject
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(dict(str, list[str]), status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'inline_object'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method create_associations" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'inline_object' is set
        if self.api_client.client_side_validation and ('inline_object' not in local_var_params or  # noqa: E501
                                                        local_var_params['inline_object'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `inline_object` when calling `create_associations`")  # noqa: E501

        collection_formats = {}

        path_params = {}

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'inline_object' in local_var_params:
            body_params = local_var_params['inline_object']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/association', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='dict(str, list[str])',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def create_edges(self, data_edge_key, **kwargs):  # noqa: E501
        """Creates a new set of associations.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.create_edges(data_edge_key, async_req=True)
        >>> result = thread.get()

        :param data_edge_key: (required)
        :type data_edge_key: list[DataEdgeKey]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: int
        """
        kwargs['_return_http_data_only'] = True
        return self.create_edges_with_http_info(data_edge_key, **kwargs)  # noqa: E501

    def create_edges_with_http_info(self, data_edge_key, **kwargs):  # noqa: E501
        """Creates a new set of associations.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.create_edges_with_http_info(data_edge_key, async_req=True)
        >>> result = thread.get()

        :param data_edge_key: (required)
        :type data_edge_key: list[DataEdgeKey]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'data_edge_key'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method create_edges" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'data_edge_key' is set
        if self.api_client.client_side_validation and ('data_edge_key' not in local_var_params or  # noqa: E501
                                                        local_var_params['data_edge_key'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `data_edge_key` when calling `create_edges`")  # noqa: E501

        collection_formats = {}

        path_params = {}

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'data_edge_key' in local_var_params:
            body_params = local_var_params['data_edge_key']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/association', 'PUT',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='int',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def create_entities(self, set_id, request_body, **kwargs):  # noqa: E501
        """Creates a new set of 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.create_entities(set_id, request_body, async_req=True)
        >>> result = thread.get()

        :param set_id: (required)
        :type set_id: str
        :param request_body: (required)
        :type request_body: list[dict(str, list[str])]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: list[str]
        """
        kwargs['_return_http_data_only'] = True
        return self.create_entities_with_http_info(set_id, request_body, **kwargs)  # noqa: E501

    def create_entities_with_http_info(self, set_id, request_body, **kwargs):  # noqa: E501
        """Creates a new set of 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.create_entities_with_http_info(set_id, request_body, async_req=True)
        >>> result = thread.get()

        :param set_id: (required)
        :type set_id: str
        :param request_body: (required)
        :type request_body: list[dict(str, list[str])]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(list[str], status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'set_id',
            'request_body'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method create_entities" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'set_id' is set
        if self.api_client.client_side_validation and ('set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `set_id` when calling `create_entities`")  # noqa: E501
        # verify the required parameter 'request_body' is set
        if self.api_client.client_side_validation and ('request_body' not in local_var_params or  # noqa: E501
                                                        local_var_params['request_body'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `request_body` when calling `create_entities`")  # noqa: E501

        collection_formats = {}

        path_params = {}

        query_params = []
        if 'set_id' in local_var_params and local_var_params['set_id'] is not None:  # noqa: E501
            query_params.append(('setId', local_var_params['set_id']))  # noqa: E501

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'request_body' in local_var_params:
            body_params = local_var_params['request_body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='list[str]',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def create_entity_and_association_data(self, data_graph, **kwargs):  # noqa: E501
        """Creates entities and assocations  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.create_entity_and_association_data(data_graph, async_req=True)
        >>> result = thread.get()

        :param data_graph: (required)
        :type data_graph: DataGraph
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: DataGraphIds
        """
        kwargs['_return_http_data_only'] = True
        return self.create_entity_and_association_data_with_http_info(data_graph, **kwargs)  # noqa: E501

    def create_entity_and_association_data_with_http_info(self, data_graph, **kwargs):  # noqa: E501
        """Creates entities and assocations  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.create_entity_and_association_data_with_http_info(data_graph, async_req=True)
        >>> result = thread.get()

        :param data_graph: (required)
        :type data_graph: DataGraph
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(DataGraphIds, status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'data_graph'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method create_entity_and_association_data" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'data_graph' is set
        if self.api_client.client_side_validation and ('data_graph' not in local_var_params or  # noqa: E501
                                                        local_var_params['data_graph'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `data_graph` when calling `create_entity_and_association_data`")  # noqa: E501

        collection_formats = {}

        path_params = {}

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'data_graph' in local_var_params:
            body_params = local_var_params['data_graph']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='DataGraphIds',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def delete_all_entities_from_entity_set(self, entity_set_id, type, **kwargs):  # noqa: E501
        """Clears the Entity matching the given Entity id and all of its neighbor 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.delete_all_entities_from_entity_set(entity_set_id, type, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param type: (required)
        :type type: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: None
        """
        kwargs['_return_http_data_only'] = True
        return self.delete_all_entities_from_entity_set_with_http_info(entity_set_id, type, **kwargs)  # noqa: E501

    def delete_all_entities_from_entity_set_with_http_info(self, entity_set_id, type, **kwargs):  # noqa: E501
        """Clears the Entity matching the given Entity id and all of its neighbor 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.delete_all_entities_from_entity_set_with_http_info(entity_set_id, type, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param type: (required)
        :type type: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: None
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'type'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method delete_all_entities_from_entity_set" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `delete_all_entities_from_entity_set`")  # noqa: E501
        # verify the required parameter 'type' is set
        if self.api_client.client_side_validation and ('type' not in local_var_params or  # noqa: E501
                                                        local_var_params['type'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `type` when calling `delete_all_entities_from_entity_set`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501

        query_params = []
        if 'type' in local_var_params and local_var_params['type'] is not None:  # noqa: E501
            query_params.append(('type', local_var_params['type']))  # noqa: E501

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{entitySetId}/all', 'DELETE',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type=None,  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def delete_entities(self, entity_set_id, type, request_body, **kwargs):  # noqa: E501
        """Deletes multiple entities from an entity set.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.delete_entities(entity_set_id, type, request_body, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param type: (required)
        :type type: str
        :param request_body: (required)
        :type request_body: list[str]
        :param block:
        :type block: bool
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: int
        """
        kwargs['_return_http_data_only'] = True
        return self.delete_entities_with_http_info(entity_set_id, type, request_body, **kwargs)  # noqa: E501

    def delete_entities_with_http_info(self, entity_set_id, type, request_body, **kwargs):  # noqa: E501
        """Deletes multiple entities from an entity set.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.delete_entities_with_http_info(entity_set_id, type, request_body, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param type: (required)
        :type type: str
        :param request_body: (required)
        :type request_body: list[str]
        :param block:
        :type block: bool
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'type',
            'request_body',
            'block'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method delete_entities" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `delete_entities`")  # noqa: E501
        # verify the required parameter 'type' is set
        if self.api_client.client_side_validation and ('type' not in local_var_params or  # noqa: E501
                                                        local_var_params['type'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `type` when calling `delete_entities`")  # noqa: E501
        # verify the required parameter 'request_body' is set
        if self.api_client.client_side_validation and ('request_body' not in local_var_params or  # noqa: E501
                                                        local_var_params['request_body'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `request_body` when calling `delete_entities`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501

        query_params = []
        if 'type' in local_var_params and local_var_params['type'] is not None:  # noqa: E501
            query_params.append(('type', local_var_params['type']))  # noqa: E501
        if 'block' in local_var_params and local_var_params['block'] is not None:  # noqa: E501
            query_params.append(('block', local_var_params['block']))  # noqa: E501

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'request_body' in local_var_params:
            body_params = local_var_params['request_body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{entitySetId}', 'DELETE',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='int',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def delete_entities_and_neighbors(self, entity_set_id, type, entity_neighbors_filter, **kwargs):  # noqa: E501
        """Deletes the entities matching the given entity ids and all of its neighbor entities provided in the filter.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.delete_entities_and_neighbors(entity_set_id, type, entity_neighbors_filter, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param type: (required)
        :type type: str
        :param entity_neighbors_filter: (required)
        :type entity_neighbors_filter: list[EntityNeighborsFilter]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: int
        """
        kwargs['_return_http_data_only'] = True
        return self.delete_entities_and_neighbors_with_http_info(entity_set_id, type, entity_neighbors_filter, **kwargs)  # noqa: E501

    def delete_entities_and_neighbors_with_http_info(self, entity_set_id, type, entity_neighbors_filter, **kwargs):  # noqa: E501
        """Deletes the entities matching the given entity ids and all of its neighbor entities provided in the filter.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.delete_entities_and_neighbors_with_http_info(entity_set_id, type, entity_neighbors_filter, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param type: (required)
        :type type: str
        :param entity_neighbors_filter: (required)
        :type entity_neighbors_filter: list[EntityNeighborsFilter]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'type',
            'entity_neighbors_filter'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method delete_entities_and_neighbors" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `delete_entities_and_neighbors`")  # noqa: E501
        # verify the required parameter 'type' is set
        if self.api_client.client_side_validation and ('type' not in local_var_params or  # noqa: E501
                                                        local_var_params['type'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `type` when calling `delete_entities_and_neighbors`")  # noqa: E501
        # verify the required parameter 'entity_neighbors_filter' is set
        if self.api_client.client_side_validation and ('entity_neighbors_filter' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_neighbors_filter'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_neighbors_filter` when calling `delete_entities_and_neighbors`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501

        query_params = []
        if 'type' in local_var_params and local_var_params['type'] is not None:  # noqa: E501
            query_params.append(('type', local_var_params['type']))  # noqa: E501

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'entity_neighbors_filter' in local_var_params:
            body_params = local_var_params['entity_neighbors_filter']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{entitySetId}/neighbors', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='int',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def delete_entity(self, entity_set_id, entity_key_id, type, **kwargs):  # noqa: E501
        """Deletes a single entity from an entity set.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.delete_entity(entity_set_id, entity_key_id, type, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_key_id: (required)
        :type entity_key_id: str
        :param type: (required)
        :type type: str
        :param block:
        :type block: bool
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: None
        """
        kwargs['_return_http_data_only'] = True
        return self.delete_entity_with_http_info(entity_set_id, entity_key_id, type, **kwargs)  # noqa: E501

    def delete_entity_with_http_info(self, entity_set_id, entity_key_id, type, **kwargs):  # noqa: E501
        """Deletes a single entity from an entity set.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.delete_entity_with_http_info(entity_set_id, entity_key_id, type, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_key_id: (required)
        :type entity_key_id: str
        :param type: (required)
        :type type: str
        :param block:
        :type block: bool
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: None
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'entity_key_id',
            'type',
            'block'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method delete_entity" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `delete_entity`")  # noqa: E501
        # verify the required parameter 'entity_key_id' is set
        if self.api_client.client_side_validation and ('entity_key_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_key_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_key_id` when calling `delete_entity`")  # noqa: E501
        # verify the required parameter 'type' is set
        if self.api_client.client_side_validation and ('type' not in local_var_params or  # noqa: E501
                                                        local_var_params['type'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `type` when calling `delete_entity`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501
        if 'entity_key_id' in local_var_params:
            path_params['entityKeyId'] = local_var_params['entity_key_id']  # noqa: E501

        query_params = []
        if 'type' in local_var_params and local_var_params['type'] is not None:  # noqa: E501
            query_params.append(('type', local_var_params['type']))  # noqa: E501
        if 'block' in local_var_params and local_var_params['block'] is not None:  # noqa: E501
            query_params.append(('block', local_var_params['block']))  # noqa: E501

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{entitySetId}/{entityKeyId}', 'DELETE',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type=None,  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def delete_entity_properties(self, entity_set_id, entity_key_id, type, request_body, **kwargs):  # noqa: E501
        """Deletes properties from an entity.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.delete_entity_properties(entity_set_id, entity_key_id, type, request_body, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_key_id: (required)
        :type entity_key_id: str
        :param type: (required)
        :type type: str
        :param request_body: (required)
        :type request_body: list[str]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: None
        """
        kwargs['_return_http_data_only'] = True
        return self.delete_entity_properties_with_http_info(entity_set_id, entity_key_id, type, request_body, **kwargs)  # noqa: E501

    def delete_entity_properties_with_http_info(self, entity_set_id, entity_key_id, type, request_body, **kwargs):  # noqa: E501
        """Deletes properties from an entity.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.delete_entity_properties_with_http_info(entity_set_id, entity_key_id, type, request_body, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_key_id: (required)
        :type entity_key_id: str
        :param type: (required)
        :type type: str
        :param request_body: (required)
        :type request_body: list[str]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: None
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'entity_key_id',
            'type',
            'request_body'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method delete_entity_properties" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `delete_entity_properties`")  # noqa: E501
        # verify the required parameter 'entity_key_id' is set
        if self.api_client.client_side_validation and ('entity_key_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_key_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_key_id` when calling `delete_entity_properties`")  # noqa: E501
        # verify the required parameter 'type' is set
        if self.api_client.client_side_validation and ('type' not in local_var_params or  # noqa: E501
                                                        local_var_params['type'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `type` when calling `delete_entity_properties`")  # noqa: E501
        # verify the required parameter 'request_body' is set
        if self.api_client.client_side_validation and ('request_body' not in local_var_params or  # noqa: E501
                                                        local_var_params['request_body'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `request_body` when calling `delete_entity_properties`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501
        if 'entity_key_id' in local_var_params:
            path_params['entityKeyId'] = local_var_params['entity_key_id']  # noqa: E501

        query_params = []
        if 'type' in local_var_params and local_var_params['type'] is not None:  # noqa: E501
            query_params.append(('type', local_var_params['type']))  # noqa: E501

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'request_body' in local_var_params:
            body_params = local_var_params['request_body']
        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/{entitySetId}/{entityKeyId}/properties', 'DELETE',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type=None,  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def get_entity(self, entity_set_id, entity_key_id, **kwargs):  # noqa: E501
        """Loads a single entity by its entityKeyId and entitySetId  # 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(entity_set_id, entity_key_id, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_key_id: (required)
        :type entity_key_id: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: dict(str, list[str])
        """
        kwargs['_return_http_data_only'] = True
        return self.get_entity_with_http_info(entity_set_id, entity_key_id, **kwargs)  # noqa: E501

    def get_entity_with_http_info(self, entity_set_id, entity_key_id, **kwargs):  # noqa: E501
        """Loads a single entity by its entityKeyId and entitySetId  # 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_with_http_info(entity_set_id, entity_key_id, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_key_id: (required)
        :type entity_key_id: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(dict(str, list[str]), status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'entity_key_id'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method get_entity" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `get_entity`")  # noqa: E501
        # verify the required parameter 'entity_key_id' is set
        if self.api_client.client_side_validation and ('entity_key_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_key_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_key_id` when calling `get_entity`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501
        if 'entity_key_id' in local_var_params:
            path_params['entityKeyId'] = local_var_params['entity_key_id']  # noqa: E501

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/{entitySetId}/{entityKeyId}', 'GET',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='dict(str, list[str])',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def get_entity_property_values(self, entity_set_id, entity_key_id, property_type_id, **kwargs):  # noqa: E501
        """Loads property  values for a single entity by its entityKeyId, entitySetId and propertyTypeId  # 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_property_values(entity_set_id, entity_key_id, property_type_id, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_key_id: (required)
        :type entity_key_id: str
        :param property_type_id: (required)
        :type property_type_id: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: list[str]
        """
        kwargs['_return_http_data_only'] = True
        return self.get_entity_property_values_with_http_info(entity_set_id, entity_key_id, property_type_id, **kwargs)  # noqa: E501

    def get_entity_property_values_with_http_info(self, entity_set_id, entity_key_id, property_type_id, **kwargs):  # noqa: E501
        """Loads property  values for a single entity by its entityKeyId, entitySetId and propertyTypeId  # 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_property_values_with_http_info(entity_set_id, entity_key_id, property_type_id, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_key_id: (required)
        :type entity_key_id: str
        :param property_type_id: (required)
        :type property_type_id: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(list[str], status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'entity_key_id',
            'property_type_id'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method get_entity_property_values" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `get_entity_property_values`")  # noqa: E501
        # verify the required parameter 'entity_key_id' is set
        if self.api_client.client_side_validation and ('entity_key_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_key_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_key_id` when calling `get_entity_property_values`")  # noqa: E501
        # verify the required parameter 'property_type_id' is set
        if self.api_client.client_side_validation and ('property_type_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['property_type_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `property_type_id` when calling `get_entity_property_values`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501
        if 'entity_key_id' in local_var_params:
            path_params['entityKeyId'] = local_var_params['entity_key_id']  # noqa: E501
        if 'property_type_id' in local_var_params:
            path_params['propertyTypeId'] = local_var_params['property_type_id']  # noqa: E501

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/{entitySetId}/{entityKeyId}/{propertyTypeId}', 'GET',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='list[str]',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def get_entity_set_size(self, entity_set_id, **kwargs):  # noqa: E501
        """Gets the number of entities in an entity set.  # 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_set_size(entity_set_id, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: int
        """
        kwargs['_return_http_data_only'] = True
        return self.get_entity_set_size_with_http_info(entity_set_id, **kwargs)  # noqa: E501

    def get_entity_set_size_with_http_info(self, entity_set_id, **kwargs):  # noqa: E501
        """Gets the number of entities in an entity set.  # 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_set_size_with_http_info(entity_set_id, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method get_entity_set_size" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `get_entity_set_size`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/{entitySetId}/count', 'GET',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='int',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def load_entity_set_data(self, entity_set_id, **kwargs):  # noqa: E501
        """Gets an iterable containing the entity data, using property type FQNs as key  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.load_entity_set_data(entity_set_id, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: list[dict(str, list[str])]
        """
        kwargs['_return_http_data_only'] = True
        return self.load_entity_set_data_with_http_info(entity_set_id, **kwargs)  # noqa: E501

    def load_entity_set_data_with_http_info(self, entity_set_id, **kwargs):  # noqa: E501
        """Gets an iterable containing the entity data, using property type FQNs as key  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.load_entity_set_data_with_http_info(entity_set_id, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(list[dict(str, list[str])], status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method load_entity_set_data" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `load_entity_set_data`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{entitySetId}', 'GET',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='list[dict(str, list[str])]',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def load_filtered_entity_set_data(self, entity_set_id, filtered_data_page_definition, **kwargs):  # noqa: E501
        """Loads data in multiple pages  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.load_filtered_entity_set_data(entity_set_id, filtered_data_page_definition, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param filtered_data_page_definition: (required)
        :type filtered_data_page_definition: list[FilteredDataPageDefinition]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: list[dict(str, list[str])]
        """
        kwargs['_return_http_data_only'] = True
        return self.load_filtered_entity_set_data_with_http_info(entity_set_id, filtered_data_page_definition, **kwargs)  # noqa: E501

    def load_filtered_entity_set_data_with_http_info(self, entity_set_id, filtered_data_page_definition, **kwargs):  # noqa: E501
        """Loads data in multiple pages  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.load_filtered_entity_set_data_with_http_info(entity_set_id, filtered_data_page_definition, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param filtered_data_page_definition: (required)
        :type filtered_data_page_definition: list[FilteredDataPageDefinition]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(list[dict(str, list[str])], status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'filtered_data_page_definition'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method load_filtered_entity_set_data" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `load_filtered_entity_set_data`")  # noqa: E501
        # verify the required parameter 'filtered_data_page_definition' is set
        if self.api_client.client_side_validation and ('filtered_data_page_definition' not in local_var_params or  # noqa: E501
                                                        local_var_params['filtered_data_page_definition'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `filtered_data_page_definition` when calling `load_filtered_entity_set_data`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'filtered_data_page_definition' in local_var_params:
            body_params = local_var_params['filtered_data_page_definition']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{entitySetId}/filtered', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='list[dict(str, list[str])]',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def load_linked_entity_set_breakdown(self, linked_entity_set_id, entity_set_selection, **kwargs):  # noqa: E501
        """Loads a linked entity set breakdown with the selected linked entities and properties.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.load_linked_entity_set_breakdown(linked_entity_set_id, entity_set_selection, async_req=True)
        >>> result = thread.get()

        :param linked_entity_set_id: (required)
        :type linked_entity_set_id: str
        :param entity_set_selection: (required)
        :type entity_set_selection: list[EntitySetSelection]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: dict(str, dict(str, dict(str, dict(str, list[str]))))
        """
        kwargs['_return_http_data_only'] = True
        return self.load_linked_entity_set_breakdown_with_http_info(linked_entity_set_id, entity_set_selection, **kwargs)  # noqa: E501

    def load_linked_entity_set_breakdown_with_http_info(self, linked_entity_set_id, entity_set_selection, **kwargs):  # noqa: E501
        """Loads a linked entity set breakdown with the selected linked entities and properties.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.load_linked_entity_set_breakdown_with_http_info(linked_entity_set_id, entity_set_selection, async_req=True)
        >>> result = thread.get()

        :param linked_entity_set_id: (required)
        :type linked_entity_set_id: str
        :param entity_set_selection: (required)
        :type entity_set_selection: list[EntitySetSelection]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(dict(str, dict(str, dict(str, dict(str, list[str])))), status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'linked_entity_set_id',
            'entity_set_selection'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method load_linked_entity_set_breakdown" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'linked_entity_set_id' is set
        if self.api_client.client_side_validation and ('linked_entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['linked_entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `linked_entity_set_id` when calling `load_linked_entity_set_breakdown`")  # noqa: E501
        # verify the required parameter 'entity_set_selection' is set
        if self.api_client.client_side_validation and ('entity_set_selection' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_selection'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_selection` when calling `load_linked_entity_set_breakdown`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'linked_entity_set_id' in local_var_params:
            path_params['linkedEntitySetId'] = local_var_params['linked_entity_set_id']  # noqa: E501

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'entity_set_selection' in local_var_params:
            body_params = local_var_params['entity_set_selection']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{linkedEntitySetId}/detailed', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='dict(str, dict(str, dict(str, dict(str, list[str]))))',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def load_selected_entity_set_data(self, entity_set_id, entity_set_selection, **kwargs):  # noqa: E501
        """Gets a list of entities by UUIDs  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.load_selected_entity_set_data(entity_set_id, entity_set_selection, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_set_selection: (required)
        :type entity_set_selection: list[EntitySetSelection]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: list[dict(str, list[str])]
        """
        kwargs['_return_http_data_only'] = True
        return self.load_selected_entity_set_data_with_http_info(entity_set_id, entity_set_selection, **kwargs)  # noqa: E501

    def load_selected_entity_set_data_with_http_info(self, entity_set_id, entity_set_selection, **kwargs):  # noqa: E501
        """Gets a list of entities by UUIDs  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.load_selected_entity_set_data_with_http_info(entity_set_id, entity_set_selection, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_set_selection: (required)
        :type entity_set_selection: list[EntitySetSelection]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(list[dict(str, list[str])], status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'entity_set_selection'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method load_selected_entity_set_data" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `load_selected_entity_set_data`")  # noqa: E501
        # verify the required parameter 'entity_set_selection' is set
        if self.api_client.client_side_validation and ('entity_set_selection' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_selection'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_selection` when calling `load_selected_entity_set_data`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'entity_set_selection' in local_var_params:
            body_params = local_var_params['entity_set_selection']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{entitySetId}', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='list[dict(str, list[str])]',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def replace_association_data(self, partial, request_body, **kwargs):  # noqa: E501
        """Replaces Association Data  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.replace_association_data(partial, request_body, async_req=True)
        >>> result = thread.get()

        :param partial: (required)
        :type partial: bool
        :param request_body: (required)
        :type request_body: dict(str, dict(str, DataEdge))
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: int
        """
        kwargs['_return_http_data_only'] = True
        return self.replace_association_data_with_http_info(partial, request_body, **kwargs)  # noqa: E501

    def replace_association_data_with_http_info(self, partial, request_body, **kwargs):  # noqa: E501
        """Replaces Association Data  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.replace_association_data_with_http_info(partial, request_body, async_req=True)
        >>> result = thread.get()

        :param partial: (required)
        :type partial: bool
        :param request_body: (required)
        :type request_body: dict(str, dict(str, DataEdge))
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'partial',
            'request_body'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method replace_association_data" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'partial' is set
        if self.api_client.client_side_validation and ('partial' not in local_var_params or  # noqa: E501
                                                        local_var_params['partial'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `partial` when calling `replace_association_data`")  # noqa: E501
        # verify the required parameter 'request_body' is set
        if self.api_client.client_side_validation and ('request_body' not in local_var_params or  # noqa: E501
                                                        local_var_params['request_body'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `request_body` when calling `replace_association_data`")  # noqa: E501

        collection_formats = {}

        path_params = {}

        query_params = []
        if 'partial' in local_var_params and local_var_params['partial'] is not None:  # noqa: E501
            query_params.append(('partial', local_var_params['partial']))  # noqa: E501

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'request_body' in local_var_params:
            body_params = local_var_params['request_body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/association', 'PATCH',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='int',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def replace_entity_properties(self, entity_set_id, request_body, **kwargs):  # noqa: E501
        """Replaces Entity Properties  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.replace_entity_properties(entity_set_id, request_body, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param request_body: (required)
        :type request_body: dict(str, dict(str, list[dict(str, str)]))
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: int
        """
        kwargs['_return_http_data_only'] = True
        return self.replace_entity_properties_with_http_info(entity_set_id, request_body, **kwargs)  # noqa: E501

    def replace_entity_properties_with_http_info(self, entity_set_id, request_body, **kwargs):  # noqa: E501
        """Replaces Entity Properties  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.replace_entity_properties_with_http_info(entity_set_id, request_body, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param request_body: (required)
        :type request_body: dict(str, dict(str, list[dict(str, str)]))
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'request_body'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method replace_entity_properties" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `replace_entity_properties`")  # noqa: E501
        # verify the required parameter 'request_body' is set
        if self.api_client.client_side_validation and ('request_body' not in local_var_params or  # noqa: E501
                                                        local_var_params['request_body'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `request_body` when calling `replace_entity_properties`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'request_body' in local_var_params:
            body_params = local_var_params['request_body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{entitySetId}', 'PATCH',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='int',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def update_entities_in_entity_set(self, entity_set_id, type, request_body, **kwargs):  # noqa: E501
        """Perform one of the following bulk update operations on entities (type = Merge) adds new properties without affecting existing data, (type = PartialReplace) replaces all values for supplied property types, but does not not affect other property types for an entity, (type = Replace) replaces all entity data with the supplied properties.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.update_entities_in_entity_set(entity_set_id, type, request_body, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param type: (required)
        :type type: str
        :param request_body: (required)
        :type request_body: dict(str, dict(str, list[str]))
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: int
        """
        kwargs['_return_http_data_only'] = True
        return self.update_entities_in_entity_set_with_http_info(entity_set_id, type, request_body, **kwargs)  # noqa: E501

    def update_entities_in_entity_set_with_http_info(self, entity_set_id, type, request_body, **kwargs):  # noqa: E501
        """Perform one of the following bulk update operations on entities (type = Merge) adds new properties without affecting existing data, (type = PartialReplace) replaces all values for supplied property types, but does not not affect other property types for an entity, (type = Replace) replaces all entity data with the supplied properties.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.update_entities_in_entity_set_with_http_info(entity_set_id, type, request_body, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param type: (required)
        :type type: str
        :param request_body: (required)
        :type request_body: dict(str, dict(str, list[str]))
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'type',
            'request_body'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method update_entities_in_entity_set" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `update_entities_in_entity_set`")  # noqa: E501
        # verify the required parameter 'type' is set
        if self.api_client.client_side_validation and ('type' not in local_var_params or  # noqa: E501
                                                        local_var_params['type'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `type` when calling `update_entities_in_entity_set`")  # noqa: E501
        # verify the required parameter 'request_body' is set
        if self.api_client.client_side_validation and ('request_body' not in local_var_params or  # noqa: E501
                                                        local_var_params['request_body'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `request_body` when calling `update_entities_in_entity_set`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501

        query_params = []
        if 'type' in local_var_params and local_var_params['type'] is not None:  # noqa: E501
            query_params.append(('type', local_var_params['type']))  # noqa: E501

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'request_body' in local_var_params:
            body_params = local_var_params['request_body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{entitySetId}', 'PUT',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='int',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

# coding: utf-8

"""
    OpenLattice API

    OpenLattice API  # noqa: E501

    The version of the OpenAPI document: 0.0.1
    Contact: <EMAIL>
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import re  # noqa: F401

# python 2 and python 3 compatibility library
import six

from openlattice.api_client import ApiClient
from openlattice.exceptions import (  # noqa: F401
    ApiTypeError,
    ApiValueError
)


class DataApi(object):
    """NOTE: This class is auto generated by OpenAPI Generator
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    """

    def __init__(self, api_client=None):
        if api_client is None:
            api_client = ApiClient()
        self.api_client = api_client

    def create_associations(self, inline_object, **kwargs):  # noqa: E501
        """Creates a new set of associations.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.create_associations(inline_object, async_req=True)
        >>> result = thread.get()

        :param inline_object: (required)
        :type inline_object: InlineObject
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: dict(str, list[str])
        """
        kwargs['_return_http_data_only'] = True
        return self.create_associations_with_http_info(inline_object, **kwargs)  # noqa: E501

    def create_associations_with_http_info(self, inline_object, **kwargs):  # noqa: E501
        """Creates a new set of associations.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.create_associations_with_http_info(inline_object, async_req=True)
        >>> result = thread.get()

        :param inline_object: (required)
        :type inline_object: InlineObject
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(dict(str, list[str]), status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'inline_object'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method create_associations" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'inline_object' is set
        if self.api_client.client_side_validation and ('inline_object' not in local_var_params or  # noqa: E501
                                                        local_var_params['inline_object'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `inline_object` when calling `create_associations`")  # noqa: E501

        collection_formats = {}

        path_params = {}

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'inline_object' in local_var_params:
            body_params = local_var_params['inline_object']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/association', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='dict(str, list[str])',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def create_edges(self, data_edge_key, **kwargs):  # noqa: E501
        """Creates a new set of associations.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.create_edges(data_edge_key, async_req=True)
        >>> result = thread.get()

        :param data_edge_key: (required)
        :type data_edge_key: list[DataEdgeKey]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: int
        """
        kwargs['_return_http_data_only'] = True
        return self.create_edges_with_http_info(data_edge_key, **kwargs)  # noqa: E501

    def create_edges_with_http_info(self, data_edge_key, **kwargs):  # noqa: E501
        """Creates a new set of associations.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.create_edges_with_http_info(data_edge_key, async_req=True)
        >>> result = thread.get()

        :param data_edge_key: (required)
        :type data_edge_key: list[DataEdgeKey]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'data_edge_key'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method create_edges" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'data_edge_key' is set
        if self.api_client.client_side_validation and ('data_edge_key' not in local_var_params or  # noqa: E501
                                                        local_var_params['data_edge_key'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `data_edge_key` when calling `create_edges`")  # noqa: E501

        collection_formats = {}

        path_params = {}

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'data_edge_key' in local_var_params:
            body_params = local_var_params['data_edge_key']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/association', 'PUT',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='int',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def create_entities(self, set_id, request_body, **kwargs):  # noqa: E501
        """Creates a new set of 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.create_entities(set_id, request_body, async_req=True)
        >>> result = thread.get()

        :param set_id: (required)
        :type set_id: str
        :param request_body: (required)
        :type request_body: list[dict(str, list[str])]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: list[str]
        """
        kwargs['_return_http_data_only'] = True
        return self.create_entities_with_http_info(set_id, request_body, **kwargs)  # noqa: E501

    def create_entities_with_http_info(self, set_id, request_body, **kwargs):  # noqa: E501
        """Creates a new set of 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.create_entities_with_http_info(set_id, request_body, async_req=True)
        >>> result = thread.get()

        :param set_id: (required)
        :type set_id: str
        :param request_body: (required)
        :type request_body: list[dict(str, list[str])]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(list[str], status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'set_id',
            'request_body'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method create_entities" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'set_id' is set
        if self.api_client.client_side_validation and ('set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `set_id` when calling `create_entities`")  # noqa: E501
        # verify the required parameter 'request_body' is set
        if self.api_client.client_side_validation and ('request_body' not in local_var_params or  # noqa: E501
                                                        local_var_params['request_body'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `request_body` when calling `create_entities`")  # noqa: E501

        collection_formats = {}

        path_params = {}

        query_params = []
        if 'set_id' in local_var_params and local_var_params['set_id'] is not None:  # noqa: E501
            query_params.append(('setId', local_var_params['set_id']))  # noqa: E501

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'request_body' in local_var_params:
            body_params = local_var_params['request_body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='list[str]',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def create_entity_and_association_data(self, data_graph, **kwargs):  # noqa: E501
        """Creates entities and assocations  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.create_entity_and_association_data(data_graph, async_req=True)
        >>> result = thread.get()

        :param data_graph: (required)
        :type data_graph: DataGraph
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: DataGraphIds
        """
        kwargs['_return_http_data_only'] = True
        return self.create_entity_and_association_data_with_http_info(data_graph, **kwargs)  # noqa: E501

    def create_entity_and_association_data_with_http_info(self, data_graph, **kwargs):  # noqa: E501
        """Creates entities and assocations  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.create_entity_and_association_data_with_http_info(data_graph, async_req=True)
        >>> result = thread.get()

        :param data_graph: (required)
        :type data_graph: DataGraph
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(DataGraphIds, status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'data_graph'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method create_entity_and_association_data" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'data_graph' is set
        if self.api_client.client_side_validation and ('data_graph' not in local_var_params or  # noqa: E501
                                                        local_var_params['data_graph'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `data_graph` when calling `create_entity_and_association_data`")  # noqa: E501

        collection_formats = {}

        path_params = {}

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'data_graph' in local_var_params:
            body_params = local_var_params['data_graph']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='DataGraphIds',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def delete_all_entities_from_entity_set(self, entity_set_id, type, **kwargs):  # noqa: E501
        """Clears the Entity matching the given Entity id and all of its neighbor 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.delete_all_entities_from_entity_set(entity_set_id, type, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param type: (required)
        :type type: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: None
        """
        kwargs['_return_http_data_only'] = True
        return self.delete_all_entities_from_entity_set_with_http_info(entity_set_id, type, **kwargs)  # noqa: E501

    def delete_all_entities_from_entity_set_with_http_info(self, entity_set_id, type, **kwargs):  # noqa: E501
        """Clears the Entity matching the given Entity id and all of its neighbor 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.delete_all_entities_from_entity_set_with_http_info(entity_set_id, type, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param type: (required)
        :type type: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: None
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'type'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method delete_all_entities_from_entity_set" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `delete_all_entities_from_entity_set`")  # noqa: E501
        # verify the required parameter 'type' is set
        if self.api_client.client_side_validation and ('type' not in local_var_params or  # noqa: E501
                                                        local_var_params['type'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `type` when calling `delete_all_entities_from_entity_set`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501

        query_params = []
        if 'type' in local_var_params and local_var_params['type'] is not None:  # noqa: E501
            query_params.append(('type', local_var_params['type']))  # noqa: E501

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{entitySetId}/all', 'DELETE',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type=None,  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def delete_entities(self, entity_set_id, type, request_body, **kwargs):  # noqa: E501
        """Deletes multiple entities from an entity set.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.delete_entities(entity_set_id, type, request_body, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param type: (required)
        :type type: str
        :param request_body: (required)
        :type request_body: list[str]
        :param block:
        :type block: bool
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: int
        """
        kwargs['_return_http_data_only'] = True
        return self.delete_entities_with_http_info(entity_set_id, type, request_body, **kwargs)  # noqa: E501

    def delete_entities_with_http_info(self, entity_set_id, type, request_body, **kwargs):  # noqa: E501
        """Deletes multiple entities from an entity set.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.delete_entities_with_http_info(entity_set_id, type, request_body, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param type: (required)
        :type type: str
        :param request_body: (required)
        :type request_body: list[str]
        :param block:
        :type block: bool
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'type',
            'request_body',
            'block'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method delete_entities" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `delete_entities`")  # noqa: E501
        # verify the required parameter 'type' is set
        if self.api_client.client_side_validation and ('type' not in local_var_params or  # noqa: E501
                                                        local_var_params['type'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `type` when calling `delete_entities`")  # noqa: E501
        # verify the required parameter 'request_body' is set
        if self.api_client.client_side_validation and ('request_body' not in local_var_params or  # noqa: E501
                                                        local_var_params['request_body'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `request_body` when calling `delete_entities`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501

        query_params = []
        if 'type' in local_var_params and local_var_params['type'] is not None:  # noqa: E501
            query_params.append(('type', local_var_params['type']))  # noqa: E501
        if 'block' in local_var_params and local_var_params['block'] is not None:  # noqa: E501
            query_params.append(('block', local_var_params['block']))  # noqa: E501

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'request_body' in local_var_params:
            body_params = local_var_params['request_body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{entitySetId}', 'DELETE',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='int',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def delete_entities_and_neighbors(self, entity_set_id, type, entity_neighbors_filter, **kwargs):  # noqa: E501
        """Deletes the entities matching the given entity ids and all of its neighbor entities provided in the filter.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.delete_entities_and_neighbors(entity_set_id, type, entity_neighbors_filter, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param type: (required)
        :type type: str
        :param entity_neighbors_filter: (required)
        :type entity_neighbors_filter: list[EntityNeighborsFilter]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: int
        """
        kwargs['_return_http_data_only'] = True
        return self.delete_entities_and_neighbors_with_http_info(entity_set_id, type, entity_neighbors_filter, **kwargs)  # noqa: E501

    def delete_entities_and_neighbors_with_http_info(self, entity_set_id, type, entity_neighbors_filter, **kwargs):  # noqa: E501
        """Deletes the entities matching the given entity ids and all of its neighbor entities provided in the filter.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.delete_entities_and_neighbors_with_http_info(entity_set_id, type, entity_neighbors_filter, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param type: (required)
        :type type: str
        :param entity_neighbors_filter: (required)
        :type entity_neighbors_filter: list[EntityNeighborsFilter]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'type',
            'entity_neighbors_filter'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method delete_entities_and_neighbors" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `delete_entities_and_neighbors`")  # noqa: E501
        # verify the required parameter 'type' is set
        if self.api_client.client_side_validation and ('type' not in local_var_params or  # noqa: E501
                                                        local_var_params['type'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `type` when calling `delete_entities_and_neighbors`")  # noqa: E501
        # verify the required parameter 'entity_neighbors_filter' is set
        if self.api_client.client_side_validation and ('entity_neighbors_filter' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_neighbors_filter'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_neighbors_filter` when calling `delete_entities_and_neighbors`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501

        query_params = []
        if 'type' in local_var_params and local_var_params['type'] is not None:  # noqa: E501
            query_params.append(('type', local_var_params['type']))  # noqa: E501

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'entity_neighbors_filter' in local_var_params:
            body_params = local_var_params['entity_neighbors_filter']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{entitySetId}/neighbors', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='int',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def delete_entity(self, entity_set_id, entity_key_id, type, **kwargs):  # noqa: E501
        """Deletes a single entity from an entity set.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.delete_entity(entity_set_id, entity_key_id, type, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_key_id: (required)
        :type entity_key_id: str
        :param type: (required)
        :type type: str
        :param block:
        :type block: bool
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: None
        """
        kwargs['_return_http_data_only'] = True
        return self.delete_entity_with_http_info(entity_set_id, entity_key_id, type, **kwargs)  # noqa: E501

    def delete_entity_with_http_info(self, entity_set_id, entity_key_id, type, **kwargs):  # noqa: E501
        """Deletes a single entity from an entity set.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.delete_entity_with_http_info(entity_set_id, entity_key_id, type, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_key_id: (required)
        :type entity_key_id: str
        :param type: (required)
        :type type: str
        :param block:
        :type block: bool
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: None
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'entity_key_id',
            'type',
            'block'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method delete_entity" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `delete_entity`")  # noqa: E501
        # verify the required parameter 'entity_key_id' is set
        if self.api_client.client_side_validation and ('entity_key_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_key_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_key_id` when calling `delete_entity`")  # noqa: E501
        # verify the required parameter 'type' is set
        if self.api_client.client_side_validation and ('type' not in local_var_params or  # noqa: E501
                                                        local_var_params['type'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `type` when calling `delete_entity`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501
        if 'entity_key_id' in local_var_params:
            path_params['entityKeyId'] = local_var_params['entity_key_id']  # noqa: E501

        query_params = []
        if 'type' in local_var_params and local_var_params['type'] is not None:  # noqa: E501
            query_params.append(('type', local_var_params['type']))  # noqa: E501
        if 'block' in local_var_params and local_var_params['block'] is not None:  # noqa: E501
            query_params.append(('block', local_var_params['block']))  # noqa: E501

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{entitySetId}/{entityKeyId}', 'DELETE',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type=None,  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def delete_entity_properties(self, entity_set_id, entity_key_id, type, request_body, **kwargs):  # noqa: E501
        """Deletes properties from an entity.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.delete_entity_properties(entity_set_id, entity_key_id, type, request_body, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_key_id: (required)
        :type entity_key_id: str
        :param type: (required)
        :type type: str
        :param request_body: (required)
        :type request_body: list[str]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: None
        """
        kwargs['_return_http_data_only'] = True
        return self.delete_entity_properties_with_http_info(entity_set_id, entity_key_id, type, request_body, **kwargs)  # noqa: E501

    def delete_entity_properties_with_http_info(self, entity_set_id, entity_key_id, type, request_body, **kwargs):  # noqa: E501
        """Deletes properties from an entity.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.delete_entity_properties_with_http_info(entity_set_id, entity_key_id, type, request_body, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_key_id: (required)
        :type entity_key_id: str
        :param type: (required)
        :type type: str
        :param request_body: (required)
        :type request_body: list[str]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: None
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'entity_key_id',
            'type',
            'request_body'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method delete_entity_properties" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `delete_entity_properties`")  # noqa: E501
        # verify the required parameter 'entity_key_id' is set
        if self.api_client.client_side_validation and ('entity_key_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_key_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_key_id` when calling `delete_entity_properties`")  # noqa: E501
        # verify the required parameter 'type' is set
        if self.api_client.client_side_validation and ('type' not in local_var_params or  # noqa: E501
                                                        local_var_params['type'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `type` when calling `delete_entity_properties`")  # noqa: E501
        # verify the required parameter 'request_body' is set
        if self.api_client.client_side_validation and ('request_body' not in local_var_params or  # noqa: E501
                                                        local_var_params['request_body'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `request_body` when calling `delete_entity_properties`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501
        if 'entity_key_id' in local_var_params:
            path_params['entityKeyId'] = local_var_params['entity_key_id']  # noqa: E501

        query_params = []
        if 'type' in local_var_params and local_var_params['type'] is not None:  # noqa: E501
            query_params.append(('type', local_var_params['type']))  # noqa: E501

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'request_body' in local_var_params:
            body_params = local_var_params['request_body']
        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/{entitySetId}/{entityKeyId}/properties', 'DELETE',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type=None,  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def get_entity(self, entity_set_id, entity_key_id, **kwargs):  # noqa: E501
        """Loads a single entity by its entityKeyId and entitySetId  # 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(entity_set_id, entity_key_id, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_key_id: (required)
        :type entity_key_id: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: dict(str, list[str])
        """
        kwargs['_return_http_data_only'] = True
        return self.get_entity_with_http_info(entity_set_id, entity_key_id, **kwargs)  # noqa: E501

    def get_entity_with_http_info(self, entity_set_id, entity_key_id, **kwargs):  # noqa: E501
        """Loads a single entity by its entityKeyId and entitySetId  # 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_with_http_info(entity_set_id, entity_key_id, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_key_id: (required)
        :type entity_key_id: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(dict(str, list[str]), status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'entity_key_id'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method get_entity" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `get_entity`")  # noqa: E501
        # verify the required parameter 'entity_key_id' is set
        if self.api_client.client_side_validation and ('entity_key_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_key_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_key_id` when calling `get_entity`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501
        if 'entity_key_id' in local_var_params:
            path_params['entityKeyId'] = local_var_params['entity_key_id']  # noqa: E501

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/{entitySetId}/{entityKeyId}', 'GET',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='dict(str, list[str])',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def get_entity_property_values(self, entity_set_id, entity_key_id, property_type_id, **kwargs):  # noqa: E501
        """Loads property  values for a single entity by its entityKeyId, entitySetId and propertyTypeId  # 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_property_values(entity_set_id, entity_key_id, property_type_id, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_key_id: (required)
        :type entity_key_id: str
        :param property_type_id: (required)
        :type property_type_id: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: list[str]
        """
        kwargs['_return_http_data_only'] = True
        return self.get_entity_property_values_with_http_info(entity_set_id, entity_key_id, property_type_id, **kwargs)  # noqa: E501

    def get_entity_property_values_with_http_info(self, entity_set_id, entity_key_id, property_type_id, **kwargs):  # noqa: E501
        """Loads property  values for a single entity by its entityKeyId, entitySetId and propertyTypeId  # 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_property_values_with_http_info(entity_set_id, entity_key_id, property_type_id, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_key_id: (required)
        :type entity_key_id: str
        :param property_type_id: (required)
        :type property_type_id: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(list[str], status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'entity_key_id',
            'property_type_id'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method get_entity_property_values" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `get_entity_property_values`")  # noqa: E501
        # verify the required parameter 'entity_key_id' is set
        if self.api_client.client_side_validation and ('entity_key_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_key_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_key_id` when calling `get_entity_property_values`")  # noqa: E501
        # verify the required parameter 'property_type_id' is set
        if self.api_client.client_side_validation and ('property_type_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['property_type_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `property_type_id` when calling `get_entity_property_values`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501
        if 'entity_key_id' in local_var_params:
            path_params['entityKeyId'] = local_var_params['entity_key_id']  # noqa: E501
        if 'property_type_id' in local_var_params:
            path_params['propertyTypeId'] = local_var_params['property_type_id']  # noqa: E501

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/{entitySetId}/{entityKeyId}/{propertyTypeId}', 'GET',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='list[str]',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def get_entity_set_size(self, entity_set_id, **kwargs):  # noqa: E501
        """Gets the number of entities in an entity set.  # 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_set_size(entity_set_id, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: int
        """
        kwargs['_return_http_data_only'] = True
        return self.get_entity_set_size_with_http_info(entity_set_id, **kwargs)  # noqa: E501

    def get_entity_set_size_with_http_info(self, entity_set_id, **kwargs):  # noqa: E501
        """Gets the number of entities in an entity set.  # 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_set_size_with_http_info(entity_set_id, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method get_entity_set_size" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `get_entity_set_size`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/{entitySetId}/count', 'GET',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='int',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def load_entity_set_data(self, entity_set_id, **kwargs):  # noqa: E501
        """Gets an iterable containing the entity data, using property type FQNs as key  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.load_entity_set_data(entity_set_id, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: list[dict(str, list[str])]
        """
        kwargs['_return_http_data_only'] = True
        return self.load_entity_set_data_with_http_info(entity_set_id, **kwargs)  # noqa: E501

    def load_entity_set_data_with_http_info(self, entity_set_id, **kwargs):  # noqa: E501
        """Gets an iterable containing the entity data, using property type FQNs as key  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.load_entity_set_data_with_http_info(entity_set_id, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(list[dict(str, list[str])], status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method load_entity_set_data" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `load_entity_set_data`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{entitySetId}', 'GET',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='list[dict(str, list[str])]',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def load_filtered_entity_set_data(self, entity_set_id, filtered_data_page_definition, **kwargs):  # noqa: E501
        """Loads data in multiple pages  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.load_filtered_entity_set_data(entity_set_id, filtered_data_page_definition, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param filtered_data_page_definition: (required)
        :type filtered_data_page_definition: list[FilteredDataPageDefinition]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: list[dict(str, list[str])]
        """
        kwargs['_return_http_data_only'] = True
        return self.load_filtered_entity_set_data_with_http_info(entity_set_id, filtered_data_page_definition, **kwargs)  # noqa: E501

    def load_filtered_entity_set_data_with_http_info(self, entity_set_id, filtered_data_page_definition, **kwargs):  # noqa: E501
        """Loads data in multiple pages  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.load_filtered_entity_set_data_with_http_info(entity_set_id, filtered_data_page_definition, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param filtered_data_page_definition: (required)
        :type filtered_data_page_definition: list[FilteredDataPageDefinition]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(list[dict(str, list[str])], status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'filtered_data_page_definition'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method load_filtered_entity_set_data" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `load_filtered_entity_set_data`")  # noqa: E501
        # verify the required parameter 'filtered_data_page_definition' is set
        if self.api_client.client_side_validation and ('filtered_data_page_definition' not in local_var_params or  # noqa: E501
                                                        local_var_params['filtered_data_page_definition'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `filtered_data_page_definition` when calling `load_filtered_entity_set_data`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'filtered_data_page_definition' in local_var_params:
            body_params = local_var_params['filtered_data_page_definition']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{entitySetId}/filtered', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='list[dict(str, list[str])]',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def load_linked_entity_set_breakdown(self, linked_entity_set_id, entity_set_selection, **kwargs):  # noqa: E501
        """Loads a linked entity set breakdown with the selected linked entities and properties.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.load_linked_entity_set_breakdown(linked_entity_set_id, entity_set_selection, async_req=True)
        >>> result = thread.get()

        :param linked_entity_set_id: (required)
        :type linked_entity_set_id: str
        :param entity_set_selection: (required)
        :type entity_set_selection: list[EntitySetSelection]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: dict(str, dict(str, dict(str, dict(str, list[str]))))
        """
        kwargs['_return_http_data_only'] = True
        return self.load_linked_entity_set_breakdown_with_http_info(linked_entity_set_id, entity_set_selection, **kwargs)  # noqa: E501

    def load_linked_entity_set_breakdown_with_http_info(self, linked_entity_set_id, entity_set_selection, **kwargs):  # noqa: E501
        """Loads a linked entity set breakdown with the selected linked entities and properties.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.load_linked_entity_set_breakdown_with_http_info(linked_entity_set_id, entity_set_selection, async_req=True)
        >>> result = thread.get()

        :param linked_entity_set_id: (required)
        :type linked_entity_set_id: str
        :param entity_set_selection: (required)
        :type entity_set_selection: list[EntitySetSelection]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(dict(str, dict(str, dict(str, dict(str, list[str])))), status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'linked_entity_set_id',
            'entity_set_selection'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method load_linked_entity_set_breakdown" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'linked_entity_set_id' is set
        if self.api_client.client_side_validation and ('linked_entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['linked_entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `linked_entity_set_id` when calling `load_linked_entity_set_breakdown`")  # noqa: E501
        # verify the required parameter 'entity_set_selection' is set
        if self.api_client.client_side_validation and ('entity_set_selection' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_selection'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_selection` when calling `load_linked_entity_set_breakdown`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'linked_entity_set_id' in local_var_params:
            path_params['linkedEntitySetId'] = local_var_params['linked_entity_set_id']  # noqa: E501

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'entity_set_selection' in local_var_params:
            body_params = local_var_params['entity_set_selection']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{linkedEntitySetId}/detailed', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='dict(str, dict(str, dict(str, dict(str, list[str]))))',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def load_selected_entity_set_data(self, entity_set_id, entity_set_selection, **kwargs):  # noqa: E501
        """Gets a list of entities by UUIDs  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.load_selected_entity_set_data(entity_set_id, entity_set_selection, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_set_selection: (required)
        :type entity_set_selection: list[EntitySetSelection]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: list[dict(str, list[str])]
        """
        kwargs['_return_http_data_only'] = True
        return self.load_selected_entity_set_data_with_http_info(entity_set_id, entity_set_selection, **kwargs)  # noqa: E501

    def load_selected_entity_set_data_with_http_info(self, entity_set_id, entity_set_selection, **kwargs):  # noqa: E501
        """Gets a list of entities by UUIDs  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.load_selected_entity_set_data_with_http_info(entity_set_id, entity_set_selection, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param entity_set_selection: (required)
        :type entity_set_selection: list[EntitySetSelection]
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(list[dict(str, list[str])], status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'entity_set_selection'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method load_selected_entity_set_data" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `load_selected_entity_set_data`")  # noqa: E501
        # verify the required parameter 'entity_set_selection' is set
        if self.api_client.client_side_validation and ('entity_set_selection' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_selection'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_selection` when calling `load_selected_entity_set_data`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'entity_set_selection' in local_var_params:
            body_params = local_var_params['entity_set_selection']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{entitySetId}', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='list[dict(str, list[str])]',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def replace_association_data(self, partial, request_body, **kwargs):  # noqa: E501
        """Replaces Association Data  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.replace_association_data(partial, request_body, async_req=True)
        >>> result = thread.get()

        :param partial: (required)
        :type partial: bool
        :param request_body: (required)
        :type request_body: dict(str, dict(str, DataEdge))
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: int
        """
        kwargs['_return_http_data_only'] = True
        return self.replace_association_data_with_http_info(partial, request_body, **kwargs)  # noqa: E501

    def replace_association_data_with_http_info(self, partial, request_body, **kwargs):  # noqa: E501
        """Replaces Association Data  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.replace_association_data_with_http_info(partial, request_body, async_req=True)
        >>> result = thread.get()

        :param partial: (required)
        :type partial: bool
        :param request_body: (required)
        :type request_body: dict(str, dict(str, DataEdge))
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'partial',
            'request_body'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method replace_association_data" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'partial' is set
        if self.api_client.client_side_validation and ('partial' not in local_var_params or  # noqa: E501
                                                        local_var_params['partial'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `partial` when calling `replace_association_data`")  # noqa: E501
        # verify the required parameter 'request_body' is set
        if self.api_client.client_side_validation and ('request_body' not in local_var_params or  # noqa: E501
                                                        local_var_params['request_body'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `request_body` when calling `replace_association_data`")  # noqa: E501

        collection_formats = {}

        path_params = {}

        query_params = []
        if 'partial' in local_var_params and local_var_params['partial'] is not None:  # noqa: E501
            query_params.append(('partial', local_var_params['partial']))  # noqa: E501

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'request_body' in local_var_params:
            body_params = local_var_params['request_body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/association', 'PATCH',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='int',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def replace_entity_properties(self, entity_set_id, request_body, **kwargs):  # noqa: E501
        """Replaces Entity Properties  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.replace_entity_properties(entity_set_id, request_body, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param request_body: (required)
        :type request_body: dict(str, dict(str, list[dict(str, str)]))
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: int
        """
        kwargs['_return_http_data_only'] = True
        return self.replace_entity_properties_with_http_info(entity_set_id, request_body, **kwargs)  # noqa: E501

    def replace_entity_properties_with_http_info(self, entity_set_id, request_body, **kwargs):  # noqa: E501
        """Replaces Entity Properties  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.replace_entity_properties_with_http_info(entity_set_id, request_body, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param request_body: (required)
        :type request_body: dict(str, dict(str, list[dict(str, str)]))
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'request_body'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method replace_entity_properties" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `replace_entity_properties`")  # noqa: E501
        # verify the required parameter 'request_body' is set
        if self.api_client.client_side_validation and ('request_body' not in local_var_params or  # noqa: E501
                                                        local_var_params['request_body'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `request_body` when calling `replace_entity_properties`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'request_body' in local_var_params:
            body_params = local_var_params['request_body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{entitySetId}', 'PATCH',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='int',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))

    def update_entities_in_entity_set(self, entity_set_id, type, request_body, **kwargs):  # noqa: E501
        """Perform one of the following bulk update operations on entities (type = Merge) adds new properties without affecting existing data, (type = PartialReplace) replaces all values for supplied property types, but does not not affect other property types for an entity, (type = Replace) replaces all entity data with the supplied properties.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.update_entities_in_entity_set(entity_set_id, type, request_body, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param type: (required)
        :type type: str
        :param request_body: (required)
        :type request_body: dict(str, dict(str, list[str]))
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: int
        """
        kwargs['_return_http_data_only'] = True
        return self.update_entities_in_entity_set_with_http_info(entity_set_id, type, request_body, **kwargs)  # noqa: E501

    def update_entities_in_entity_set_with_http_info(self, entity_set_id, type, request_body, **kwargs):  # noqa: E501
        """Perform one of the following bulk update operations on entities (type = Merge) adds new properties without affecting existing data, (type = PartialReplace) replaces all values for supplied property types, but does not not affect other property types for an entity, (type = Replace) replaces all entity data with the supplied properties.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True

        >>> thread = api.update_entities_in_entity_set_with_http_info(entity_set_id, type, request_body, async_req=True)
        >>> result = thread.get()

        :param entity_set_id: (required)
        :type entity_set_id: str
        :param type: (required)
        :type type: str
        :param request_body: (required)
        :type request_body: dict(str, dict(str, list[str]))
        :param async_req: Whether to execute the request asynchronously.
        :type async_req: bool, optional
        :param _return_http_data_only: response data without head status code
                                       and headers
        :type _return_http_data_only: bool, optional
        :param _preload_content: if False, the urllib3.HTTPResponse object will
                                 be returned without reading/decoding response
                                 data. Default is True.
        :type _preload_content: bool, optional
        :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.
        :param _request_auth: set to override the auth_settings for an a single
                              request; this effectively ignores the authentication
                              in the spec for a single request.
        :type _request_auth: dict, optional
        :return: Returns the result object.
                 If the method is called asynchronously,
                 returns the request thread.
        :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict))
        """

        local_var_params = locals()

        all_params = [
            'entity_set_id',
            'type',
            'request_body'
        ]
        all_params.extend(
            [
                'async_req',
                '_return_http_data_only',
                '_preload_content',
                '_request_timeout',
                '_request_auth'
            ]
        )

        for key, val in six.iteritems(local_var_params['kwargs']):
            if key not in all_params:
                raise ApiTypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method update_entities_in_entity_set" % key
                )
            local_var_params[key] = val
        del local_var_params['kwargs']
        # verify the required parameter 'entity_set_id' is set
        if self.api_client.client_side_validation and ('entity_set_id' not in local_var_params or  # noqa: E501
                                                        local_var_params['entity_set_id'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `entity_set_id` when calling `update_entities_in_entity_set`")  # noqa: E501
        # verify the required parameter 'type' is set
        if self.api_client.client_side_validation and ('type' not in local_var_params or  # noqa: E501
                                                        local_var_params['type'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `type` when calling `update_entities_in_entity_set`")  # noqa: E501
        # verify the required parameter 'request_body' is set
        if self.api_client.client_side_validation and ('request_body' not in local_var_params or  # noqa: E501
                                                        local_var_params['request_body'] is None):  # noqa: E501
            raise ApiValueError("Missing the required parameter `request_body` when calling `update_entities_in_entity_set`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'entity_set_id' in local_var_params:
            path_params['entitySetId'] = local_var_params['entity_set_id']  # noqa: E501

        query_params = []
        if 'type' in local_var_params and local_var_params['type'] is not None:  # noqa: E501
            query_params.append(('type', local_var_params['type']))  # noqa: E501

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'request_body' in local_var_params:
            body_params = local_var_params['request_body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = ['http_auth', 'openlattice_auth']  # noqa: E501

        return self.api_client.call_api(
            '/datastore/data/set/{entitySetId}', 'PUT',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='int',  # noqa: E501
            auth_settings=auth_settings,
            async_req=local_var_params.get('async_req'),
            _return_http_data_only=local_var_params.get('_return_http_data_only'),  # noqa: E501
            _preload_content=local_var_params.get('_preload_content', True),
            _request_timeout=local_var_params.get('_request_timeout'),
            collection_formats=collection_formats,
            _request_auth=local_var_params.get('_request_auth'))
# coding: utf-8 OpenLattice API      OpenLattice API  # noqa: E501      The version of the OpenAPI document: 0.0.1     Contact: <EMAIL>     Generated by: https://openapi-generator.tech # noqa: F401 # python 2 and python 3 compatibility library # noqa: F401 NOTE: This class is auto generated by OpenAPI Generator     Ref: https://openapi-generator.tech      Do not edit the class manually. # noqa: E501 Creates a new set of associations.  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.create_associations(inline_object, async_req=True)         >>> result = thread.get()          :param inline_object: (required)         :type inline_object: InlineObject         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: dict(str, list[str]) # noqa: E501 # noqa: E501 Creates a new set of associations.  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.create_associations_with_http_info(inline_object, async_req=True)         >>> result = thread.get()          :param inline_object: (required)         :type inline_object: InlineObject         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _return_http_data_only: response data without head status code                                        and headers         :type _return_http_data_only: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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.         :param _request_auth: set to override the auth_settings for an a single                               request; this effectively ignores the authentication                               in the spec for a single request.         :type _request_auth: dict, optional         :return: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: tuple(dict(str, list[str]), status_code(int), headers(HTTPHeaderDict)) # verify the required parameter 'inline_object' is set # noqa: E501 # noqa: E501 # noqa: E501 # HTTP header `Accept` # noqa: E501 # HTTP header `Content-Type` # noqa: E501 # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 Creates a new set of associations.  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.create_edges(data_edge_key, async_req=True)         >>> result = thread.get()          :param data_edge_key: (required)         :type data_edge_key: list[DataEdgeKey]         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: int # noqa: E501 # noqa: E501 Creates a new set of associations.  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.create_edges_with_http_info(data_edge_key, async_req=True)         >>> result = thread.get()          :param data_edge_key: (required)         :type data_edge_key: list[DataEdgeKey]         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _return_http_data_only: response data without head status code                                        and headers         :type _return_http_data_only: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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.         :param _request_auth: set to override the auth_settings for an a single                               request; this effectively ignores the authentication                               in the spec for a single request.         :type _request_auth: dict, optional         :return: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict)) # verify the required parameter 'data_edge_key' is set # noqa: E501 # noqa: E501 # noqa: E501 # HTTP header `Accept` # noqa: E501 # HTTP header `Content-Type` # noqa: E501 # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 Creates a new set of 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.create_entities(set_id, request_body, async_req=True)         >>> result = thread.get()          :param set_id: (required)         :type set_id: str         :param request_body: (required)         :type request_body: list[dict(str, list[str])]         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: list[str] # noqa: E501 # noqa: E501 Creates a new set of 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.create_entities_with_http_info(set_id, request_body, async_req=True)         >>> result = thread.get()          :param set_id: (required)         :type set_id: str         :param request_body: (required)         :type request_body: list[dict(str, list[str])]         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _return_http_data_only: response data without head status code                                        and headers         :type _return_http_data_only: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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.         :param _request_auth: set to override the auth_settings for an a single                               request; this effectively ignores the authentication                               in the spec for a single request.         :type _request_auth: dict, optional         :return: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: tuple(list[str], status_code(int), headers(HTTPHeaderDict)) # verify the required parameter 'set_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'request_body' is set # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # HTTP header `Accept` # noqa: E501 # HTTP header `Content-Type` # noqa: E501 # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 Creates entities and assocations  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.create_entity_and_association_data(data_graph, async_req=True)         >>> result = thread.get()          :param data_graph: (required)         :type data_graph: DataGraph         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: DataGraphIds # noqa: E501 # noqa: E501 Creates entities and assocations  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.create_entity_and_association_data_with_http_info(data_graph, async_req=True)         >>> result = thread.get()          :param data_graph: (required)         :type data_graph: DataGraph         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _return_http_data_only: response data without head status code                                        and headers         :type _return_http_data_only: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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.         :param _request_auth: set to override the auth_settings for an a single                               request; this effectively ignores the authentication                               in the spec for a single request.         :type _request_auth: dict, optional         :return: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: tuple(DataGraphIds, status_code(int), headers(HTTPHeaderDict)) # verify the required parameter 'data_graph' is set # noqa: E501 # noqa: E501 # noqa: E501 # HTTP header `Accept` # noqa: E501 # HTTP header `Content-Type` # noqa: E501 # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 Clears the Entity matching the given Entity id and all of its neighbor 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.delete_all_entities_from_entity_set(entity_set_id, type, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param type: (required)         :type type: str         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: None # noqa: E501 # noqa: E501 Clears the Entity matching the given Entity id and all of its neighbor 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.delete_all_entities_from_entity_set_with_http_info(entity_set_id, type, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param type: (required)         :type type: str         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _return_http_data_only: response data without head status code                                        and headers         :type _return_http_data_only: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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.         :param _request_auth: set to override the auth_settings for an a single                               request; this effectively ignores the authentication                               in the spec for a single request.         :type _request_auth: dict, optional         :return: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: None # verify the required parameter 'entity_set_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'type' is set # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 Deletes multiple entities from an entity set.  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.delete_entities(entity_set_id, type, request_body, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param type: (required)         :type type: str         :param request_body: (required)         :type request_body: list[str]         :param block:         :type block: bool         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: int # noqa: E501 # noqa: E501 Deletes multiple entities from an entity set.  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.delete_entities_with_http_info(entity_set_id, type, request_body, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param type: (required)         :type type: str         :param request_body: (required)         :type request_body: list[str]         :param block:         :type block: bool         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _return_http_data_only: response data without head status code                                        and headers         :type _return_http_data_only: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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.         :param _request_auth: set to override the auth_settings for an a single                               request; this effectively ignores the authentication                               in the spec for a single request.         :type _request_auth: dict, optional         :return: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict)) # verify the required parameter 'entity_set_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'type' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'request_body' is set # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # HTTP header `Accept` # noqa: E501 # HTTP header `Content-Type` # noqa: E501 # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 Deletes the entities matching the given entity ids and all of its neighbor entities provided in the filter.  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.delete_entities_and_neighbors(entity_set_id, type, entity_neighbors_filter, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param type: (required)         :type type: str         :param entity_neighbors_filter: (required)         :type entity_neighbors_filter: list[EntityNeighborsFilter]         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: int # noqa: E501 # noqa: E501 Deletes the entities matching the given entity ids and all of its neighbor entities provided in the filter.  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.delete_entities_and_neighbors_with_http_info(entity_set_id, type, entity_neighbors_filter, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param type: (required)         :type type: str         :param entity_neighbors_filter: (required)         :type entity_neighbors_filter: list[EntityNeighborsFilter]         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _return_http_data_only: response data without head status code                                        and headers         :type _return_http_data_only: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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.         :param _request_auth: set to override the auth_settings for an a single                               request; this effectively ignores the authentication                               in the spec for a single request.         :type _request_auth: dict, optional         :return: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict)) # verify the required parameter 'entity_set_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'type' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'entity_neighbors_filter' is set # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # HTTP header `Accept` # noqa: E501 # HTTP header `Content-Type` # noqa: E501 # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 Deletes a single entity from an entity set.  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.delete_entity(entity_set_id, entity_key_id, type, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param entity_key_id: (required)         :type entity_key_id: str         :param type: (required)         :type type: str         :param block:         :type block: bool         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: None # noqa: E501 # noqa: E501 Deletes a single entity from an entity set.  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.delete_entity_with_http_info(entity_set_id, entity_key_id, type, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param entity_key_id: (required)         :type entity_key_id: str         :param type: (required)         :type type: str         :param block:         :type block: bool         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _return_http_data_only: response data without head status code                                        and headers         :type _return_http_data_only: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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.         :param _request_auth: set to override the auth_settings for an a single                               request; this effectively ignores the authentication                               in the spec for a single request.         :type _request_auth: dict, optional         :return: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: None # verify the required parameter 'entity_set_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'entity_key_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'type' is set # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 Deletes properties from an entity.  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.delete_entity_properties(entity_set_id, entity_key_id, type, request_body, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param entity_key_id: (required)         :type entity_key_id: str         :param type: (required)         :type type: str         :param request_body: (required)         :type request_body: list[str]         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: None # noqa: E501 # noqa: E501 Deletes properties from an entity.  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.delete_entity_properties_with_http_info(entity_set_id, entity_key_id, type, request_body, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param entity_key_id: (required)         :type entity_key_id: str         :param type: (required)         :type type: str         :param request_body: (required)         :type request_body: list[str]         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _return_http_data_only: response data without head status code                                        and headers         :type _return_http_data_only: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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.         :param _request_auth: set to override the auth_settings for an a single                               request; this effectively ignores the authentication                               in the spec for a single request.         :type _request_auth: dict, optional         :return: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: None # verify the required parameter 'entity_set_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'entity_key_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'type' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'request_body' is set # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # HTTP header `Content-Type` # noqa: E501 # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 Loads a single entity by its entityKeyId and entitySetId  # 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(entity_set_id, entity_key_id, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param entity_key_id: (required)         :type entity_key_id: str         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: dict(str, list[str]) # noqa: E501 # noqa: E501 Loads a single entity by its entityKeyId and entitySetId  # 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_with_http_info(entity_set_id, entity_key_id, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param entity_key_id: (required)         :type entity_key_id: str         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _return_http_data_only: response data without head status code                                        and headers         :type _return_http_data_only: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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.         :param _request_auth: set to override the auth_settings for an a single                               request; this effectively ignores the authentication                               in the spec for a single request.         :type _request_auth: dict, optional         :return: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: tuple(dict(str, list[str]), status_code(int), headers(HTTPHeaderDict)) # verify the required parameter 'entity_set_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'entity_key_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # HTTP header `Accept` # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 Loads property  values for a single entity by its entityKeyId, entitySetId and propertyTypeId  # 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_property_values(entity_set_id, entity_key_id, property_type_id, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param entity_key_id: (required)         :type entity_key_id: str         :param property_type_id: (required)         :type property_type_id: str         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: list[str] # noqa: E501 # noqa: E501 Loads property  values for a single entity by its entityKeyId, entitySetId and propertyTypeId  # 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_property_values_with_http_info(entity_set_id, entity_key_id, property_type_id, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param entity_key_id: (required)         :type entity_key_id: str         :param property_type_id: (required)         :type property_type_id: str         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _return_http_data_only: response data without head status code                                        and headers         :type _return_http_data_only: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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.         :param _request_auth: set to override the auth_settings for an a single                               request; this effectively ignores the authentication                               in the spec for a single request.         :type _request_auth: dict, optional         :return: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: tuple(list[str], status_code(int), headers(HTTPHeaderDict)) # verify the required parameter 'entity_set_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'entity_key_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'property_type_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # HTTP header `Accept` # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 Gets the number of entities in an entity set.  # 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_set_size(entity_set_id, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: int # noqa: E501 # noqa: E501 Gets the number of entities in an entity set.  # 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_set_size_with_http_info(entity_set_id, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _return_http_data_only: response data without head status code                                        and headers         :type _return_http_data_only: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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.         :param _request_auth: set to override the auth_settings for an a single                               request; this effectively ignores the authentication                               in the spec for a single request.         :type _request_auth: dict, optional         :return: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict)) # verify the required parameter 'entity_set_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # HTTP header `Accept` # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 Gets an iterable containing the entity data, using property type FQNs as key  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.load_entity_set_data(entity_set_id, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: list[dict(str, list[str])] # noqa: E501 # noqa: E501 Gets an iterable containing the entity data, using property type FQNs as key  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.load_entity_set_data_with_http_info(entity_set_id, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _return_http_data_only: response data without head status code                                        and headers         :type _return_http_data_only: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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.         :param _request_auth: set to override the auth_settings for an a single                               request; this effectively ignores the authentication                               in the spec for a single request.         :type _request_auth: dict, optional         :return: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: tuple(list[dict(str, list[str])], status_code(int), headers(HTTPHeaderDict)) # verify the required parameter 'entity_set_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # HTTP header `Accept` # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 Loads data in multiple pages  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.load_filtered_entity_set_data(entity_set_id, filtered_data_page_definition, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param filtered_data_page_definition: (required)         :type filtered_data_page_definition: list[FilteredDataPageDefinition]         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: list[dict(str, list[str])] # noqa: E501 # noqa: E501 Loads data in multiple pages  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.load_filtered_entity_set_data_with_http_info(entity_set_id, filtered_data_page_definition, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param filtered_data_page_definition: (required)         :type filtered_data_page_definition: list[FilteredDataPageDefinition]         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _return_http_data_only: response data without head status code                                        and headers         :type _return_http_data_only: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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.         :param _request_auth: set to override the auth_settings for an a single                               request; this effectively ignores the authentication                               in the spec for a single request.         :type _request_auth: dict, optional         :return: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: tuple(list[dict(str, list[str])], status_code(int), headers(HTTPHeaderDict)) # verify the required parameter 'entity_set_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'filtered_data_page_definition' is set # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # HTTP header `Accept` # noqa: E501 # HTTP header `Content-Type` # noqa: E501 # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 Loads a linked entity set breakdown with the selected linked entities and properties.  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.load_linked_entity_set_breakdown(linked_entity_set_id, entity_set_selection, async_req=True)         >>> result = thread.get()          :param linked_entity_set_id: (required)         :type linked_entity_set_id: str         :param entity_set_selection: (required)         :type entity_set_selection: list[EntitySetSelection]         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: dict(str, dict(str, dict(str, dict(str, list[str])))) # noqa: E501 # noqa: E501 Loads a linked entity set breakdown with the selected linked entities and properties.  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.load_linked_entity_set_breakdown_with_http_info(linked_entity_set_id, entity_set_selection, async_req=True)         >>> result = thread.get()          :param linked_entity_set_id: (required)         :type linked_entity_set_id: str         :param entity_set_selection: (required)         :type entity_set_selection: list[EntitySetSelection]         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _return_http_data_only: response data without head status code                                        and headers         :type _return_http_data_only: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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.         :param _request_auth: set to override the auth_settings for an a single                               request; this effectively ignores the authentication                               in the spec for a single request.         :type _request_auth: dict, optional         :return: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: tuple(dict(str, dict(str, dict(str, dict(str, list[str])))), status_code(int), headers(HTTPHeaderDict)) # verify the required parameter 'linked_entity_set_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'entity_set_selection' is set # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # HTTP header `Accept` # noqa: E501 # HTTP header `Content-Type` # noqa: E501 # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 Gets a list of entities by UUIDs  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.load_selected_entity_set_data(entity_set_id, entity_set_selection, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param entity_set_selection: (required)         :type entity_set_selection: list[EntitySetSelection]         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: list[dict(str, list[str])] # noqa: E501 # noqa: E501 Gets a list of entities by UUIDs  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.load_selected_entity_set_data_with_http_info(entity_set_id, entity_set_selection, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param entity_set_selection: (required)         :type entity_set_selection: list[EntitySetSelection]         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _return_http_data_only: response data without head status code                                        and headers         :type _return_http_data_only: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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.         :param _request_auth: set to override the auth_settings for an a single                               request; this effectively ignores the authentication                               in the spec for a single request.         :type _request_auth: dict, optional         :return: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: tuple(list[dict(str, list[str])], status_code(int), headers(HTTPHeaderDict)) # verify the required parameter 'entity_set_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'entity_set_selection' is set # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # HTTP header `Accept` # noqa: E501 # HTTP header `Content-Type` # noqa: E501 # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 Replaces Association Data  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.replace_association_data(partial, request_body, async_req=True)         >>> result = thread.get()          :param partial: (required)         :type partial: bool         :param request_body: (required)         :type request_body: dict(str, dict(str, DataEdge))         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: int # noqa: E501 # noqa: E501 Replaces Association Data  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.replace_association_data_with_http_info(partial, request_body, async_req=True)         >>> result = thread.get()          :param partial: (required)         :type partial: bool         :param request_body: (required)         :type request_body: dict(str, dict(str, DataEdge))         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _return_http_data_only: response data without head status code                                        and headers         :type _return_http_data_only: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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.         :param _request_auth: set to override the auth_settings for an a single                               request; this effectively ignores the authentication                               in the spec for a single request.         :type _request_auth: dict, optional         :return: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict)) # verify the required parameter 'partial' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'request_body' is set # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # HTTP header `Accept` # noqa: E501 # HTTP header `Content-Type` # noqa: E501 # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 Replaces Entity Properties  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.replace_entity_properties(entity_set_id, request_body, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param request_body: (required)         :type request_body: dict(str, dict(str, list[dict(str, str)]))         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: int # noqa: E501 # noqa: E501 Replaces Entity Properties  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.replace_entity_properties_with_http_info(entity_set_id, request_body, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param request_body: (required)         :type request_body: dict(str, dict(str, list[dict(str, str)]))         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _return_http_data_only: response data without head status code                                        and headers         :type _return_http_data_only: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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.         :param _request_auth: set to override the auth_settings for an a single                               request; this effectively ignores the authentication                               in the spec for a single request.         :type _request_auth: dict, optional         :return: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict)) # verify the required parameter 'entity_set_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'request_body' is set # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # HTTP header `Accept` # noqa: E501 # HTTP header `Content-Type` # noqa: E501 # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 Perform one of the following bulk update operations on entities (type = Merge) adds new properties without affecting existing data, (type = PartialReplace) replaces all values for supplied property types, but does not not affect other property types for an entity, (type = Replace) replaces all entity data with the supplied properties.  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.update_entities_in_entity_set(entity_set_id, type, request_body, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param type: (required)         :type type: str         :param request_body: (required)         :type request_body: dict(str, dict(str, list[str]))         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: int # noqa: E501 # noqa: E501 Perform one of the following bulk update operations on entities (type = Merge) adds new properties without affecting existing data, (type = PartialReplace) replaces all values for supplied property types, but does not not affect other property types for an entity, (type = Replace) replaces all entity data with the supplied properties.  # noqa: E501          This method makes a synchronous HTTP request by default. To make an         asynchronous HTTP request, please pass async_req=True          >>> thread = api.update_entities_in_entity_set_with_http_info(entity_set_id, type, request_body, async_req=True)         >>> result = thread.get()          :param entity_set_id: (required)         :type entity_set_id: str         :param type: (required)         :type type: str         :param request_body: (required)         :type request_body: dict(str, dict(str, list[str]))         :param async_req: Whether to execute the request asynchronously.         :type async_req: bool, optional         :param _return_http_data_only: response data without head status code                                        and headers         :type _return_http_data_only: bool, optional         :param _preload_content: if False, the urllib3.HTTPResponse object will                                  be returned without reading/decoding response                                  data. Default is True.         :type _preload_content: bool, optional         :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.         :param _request_auth: set to override the auth_settings for an a single                               request; this effectively ignores the authentication                               in the spec for a single request.         :type _request_auth: dict, optional         :return: Returns the result object.                  If the method is called asynchronously,                  returns the request thread.         :rtype: tuple(int, status_code(int), headers(HTTPHeaderDict)) # verify the required parameter 'entity_set_id' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'type' is set # noqa: E501 # noqa: E501 # noqa: E501 # verify the required parameter 'request_body' is set # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501 # HTTP header `Accept` # noqa: E501 # HTTP header `Content-Type` # noqa: E501 # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501 # noqa: E501