Class: TencentCloud::Gaap::V20180529::DescribeRegionAndPriceResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gaap::V20180529::DescribeRegionAndPriceResponse
- Defined in:
- lib/v20180529/models.rb
Overview
DescribeRegionAndPrice返回参数结构体
Instance Attribute Summary collapse
-
#BandwidthUnitPrice ⇒ Object
CNY 人民币 USD 美元.
-
#Currency ⇒ Object
CNY 人民币 USD 美元.
-
#DestRegionSet ⇒ Object
CNY 人民币 USD 美元.
-
#RequestId ⇒ Object
CNY 人民币 USD 美元.
-
#TotalCount ⇒ Object
CNY 人民币 USD 美元.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, destregionset = nil, bandwidthunitprice = nil, currency = nil, requestid = nil) ⇒ DescribeRegionAndPriceResponse
constructor
A new instance of DescribeRegionAndPriceResponse.
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
#BandwidthUnitPrice ⇒ Object
CNY 人民币USD 美元
3934 3935 3936 |
# File 'lib/v20180529/models.rb', line 3934 def BandwidthUnitPrice @BandwidthUnitPrice end |
#Currency ⇒ Object
CNY 人民币USD 美元
3934 3935 3936 |
# File 'lib/v20180529/models.rb', line 3934 def Currency @Currency end |
#DestRegionSet ⇒ Object
CNY 人民币USD 美元
3934 3935 3936 |
# File 'lib/v20180529/models.rb', line 3934 def DestRegionSet @DestRegionSet end |
#RequestId ⇒ Object
CNY 人民币USD 美元
3934 3935 3936 |
# File 'lib/v20180529/models.rb', line 3934 def RequestId @RequestId end |
#TotalCount ⇒ Object
CNY 人民币USD 美元
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 |