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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a11fd25b3d779d371ec99a00b8edba1170d712cc
4
- data.tar.gz: 8c75a37e6b4f01e24f774ceca4daf182d880c6d1
3
+ metadata.gz: 8f4f04dbe94f6b94b274b9b5206f01f8e9c3cd3b
4
+ data.tar.gz: 6734ce695c095c0da6f4f2fcb152c3725bea5dba
5
5
  SHA512:
6
- metadata.gz: 6bd6362b35c849f5f38e9e5cb840a321e2d61afc185a93d13dad876a8d4943c34ef7311e6792908f33701313f7a62b435f9e09be968065b766e4efe2dcfaea38
7
- data.tar.gz: e0f8ef6370c3a00ad03ce884c156c9d7f2d799da0395e57851f8b93e382f65e93fb4997f82c4b90051b58794109c381f5922f272239d01049eb9e67106c14a34
6
+ metadata.gz: 8e46c340842280b8c884e19162ab5dc6366de327356edb2cd9504b3be7bde2fed607a15c23202ac879ab21f0af1e86979fa2b391d9a389af45e13bae2730a897
7
+ data.tar.gz: 2ff564043a1d3e59d25464bb49eb8b08d73e585556523c548cf2ce1fe29c0dcea8475d1993304d58d0f36c22b95d3f0a9d117d42be76337da217ea10d92a0a46
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.618
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.618
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-21 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