tencentcloud-sdk-domain 3.0.618 → 3.0.620

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: a11fd25b3d779d371ec99a00b8edba1170d712cc
4
- data.tar.gz: 8c75a37e6b4f01e24f774ceca4daf182d880c6d1
3
+ metadata.gz: 068ddc2625959a0032a0afc7206cf759a31d62b0
4
+ data.tar.gz: fb300f368582a673c9da28684ba38cf729e0db87
5
5
  SHA512:
6
- metadata.gz: 6bd6362b35c849f5f38e9e5cb840a321e2d61afc185a93d13dad876a8d4943c34ef7311e6792908f33701313f7a62b435f9e09be968065b766e4efe2dcfaea38
7
- data.tar.gz: e0f8ef6370c3a00ad03ce884c156c9d7f2d799da0395e57851f8b93e382f65e93fb4997f82c4b90051b58794109c381f5922f272239d01049eb9e67106c14a34
6
+ metadata.gz: 6fba68c7b97f17a0341c32e5bd96162ea713d6ebf99e0c39661c56a4e0080703b6c8708fce9753dde1ec2c4cce1a29d4a11fc2e253edf0749f3dab3ee97d1a35
7
+ data.tar.gz: 642fd95b9002fa12767ab0fc4f9dc0642609eb808e4e1db974136300adb314742d2f8f4eb15c174e7ffd2545413d0f72804243d1e99c11df2260794c5fc9f505
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.618
1
+ 3.0.620
@@ -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.620
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-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common