diff --git a/go/models/dns_record.go b/go/models/dns_record.go index 29bc288d..c6d1c085 100644 --- a/go/models/dns_record.go +++ b/go/models/dns_record.go @@ -30,6 +30,9 @@ type DNSRecord struct { // managed Managed bool `json:"managed,omitempty"` + // port + Port int64 `json:"port,omitempty"` + // priority Priority int64 `json:"priority,omitempty"` @@ -47,6 +50,9 @@ type DNSRecord struct { // value Value string `json:"value,omitempty"` + + // weight + Weight int64 `json:"weight,omitempty"` } // Validate validates this dns record diff --git a/swagger.yml b/swagger.yml index 4b1ee954..745e5f02 100644 --- a/swagger.yml +++ b/swagger.yml @@ -2642,6 +2642,12 @@ definitions: priority: type: integer format: int64 + weight: + type: integer + format: int64 + port: + type: integer + format: int64 dns_zone_id: type: string site_id: @@ -3031,7 +3037,7 @@ definitions: name: type: string cron: - type: string + type: string parameters: page: type: integer