tencentcloud-sdk-cwp 3.0.419 → 3.0.420
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180228/client.rb +1 -25
- data/lib/v20180228/models.rb +0 -44
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1da43eaa5253c26dc2b7a0e20f40840d777528d
|
4
|
+
data.tar.gz: 0d4bd081fda8ae033713bb91bad2d1cc7f78f8aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0eb4a1fe869707bf61b2de13fb349e736aacd2223e70e3281d96236f3737d9fb4e18c085f42ca061e729428704c85748fa1a7a5515c479d7be66f02dcef43ee6
|
7
|
+
data.tar.gz: cc00d2f8365b0dc575c6fa4ca7e0061f8ad249d583bd1ef2b523f208c4366037ed8fb63b4855e79e77916e2fe90f2bb6b362aed0bc29e9a0e520ec165cd62600
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.420
|
data/lib/v20180228/client.rb
CHANGED
@@ -151,7 +151,7 @@ module TencentCloud
|
|
151
151
|
|
152
152
|
# CreateLicenseOrder 该接口可以创建专业版/旗舰版订单
|
153
153
|
# 支持预付费后付费创建
|
154
|
-
#
|
154
|
+
# 后付费订单直接创建成功
|
155
155
|
# 预付费订单仅下单不支付,需要调用计费支付接口进行支付
|
156
156
|
|
157
157
|
# @param request: Request instance for CreateLicenseOrder.
|
@@ -2048,30 +2048,6 @@ module TencentCloud
|
|
2048
2048
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2049
2049
|
end
|
2050
2050
|
|
2051
|
-
# 获取ES查询文档列表
|
2052
|
-
|
2053
|
-
# @param request: Request instance for DescribeESHits.
|
2054
|
-
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeESHitsRequest`
|
2055
|
-
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeESHitsResponse`
|
2056
|
-
def DescribeESHits(request)
|
2057
|
-
body = send_request('DescribeESHits', request.serialize)
|
2058
|
-
response = JSON.parse(body)
|
2059
|
-
if response['Response'].key?('Error') == false
|
2060
|
-
model = DescribeESHitsResponse.new
|
2061
|
-
model.deserialize(response['Response'])
|
2062
|
-
model
|
2063
|
-
else
|
2064
|
-
code = response['Response']['Error']['Code']
|
2065
|
-
message = response['Response']['Error']['Message']
|
2066
|
-
reqid = response['Response']['RequestId']
|
2067
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2068
|
-
end
|
2069
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2070
|
-
raise e
|
2071
|
-
rescue StandardError => e
|
2072
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2073
|
-
end
|
2074
|
-
|
2075
2051
|
# 专家服务-应急响应列表
|
2076
2052
|
|
2077
2053
|
# @param request: Request instance for DescribeEmergencyResponseList.
|
data/lib/v20180228/models.rb
CHANGED
@@ -7962,50 +7962,6 @@ module TencentCloud
|
|
7962
7962
|
end
|
7963
7963
|
end
|
7964
7964
|
|
7965
|
-
# DescribeESHits请求参数结构体
|
7966
|
-
class DescribeESHitsRequest < TencentCloud::Common::AbstractModel
|
7967
|
-
# @param Query: ES查询条件JSON
|
7968
|
-
# @type Query: String
|
7969
|
-
# @param Offset: 偏移量,默认为0。
|
7970
|
-
# @type Offset: Integer
|
7971
|
-
# @param Limit: 返回数量,最大值为100。
|
7972
|
-
# @type Limit: Integer
|
7973
|
-
|
7974
|
-
attr_accessor :Query, :Offset, :Limit
|
7975
|
-
|
7976
|
-
def initialize(query=nil, offset=nil, limit=nil)
|
7977
|
-
@Query = query
|
7978
|
-
@Offset = offset
|
7979
|
-
@Limit = limit
|
7980
|
-
end
|
7981
|
-
|
7982
|
-
def deserialize(params)
|
7983
|
-
@Query = params['Query']
|
7984
|
-
@Offset = params['Offset']
|
7985
|
-
@Limit = params['Limit']
|
7986
|
-
end
|
7987
|
-
end
|
7988
|
-
|
7989
|
-
# DescribeESHits返回参数结构体
|
7990
|
-
class DescribeESHitsResponse < TencentCloud::Common::AbstractModel
|
7991
|
-
# @param Data: ES查询结果JSON
|
7992
|
-
# @type Data: String
|
7993
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7994
|
-
# @type RequestId: String
|
7995
|
-
|
7996
|
-
attr_accessor :Data, :RequestId
|
7997
|
-
|
7998
|
-
def initialize(data=nil, requestid=nil)
|
7999
|
-
@Data = data
|
8000
|
-
@RequestId = requestid
|
8001
|
-
end
|
8002
|
-
|
8003
|
-
def deserialize(params)
|
8004
|
-
@Data = params['Data']
|
8005
|
-
@RequestId = params['RequestId']
|
8006
|
-
end
|
8007
|
-
end
|
8008
|
-
|
8009
7965
|
# DescribeEmergencyResponseList请求参数结构体
|
8010
7966
|
class DescribeEmergencyResponseListRequest < TencentCloud::Common::AbstractModel
|
8011
7967
|
# @param Filters: 过滤条件。
|
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.
|
4
|
+
version: 3.0.420
|
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-09-
|
11
|
+
date: 2022-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|