huaweidns

package
v1.3.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseResponse

type BaseResponse struct {
}

type CustomLinesResponse

type CustomLinesResponse struct {
	Lines []struct {
		LineId string `json:"line_id"`
		Name   string `json:"name"`
	} `json:"lines"`
}

type RecordSetsResponse

type RecordSetsResponse struct {
	RecordSets []struct {
		Id      string   `json:"id"`
		Name    string   `json:"name"`
		Type    string   `json:"type"`
		Ttl     int      `json:"ttl"`
		Line    string   `json:"line"`
		Records []string `json:"records"`
	} `json:"recordsets"`
}

type ZoneRecordSetsResponse

type ZoneRecordSetsResponse struct {
	RecordSets []struct {
		Id      string   `json:"id"`
		Name    string   `json:"name"`
		Type    string   `json:"type"`
		Ttl     int      `json:"ttl"`
		Records []string `json:"records"`
		Line    string   `json:"line"`
	} `json:"recordsets"`
	Metadata struct {
		TotalCount int `json:"total_count"`
	} `json:"metadata"`
}

type ZonesCreateRecordSetResponse

type ZonesCreateRecordSetResponse struct {
	Id      string   `json:"id"`
	Line    string   `json:"line"`
	Records []string `json:"records"`
}

type ZonesDeleteRecordSetResponse

type ZonesDeleteRecordSetResponse struct {
	Id string `json:"id"`
}

type ZonesResponse

type ZonesResponse struct {
	Links struct{} `json:"links"`
	Zones []struct {
		Id        string `json:"id"`
		Name      string `json:"name"`
		ZoneType  string `json:"zone_type"`
		Status    string `json:"status"`
		RecordNum int    `json:"record_num"`
	} `json:"zones"`
	Metadata struct {
		TotalCount int `json:"total_count"`
	} `json:"metadata"`
}

type ZonesUpdateRecordSetResponse

type ZonesUpdateRecordSetResponse struct {
	Id      string   `json:"id"`
	Line    string   `json:"line"`
	Records []string `json:"records"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL