Class: TencentCloud::Cdn::V20180606::DescribePayTypeRequest

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

Overview

DescribePayType请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(area = nil, product = nil, type = nil) ⇒ DescribePayTypeRequest

Returns a new instance of DescribePayTypeRequest.



5069
5070
5071
5072
5073
# File 'lib/v20180606/models.rb', line 5069

def initialize(area=nil, product=nil, type=nil)
  @Area = area
  @Product = product
  @Type = type
end

Instance Attribute Details

#AreaObject

mainland:境内计费方式查询 overseas:境外计费方式查询 global:全球计费方式查询 未填充时,默认为 mainland flux:流量包 https:HTTPS请求包 未填充时,默认为 flux

Parameters:

  • Area:

    指定服务地域查询

  • Product:

    指定查询的产品数据,可选为cdn或者ecdn,默认为cdn

  • Type:

    指定资源包查询



5067
5068
5069
# File 'lib/v20180606/models.rb', line 5067

def Area
  @Area
end

#ProductObject

mainland:境内计费方式查询 overseas:境外计费方式查询 global:全球计费方式查询 未填充时,默认为 mainland flux:流量包 https:HTTPS请求包 未填充时,默认为 flux

Parameters:

  • Area:

    指定服务地域查询

  • Product:

    指定查询的产品数据,可选为cdn或者ecdn,默认为cdn

  • Type:

    指定资源包查询



5067
5068
5069
# File 'lib/v20180606/models.rb', line 5067

def Product
  @Product
end

#TypeObject

mainland:境内计费方式查询 overseas:境外计费方式查询 global:全球计费方式查询 未填充时,默认为 mainland flux:流量包 https:HTTPS请求包 未填充时,默认为 flux

Parameters:

  • Area:

    指定服务地域查询

  • Product:

    指定查询的产品数据,可选为cdn或者ecdn,默认为cdn

  • Type:

    指定资源包查询



5067
5068
5069
# File 'lib/v20180606/models.rb', line 5067

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



5075
5076
5077
5078
5079
# File 'lib/v20180606/models.rb', line 5075

def deserialize(params)
  @Area = params['Area']
  @Product = params['Product']
  @Type = params['Type']
end