tencentcloud-sdk-teo 3.0.832 → 3.0.833

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/v20220901/models.rb +14 -14
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d4bb9989413115d228d4b2c8b2aad8f7ea1293d5
4
- data.tar.gz: 6b3f3f2c7af07e77ea561ab994f7887feafa3b9d
3
+ metadata.gz: f01fac6ca13f960bbc17bd66db675b54ebe48ea4
4
+ data.tar.gz: 3bc7607ce482989d750a85944a53f76717382cf1
5
5
  SHA512:
6
- metadata.gz: 0eef936b28d6159d031cfe1fa7104ef35e8216348e32cfbc4fb1654134604d62a5b13c3d642b0eb918773063a72281d91e98c29aac8a32e59dae2e7a11f8570d
7
- data.tar.gz: a524bd7ff27cbcf289d24f62bb07bbd3dc4d6e6b473ba2663e1c5ca1ec3c43e9356b9f355bcb51bc0dc837458204e982f57aed3b90a13a71717413406ce59d66
6
+ metadata.gz: 0b7c73bef17afd61230263163807295d6c96cb3c17e2875ac3c901bb71fffa0cb8bee0f6c0b900cf51242aec6e3ba596f60a06ea2b87f3467de9541ad9edfbbb
7
+ data.tar.gz: 595563925815ee60b417d70be8b01ae5ef9d7b0185c1b2a713faf76fb7da133d20c215b81f4f7c09709d599a7cb231161049772c36d6496d892c2d93caccbb4a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.832
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.832
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-28 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