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.



3596
3597
3598
3599
3600
# File 'lib/v20180606/models.rb', line 3596

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:

    指定资源包查询



3594
3595
3596
# File 'lib/v20180606/models.rb', line 3594

def Area
  @Area
end

#ProductObject

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

Parameters:

  • Area:

    指定服务地域查询

  • Product:

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

  • Type:

    指定资源包查询



3594
3595
3596
# File 'lib/v20180606/models.rb', line 3594

def Product
  @Product
end

#TypeObject

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

Parameters:

  • Area:

    指定服务地域查询

  • Product:

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

  • Type:

    指定资源包查询



3594
3595
3596
# File 'lib/v20180606/models.rb', line 3594

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



3602
3603
3604
3605
3606
# File 'lib/v20180606/models.rb', line 3602

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