models

package
v0.0.0-...-ebd5e3c Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateDomainRecordRequest

type CreateDomainRecordRequest struct {
	Domain     *string      `json:"domain,omitempty"`
	Value      *string      `json:"value,omitempty"`
	RecordType *record.Type `json:"record_type,omitempty"`
}

func NewCreateDomainRecordRequest

func NewCreateDomainRecordRequest() *CreateDomainRecordRequest

func (*CreateDomainRecordRequest) SetDomain

func (*CreateDomainRecordRequest) SetRecordType

func (_this *CreateDomainRecordRequest) SetRecordType(recordType record.Type) *CreateDomainRecordRequest

func (*CreateDomainRecordRequest) SetValue

type DeleteDomainRecordRequest

type DeleteDomainRecordRequest struct {
	ID     *string `json:"id,omitempty"`
	Domain *string `json:"domain,omitempty"`
}

func NewDeleteDomainRecordRequest

func NewDeleteDomainRecordRequest() *DeleteDomainRecordRequest

func (*DeleteDomainRecordRequest) SetDomain

func (*DeleteDomainRecordRequest) SetID

type DescribeDomainRecordsRequest

type DescribeDomainRecordsRequest struct {
	Domain       *string     `json:"domain,omitempty"`
	RecordType   record.Type `json:"record_type,omitempty"`
	RRKeyWord    *string     `json:"rr_key_word,omitempty"`
	ValueKeyWord *string     `json:"value_key_word,omitempty"`
	//dnspod 并没有页数说法,使用偏移量替代,偏移量从0开始,最大偏移量就是所有域名记录数-1,并且每个偏移量返回记录数不一
	PageNumber *int64 `json:"page_number,omitempty"`
	PageSize   *int64 `json:"page_size,omitempty"`
}

DescribeDomainRecordsRequest RRKeyWord 记录关键字 ValueKeyWord 记录值关键字 PageSize 分页大小 PageNumber 当前页数

func NewDescribeDomainRecordsRequest

func NewDescribeDomainRecordsRequest() *DescribeDomainRecordsRequest

func (*DescribeDomainRecordsRequest) SetDomain

func (*DescribeDomainRecordsRequest) SetPageNumber

func (_this *DescribeDomainRecordsRequest) SetPageNumber(PageNumber int64) *DescribeDomainRecordsRequest

func (*DescribeDomainRecordsRequest) SetPageSize

func (_this *DescribeDomainRecordsRequest) SetPageSize(PageSize int64) *DescribeDomainRecordsRequest

func (*DescribeDomainRecordsRequest) SetRRKeyWord

func (_this *DescribeDomainRecordsRequest) SetRRKeyWord(RRKeyWord string) *DescribeDomainRecordsRequest

func (*DescribeDomainRecordsRequest) SetRecordType

func (_this *DescribeDomainRecordsRequest) SetRecordType(recordType record.Type) *DescribeDomainRecordsRequest

func (*DescribeDomainRecordsRequest) SetValueKeyWord

func (_this *DescribeDomainRecordsRequest) SetValueKeyWord(ValueKeyWord string) *DescribeDomainRecordsRequest

type DomainRecordStatusResponse

type DomainRecordStatusResponse struct {
	RequestId *string `json:"request_id,omitempty"`
	RecordId  *string `json:"record_id,omitempty"`
}

func (*DomainRecordStatusResponse) String

func (_this *DomainRecordStatusResponse) String() string

type DomainRecordsResponse

type DomainRecordsResponse struct {
	TotalCount *int64    `json:"total_count,omitempty"`
	PageSize   *int64    `json:"page_size,omitempty"`
	PageNumber *int64    `json:"page_number,omitempty"`
	ListCount  *int64    `json:"list_count,omitempty"`
	Records    []*Record `json:"records,omitempty"`
}

func (*DomainRecordsResponse) String

func (_this *DomainRecordsResponse) String() string

type Record

type Record struct {
	ID         *string     `json:"id,omitempty"`
	RecordType record.Type `json:"record_type,omitempty"`
	RR         *string     `json:"rr,omitempty"`
	Domain     *string     `json:"domain,omitempty"`
	Value      *string     `json:"value,omitempty"`
	Status     *string     `json:"status,omitempty"`
	TTL        *int64      `json:"ttl,omitempty"`
}

func (*Record) String

func (_this *Record) String() string

type UpdateDomainRecordRequest

type UpdateDomainRecordRequest struct {
	ID         *string     `json:"id,omitempty"`
	Domain     *string     `json:"domain,omitempty"`
	Value      *string     `json:"value,omitempty"`
	RecordType record.Type `json:"record_type,omitempty"`
}

func NewUpdateDomainRecordRequest

func NewUpdateDomainRecordRequest() *UpdateDomainRecordRequest

func (*UpdateDomainRecordRequest) SetDomain

func (*UpdateDomainRecordRequest) SetID

func (*UpdateDomainRecordRequest) SetRecordType

func (_this *UpdateDomainRecordRequest) SetRecordType(recordType record.Type) *UpdateDomainRecordRequest

func (*UpdateDomainRecordRequest) SetValue

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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