tencentcloud-sdk-ame 1.0.254 → 1.0.255

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/v20190916/models.rb +13 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 994bbed56fa73bcd9e9c2abcaae8e0c55f01ea09
4
- data.tar.gz: 4fffde100ccf853e8ac219a2f9bcdcfa978372df
3
+ metadata.gz: 35af7c49369f3cd6b5bcd51173c256c7e991d346
4
+ data.tar.gz: 146cf9f120e6d8cc928ec60b59d0e222e631fe97
5
5
  SHA512:
6
- metadata.gz: 02d4792e8d4d0e90ec9f30a6915ea7d3488469e6b0ad1f3f8edda5579c332d5210e8c62fbee3d5552de961d5bf8012e8de657ae43cbffb5263ef8c1922980115
7
- data.tar.gz: 7eb32291da3b3ce3151f48d8d53c58ff7e25e5f175da1408b8886856619f0f174976a2907574034ac7553933c2194f346e44606c8f9b64f75b5f12da11f619c0
6
+ metadata.gz: 93731538975d89170b8d0f64b1f2b7eeefcd946e4353ec3e6221bd402237fb56260341dd480ea9993c8af01e9afcf394d97b0ad0ebb8cfcc0525c78385196dbe
7
+ data.tar.gz: 42c16173a39af26dec7ec7d6e55ad7e40fee53a57c571cceaaf403084218ce1bd962a636944d420f78da0c80b80a2908777ce5c71db90c68bc1e117ec1ecedbc
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.254
1
+ 1.0.255
@@ -2247,24 +2247,33 @@ module TencentCloud
2247
2247
  # @param KeyWord: 搜索关键词
2248
2248
  # @type KeyWord: String
2249
2249
  # @param Offset: 分页返回的起始偏移量,默认值:0。将返回第 Offset 到第 Offset+Limit-1 条。
2250
- # 取值范围:Offset + Limit 不超过5000。取值范围:小于5000
2250
+ # 取值范围:Offset + Limit 不超过5000
2251
2251
  # @type Offset: Integer
2252
2252
  # @param Limit: 分页返回的起始偏移量,默认值:50。将返回第 Offset 到第 Offset+Limit-1 条。
2253
- # 取值范围:Offset + Limit 不超过5000。
2254
2253
  # @type Limit: Integer
2254
+ # @param Sort: 排序方式。默认按照匹配度排序
2255
+ # <li> Sort.Field 可选 CreateTime</li>
2256
+ # <li> Sort.Order 可选 Desc </li>
2257
+ # <li> 当 KeyWord 不为空时,Sort.Field 字段无效, 搜索结果将以匹配度排序。</li>
2258
+ # @type Sort: :class:`Tencentcloud::Ame.v20190916.models.SortBy`
2255
2259
 
2256
- attr_accessor :KeyWord, :Offset, :Limit
2260
+ attr_accessor :KeyWord, :Offset, :Limit, :Sort
2257
2261
 
2258
- def initialize(keyword=nil, offset=nil, limit=nil)
2262
+ def initialize(keyword=nil, offset=nil, limit=nil, sort=nil)
2259
2263
  @KeyWord = keyword
2260
2264
  @Offset = offset
2261
2265
  @Limit = limit
2266
+ @Sort = sort
2262
2267
  end
2263
2268
 
2264
2269
  def deserialize(params)
2265
2270
  @KeyWord = params['KeyWord']
2266
2271
  @Offset = params['Offset']
2267
2272
  @Limit = params['Limit']
2273
+ unless params['Sort'].nil?
2274
+ @Sort = SortBy.new
2275
+ @Sort.deserialize(params['Sort'])
2276
+ end
2268
2277
  end
2269
2278
  end
2270
2279
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ame
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.254
4
+ version: 1.0.255
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-02-11 00:00:00.000000000 Z
11
+ date: 2022-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common