Versions in this module Expand all Collapse all v1 v1.0.6 May 5, 2023 Changes in this version + type APIError struct + Code int + ContextObject string + ContextPath string + Details []string + Text string + Value string + type BaseRequest struct + AuthToken string + type BaseResponse struct + Errors []APIError + Metadata Metadata + Response T + Status string + Warnings []string + type Client struct + HTTPClient *http.Client + func NewClient(apiKey string) *Client + func (c Client) GetZone(ctx context.Context, req ZoneConfigsFindRequest) (*ZoneConfig, error) + func (c Client) ListZoneConfigs(ctx context.Context, req ZoneConfigsFindRequest) (*ZoneResponse, error) + func (c Client) UpdateZone(ctx context.Context, req ZoneUpdateRequest) (*Zone, error) + type DNSRecord struct + Content string + ID string + LastChangeDate string + Name string + Priority int + RecordTemplateID string + TTL int + Type string + ZoneID string + type Filter struct + Field string + Value string + type Metadata struct + ClientTransactionID string + ServerTransactionID string + type SOAValues struct + Expire int + NegativeTTL int + Refresh int + Retry int + TTL int + type Sort struct + Field string + Order string + type Zone struct + Records []DNSRecord + ZoneConfig ZoneConfig + type ZoneConfig struct + AccountID string + DNSSecMode string + DNSServerGroupID string + EMailAddress string + ID string + LastChangeDate string + MasterIP string + Name string + NameUnicode string + SOAValues *SOAValues + Status string + TemplateValues json.RawMessage + Type string + ZoneTransferWhitelist []string + type ZoneConfigsFindRequest struct + Filter Filter + Limit int + Page int + Sort *Sort + type ZoneResponse struct + Data []ZoneConfig + Limit int + Page int + TotalEntries int + TotalPages int + Type string + type ZoneUpdateRequest struct + RecordsToAdd []DNSRecord + RecordsToDelete []DNSRecord