tencentcloud-sdk-domain 3.0.811 → 3.0.812

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: 9157eba0f518531a5574b907e85bdcdc3bb7d5b1
4
- data.tar.gz: 1c4d025560246fb5b1a7e092be5acf7bed8d9f8d
3
+ metadata.gz: 2465b51f721987865700195653f6310f9d0e0e7c
4
+ data.tar.gz: bfcae3de92440568caa8acee166cdfabea22d42a
5
5
  SHA512:
6
- metadata.gz: 8d449b5a3ffd75cbf4c9d31404d1e332b8003648d5f69eed7f89e364b8247d7c6e9169e0451239f7826af6c6738a7c850ae4cc8f5fc4c9c33c607f1557fbd64e
7
- data.tar.gz: 39d082849fc398b19123bd805479bfb25a5bfba632dde449ce47ed083bf8cba839145150b608ae468664c679b923e7360a18cbca238886a865156f8efbb6f51d
6
+ metadata.gz: de3906916106b53128c59075e585b7f7890496d74a4e50fed8a1d72aa1c5402ccea8c57093af2d81b1c85f1c6794b6aecc63729d14ec0594298899da81210d4c
7
+ data.tar.gz: db9ccac634bdfe76e210e5840da63ce76978bf82b52c96a793400d529b8505f764e64e9925617e952474caf2ea540f8771e10f02c21c1f96daac8505c9af2ec9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.811
1
+ 3.0.812
@@ -773,6 +773,30 @@ module TencentCloud
773
773
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
774
  end
775
775
 
776
+ # 修改模板信息
777
+
778
+ # @param request: Request instance for ModifyTemplate.
779
+ # @type request: :class:`Tencentcloud::domain::V20180808::ModifyTemplateRequest`
780
+ # @rtype: :class:`Tencentcloud::domain::V20180808::ModifyTemplateResponse`
781
+ def ModifyTemplate(request)
782
+ body = send_request('ModifyTemplate', request.serialize)
783
+ response = JSON.parse(body)
784
+ if response['Response'].key?('Error') == false
785
+ model = ModifyTemplateResponse.new
786
+ model.deserialize(response['Response'])
787
+ model
788
+ else
789
+ code = response['Response']['Error']['Code']
790
+ message = response['Response']['Error']['Message']
791
+ reqid = response['Response']['RequestId']
792
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
793
+ end
794
+ rescue TencentCloud::Common::TencentCloudSDKException => e
795
+ raise e
796
+ rescue StandardError => e
797
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
798
+ end
799
+
776
800
  # 本接口 ( RenewDomainBatch ) 用于批量续费域名 。
777
801
 
778
802
  # @param request: Request instance for RenewDomainBatch.
@@ -2176,6 +2176,59 @@ module TencentCloud
2176
2176
  end
2177
2177
  end
2178
2178
 
2179
+ # ModifyTemplate请求参数结构体
2180
+ class ModifyTemplateRequest < TencentCloud::Common::AbstractModel
2181
+ # @param CertificateInfo: 证件信息
2182
+ # @type CertificateInfo: :class:`Tencentcloud::Domain.v20180808.models.CertificateInfo`
2183
+ # @param ContactInfo: 联系人信息
2184
+ # @type ContactInfo: :class:`Tencentcloud::Domain.v20180808.models.ContactInfo`
2185
+ # @param TemplateId: 模板ID
2186
+ # @type TemplateId: String
2187
+
2188
+ attr_accessor :CertificateInfo, :ContactInfo, :TemplateId
2189
+
2190
+ def initialize(certificateinfo=nil, contactinfo=nil, templateid=nil)
2191
+ @CertificateInfo = certificateinfo
2192
+ @ContactInfo = contactinfo
2193
+ @TemplateId = templateid
2194
+ end
2195
+
2196
+ def deserialize(params)
2197
+ unless params['CertificateInfo'].nil?
2198
+ @CertificateInfo = CertificateInfo.new
2199
+ @CertificateInfo.deserialize(params['CertificateInfo'])
2200
+ end
2201
+ unless params['ContactInfo'].nil?
2202
+ @ContactInfo = ContactInfo.new
2203
+ @ContactInfo.deserialize(params['ContactInfo'])
2204
+ end
2205
+ @TemplateId = params['TemplateId']
2206
+ end
2207
+ end
2208
+
2209
+ # ModifyTemplate返回参数结构体
2210
+ class ModifyTemplateResponse < TencentCloud::Common::AbstractModel
2211
+ # @param Template: 模板信息
2212
+ # @type Template: :class:`Tencentcloud::Domain.v20180808.models.TemplateInfo`
2213
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2214
+ # @type RequestId: String
2215
+
2216
+ attr_accessor :Template, :RequestId
2217
+
2218
+ def initialize(template=nil, requestid=nil)
2219
+ @Template = template
2220
+ @RequestId = requestid
2221
+ end
2222
+
2223
+ def deserialize(params)
2224
+ unless params['Template'].nil?
2225
+ @Template = TemplateInfo.new
2226
+ @Template.deserialize(params['Template'])
2227
+ end
2228
+ @RequestId = params['RequestId']
2229
+ end
2230
+ end
2231
+
2179
2232
  # 手机号邮箱列表
2180
2233
  class PhoneEmailData < TencentCloud::Common::AbstractModel
2181
2234
  # @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.811
4
+ version: 3.0.812
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-25 00:00:00.000000000 Z
11
+ date: 2024-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common