def __init__(self, logic=None, weight=None, simple=None, simple_weight=None, extract_as=None, extract_all=None,<EOL>extract_when_missing=None, tags=None, length=None, offset=None, doi=None, isbn=None, issn=None,<EOL>url=None, title=None, publisher=None, journal=None, volume=None, issue=None, year=None,<EOL>figure=None, table=None, pages=None, authors=None, editors=None, affiliations=None,<EOL>acknowledgements=None, references=None, query=None, **kwargs):
super(ReferenceQuery, self).__init__(<EOL>logic=logic, weight=weight, simple=simple, simple_weight=simple_weight, extract_as=extract_as,<EOL>extract_all=extract_all, extract_when_missing=extract_when_missing, tags=tags, length=length,<EOL>offset=offset, **kwargs)<EOL>self._doi = None<EOL>self.doi = doi<EOL>self._isbn = None<EOL>self.isbn = isbn<EOL>self._issn = None<EOL>self.issn = issn<EOL>self._url = None<EOL>self.url = url<EOL>self._title = None<EOL>self.title = title<EOL>self._publisher = None<EOL>self.publisher = publisher<EOL>self._journal = None<EOL>self.journal = journal<EOL>self._volume = None<EOL>self.volume = volume<EOL>self._issue = None<EOL>self.issue = issue<EOL>self._year = None<EOL>self.year = year<EOL>self._figure = None<EOL>self.figure = figure<EOL>self._table = None<EOL>self.table = table<EOL>self._pages = None<EOL>self.pages = pages<EOL>self._authors = None<EOL>self.authors = authors<EOL>self._editors = None<EOL>self.editors = editors<EOL>self._affiliations = None<EOL>self.affiliations = affiliations<EOL>self._acknowledgements = None<EOL>self.acknowledgements = acknowledgements<EOL>self._references = None<EOL>self.references = references<EOL>self._query = None<EOL>self.query = query<EOL>
Constructor.

:param logic: Logic for this filter. Must be equal to one of "MUST", "MUST_NOT", "SHOULD", or "OPTIONAL".
:param weight: Weight of the query.
:param simple: String with the simple query to run against all fields.
:param simple_weight: Dictionary of relative paths to their weights for simple queries.
:param extract_as: String with the alias to save this field under.
:param extract_all: Boolean setting whether all values in an array should be extracted.
:param extract_when_missing: Any valid JSON-supported object or PIF object. This value is returned when a value is missing that should be extracted (and the overall query is still satisfied).
:param tags: One or more :class:`FieldQuery` operations against the tags field.
:param length: One or more :class:`FieldQuery` operations against the length field.
:param offset: One or more :class:`FieldQuery` operations against the offset field.
:param doi: One or more :class:`FieldQuery` operations against the doi field.
:param isbn: One or more :class:`FieldQuery` operations against the isbn field.
:param issn: One or more :class:`FieldQuery` operations against the issn field.
:param url: One or more :class:`FieldQuery` operations against the url field.
:param title: One or more :class:`FieldQuery` operations against the title field.
:param publisher: One or more :class:`FieldQuery` operations against the publisher field.
:param journal: One or more :class:`FieldQuery` operations against the journal field.
:param volume: One or more :class:`FieldQuery` operations against the volume field.
:param issue: One or more :class:`FieldQuery` operations against the issue field.
:param year: One or more :class:`FieldQuery` operations against the year field.
:param figure: One or more :class:`DisplayItemQuery` operations against the figure field.
:param table: One or more :class:`DisplayItemQuery` operations against the table field.
:param pages: One or more :class:`PagesQuery` operations against the pages field.
:param authors: One or more :class:`NameQuery` operations against the authors field.
:param editors: One or more :class:`NameQuery` operations against the editors field.
:param affiliations: One or more :class:`FieldQuery` operations against the affiliations field.
:param acknowledgements: One or more :class:`FieldQuery` operations against the acknowledgements field.
:param references: One or more :class:`ReferenceQuery` operations against the references field.
:param query: One or more :class:`ReferenceQuery` objects with nested queries.