Class: TencentCloud::Gaap::V20180529::DescribeRegionAndPriceResponse

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

Overview

DescribeRegionAndPrice返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, destregionset = nil, bandwidthunitprice = nil, currency = nil, requestid = nil) ⇒ DescribeRegionAndPriceResponse

Returns a new instance of DescribeRegionAndPriceResponse.



3936
3937
3938
3939
3940
3941
3942
# File 'lib/v20180529/models.rb', line 3936

def initialize(totalcount=nil, destregionset=nil, bandwidthunitprice=nil, currency=nil, requestid=nil)
  @TotalCount = totalcount
  @DestRegionSet = destregionset
  @BandwidthUnitPrice = bandwidthunitprice
  @Currency = currency
  @RequestId = requestid
end

Instance Attribute Details

#BandwidthUnitPriceObject

CNY 人民币USD 美元

Parameters:

  • TotalCount:

    源站区域总数

  • DestRegionSet:

    源站区域详情列表

  • BandwidthUnitPrice:

    通道带宽费用梯度价格

  • Currency:

    带宽价格货币类型:

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3934
3935
3936
# File 'lib/v20180529/models.rb', line 3934

def BandwidthUnitPrice
  @BandwidthUnitPrice
end

#CurrencyObject

CNY 人民币USD 美元

Parameters:

  • TotalCount:

    源站区域总数

  • DestRegionSet:

    源站区域详情列表

  • BandwidthUnitPrice:

    通道带宽费用梯度价格

  • Currency:

    带宽价格货币类型:

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3934
3935
3936
# File 'lib/v20180529/models.rb', line 3934

def Currency
  @Currency
end

#DestRegionSetObject

CNY 人民币USD 美元

Parameters:

  • TotalCount:

    源站区域总数

  • DestRegionSet:

    源站区域详情列表

  • BandwidthUnitPrice:

    通道带宽费用梯度价格

  • Currency:

    带宽价格货币类型:

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3934
3935
3936
# File 'lib/v20180529/models.rb', line 3934

def DestRegionSet
  @DestRegionSet
end

#RequestIdObject

CNY 人民币USD 美元

Parameters:

  • TotalCount:

    源站区域总数

  • DestRegionSet:

    源站区域详情列表

  • BandwidthUnitPrice:

    通道带宽费用梯度价格

  • Currency:

    带宽价格货币类型:

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3934
3935
3936
# File 'lib/v20180529/models.rb', line 3934

def RequestId
  @RequestId
end

#TotalCountObject

CNY 人民币USD 美元

Parameters:

  • TotalCount:

    源站区域总数

  • DestRegionSet:

    源站区域详情列表

  • BandwidthUnitPrice:

    通道带宽费用梯度价格

  • Currency:

    带宽价格货币类型:

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3934
3935
3936
# File 'lib/v20180529/models.rb', line 3934

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
# File 'lib/v20180529/models.rb', line 3944

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['DestRegionSet'].nil?
    @DestRegionSet = []
    params['DestRegionSet'].each do |i|
      regiondetail_tmp = RegionDetail.new
      regiondetail_tmp.deserialize(i)
      @DestRegionSet << regiondetail_tmp
    end
  end
  unless params['BandwidthUnitPrice'].nil?
    @BandwidthUnitPrice = []
    params['BandwidthUnitPrice'].each do |i|
      bandwidthpricegradient_tmp = BandwidthPriceGradient.new
      bandwidthpricegradient_tmp.deserialize(i)
      @BandwidthUnitPrice << bandwidthpricegradient_tmp
    end
  end
  @Currency = params['Currency']
  @RequestId = params['RequestId']
end