tencentcloud-sdk-python-dnspod 3.0.1224__tar.gz → 3.0.1237__tar.gz

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.
Files changed (16) hide show
  1. {tencentcloud-sdk-python-dnspod-3.0.1224 → tencentcloud-sdk-python-dnspod-3.0.1237}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-dnspod-3.0.1224 → tencentcloud-sdk-python-dnspod-3.0.1237}/setup.py +1 -1
  3. {tencentcloud-sdk-python-dnspod-3.0.1224 → tencentcloud-sdk-python-dnspod-3.0.1237}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-dnspod-3.0.1224 → tencentcloud-sdk-python-dnspod-3.0.1237}/tencentcloud/dnspod/v20210323/dnspod_client.py +23 -0
  5. {tencentcloud-sdk-python-dnspod-3.0.1224 → tencentcloud-sdk-python-dnspod-3.0.1237}/tencentcloud/dnspod/v20210323/models.py +185 -0
  6. {tencentcloud-sdk-python-dnspod-3.0.1224 → tencentcloud-sdk-python-dnspod-3.0.1237}/tencentcloud_sdk_python_dnspod.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-dnspod-3.0.1237/tencentcloud_sdk_python_dnspod.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-dnspod-3.0.1224/tencentcloud_sdk_python_dnspod.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-dnspod-3.0.1224 → tencentcloud-sdk-python-dnspod-3.0.1237}/README.rst +0 -0
  10. {tencentcloud-sdk-python-dnspod-3.0.1224 → tencentcloud-sdk-python-dnspod-3.0.1237}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-dnspod-3.0.1224 → tencentcloud-sdk-python-dnspod-3.0.1237}/tencentcloud/dnspod/__init__.py +0 -0
  12. {tencentcloud-sdk-python-dnspod-3.0.1224 → tencentcloud-sdk-python-dnspod-3.0.1237}/tencentcloud/dnspod/v20210323/__init__.py +0 -0
  13. {tencentcloud-sdk-python-dnspod-3.0.1224 → tencentcloud-sdk-python-dnspod-3.0.1237}/tencentcloud/dnspod/v20210323/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-dnspod-3.0.1224 → tencentcloud-sdk-python-dnspod-3.0.1237}/tencentcloud_sdk_python_dnspod.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-dnspod-3.0.1224 → tencentcloud-sdk-python-dnspod-3.0.1237}/tencentcloud_sdk_python_dnspod.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-dnspod-3.0.1224 → tencentcloud-sdk-python-dnspod-3.0.1237}/tencentcloud_sdk_python_dnspod.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-dnspod
3
- Version: 3.0.1224
3
+ Version: 3.0.1237
4
4
  Summary: Tencent Cloud Dnspod SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-dnspod',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1224"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1237"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Dnspod SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1224'
17
+ __version__ = '3.0.1237'
@@ -788,6 +788,29 @@ class DnspodClient(AbstractClient):
788
788
  raise TencentCloudSDKException(type(e).__name__, str(e))
789
789
 
790
790
 
791
+ def DescribeDomainShareUserList(self, request):
792
+ """获取指定域名的已共享列表
793
+
794
+ :param request: Request instance for DescribeDomainShareUserList.
795
+ :type request: :class:`tencentcloud.dnspod.v20210323.models.DescribeDomainShareUserListRequest`
796
+ :rtype: :class:`tencentcloud.dnspod.v20210323.models.DescribeDomainShareUserListResponse`
797
+
798
+ """
799
+ try:
800
+ params = request._serialize()
801
+ headers = request.headers
802
+ body = self.call("DescribeDomainShareUserList", params, headers=headers)
803
+ response = json.loads(body)
804
+ model = models.DescribeDomainShareUserListResponse()
805
+ model._deserialize(response["Response"])
806
+ return model
807
+ except Exception as e:
808
+ if isinstance(e, TencentCloudSDKException):
809
+ raise
810
+ else:
811
+ raise TencentCloudSDKException(type(e).__name__, str(e))
812
+
813
+
791
814
  def DescribeDomainWhois(self, request):
792
815
  """获取域名Whois信息
793
816
 
@@ -4966,6 +4966,93 @@ class DescribeDomainShareInfoResponse(AbstractModel):
4966
4966
  self._RequestId = params.get("RequestId")
4967
4967
 
4968
4968
 
4969
+ class DescribeDomainShareUserListRequest(AbstractModel):
4970
+ """DescribeDomainShareUserList请求参数结构体
4971
+
4972
+ """
4973
+
4974
+ def __init__(self):
4975
+ r"""
4976
+ :param _Domain: 域名
4977
+ :type Domain: str
4978
+ :param _DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId
4979
+ :type DomainId: int
4980
+ """
4981
+ self._Domain = None
4982
+ self._DomainId = None
4983
+
4984
+ @property
4985
+ def Domain(self):
4986
+ return self._Domain
4987
+
4988
+ @Domain.setter
4989
+ def Domain(self, Domain):
4990
+ self._Domain = Domain
4991
+
4992
+ @property
4993
+ def DomainId(self):
4994
+ return self._DomainId
4995
+
4996
+ @DomainId.setter
4997
+ def DomainId(self, DomainId):
4998
+ self._DomainId = DomainId
4999
+
5000
+
5001
+ def _deserialize(self, params):
5002
+ self._Domain = params.get("Domain")
5003
+ self._DomainId = params.get("DomainId")
5004
+ memeber_set = set(params.keys())
5005
+ for name, value in vars(self).items():
5006
+ property_name = name[1:]
5007
+ if property_name in memeber_set:
5008
+ memeber_set.remove(property_name)
5009
+ if len(memeber_set) > 0:
5010
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5011
+
5012
+
5013
+
5014
+ class DescribeDomainShareUserListResponse(AbstractModel):
5015
+ """DescribeDomainShareUserList返回参数结构体
5016
+
5017
+ """
5018
+
5019
+ def __init__(self):
5020
+ r"""
5021
+ :param _DomainShareList: 域名套餐信息
5022
+ :type DomainShareList: list of DomainShareUserInfo
5023
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5024
+ :type RequestId: str
5025
+ """
5026
+ self._DomainShareList = None
5027
+ self._RequestId = None
5028
+
5029
+ @property
5030
+ def DomainShareList(self):
5031
+ return self._DomainShareList
5032
+
5033
+ @DomainShareList.setter
5034
+ def DomainShareList(self, DomainShareList):
5035
+ self._DomainShareList = DomainShareList
5036
+
5037
+ @property
5038
+ def RequestId(self):
5039
+ return self._RequestId
5040
+
5041
+ @RequestId.setter
5042
+ def RequestId(self, RequestId):
5043
+ self._RequestId = RequestId
5044
+
5045
+
5046
+ def _deserialize(self, params):
5047
+ if params.get("DomainShareList") is not None:
5048
+ self._DomainShareList = []
5049
+ for item in params.get("DomainShareList"):
5050
+ obj = DomainShareUserInfo()
5051
+ obj._deserialize(item)
5052
+ self._DomainShareList.append(obj)
5053
+ self._RequestId = params.get("RequestId")
5054
+
5055
+
4969
5056
  class DescribeDomainWhoisRequest(AbstractModel):
4970
5057
  """DescribeDomainWhois请求参数结构体
4971
5058
 
@@ -8588,6 +8675,104 @@ class DomainShareInfo(AbstractModel):
8588
8675
 
8589
8676
 
8590
8677
 
8678
+ class DomainShareUserInfo(AbstractModel):
8679
+ """域名共享信息
8680
+
8681
+ """
8682
+
8683
+ def __init__(self):
8684
+ r"""
8685
+ :param _DomainShareId: 共享记录ID
8686
+ :type DomainShareId: int
8687
+ :param _Mode: 共享模式。r-只读;w-可写;rw-可读写。
8688
+ 注意:此字段可能返回 null,表示取不到有效值。
8689
+ :type Mode: str
8690
+ :param _Nickname: 共享到的用户昵称
8691
+ 注意:此字段可能返回 null,表示取不到有效值。
8692
+ :type Nickname: str
8693
+ :param _QCloudUIN: 共享到的用户UIN
8694
+ 注意:此字段可能返回 null,表示取不到有效值。
8695
+ :type QCloudUIN: str
8696
+ :param _Status: 共享状态。enabled-有效;pause-无效。
8697
+ 注意:此字段可能返回 null,表示取不到有效值。
8698
+ :type Status: str
8699
+ :param _SubDomain: 共享的子域名
8700
+ 注意:此字段可能返回 null,表示取不到有效值。
8701
+ :type SubDomain: str
8702
+ """
8703
+ self._DomainShareId = None
8704
+ self._Mode = None
8705
+ self._Nickname = None
8706
+ self._QCloudUIN = None
8707
+ self._Status = None
8708
+ self._SubDomain = None
8709
+
8710
+ @property
8711
+ def DomainShareId(self):
8712
+ return self._DomainShareId
8713
+
8714
+ @DomainShareId.setter
8715
+ def DomainShareId(self, DomainShareId):
8716
+ self._DomainShareId = DomainShareId
8717
+
8718
+ @property
8719
+ def Mode(self):
8720
+ return self._Mode
8721
+
8722
+ @Mode.setter
8723
+ def Mode(self, Mode):
8724
+ self._Mode = Mode
8725
+
8726
+ @property
8727
+ def Nickname(self):
8728
+ return self._Nickname
8729
+
8730
+ @Nickname.setter
8731
+ def Nickname(self, Nickname):
8732
+ self._Nickname = Nickname
8733
+
8734
+ @property
8735
+ def QCloudUIN(self):
8736
+ return self._QCloudUIN
8737
+
8738
+ @QCloudUIN.setter
8739
+ def QCloudUIN(self, QCloudUIN):
8740
+ self._QCloudUIN = QCloudUIN
8741
+
8742
+ @property
8743
+ def Status(self):
8744
+ return self._Status
8745
+
8746
+ @Status.setter
8747
+ def Status(self, Status):
8748
+ self._Status = Status
8749
+
8750
+ @property
8751
+ def SubDomain(self):
8752
+ return self._SubDomain
8753
+
8754
+ @SubDomain.setter
8755
+ def SubDomain(self, SubDomain):
8756
+ self._SubDomain = SubDomain
8757
+
8758
+
8759
+ def _deserialize(self, params):
8760
+ self._DomainShareId = params.get("DomainShareId")
8761
+ self._Mode = params.get("Mode")
8762
+ self._Nickname = params.get("Nickname")
8763
+ self._QCloudUIN = params.get("QCloudUIN")
8764
+ self._Status = params.get("Status")
8765
+ self._SubDomain = params.get("SubDomain")
8766
+ memeber_set = set(params.keys())
8767
+ for name, value in vars(self).items():
8768
+ property_name = name[1:]
8769
+ if property_name in memeber_set:
8770
+ memeber_set.remove(property_name)
8771
+ if len(memeber_set) > 0:
8772
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
8773
+
8774
+
8775
+
8591
8776
  class DownloadSnapshotRequest(AbstractModel):
8592
8777
  """DownloadSnapshot请求参数结构体
8593
8778
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-dnspod
3
- Version: 3.0.1224
3
+ Version: 3.0.1237
4
4
  Summary: Tencent Cloud Dnspod SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1237
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1224