tencentcloud-sdk-dnspod 3.0.902 → 3.0.903

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: e5fcf14efee72c8d1b4fc1f71ebdd8bf6be779d2
4
- data.tar.gz: 66ecbd5dd72f9c0edddb10115dc236992967752f
3
+ metadata.gz: 3ed28a2aa30790f89255231999ea47a0ead91773
4
+ data.tar.gz: 81d9e7a4019717a8a9b8557592500247f80a0854
5
5
  SHA512:
6
- metadata.gz: 9f999a2ce079bbe510f4a66ebc6c3c20e6727aaacc5c4f1650afec6dbf3f0b0f91587111bb55488d4ba35ca5c7cebd2d9df0f08c3274c16767531b1aa5bec0c7
7
- data.tar.gz: 9ab4fbaf7f87fcd7143172f394e8ab3a91e5bded13944dd167c994fc48ff44c5cd52c120e7685a1a1a643ef13534bf96c886a8a753190a358ed17b4319040e26
6
+ metadata.gz: 44a1c703df6d008d447297fce1f2b389fd1311abfa77d4ceb8acf625782cd6c65d0b7560fbc7f5b1eef4970af9ea417c4e2714f5ebe6cc61219256b05112a8e2
7
+ data.tar.gz: d6dd80ab2c4cd2554a68061ca0b40d7982e1b7e9cefe21af448dc96d7f6ea0df0f935e6e5385f7641dc4a00fad9253c94a2eda0fde9bc894140ab2b6f0abfdd3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.902
1
+ 3.0.903
@@ -824,6 +824,30 @@ module TencentCloud
824
824
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
825
825
  end
826
826
 
827
+ # 获取指定域名的已共享列表
828
+
829
+ # @param request: Request instance for DescribeDomainShareUserList.
830
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainShareUserListRequest`
831
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainShareUserListResponse`
832
+ def DescribeDomainShareUserList(request)
833
+ body = send_request('DescribeDomainShareUserList', request.serialize)
834
+ response = JSON.parse(body)
835
+ if response['Response'].key?('Error') == false
836
+ model = DescribeDomainShareUserListResponse.new
837
+ model.deserialize(response['Response'])
838
+ model
839
+ else
840
+ code = response['Response']['Error']['Code']
841
+ message = response['Response']['Error']['Message']
842
+ reqid = response['Response']['RequestId']
843
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
844
+ end
845
+ rescue TencentCloud::Common::TencentCloudSDKException => e
846
+ raise e
847
+ rescue StandardError => e
848
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
849
+ end
850
+
827
851
  # 获取域名Whois信息
828
852
 
829
853
  # @param request: Request instance for DescribeDomainWhois.
@@ -2339,6 +2339,53 @@ module TencentCloud
2339
2339
  end
2340
2340
  end
2341
2341
 
2342
+ # DescribeDomainShareUserList请求参数结构体
2343
+ class DescribeDomainShareUserListRequest < TencentCloud::Common::AbstractModel
2344
+ # @param Domain: 域名
2345
+ # @type Domain: String
2346
+ # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId
2347
+ # @type DomainId: Integer
2348
+
2349
+ attr_accessor :Domain, :DomainId
2350
+
2351
+ def initialize(domain=nil, domainid=nil)
2352
+ @Domain = domain
2353
+ @DomainId = domainid
2354
+ end
2355
+
2356
+ def deserialize(params)
2357
+ @Domain = params['Domain']
2358
+ @DomainId = params['DomainId']
2359
+ end
2360
+ end
2361
+
2362
+ # DescribeDomainShareUserList返回参数结构体
2363
+ class DescribeDomainShareUserListResponse < TencentCloud::Common::AbstractModel
2364
+ # @param DomainShareList: 域名套餐信息
2365
+ # @type DomainShareList: Array
2366
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2367
+ # @type RequestId: String
2368
+
2369
+ attr_accessor :DomainShareList, :RequestId
2370
+
2371
+ def initialize(domainsharelist=nil, requestid=nil)
2372
+ @DomainShareList = domainsharelist
2373
+ @RequestId = requestid
2374
+ end
2375
+
2376
+ def deserialize(params)
2377
+ unless params['DomainShareList'].nil?
2378
+ @DomainShareList = []
2379
+ params['DomainShareList'].each do |i|
2380
+ domainshareuserinfo_tmp = DomainShareUserInfo.new
2381
+ domainshareuserinfo_tmp.deserialize(i)
2382
+ @DomainShareList << domainshareuserinfo_tmp
2383
+ end
2384
+ end
2385
+ @RequestId = params['RequestId']
2386
+ end
2387
+ end
2388
+
2342
2389
  # DescribeDomainWhois请求参数结构体
2343
2390
  class DescribeDomainWhoisRequest < TencentCloud::Common::AbstractModel
2344
2391
  # @param Domain: 域名
@@ -3960,6 +4007,47 @@ module TencentCloud
3960
4007
  end
3961
4008
  end
3962
4009
 
4010
+ # 域名共享信息
4011
+ class DomainShareUserInfo < TencentCloud::Common::AbstractModel
4012
+ # @param DomainShareId: 共享记录ID
4013
+ # @type DomainShareId: Integer
4014
+ # @param Mode: 共享模式。r-只读;w-可写;rw-可读写。
4015
+ # 注意:此字段可能返回 null,表示取不到有效值。
4016
+ # @type Mode: String
4017
+ # @param Nickname: 共享到的用户昵称
4018
+ # 注意:此字段可能返回 null,表示取不到有效值。
4019
+ # @type Nickname: String
4020
+ # @param QCloudUIN: 共享到的用户UIN
4021
+ # 注意:此字段可能返回 null,表示取不到有效值。
4022
+ # @type QCloudUIN: String
4023
+ # @param Status: 共享状态。enabled-有效;pause-无效。
4024
+ # 注意:此字段可能返回 null,表示取不到有效值。
4025
+ # @type Status: String
4026
+ # @param SubDomain: 共享的子域名
4027
+ # 注意:此字段可能返回 null,表示取不到有效值。
4028
+ # @type SubDomain: String
4029
+
4030
+ attr_accessor :DomainShareId, :Mode, :Nickname, :QCloudUIN, :Status, :SubDomain
4031
+
4032
+ def initialize(domainshareid=nil, mode=nil, nickname=nil, qclouduin=nil, status=nil, subdomain=nil)
4033
+ @DomainShareId = domainshareid
4034
+ @Mode = mode
4035
+ @Nickname = nickname
4036
+ @QCloudUIN = qclouduin
4037
+ @Status = status
4038
+ @SubDomain = subdomain
4039
+ end
4040
+
4041
+ def deserialize(params)
4042
+ @DomainShareId = params['DomainShareId']
4043
+ @Mode = params['Mode']
4044
+ @Nickname = params['Nickname']
4045
+ @QCloudUIN = params['QCloudUIN']
4046
+ @Status = params['Status']
4047
+ @SubDomain = params['SubDomain']
4048
+ end
4049
+ end
4050
+
3963
4051
  # DownloadSnapshot请求参数结构体
3964
4052
  class DownloadSnapshotRequest < TencentCloud::Common::AbstractModel
3965
4053
  # @param Domain: 域名
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dnspod
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.902
4
+ version: 3.0.903
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-09-09 00:00:00.000000000 Z
11
+ date: 2024-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common