| 1 |
package dynect |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
type AllRecordsResponse struct { |
| 7 |
ResponseBlock |
| 8 |
Data []string `json:"data"` |
| 9 |
} |
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
type RecordResponse struct { |
| 14 |
ResponseBlock |
| 15 |
Data BaseRecord `json:"data"` |
| 16 |
} |
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
type BaseRecord struct { |
| 26 |
FQDN string `json:"fqdn"` |
| 27 |
RecordId int `json:"record_id"` |
| 28 |
RecordType string `json:"record_type"` |
| 29 |
TTL int `json:"ttl"` |
| 30 |
Zone string `json:"zone"` |
| 31 |
RData DataBlock `json:"rdata"` |
| 32 |
} |
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
type DataBlock struct { |
| 40 |
|
| 41 |
Address string `json:"address,omitempty" bson:"address,omitempty"` |
| 42 |
|
| 43 |
|
| 44 |
Alias string `json:"alias,omitempty" bson:"alias,omitempty"` |
| 45 |
|
| 46 |
|
| 47 |
Algorithm string `json:"algorithm,omitempty" bson:"algorithm,omitempty"` |
| 48 |
|
| 49 |
|
| 50 |
Altitude string `json:"altitude,omitempty" bson:"altitude,omitempty"` |
| 51 |
|
| 52 |
|
| 53 |
CName string `json:"cname,omitempty" bson:"cname,omitempty"` |
| 54 |
|
| 55 |
|
| 56 |
Certificate string `json:"certificate,omitempty" bson:"algorithm,omitempty"` |
| 57 |
|
| 58 |
|
| 59 |
DName string `json:"dname,omitempty" bson:"dname,omitempty"` |
| 60 |
|
| 61 |
|
| 62 |
Digest string `json:"digest,omitempty" bson:"digest,omitempty"` |
| 63 |
|
| 64 |
|
| 65 |
DigestType string `json:"digtype,omitempty" bson:"digest_type,omitempty"` |
| 66 |
|
| 67 |
|
| 68 |
Exchange string `json:"exchange,omitempty" bson:"exchange,omitempty"` |
| 69 |
|
| 70 |
|
| 71 |
FPType string `json:"fptype,omitempty" bson:"fp_type,omitempty"` |
| 72 |
|
| 73 |
|
| 74 |
Fingerprint string `json:"fingerprint,omitempty" bson:"fingerprint,omitempty"` |
| 75 |
|
| 76 |
|
| 77 |
Flags string `json:"flags,omitempty" bson:"flags,omitempty"` |
| 78 |
|
| 79 |
|
| 80 |
Format string `json:"format,omitempty" bson:"format,omitempty"` |
| 81 |
|
| 82 |
|
| 83 |
GatewayType string `json:"gatetype,omitempty" bson:"gateway_type,omitempty"` |
| 84 |
|
| 85 |
|
| 86 |
HorizPre string `json:"horiz_pre,omitempty" bson:"horiz_pre,omitempty"` |
| 87 |
|
| 88 |
|
| 89 |
KeyTag string `json:"keytag,omitempty" bson:"keytag,omitempty"` |
| 90 |
|
| 91 |
|
| 92 |
Latitude string `json:"latitude,omitempty" bson:"latitude,omitempty"` |
| 93 |
|
| 94 |
|
| 95 |
Longitude string `json:"longitude,omitempty" bson:"longitude,omitempty"` |
| 96 |
|
| 97 |
|
| 98 |
Map822 string `json:"map822,omitempty" bson:"map_822,omitempty"` |
| 99 |
|
| 100 |
|
| 101 |
MapX400 string `json:"mapx400,omitempty" bson:"map_x400,omitempty"` |
| 102 |
|
| 103 |
|
| 104 |
Mbox string `json:"mbox,omitempty" bson:"mbox,omitempty"` |
| 105 |
|
| 106 |
|
| 107 |
NSDName string `json:"nsdname,omitempty" bson:"nsdname,omitempty"` |
| 108 |
|
| 109 |
|
| 110 |
NSAP string `json:"nsap,omitempty" bson:"nsap,omitempty"` |
| 111 |
|
| 112 |
|
| 113 |
Order string `json:"order,omitempty" bson:"order,omitempty"` |
| 114 |
|
| 115 |
|
| 116 |
Port int `json:"port,omitempty" bson:"port,omitempty"` |
| 117 |
|
| 118 |
|
| 119 |
Precendence string `json:"precendence,omitempty" bson:"precendence,omitempty"` |
| 120 |
|
| 121 |
|
| 122 |
Preference int `json:"preference,omitempty" bson:"preference,omitempty"` |
| 123 |
|
| 124 |
|
| 125 |
Priority int `json:"priority,omitempty" bson:"priority,omitempty"` |
| 126 |
|
| 127 |
|
| 128 |
Protocol string `json:"protocol,omitempty" bson:"protocol,omitempty"` |
| 129 |
|
| 130 |
|
| 131 |
PTRDname string `json:"ptrdname,omitempty" bson:"ptrdname,omitempty"` |
| 132 |
|
| 133 |
|
| 134 |
PublicKey string `json:"public_key,omitempty" bson:"public_key,omitempty"` |
| 135 |
|
| 136 |
|
| 137 |
Regexp string `json:"regexp,omitempty" bson:"regexp,omitempty"` |
| 138 |
|
| 139 |
|
| 140 |
Replacement string `json:"replacement,omitempty" bson:"replacement,omitempty"` |
| 141 |
|
| 142 |
|
| 143 |
RName string `json:"rname,omitempty" bson:"rname,omitempty"` |
| 144 |
|
| 145 |
|
| 146 |
Services string `json:"services,omitempty" bson:"services,omitempty"` |
| 147 |
|
| 148 |
|
| 149 |
Size string `json:"size,omitempty" bson:"size,omitempty"` |
| 150 |
|
| 151 |
|
| 152 |
Tag string `json:"tag,omitempty" bson:"tag,omitempty"` |
| 153 |
|
| 154 |
|
| 155 |
Target string `json:"target,omitempty" bson:"target,omitempty"` |
| 156 |
|
| 157 |
|
| 158 |
TxtDName string `json:"txtdname,omitempty" bson:"txtdname,omitempty"` |
| 159 |
|
| 160 |
|
| 161 |
TxtData string `json:"txtdata,omitempty" bson:"txtdata,omitempty"` |
| 162 |
|
| 163 |
|
| 164 |
Version string `json:"version,omitempty" bson:"version,omitempty"` |
| 165 |
|
| 166 |
|
| 167 |
VertPre string `json:"vert_pre,omitempty" bson:"vert_pre,omitempty"` |
| 168 |
|
| 169 |
|
| 170 |
Weight int `json:"weight,omitempty" bson:"weight,omitempty"` |
| 171 |
} |