We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43b1448 commit 0874e7eCopy full SHA for 0874e7e
rest/model/dns/answer.go
@@ -10,11 +10,18 @@ import (
10
"gopkg.in/ns1/ns1-go.v2/rest/model/data"
11
)
12
13
+// AnswerFeed wraps the values of an Answer's "feed" attribute
14
+type AnswerFeed struct {
15
+ FeedID string `json:"feed"`
16
+ SourceID string `json:"source"`
17
+}
18
+
19
// Answer wraps the values of a Record's "filters" attribute
20
type Answer struct {
21
ID string `json:"id,omitempty"`
22
- Meta *data.Meta `json:"meta,omitempty"`
23
+ Meta *data.Meta `json:"meta,omitempty"`
24
+ Feeds []AnswerFeed `json:"feeds,omitempty"`
25
26
// Answer response data. eg:
27
// Av4: ["1.1.1.1"]
0 commit comments