v20180808

package
v3.0.233+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersion = "2018-08-08"

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckDomainRequest

type CheckDomainRequest struct {
	*tchttp.BaseRequest

	// 所查询域名名称
	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`

	// 年限
	Period *string `json:"Period,omitempty" name:"Period"`
}

func NewCheckDomainRequest

func NewCheckDomainRequest() (request *CheckDomainRequest)

func (*CheckDomainRequest) FromJsonString

func (r *CheckDomainRequest) FromJsonString(s string) error

func (*CheckDomainRequest) ToJsonString

func (r *CheckDomainRequest) ToJsonString() string

type CheckDomainResponse

type CheckDomainResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 所查询域名名称
		DomainName *string `json:"DomainName,omitempty" name:"DomainName"`

		// 是否能够注册
		Available *bool `json:"Available,omitempty" name:"Available"`

		// 不能注册原因
		Reason *string `json:"Reason,omitempty" name:"Reason"`

		// 是否是溢价词
		Premium *bool `json:"Premium,omitempty" name:"Premium"`

		// 域名价格
		Price *uint64 `json:"Price,omitempty" name:"Price"`

		// 是否是敏感词
		BlackWord *bool `json:"BlackWord,omitempty" name:"BlackWord"`

		// 溢价词描述
		// 注意:此字段可能返回 null,表示取不到有效值。
		Describe *string `json:"Describe,omitempty" name:"Describe"`

		// 溢价词的续费价格
		// 注意:此字段可能返回 null,表示取不到有效值。
		FeeRenew *uint64 `json:"FeeRenew,omitempty" name:"FeeRenew"`

		// 域名真实价格
		// 注意:此字段可能返回 null,表示取不到有效值。
		RealPrice *uint64 `json:"RealPrice,omitempty" name:"RealPrice"`

		// 溢价词的转入价格
		// 注意:此字段可能返回 null,表示取不到有效值。
		FeeTransfer *uint64 `json:"FeeTransfer,omitempty" name:"FeeTransfer"`

		// 溢价词的赎回价格
		FeeRestore *uint64 `json:"FeeRestore,omitempty" name:"FeeRestore"`

		// 检测年限
		Period *uint64 `json:"Period,omitempty" name:"Period"`

		// 是否支持北京备案  true 支持  false 不支持
		RecordSupport *bool `json:"RecordSupport,omitempty" name:"RecordSupport"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCheckDomainResponse

func NewCheckDomainResponse() (response *CheckDomainResponse)

func (*CheckDomainResponse) FromJsonString

func (r *CheckDomainResponse) FromJsonString(s string) error

func (*CheckDomainResponse) ToJsonString

func (r *CheckDomainResponse) ToJsonString() string

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) CheckDomain

func (c *Client) CheckDomain(request *CheckDomainRequest) (response *CheckDomainResponse, err error)

检查域名是否可以注册。

func (*Client) DescribeDomainPriceList

func (c *Client) DescribeDomainPriceList(request *DescribeDomainPriceListRequest) (response *DescribeDomainPriceListResponse, err error)

按照域名后缀获取对应的价格列表

type DescribeDomainPriceListRequest

type DescribeDomainPriceListRequest struct {
	*tchttp.BaseRequest

	// 查询价格的后缀列表。默认则为全部后缀
	TldList []*string `json:"TldList,omitempty" name:"TldList" list`

	// 查询购买的年份,默认会列出所有年份的价格
	Year []*int64 `json:"Year,omitempty" name:"Year" list`

	// 域名的购买类型:new  新购,renew 续费,redem 赎回,tran 转入
	Operation []*string `json:"Operation,omitempty" name:"Operation" list`
}

func NewDescribeDomainPriceListRequest

func NewDescribeDomainPriceListRequest() (request *DescribeDomainPriceListRequest)

func (*DescribeDomainPriceListRequest) FromJsonString

func (r *DescribeDomainPriceListRequest) FromJsonString(s string) error

func (*DescribeDomainPriceListRequest) ToJsonString

func (r *DescribeDomainPriceListRequest) ToJsonString() string

type DescribeDomainPriceListResponse

type DescribeDomainPriceListResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 域名价格列表
		PriceList []*PriceInfo `json:"PriceList,omitempty" name:"PriceList" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeDomainPriceListResponse

func NewDescribeDomainPriceListResponse() (response *DescribeDomainPriceListResponse)

func (*DescribeDomainPriceListResponse) FromJsonString

func (r *DescribeDomainPriceListResponse) FromJsonString(s string) error

func (*DescribeDomainPriceListResponse) ToJsonString

func (r *DescribeDomainPriceListResponse) ToJsonString() string

type PriceInfo

type PriceInfo struct {

	// 域名后缀,例如.com
	Tld *string `json:"Tld,omitempty" name:"Tld"`

	// 购买年限,范围[1-10]
	Year *uint64 `json:"Year,omitempty" name:"Year"`

	// 域名原价
	Price *uint64 `json:"Price,omitempty" name:"Price"`

	// 域名现价
	RealPrice *uint64 `json:"RealPrice,omitempty" name:"RealPrice"`

	// 商品的购买类型,新购,续费,赎回,转入,续费并转入
	Operation *string `json:"Operation,omitempty" name:"Operation"`
}

Jump to

Keyboard shortcuts

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