tencentcloud-sdk-teo 3.0.831 → 3.0.833

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/v20220901/models.rb +14 -14
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7df4dcdb9d9afe255a0c03a3cb0332faa293929e
4
- data.tar.gz: dc41631ea9a73c4886eb5e5f7fd757104621c129
3
+ metadata.gz: f01fac6ca13f960bbc17bd66db675b54ebe48ea4
4
+ data.tar.gz: 3bc7607ce482989d750a85944a53f76717382cf1
5
5
  SHA512:
6
- metadata.gz: 1205a9ad307cd6469af080d6a86b9cf9fa09023515260721dde9ef6dbd97f6ed0b2bafbd686131900d7ba0a32e5a5b9f1b11c9abf6dd319ccac29135bf876b83
7
- data.tar.gz: 9ebf166027a288fd19d644626c55eacfb456fbb7863d5c2ef3ede320ab627e9f8283ceab9aa852d9540bb2a90265fd06ffc5e922689aab79400b66dd3f9c7216
6
+ metadata.gz: 0b7c73bef17afd61230263163807295d6c96cb3c17e2875ac3c901bb71fffa0cb8bee0f6c0b900cf51242aec6e3ba596f60a06ea2b87f3467de9541ad9edfbbb
7
+ data.tar.gz: 595563925815ee60b417d70be8b01ae5ef9d7b0185c1b2a713faf76fb7da133d20c215b81f4f7c09709d599a7cb231161049772c36d6496d892c2d93caccbb4a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.831
1
+ 3.0.833
@@ -11101,31 +11101,23 @@ module TencentCloud
11101
11101
 
11102
11102
  # 规则引擎规则项,Conditions 数组内多个项的关系为 或,内层 Conditions 列表内多个项的关系为 且。
11103
11103
  class Rule < TencentCloud::Common::AbstractModel
11104
- # @param Actions: 执行的功能。
11105
- # @type Actions: Array
11106
11104
  # @param Conditions: 执行功能判断条件。
11107
11105
  # 注意:满足该数组内任意一项条件,功能即可执行。
11108
11106
  # @type Conditions: Array
11109
- # @param SubRules: 嵌套规则。
11107
+ # @param Actions: 执行的功能。注意:Actions 和 SubRules 不可都为空
11108
+ # @type Actions: Array
11109
+ # @param SubRules: 嵌套规则。注意:SubRules 和 Actions 不可都为空
11110
11110
  # @type SubRules: Array
11111
11111
 
11112
- attr_accessor :Actions, :Conditions, :SubRules
11112
+ attr_accessor :Conditions, :Actions, :SubRules
11113
11113
 
11114
- def initialize(actions=nil, conditions=nil, subrules=nil)
11115
- @Actions = actions
11114
+ def initialize(conditions=nil, actions=nil, subrules=nil)
11116
11115
  @Conditions = conditions
11116
+ @Actions = actions
11117
11117
  @SubRules = subrules
11118
11118
  end
11119
11119
 
11120
11120
  def deserialize(params)
11121
- unless params['Actions'].nil?
11122
- @Actions = []
11123
- params['Actions'].each do |i|
11124
- action_tmp = Action.new
11125
- action_tmp.deserialize(i)
11126
- @Actions << action_tmp
11127
- end
11128
- end
11129
11121
  unless params['Conditions'].nil?
11130
11122
  @Conditions = []
11131
11123
  params['Conditions'].each do |i|
@@ -11134,6 +11126,14 @@ module TencentCloud
11134
11126
  @Conditions << ruleandconditions_tmp
11135
11127
  end
11136
11128
  end
11129
+ unless params['Actions'].nil?
11130
+ @Actions = []
11131
+ params['Actions'].each do |i|
11132
+ action_tmp = Action.new
11133
+ action_tmp.deserialize(i)
11134
+ @Actions << action_tmp
11135
+ end
11136
+ end
11137
11137
  unless params['SubRules'].nil?
11138
11138
  @SubRules = []
11139
11139
  params['SubRules'].each do |i|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-teo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.831
4
+ version: 3.0.833
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-27 00:00:00.000000000 Z
11
+ date: 2024-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common