tencentcloud-sdk-lighthouse 3.0.471 → 3.0.472

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20200324/models.rb +21 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3c00e4b55b0803f05bd217a1a2b604c92ac80e62
4
- data.tar.gz: 8f4ab0c96c288585c97f86e0e92741655caf61ff
3
+ metadata.gz: cff125c7a4ad6ab69bd4a0bebf74fbe43f018cb5
4
+ data.tar.gz: 5cb5532a1d4d3468602caad0306e116364b8b463
5
5
  SHA512:
6
- metadata.gz: ac26f76626fe557c8053eaa34a37455095cc1637561929e36f20bcd74d16540817643f8beb828bb6a87c315b0350563141632b6f439342ff6a46f0f1b2782298
7
- data.tar.gz: 519e29673ccc7f85ddd798400f0ecfd27be76c4243957cb86561ade7469dc7382ef590d1948e95166d39c2d2794b1022ddf2edbd18c41aca066425b8a9c294b6
6
+ metadata.gz: 48e88f9ff1ca940bed76f272fe07645fb0f67f3269636bd59858b79ea6ced298d85ad98000c2c8335e64a7d2b95f3b163d5feb492c4e563a970a576be00af9c9
7
+ data.tar.gz: 522e9f32cce5e78bdc5f633e1aa009b87ca3a877ccb2a2147c3efb7e4bf5ebb252d4c7d85cccdf7ca31426b1bed0c567a98db2b376dae89613e4fea0080a46f0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.471
1
+ 3.0.472
@@ -3843,14 +3843,18 @@ module TencentCloud
3843
3843
  # @type Discount: Integer
3844
3844
  # @param DiscountPrice: 折后价。
3845
3845
  # @type DiscountPrice: Float
3846
+ # @param Currency: 价格货币单位。取值范围CNY:人民币。USD:美元。
3847
+ # 注意:此字段可能返回 null,表示取不到有效值。
3848
+ # @type Currency: String
3846
3849
 
3847
- attr_accessor :OriginalBundlePrice, :OriginalPrice, :Discount, :DiscountPrice
3850
+ attr_accessor :OriginalBundlePrice, :OriginalPrice, :Discount, :DiscountPrice, :Currency
3848
3851
 
3849
- def initialize(originalbundleprice=nil, originalprice=nil, discount=nil, discountprice=nil)
3852
+ def initialize(originalbundleprice=nil, originalprice=nil, discount=nil, discountprice=nil, currency=nil)
3850
3853
  @OriginalBundlePrice = originalbundleprice
3851
3854
  @OriginalPrice = originalprice
3852
3855
  @Discount = discount
3853
3856
  @DiscountPrice = discountprice
3857
+ @Currency = currency
3854
3858
  end
3855
3859
 
3856
3860
  def deserialize(params)
@@ -3858,6 +3862,7 @@ module TencentCloud
3858
3862
  @OriginalPrice = params['OriginalPrice']
3859
3863
  @Discount = params['Discount']
3860
3864
  @DiscountPrice = params['DiscountPrice']
3865
+ @Currency = params['Currency']
3861
3866
  end
3862
3867
  end
3863
3868
 
@@ -3869,12 +3874,16 @@ module TencentCloud
3869
3874
  # @param InstancePrice: 询价信息。
3870
3875
  # 注意:此字段可能返回 null,表示取不到有效值。
3871
3876
  # @type InstancePrice: :class:`Tencentcloud::Lighthouse.v20200324.models.InstancePrice`
3877
+ # @param DiscountDetail: 折扣梯度详情,每个梯度包含的信息有:时长,折扣数,总价,折扣价,折扣详情(用户折扣、官网折扣、最终折扣)。
3878
+ # 注意:此字段可能返回 null,表示取不到有效值。
3879
+ # @type DiscountDetail: Array
3872
3880
 
3873
- attr_accessor :InstanceId, :InstancePrice
3881
+ attr_accessor :InstanceId, :InstancePrice, :DiscountDetail
3874
3882
 
3875
- def initialize(instanceid=nil, instanceprice=nil)
3883
+ def initialize(instanceid=nil, instanceprice=nil, discountdetail=nil)
3876
3884
  @InstanceId = instanceid
3877
3885
  @InstancePrice = instanceprice
3886
+ @DiscountDetail = discountdetail
3878
3887
  end
3879
3888
 
3880
3889
  def deserialize(params)
@@ -3883,6 +3892,14 @@ module TencentCloud
3883
3892
  @InstancePrice = InstancePrice.new
3884
3893
  @InstancePrice.deserialize(params['InstancePrice'])
3885
3894
  end
3895
+ unless params['DiscountDetail'].nil?
3896
+ @DiscountDetail = []
3897
+ params['DiscountDetail'].each do |i|
3898
+ discountdetail_tmp = DiscountDetail.new
3899
+ discountdetail_tmp.deserialize(i)
3900
+ @DiscountDetail << discountdetail_tmp
3901
+ end
3902
+ end
3886
3903
  end
3887
3904
  end
3888
3905
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-lighthouse
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.471
4
+ version: 3.0.472
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-12 00:00:00.000000000 Z
11
+ date: 2022-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common