Class: TencentCloud::Domain::V20180808::Client
- Inherits:
-
Common::AbstractClient
- Object
- Common::AbstractClient
- TencentCloud::Domain::V20180808::Client
- Defined in:
- lib/v20180808/client.rb
Instance Method Summary collapse
-
#BatchModifyDomainInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::BatchModifyDomainInfoResponse`.
-
#BidDetailPage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::BidDetailPageResponse`.
-
#BiddingPreRelease(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::BiddingPreReleaseResponse`.
-
#BidPreDomains(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::BidPreDomainsResponse`.
-
#CheckBatchStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::CheckBatchStatusResponse`.
-
#CheckDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::CheckDomainResponse`.
-
#CreateCustomDnsHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::CreateCustomDnsHostResponse`.
-
#CreateDomainBatch(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::CreateDomainBatchResponse`.
-
#CreateDomainRedemption(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::CreateDomainRedemptionResponse`.
-
#CreatePhoneEmail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::CreatePhoneEmailResponse`.
-
#CreateTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::CreateTemplateResponse`.
-
#DeleteBidding(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DeleteBiddingResponse`.
-
#DeleteCustomDnsHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DeleteCustomDnsHostResponse`.
-
#DeletePhoneEmail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DeletePhoneEmailResponse`.
-
#DeleteReservedPreDomainInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DeleteReservedPreDomainInfoResponse`.
-
#DeleteTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DeleteTemplateResponse`.
-
#DescribeAuctionList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeAuctionListResponse`.
-
#DescribeBatchOperationLogDetails(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeBatchOperationLogDetailsResponse`.
-
#DescribeBatchOperationLogs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeBatchOperationLogsResponse`.
-
#DescribeBiddingAppointDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeBiddingAppointDetailResponse`.
-
#DescribeBiddingAppointList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeBiddingAppointListResponse`.
-
#DescribeBiddingDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeBiddingDetailResponse`.
-
#DescribeBiddingList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeBiddingListResponse`.
-
#DescribeBiddingSuccessfulDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeBiddingSuccessfulDetailResponse`.
-
#DescribeBiddingSuccessfulList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeBiddingSuccessfulListResponse`.
-
#DescribeCustomDnsHostSet(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeCustomDnsHostSetResponse`.
-
#DescribeDomainBaseInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeDomainBaseInfoResponse`.
-
#DescribeDomainNameList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeDomainNameListResponse`.
-
#DescribeDomainPriceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeDomainPriceListResponse`.
-
#DescribeDomainSimpleInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeDomainSimpleInfoResponse`.
-
#DescribePayWaitDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribePayWaitDetailResponse`.
-
#DescribePhoneEmailList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribePhoneEmailListResponse`.
-
#DescribePreAuctionList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribePreAuctionListResponse`.
-
#DescribePreDomainList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribePreDomainListResponse`.
-
#DescribePreReleaseList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribePreReleaseListResponse`.
-
#DescribeReservedBidInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeReservedBidInfoResponse`.
-
#DescribeReservedPreDomainInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeReservedPreDomainInfoResponse`.
-
#DescribeTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeTemplateResponse`.
-
#DescribeTemplateList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeTemplateListResponse`.
-
#DescribeTldList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeTldListResponse`.
-
#DescribeUnPreDomainDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeUnPreDomainDetailResponse`.
-
#initialize(credential, region, profile = nil) ⇒ Client
constructor
A new instance of Client.
-
#ModifyCustomDnsHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::ModifyCustomDnsHostResponse`.
-
#ModifyDomainDNSBatch(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::ModifyDomainDNSBatchResponse`.
-
#ModifyDomainOwnerBatch(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::ModifyDomainOwnerBatchResponse`.
-
#ModifyIntlCustomDnsHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::ModifyIntlCustomDnsHostResponse`.
-
#ModifyTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::ModifyTemplateResponse`.
-
#RenewDomainBatch(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::RenewDomainBatchResponse`.
-
#ReservedPreDomains(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::ReservedPreDomainsResponse`.
-
#SendPhoneEmailCode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::SendPhoneEmailCodeResponse`.
-
#SetDomainAutoRenew(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::SetDomainAutoRenewResponse`.
-
#SyncCustomDnsHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::SyncCustomDnsHostResponse`.
-
#TransferInDomainBatch(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::TransferInDomainBatchResponse`.
-
#TransferProhibitionBatch(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::TransferProhibitionBatchResponse`.
-
#UpdateProhibitionBatch(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::UpdateProhibitionBatchResponse`.
-
#UploadImage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::UploadImageResponse`.
Constructor Details
#initialize(credential, region, profile = nil) ⇒ Client
Returns a new instance of Client.
24 25 26 27 28 29 |
# File 'lib/v20180808/client.rb', line 24 def initialize(credential, region, profile = nil) api_version = '2018-08-08' api_endpoint = 'domain.tencentcloudapi.com' sdk_version = 'DOMAIN_' + File.read(File.('../VERSION', __dir__)).strip super(credential, region, api_version, api_endpoint, sdk_version, profile) end |
Instance Method Details
#BatchModifyDomainInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::BatchModifyDomainInfoResponse`
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/v20180808/client.rb', line 37 def BatchModifyDomainInfo(request) body = send_request('BatchModifyDomainInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BatchModifyDomainInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#BidDetailPage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::BidDetailPageResponse`
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/v20180808/client.rb', line 61 def BidDetailPage(request) body = send_request('BidDetailPage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BidDetailPageResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#BiddingPreRelease(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::BiddingPreReleaseResponse`
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
# File 'lib/v20180808/client.rb', line 109 def BiddingPreRelease(request) body = send_request('BiddingPreRelease', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BiddingPreReleaseResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#BidPreDomains(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::BidPreDomainsResponse`
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/v20180808/client.rb', line 85 def BidPreDomains(request) body = send_request('BidPreDomains', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BidPreDomainsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CheckBatchStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::CheckBatchStatusResponse`
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/v20180808/client.rb', line 133 def CheckBatchStatus(request) body = send_request('CheckBatchStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CheckBatchStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CheckDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::CheckDomainResponse`
157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'lib/v20180808/client.rb', line 157 def CheckDomain(request) body = send_request('CheckDomain', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CheckDomainResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateCustomDnsHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::CreateCustomDnsHostResponse`
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 |
# File 'lib/v20180808/client.rb', line 183 def CreateCustomDnsHost(request) body = send_request('CreateCustomDnsHost', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateCustomDnsHostResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateDomainBatch(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::CreateDomainBatchResponse`
207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 |
# File 'lib/v20180808/client.rb', line 207 def CreateDomainBatch(request) body = send_request('CreateDomainBatch', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateDomainBatchResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateDomainRedemption(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::CreateDomainRedemptionResponse`
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 |
# File 'lib/v20180808/client.rb', line 231 def CreateDomainRedemption(request) body = send_request('CreateDomainRedemption', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateDomainRedemptionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreatePhoneEmail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::CreatePhoneEmailResponse`
255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 |
# File 'lib/v20180808/client.rb', line 255 def CreatePhoneEmail(request) body = send_request('CreatePhoneEmail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePhoneEmailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::CreateTemplateResponse`
279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 |
# File 'lib/v20180808/client.rb', line 279 def CreateTemplate(request) body = send_request('CreateTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteBidding(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DeleteBiddingResponse`
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 |
# File 'lib/v20180808/client.rb', line 303 def DeleteBidding(request) body = send_request('DeleteBidding', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteBiddingResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteCustomDnsHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DeleteCustomDnsHostResponse`
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 |
# File 'lib/v20180808/client.rb', line 328 def DeleteCustomDnsHost(request) body = send_request('DeleteCustomDnsHost', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteCustomDnsHostResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeletePhoneEmail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DeletePhoneEmailResponse`
352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 |
# File 'lib/v20180808/client.rb', line 352 def DeletePhoneEmail(request) body = send_request('DeletePhoneEmail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeletePhoneEmailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteReservedPreDomainInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DeleteReservedPreDomainInfoResponse`
376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 |
# File 'lib/v20180808/client.rb', line 376 def DeleteReservedPreDomainInfo(request) body = send_request('DeleteReservedPreDomainInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteReservedPreDomainInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DeleteTemplateResponse`
400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 |
# File 'lib/v20180808/client.rb', line 400 def DeleteTemplate(request) body = send_request('DeleteTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAuctionList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeAuctionListResponse`
424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 |
# File 'lib/v20180808/client.rb', line 424 def DescribeAuctionList(request) body = send_request('DescribeAuctionList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAuctionListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBatchOperationLogDetails(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeBatchOperationLogDetailsResponse`
448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 |
# File 'lib/v20180808/client.rb', line 448 def DescribeBatchOperationLogDetails(request) body = send_request('DescribeBatchOperationLogDetails', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBatchOperationLogDetailsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBatchOperationLogs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeBatchOperationLogsResponse`
472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 |
# File 'lib/v20180808/client.rb', line 472 def DescribeBatchOperationLogs(request) body = send_request('DescribeBatchOperationLogs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBatchOperationLogsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBiddingAppointDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeBiddingAppointDetailResponse`
496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 |
# File 'lib/v20180808/client.rb', line 496 def DescribeBiddingAppointDetail(request) body = send_request('DescribeBiddingAppointDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBiddingAppointDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBiddingAppointList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeBiddingAppointListResponse`
520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 |
# File 'lib/v20180808/client.rb', line 520 def DescribeBiddingAppointList(request) body = send_request('DescribeBiddingAppointList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBiddingAppointListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBiddingDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeBiddingDetailResponse`
544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 |
# File 'lib/v20180808/client.rb', line 544 def DescribeBiddingDetail(request) body = send_request('DescribeBiddingDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBiddingDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBiddingList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeBiddingListResponse`
568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 |
# File 'lib/v20180808/client.rb', line 568 def DescribeBiddingList(request) body = send_request('DescribeBiddingList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBiddingListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBiddingSuccessfulDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeBiddingSuccessfulDetailResponse`
592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 |
# File 'lib/v20180808/client.rb', line 592 def DescribeBiddingSuccessfulDetail(request) body = send_request('DescribeBiddingSuccessfulDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBiddingSuccessfulDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBiddingSuccessfulList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeBiddingSuccessfulListResponse`
616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 |
# File 'lib/v20180808/client.rb', line 616 def DescribeBiddingSuccessfulList(request) body = send_request('DescribeBiddingSuccessfulList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBiddingSuccessfulListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCustomDnsHostSet(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeCustomDnsHostSetResponse`
641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 |
# File 'lib/v20180808/client.rb', line 641 def DescribeCustomDnsHostSet(request) body = send_request('DescribeCustomDnsHostSet', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCustomDnsHostSetResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDomainBaseInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeDomainBaseInfoResponse`
665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 |
# File 'lib/v20180808/client.rb', line 665 def DescribeDomainBaseInfo(request) body = send_request('DescribeDomainBaseInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDomainBaseInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDomainNameList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeDomainNameListResponse`
689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 |
# File 'lib/v20180808/client.rb', line 689 def DescribeDomainNameList(request) body = send_request('DescribeDomainNameList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDomainNameListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDomainPriceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeDomainPriceListResponse`
713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 |
# File 'lib/v20180808/client.rb', line 713 def DescribeDomainPriceList(request) body = send_request('DescribeDomainPriceList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDomainPriceListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDomainSimpleInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeDomainSimpleInfoResponse`
737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 |
# File 'lib/v20180808/client.rb', line 737 def DescribeDomainSimpleInfo(request) body = send_request('DescribeDomainSimpleInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDomainSimpleInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePayWaitDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribePayWaitDetailResponse`
761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 |
# File 'lib/v20180808/client.rb', line 761 def DescribePayWaitDetail(request) body = send_request('DescribePayWaitDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePayWaitDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePhoneEmailList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribePhoneEmailListResponse`
785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 |
# File 'lib/v20180808/client.rb', line 785 def DescribePhoneEmailList(request) body = send_request('DescribePhoneEmailList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePhoneEmailListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePreAuctionList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribePreAuctionListResponse`
809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 |
# File 'lib/v20180808/client.rb', line 809 def DescribePreAuctionList(request) body = send_request('DescribePreAuctionList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePreAuctionListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePreDomainList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribePreDomainListResponse`
833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 |
# File 'lib/v20180808/client.rb', line 833 def DescribePreDomainList(request) body = send_request('DescribePreDomainList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePreDomainListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePreReleaseList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribePreReleaseListResponse`
857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 |
# File 'lib/v20180808/client.rb', line 857 def DescribePreReleaseList(request) body = send_request('DescribePreReleaseList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePreReleaseListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeReservedBidInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeReservedBidInfoResponse`
881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 |
# File 'lib/v20180808/client.rb', line 881 def DescribeReservedBidInfo(request) body = send_request('DescribeReservedBidInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeReservedBidInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeReservedPreDomainInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeReservedPreDomainInfoResponse`
905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 |
# File 'lib/v20180808/client.rb', line 905 def DescribeReservedPreDomainInfo(request) body = send_request('DescribeReservedPreDomainInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeReservedPreDomainInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeTemplateResponse`
929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 |
# File 'lib/v20180808/client.rb', line 929 def DescribeTemplate(request) body = send_request('DescribeTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTemplateList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeTemplateListResponse`
953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 |
# File 'lib/v20180808/client.rb', line 953 def DescribeTemplateList(request) body = send_request('DescribeTemplateList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTemplateListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTldList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeTldListResponse`
977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 |
# File 'lib/v20180808/client.rb', line 977 def DescribeTldList(request) body = send_request('DescribeTldList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTldListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeUnPreDomainDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::DescribeUnPreDomainDetailResponse`
1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 |
# File 'lib/v20180808/client.rb', line 1001 def DescribeUnPreDomainDetail(request) body = send_request('DescribeUnPreDomainDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUnPreDomainDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyCustomDnsHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::ModifyCustomDnsHostResponse`
1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 |
# File 'lib/v20180808/client.rb', line 1026 def ModifyCustomDnsHost(request) body = send_request('ModifyCustomDnsHost', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyCustomDnsHostResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyDomainDNSBatch(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::ModifyDomainDNSBatchResponse`
1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 |
# File 'lib/v20180808/client.rb', line 1050 def ModifyDomainDNSBatch(request) body = send_request('ModifyDomainDNSBatch', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyDomainDNSBatchResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyDomainOwnerBatch(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::ModifyDomainOwnerBatchResponse`
1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 |
# File 'lib/v20180808/client.rb', line 1074 def ModifyDomainOwnerBatch(request) body = send_request('ModifyDomainOwnerBatch', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyDomainOwnerBatchResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyIntlCustomDnsHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::ModifyIntlCustomDnsHostResponse`
1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 |
# File 'lib/v20180808/client.rb', line 1098 def ModifyIntlCustomDnsHost(request) body = send_request('ModifyIntlCustomDnsHost', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyIntlCustomDnsHostResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::ModifyTemplateResponse`
1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 |
# File 'lib/v20180808/client.rb', line 1122 def ModifyTemplate(request) body = send_request('ModifyTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#RenewDomainBatch(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::RenewDomainBatchResponse`
1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 |
# File 'lib/v20180808/client.rb', line 1146 def RenewDomainBatch(request) body = send_request('RenewDomainBatch', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RenewDomainBatchResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ReservedPreDomains(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::ReservedPreDomainsResponse`
1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 |
# File 'lib/v20180808/client.rb', line 1170 def ReservedPreDomains(request) body = send_request('ReservedPreDomains', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ReservedPreDomainsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SendPhoneEmailCode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::SendPhoneEmailCodeResponse`
1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 |
# File 'lib/v20180808/client.rb', line 1194 def SendPhoneEmailCode(request) body = send_request('SendPhoneEmailCode', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SendPhoneEmailCodeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SetDomainAutoRenew(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::SetDomainAutoRenewResponse`
1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 |
# File 'lib/v20180808/client.rb', line 1219 def SetDomainAutoRenew(request) body = send_request('SetDomainAutoRenew', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SetDomainAutoRenewResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SyncCustomDnsHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::SyncCustomDnsHostResponse`
1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 |
# File 'lib/v20180808/client.rb', line 1243 def SyncCustomDnsHost(request) body = send_request('SyncCustomDnsHost', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SyncCustomDnsHostResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#TransferInDomainBatch(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::TransferInDomainBatchResponse`
1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 |
# File 'lib/v20180808/client.rb', line 1267 def TransferInDomainBatch(request) body = send_request('TransferInDomainBatch', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = TransferInDomainBatchResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#TransferProhibitionBatch(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::TransferProhibitionBatchResponse`
1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 |
# File 'lib/v20180808/client.rb', line 1291 def TransferProhibitionBatch(request) body = send_request('TransferProhibitionBatch', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = TransferProhibitionBatchResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateProhibitionBatch(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::UpdateProhibitionBatchResponse`
1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 |
# File 'lib/v20180808/client.rb', line 1315 def UpdateProhibitionBatch(request) body = send_request('UpdateProhibitionBatch', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateProhibitionBatchResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UploadImage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::domain::V20180808::UploadImageResponse`
1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 |
# File 'lib/v20180808/client.rb', line 1339 def UploadImage(request) body = send_request('UploadImage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UploadImageResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |