Debian Codegraph @

dynect/zones.go

raw symbols SCIP
1 package dynect
2
3 // ZonesResponse is used for holding the data returned by a call to
4 // "https://api.dynect.net/REST/Zone/".
5 type ZonesResponse struct {
6 ResponseBlock
7 Data []string `json:"data"`
8 }
9
10 // ZoneResponse is used for holding the data returned by a call to
11 // "https://api.dynect.net/REST/Zone/ZONE_NAME".
12 type ZoneResponse struct {
13 ResponseBlock
14 Data ZoneDataBlock `json:"data"`
15 }
16
17 // Type ZoneDataBlock is used as a nested struct, which holds the data for a
18 // zone returned by a call to "https://api.dynect.net/REST/Zone/ZONE_NAME".
19 type ZoneDataBlock struct {
20 Serial int `json:"serial"`
21 SerialStyle string `json:"serial_style"`
22 Zone string `json:"zone"`
23 ZoneType string `json:"zone_type"`
24 }