Class: TencentCloud::Domain::V20180808::DescribeDomainPriceListRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180808/models.rb

Overview

DescribeDomainPriceList请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tldlist = nil, year = nil, operation = nil) ⇒ DescribeDomainPriceListRequest

Returns a new instance of DescribeDomainPriceListRequest.



1958
1959
1960
1961
1962
# File 'lib/v20180808/models.rb', line 1958

def initialize(tldlist=nil, year=nil, operation=nil)
  @TldList = tldlist
  @Year = year
  @Operation = operation
end

Instance Attribute Details

#OperationObject

new 新购renew 续费redem 赎回tran 转入

Parameters:

  • TldList:

    查询指定域名后缀的域名价格列表,若不指定域名后缀,默认查询所有后缀的域名价格列表。

  • Year:

    查询购买的年份,默认会列出所有年份的价格,可选值【1,10】

  • Operation:

    域名的购买类型:



1956
1957
1958
# File 'lib/v20180808/models.rb', line 1956

def Operation
  @Operation
end

#TldListObject

new 新购renew 续费redem 赎回tran 转入

Parameters:

  • TldList:

    查询指定域名后缀的域名价格列表,若不指定域名后缀,默认查询所有后缀的域名价格列表。

  • Year:

    查询购买的年份,默认会列出所有年份的价格,可选值【1,10】

  • Operation:

    域名的购买类型:



1956
1957
1958
# File 'lib/v20180808/models.rb', line 1956

def TldList
  @TldList
end

#YearObject

new 新购renew 续费redem 赎回tran 转入

Parameters:

  • TldList:

    查询指定域名后缀的域名价格列表,若不指定域名后缀,默认查询所有后缀的域名价格列表。

  • Year:

    查询购买的年份,默认会列出所有年份的价格,可选值【1,10】

  • Operation:

    域名的购买类型:



1956
1957
1958
# File 'lib/v20180808/models.rb', line 1956

def Year
  @Year
end

Instance Method Details

#deserialize(params) ⇒ Object



1964
1965
1966
1967
1968
# File 'lib/v20180808/models.rb', line 1964

def deserialize(params)
  @TldList = params['TldList']
  @Year = params['Year']
  @Operation = params['Operation']
end