'List entities.
List the entities for a workspace.
:param workspace_id: The workspace ID.
:param export: Whether to include all element content in the
returned data. If export=`false`, the returned data includes
only information about the element itself. If export=`true`,
all content, including subelements, is included. The default
value is `false`.
:param page_limit: The number of records to return in each page of
results. The default page limit is 100.
:param include_count: Whether to include information about the number
of records returned.
:param sort: Sorts the response according to the value of the
specified property, in ascending or descending order.
:param cursor: A token identifying the last value from the previous
page of results.'

def list_entities(self, workspace_id, export=None, page_limit=None, include_count=None, sort=None, cursor=None):

    params = {'version': self.version, 'export': export, 'page_limit': page_limit, 'include_count': include_count, 'sort': sort, 'cursor': cursor}
    return self.request(method='GET', url='/v1/workspaces/{0}/entities'.format(workspace_id), params=params, accept_json=True)
