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.



5057
5058
5059
5060
5061
# File 'lib/v20180606/models.rb', line 5057

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:

    指定资源包查询



5055
5056
5057
# File 'lib/v20180606/models.rb', line 5055

def Area
  @Area
end

#ProductObject

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

Parameters:

  • Area:

    指定服务地域查询

  • Product:

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

  • Type:

    指定资源包查询



5055
5056
5057
# File 'lib/v20180606/models.rb', line 5055

def Product
  @Product
end

#TypeObject

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

Parameters:

  • Area:

    指定服务地域查询

  • Product:

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

  • Type:

    指定资源包查询



5055
5056
5057
# File 'lib/v20180606/models.rb', line 5055

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



5063
5064
5065
5066
5067
# File 'lib/v20180606/models.rb', line 5063

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