tencentcloud-sdk-domain 3.0.617 → 3.0.619

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a8f2315806346da58bcd8adcd4da5c54742806c4
4
- data.tar.gz: 1a02058b97237d823bc5750c4941ea1c7adbc6ae
3
+ metadata.gz: 8f4f04dbe94f6b94b274b9b5206f01f8e9c3cd3b
4
+ data.tar.gz: 6734ce695c095c0da6f4f2fcb152c3725bea5dba
5
5
  SHA512:
6
- metadata.gz: ebf314c17a55b05f5ef83b52ea9372c7f4228a6bbae8e47cd0a17eb461f5dfeca0e3d9dbf418a81bc7a11eac52e3de300d334165968b896989053c79370e3f4f
7
- data.tar.gz: b74e740695b7a80ae7baa603c2a508a99c822ae74d342b7183b0dc0af5ae6e2bae2fd86a060367838e0c2660609277ae3fc0d23b4776fb3952d55947aa71a1c5
6
+ metadata.gz: 8e46c340842280b8c884e19162ab5dc6366de327356edb2cd9504b3be7bde2fed607a15c23202ac879ab21f0af1e86979fa2b391d9a389af45e13bae2730a897
7
+ data.tar.gz: 2ff564043a1d3e59d25464bb49eb8b08d73e585556523c548cf2ce1fe29c0dcea8475d1993304d58d0f36c22b95d3f0a9d117d42be76337da217ea10d92a0a46
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.617
1
+ 3.0.619
@@ -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.
@@ -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.617
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-20 00:00:00.000000000 Z
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