# Class Answer (0.1.2)

0.1.2 (latest) 0.1.1

```python
Answer(mapping=None, *, ignore_unknown_fields=False, **kwargs)
```
An answer to a query.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `answer_text` | `str` Contains the text of the answer. |
| `citations` | `MutableSequence[google.developer_knowledge_v1.types.Answer.AnswerCitation]` Output only. Contains citations for the answer. |
| `references` | `MutableSequence[google.developer_knowledge_v1.types.Answer.AnswerReference]` Output only. Contains references for the answer. |

## Classes

### AnswerCitation

```python
AnswerCitation(mapping=None, *, ignore_unknown_fields=False, **kwargs)
```
Citation info for a segment.

### AnswerReference

```python
AnswerReference(mapping=None, *, ignore_unknown_fields=False, **kwargs)
```
Represents a reference to a source.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### CitationSource

```python
CitationSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)
```
Citation source.

### DocumentReference

```python
DocumentReference(mapping=None, *, ignore_unknown_fields=False, **kwargs)
```
Represents a reference to a document.