tencentcloud-sdk-domain 3.0.618 → 3.0.619
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180808/client.rb +24 -0
- data/lib/v20180808/models.rb +32 -0
- 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: 8f4f04dbe94f6b94b274b9b5206f01f8e9c3cd3b
|
4
|
+
data.tar.gz: 6734ce695c095c0da6f4f2fcb152c3725bea5dba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e46c340842280b8c884e19162ab5dc6366de327356edb2cd9504b3be7bde2fed607a15c23202ac879ab21f0af1e86979fa2b391d9a389af45e13bae2730a897
|
7
|
+
data.tar.gz: 2ff564043a1d3e59d25464bb49eb8b08d73e585556523c548cf2ce1fe29c0dcea8475d1993304d58d0f36c22b95d3f0a9d117d42be76337da217ea10d92a0a46
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.619
|
data/lib/v20180808/client.rb
CHANGED
@@ -125,6 +125,30 @@ module TencentCloud
|
|
125
125
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
126
|
end
|
127
127
|
|
128
|
+
# 创建赎回订单。
|
129
|
+
|
130
|
+
# @param request: Request instance for CreateDomainRedemption.
|
131
|
+
# @type request: :class:`Tencentcloud::domain::V20180808::CreateDomainRedemptionRequest`
|
132
|
+
# @rtype: :class:`Tencentcloud::domain::V20180808::CreateDomainRedemptionResponse`
|
133
|
+
def CreateDomainRedemption(request)
|
134
|
+
body = send_request('CreateDomainRedemption', request.serialize)
|
135
|
+
response = JSON.parse(body)
|
136
|
+
if response['Response'].key?('Error') == false
|
137
|
+
model = CreateDomainRedemptionResponse.new
|
138
|
+
model.deserialize(response['Response'])
|
139
|
+
model
|
140
|
+
else
|
141
|
+
code = response['Response']['Error']['Code']
|
142
|
+
message = response['Response']['Error']['Message']
|
143
|
+
reqid = response['Response']['RequestId']
|
144
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
145
|
+
end
|
146
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
147
|
+
raise e
|
148
|
+
rescue StandardError => e
|
149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
|
+
end
|
151
|
+
|
128
152
|
# 此接口用于创建有效的手机、邮箱
|
129
153
|
|
130
154
|
# @param request: Request instance for CreatePhoneEmail.
|
data/lib/v20180808/models.rb
CHANGED
@@ -477,6 +477,38 @@ module TencentCloud
|
|
477
477
|
end
|
478
478
|
end
|
479
479
|
|
480
|
+
# CreateDomainRedemption请求参数结构体
|
481
|
+
class CreateDomainRedemptionRequest < TencentCloud::Common::AbstractModel
|
482
|
+
# @param DomainId: 域名 ID
|
483
|
+
# @type DomainId: String
|
484
|
+
|
485
|
+
attr_accessor :DomainId
|
486
|
+
|
487
|
+
def initialize(domainid=nil)
|
488
|
+
@DomainId = domainid
|
489
|
+
end
|
490
|
+
|
491
|
+
def deserialize(params)
|
492
|
+
@DomainId = params['DomainId']
|
493
|
+
end
|
494
|
+
end
|
495
|
+
|
496
|
+
# CreateDomainRedemption返回参数结构体
|
497
|
+
class CreateDomainRedemptionResponse < TencentCloud::Common::AbstractModel
|
498
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
499
|
+
# @type RequestId: String
|
500
|
+
|
501
|
+
attr_accessor :RequestId
|
502
|
+
|
503
|
+
def initialize(requestid=nil)
|
504
|
+
@RequestId = requestid
|
505
|
+
end
|
506
|
+
|
507
|
+
def deserialize(params)
|
508
|
+
@RequestId = params['RequestId']
|
509
|
+
end
|
510
|
+
end
|
511
|
+
|
480
512
|
# CreatePhoneEmail请求参数结构体
|
481
513
|
class CreatePhoneEmailRequest < TencentCloud::Common::AbstractModel
|
482
514
|
# @param Code: 手机号或者邮箱
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-domain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.619
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|