tencentcloud-sdk-cwp 3.0.471 → 3.0.472

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180228/models.rb +54 -7
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 53115fe977f9d0bdd54e011c086b3cf5cc5da4b8
4
- data.tar.gz: 53c288c2a6834b368c038264923050721814f777
3
+ metadata.gz: bb810eed7f010c59b0c7d80f528ee55c9325d616
4
+ data.tar.gz: 09690efeaef1a890be837ec2bdc961f2675c3726
5
5
  SHA512:
6
- metadata.gz: 331e68d4daacaee1583fec77c9c22428202442ae9f5f06668d6b418fa8881648a2423ab47bb4f023f1e288a468748cd3ce14f53260efe3540c6c6d28ae33dd86
7
- data.tar.gz: 54b78669cb301cd3417919fc1401d12d6c386f8780c605a000aa7c49d03bfac8ff08a672b09d70134ee529cf7e49c002ca8371b9305ba71b43825c225d268f26
6
+ metadata.gz: fccb91adcb049d2d53561d166d965e828b0971dcebdccd3df80083be21c7b2cf06f38d9750ca2f5425de8515277174b6a9eb0b7fef53138ec16179825a433b26
7
+ data.tar.gz: 5656880b729189dcc43d2e7c0d0a490612490547db36576f1c5723ca708496790db063bcfa2e5681ac6799a838597956db8e215d1eeb537cb7945f13dd29887b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.471
1
+ 3.0.472
@@ -3701,12 +3701,14 @@ module TencentCloud
3701
3701
  # @param AutoRenewFlag: 是否自动续费, 默认不自动续费.
3702
3702
  # 该参数仅包年包月生效
3703
3703
  # @type AutoRenewFlag: Boolean
3704
- # @param AutoProtectOpenConfig: 自动防护授权配置值, 不空则表示开启
3704
+ # @param AutoProtectOpenConfig: 该字段作废
3705
3705
  # @type AutoProtectOpenConfig: String
3706
+ # @param ModifyConfig: 变配参数
3707
+ # @type ModifyConfig: :class:`Tencentcloud::Cwp.v20180228.models.OrderModifyObject`
3706
3708
 
3707
- attr_accessor :Tags, :LicenseType, :LicenseNum, :RegionId, :ProjectId, :TimeSpan, :AutoRenewFlag, :AutoProtectOpenConfig
3709
+ attr_accessor :Tags, :LicenseType, :LicenseNum, :RegionId, :ProjectId, :TimeSpan, :AutoRenewFlag, :AutoProtectOpenConfig, :ModifyConfig
3708
3710
 
3709
- def initialize(tags=nil, licensetype=nil, licensenum=nil, regionid=nil, projectid=nil, timespan=nil, autorenewflag=nil, autoprotectopenconfig=nil)
3711
+ def initialize(tags=nil, licensetype=nil, licensenum=nil, regionid=nil, projectid=nil, timespan=nil, autorenewflag=nil, autoprotectopenconfig=nil, modifyconfig=nil)
3710
3712
  @Tags = tags
3711
3713
  @LicenseType = licensetype
3712
3714
  @LicenseNum = licensenum
@@ -3715,6 +3717,7 @@ module TencentCloud
3715
3717
  @TimeSpan = timespan
3716
3718
  @AutoRenewFlag = autorenewflag
3717
3719
  @AutoProtectOpenConfig = autoprotectopenconfig
3720
+ @ModifyConfig = modifyconfig
3718
3721
  end
3719
3722
 
3720
3723
  def deserialize(params)
@@ -3733,6 +3736,10 @@ module TencentCloud
3733
3736
  @TimeSpan = params['TimeSpan']
3734
3737
  @AutoRenewFlag = params['AutoRenewFlag']
3735
3738
  @AutoProtectOpenConfig = params['AutoProtectOpenConfig']
3739
+ unless params['ModifyConfig'].nil?
3740
+ @ModifyConfig = OrderModifyObject.new
3741
+ @ModifyConfig.deserialize(params['ModifyConfig'])
3742
+ end
3736
3743
  end
3737
3744
  end
3738
3745
 
@@ -9929,12 +9936,16 @@ module TencentCloud
9929
9936
  # @type CwpVersionLicenseCnt: Integer
9930
9937
  # @param AvailableLHLicenseCnt: 可用惠普版授权数
9931
9938
  # @type AvailableLHLicenseCnt: Integer
9939
+ # @param AutoRepurchaseSwitch: 自动加购开关, true 开启, false 关闭
9940
+ # @type AutoRepurchaseSwitch: Boolean
9941
+ # @param AutoRepurchaseRenewSwitch: 自动加购订单是否自动续费 ,true 开启, false 关闭
9942
+ # @type AutoRepurchaseRenewSwitch: Boolean
9932
9943
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9933
9944
  # @type RequestId: String
9934
9945
 
9935
- attr_accessor :LicenseCnt, :AvailableLicenseCnt, :AvailableProVersionLicenseCnt, :AvailableFlagshipVersionLicenseCnt, :NearExpiryLicenseCnt, :ExpireLicenseCnt, :AutoOpenStatus, :ProtectType, :IsOpenStatusHistory, :UsedLicenseCnt, :NotExpiredLicenseCnt, :FlagshipVersionLicenseCnt, :ProVersionLicenseCnt, :CwpVersionLicenseCnt, :AvailableLHLicenseCnt, :RequestId
9946
+ attr_accessor :LicenseCnt, :AvailableLicenseCnt, :AvailableProVersionLicenseCnt, :AvailableFlagshipVersionLicenseCnt, :NearExpiryLicenseCnt, :ExpireLicenseCnt, :AutoOpenStatus, :ProtectType, :IsOpenStatusHistory, :UsedLicenseCnt, :NotExpiredLicenseCnt, :FlagshipVersionLicenseCnt, :ProVersionLicenseCnt, :CwpVersionLicenseCnt, :AvailableLHLicenseCnt, :AutoRepurchaseSwitch, :AutoRepurchaseRenewSwitch, :RequestId
9936
9947
 
9937
- def initialize(licensecnt=nil, availablelicensecnt=nil, availableproversionlicensecnt=nil, availableflagshipversionlicensecnt=nil, nearexpirylicensecnt=nil, expirelicensecnt=nil, autoopenstatus=nil, protecttype=nil, isopenstatushistory=nil, usedlicensecnt=nil, notexpiredlicensecnt=nil, flagshipversionlicensecnt=nil, proversionlicensecnt=nil, cwpversionlicensecnt=nil, availablelhlicensecnt=nil, requestid=nil)
9948
+ def initialize(licensecnt=nil, availablelicensecnt=nil, availableproversionlicensecnt=nil, availableflagshipversionlicensecnt=nil, nearexpirylicensecnt=nil, expirelicensecnt=nil, autoopenstatus=nil, protecttype=nil, isopenstatushistory=nil, usedlicensecnt=nil, notexpiredlicensecnt=nil, flagshipversionlicensecnt=nil, proversionlicensecnt=nil, cwpversionlicensecnt=nil, availablelhlicensecnt=nil, autorepurchaseswitch=nil, autorepurchaserenewswitch=nil, requestid=nil)
9938
9949
  @LicenseCnt = licensecnt
9939
9950
  @AvailableLicenseCnt = availablelicensecnt
9940
9951
  @AvailableProVersionLicenseCnt = availableproversionlicensecnt
@@ -9950,6 +9961,8 @@ module TencentCloud
9950
9961
  @ProVersionLicenseCnt = proversionlicensecnt
9951
9962
  @CwpVersionLicenseCnt = cwpversionlicensecnt
9952
9963
  @AvailableLHLicenseCnt = availablelhlicensecnt
9964
+ @AutoRepurchaseSwitch = autorepurchaseswitch
9965
+ @AutoRepurchaseRenewSwitch = autorepurchaserenewswitch
9953
9966
  @RequestId = requestid
9954
9967
  end
9955
9968
 
@@ -9969,6 +9982,8 @@ module TencentCloud
9969
9982
  @ProVersionLicenseCnt = params['ProVersionLicenseCnt']
9970
9983
  @CwpVersionLicenseCnt = params['CwpVersionLicenseCnt']
9971
9984
  @AvailableLHLicenseCnt = params['AvailableLHLicenseCnt']
9985
+ @AutoRepurchaseSwitch = params['AutoRepurchaseSwitch']
9986
+ @AutoRepurchaseRenewSwitch = params['AutoRepurchaseRenewSwitch']
9972
9987
  @RequestId = params['RequestId']
9973
9988
  end
9974
9989
  end
@@ -17014,15 +17029,23 @@ module TencentCloud
17014
17029
  # <li>CLOSE:关闭</li>
17015
17030
  # <li>OPEN:打开</li>
17016
17031
  # @type Status: String
17032
+ # @param AutoRepurchaseSwitch: 自动加购/扩容授权开关,默认 1, 0关闭, 1开启
17033
+ # @type AutoRepurchaseSwitch: Integer
17034
+ # @param AutoRepurchaseRenewSwitch: 自动加购的订单是否自动续费,默认0 ,0关闭, 1开启
17035
+ # @type AutoRepurchaseRenewSwitch: Integer
17017
17036
 
17018
- attr_accessor :Status
17037
+ attr_accessor :Status, :AutoRepurchaseSwitch, :AutoRepurchaseRenewSwitch
17019
17038
 
17020
- def initialize(status=nil)
17039
+ def initialize(status=nil, autorepurchaseswitch=nil, autorepurchaserenewswitch=nil)
17021
17040
  @Status = status
17041
+ @AutoRepurchaseSwitch = autorepurchaseswitch
17042
+ @AutoRepurchaseRenewSwitch = autorepurchaserenewswitch
17022
17043
  end
17023
17044
 
17024
17045
  def deserialize(params)
17025
17046
  @Status = params['Status']
17047
+ @AutoRepurchaseSwitch = params['AutoRepurchaseSwitch']
17048
+ @AutoRepurchaseRenewSwitch = params['AutoRepurchaseRenewSwitch']
17026
17049
  end
17027
17050
  end
17028
17051
 
@@ -17648,6 +17671,30 @@ module TencentCloud
17648
17671
  end
17649
17672
  end
17650
17673
 
17674
+ # 订单变配参数对象
17675
+ class OrderModifyObject < TencentCloud::Common::AbstractModel
17676
+ # @param ResourceId: 资源ID
17677
+ # @type ResourceId: String
17678
+ # @param NewSubProductCode: 新产品标识,这里支持PRO_VERSION 专业版,FLAGSHIP 旗舰版
17679
+ # @type NewSubProductCode: String
17680
+ # @param InquireNum: 扩容/缩容数,变配子产品忽略该参数
17681
+ # @type InquireNum: Integer
17682
+
17683
+ attr_accessor :ResourceId, :NewSubProductCode, :InquireNum
17684
+
17685
+ def initialize(resourceid=nil, newsubproductcode=nil, inquirenum=nil)
17686
+ @ResourceId = resourceid
17687
+ @NewSubProductCode = newsubproductcode
17688
+ @InquireNum = inquirenum
17689
+ end
17690
+
17691
+ def deserialize(params)
17692
+ @ResourceId = params['ResourceId']
17693
+ @NewSubProductCode = params['NewSubProductCode']
17694
+ @InquireNum = params['InquireNum']
17695
+ end
17696
+ end
17697
+
17651
17698
  # 操作系统名称
17652
17699
  class OsName < TencentCloud::Common::AbstractModel
17653
17700
  # @param Name: 系统名称
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cwp
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