structures.go raw
1 package rrset
2
3 import (
4 "github.com/ultradns/ultradns-go-sdk/pkg/helper"
5 )
6
7 type RRSet struct {
8 OwnerName string `json:"ownerName,omitempty"`
9 RRType string `json:"rrtype,omitempty"`
10 TTL int `json:"ttl,omitempty"`
11 RData []string `json:"rdata,omitempty"`
12 Profile RawProfile `json:"profile,omitempty"`
13 }
14
15 type RRSetKey struct {
16 ID string
17 Owner string
18 Zone string
19 RecordType string
20 PType string
21 }
22
23 type RawProfile interface {
24 SetContext()
25 GetContext() string
26 }
27
28 type ResponseList struct {
29 ZoneName string `json:"zoneName,omitempty"`
30 QueryInfo *helper.QueryInfo `json:"queryInfo,omitempty"`
31 ResultInfo *helper.ResultInfo `json:"resultInfo,omitempty"`
32 RRSets []*RRSet `json:"rrSets,omitempty"`
33 }
34