tencentcloud-sdk-python-cloudapp 3.1.20__py2.py3-none-any.whl → 3.1.33__py2.py3-none-any.whl

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.
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.20'
17
+ __version__ = '3.1.33'
@@ -102,6 +102,57 @@ class DescribeLicenseResponse(AbstractModel):
102
102
  self._RequestId = params.get("RequestId")
103
103
 
104
104
 
105
+ class DisplayMetadata(AbstractModel):
106
+ r"""元数据展示信息
107
+
108
+ """
109
+
110
+ def __init__(self):
111
+ r"""
112
+ :param _Name: <p>展示的名称</p>
113
+ :type Name: str
114
+ :param _Value: <p>展示的值</p>
115
+ :type Value: str
116
+ """
117
+ self._Name = None
118
+ self._Value = None
119
+
120
+ @property
121
+ def Name(self):
122
+ r"""<p>展示的名称</p>
123
+ :rtype: str
124
+ """
125
+ return self._Name
126
+
127
+ @Name.setter
128
+ def Name(self, Name):
129
+ self._Name = Name
130
+
131
+ @property
132
+ def Value(self):
133
+ r"""<p>展示的值</p>
134
+ :rtype: str
135
+ """
136
+ return self._Value
137
+
138
+ @Value.setter
139
+ def Value(self, Value):
140
+ self._Value = Value
141
+
142
+
143
+ def _deserialize(self, params):
144
+ self._Name = params.get("Name")
145
+ self._Value = params.get("Value")
146
+ memeber_set = set(params.keys())
147
+ for name, value in vars(self).items():
148
+ property_name = name[1:]
149
+ if property_name in memeber_set:
150
+ memeber_set.remove(property_name)
151
+ if len(memeber_set) > 0:
152
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
153
+
154
+
155
+
105
156
  class Filter(AbstractModel):
106
157
  r"""描述键值对过滤器,用于条件过滤查询。例如过滤 ID、名称、状态等
107
158
 
@@ -201,6 +252,10 @@ class License(AbstractModel):
201
252
  :type LicenseType: str
202
253
  :param _LicenseLevel: <p>授权的层级:Master 主授权;Child 子授权/增强型授权</p>
203
254
  :type LicenseLevel: str
255
+ :param _LicenseData: <p>License 内容信息</p>
256
+ :type LicenseData: :class:`tencentcloud.cloudapp.v20220530.models.LicenseData`
257
+ :param _IssueURL: <p>License 颁发地址</p>
258
+ :type IssueURL: str
204
259
  """
205
260
  self._LicenseId = None
206
261
  self._LicenseMode = None
@@ -220,6 +275,8 @@ class License(AbstractModel):
220
275
  self._LifeSpanUnit = None
221
276
  self._LicenseType = None
222
277
  self._LicenseLevel = None
278
+ self._LicenseData = None
279
+ self._IssueURL = None
223
280
 
224
281
  @property
225
282
  def LicenseId(self):
@@ -421,6 +478,28 @@ class License(AbstractModel):
421
478
  def LicenseLevel(self, LicenseLevel):
422
479
  self._LicenseLevel = LicenseLevel
423
480
 
481
+ @property
482
+ def LicenseData(self):
483
+ r"""<p>License 内容信息</p>
484
+ :rtype: :class:`tencentcloud.cloudapp.v20220530.models.LicenseData`
485
+ """
486
+ return self._LicenseData
487
+
488
+ @LicenseData.setter
489
+ def LicenseData(self, LicenseData):
490
+ self._LicenseData = LicenseData
491
+
492
+ @property
493
+ def IssueURL(self):
494
+ r"""<p>License 颁发地址</p>
495
+ :rtype: str
496
+ """
497
+ return self._IssueURL
498
+
499
+ @IssueURL.setter
500
+ def IssueURL(self, IssueURL):
501
+ self._IssueURL = IssueURL
502
+
424
503
 
425
504
  def _deserialize(self, params):
426
505
  self._LicenseId = params.get("LicenseId")
@@ -446,6 +525,81 @@ class License(AbstractModel):
446
525
  self._LifeSpanUnit = params.get("LifeSpanUnit")
447
526
  self._LicenseType = params.get("LicenseType")
448
527
  self._LicenseLevel = params.get("LicenseLevel")
528
+ if params.get("LicenseData") is not None:
529
+ self._LicenseData = LicenseData()
530
+ self._LicenseData._deserialize(params.get("LicenseData"))
531
+ self._IssueURL = params.get("IssueURL")
532
+ memeber_set = set(params.keys())
533
+ for name, value in vars(self).items():
534
+ property_name = name[1:]
535
+ if property_name in memeber_set:
536
+ memeber_set.remove(property_name)
537
+ if len(memeber_set) > 0:
538
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
539
+
540
+
541
+
542
+ class LicenseData(AbstractModel):
543
+ r"""License 内容信息
544
+
545
+ """
546
+
547
+ def __init__(self):
548
+ r"""
549
+ :param _Text: <p>License 文本内容。支持密钥、证书等文本形式,二进制的密钥需要伙伴进行 base64 转码</p>
550
+ :type Text: str
551
+ :param _DeploymentOutput: <p>部署服务输出信息,基于部署签发 License 时需要该参数。</p>
552
+ :type DeploymentOutput: str
553
+ :param _Metadata: <p>License 前端展示信息。key、value 形式,比如可传入,颁发机构:XXXX 有限公司</p>
554
+ :type Metadata: list of DisplayMetadata
555
+ """
556
+ self._Text = None
557
+ self._DeploymentOutput = None
558
+ self._Metadata = None
559
+
560
+ @property
561
+ def Text(self):
562
+ r"""<p>License 文本内容。支持密钥、证书等文本形式,二进制的密钥需要伙伴进行 base64 转码</p>
563
+ :rtype: str
564
+ """
565
+ return self._Text
566
+
567
+ @Text.setter
568
+ def Text(self, Text):
569
+ self._Text = Text
570
+
571
+ @property
572
+ def DeploymentOutput(self):
573
+ r"""<p>部署服务输出信息,基于部署签发 License 时需要该参数。</p>
574
+ :rtype: str
575
+ """
576
+ return self._DeploymentOutput
577
+
578
+ @DeploymentOutput.setter
579
+ def DeploymentOutput(self, DeploymentOutput):
580
+ self._DeploymentOutput = DeploymentOutput
581
+
582
+ @property
583
+ def Metadata(self):
584
+ r"""<p>License 前端展示信息。key、value 形式,比如可传入,颁发机构:XXXX 有限公司</p>
585
+ :rtype: list of DisplayMetadata
586
+ """
587
+ return self._Metadata
588
+
589
+ @Metadata.setter
590
+ def Metadata(self, Metadata):
591
+ self._Metadata = Metadata
592
+
593
+
594
+ def _deserialize(self, params):
595
+ self._Text = params.get("Text")
596
+ self._DeploymentOutput = params.get("DeploymentOutput")
597
+ if params.get("Metadata") is not None:
598
+ self._Metadata = []
599
+ for item in params.get("Metadata"):
600
+ obj = DisplayMetadata()
601
+ obj._deserialize(item)
602
+ self._Metadata.append(obj)
449
603
  memeber_set = set(params.keys())
450
604
  for name, value in vars(self).items():
451
605
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cloudapp
3
- Version: 3.1.20
3
+ Version: 3.1.33
4
4
  Summary: Tencent Cloud Cloudapp SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.20
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.33
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,11 +1,11 @@
1
- tencentcloud/__init__.py,sha256=Pf_GEGWGhyhYYQr94uZEjfdLMiVP2DtbP4829a1dQjE,629
1
+ tencentcloud/__init__.py,sha256=TglDu80I-GxPNBtiSv8V-zD-SiYgCOOsMh88zby6mkM,629
2
2
  tencentcloud/cloudapp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/cloudapp/v20220530/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/cloudapp/v20220530/cloudapp_client.py,sha256=tC0ep32jLbR8jwUoxId4AzXtRipSVHfKDQTqfSHm5Hs,8807
5
5
  tencentcloud/cloudapp/v20220530/cloudapp_client_async.py,sha256=EgSOjvrPDkvgjOUdA5YtT5LzeEofdfRHnijhG0O_56A,8111
6
6
  tencentcloud/cloudapp/v20220530/errorcodes.py,sha256=--3Fd24HvXy0prtDI2e7wKxr81LAvSqrDzBk0T20VmE,853
7
- tencentcloud/cloudapp/v20220530/models.py,sha256=DdGlJ0vtvJ9J44DWqoIlJSFIqMM1wYgffDjSaSdNZMk,25558
8
- tencentcloud_sdk_python_cloudapp-3.1.20.dist-info/METADATA,sha256=CHSDiAN5RuHBcBtj4quEQyADPAdkB3WH4TOqvGLK0aw,1520
9
- tencentcloud_sdk_python_cloudapp-3.1.20.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
10
- tencentcloud_sdk_python_cloudapp-3.1.20.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_cloudapp-3.1.20.dist-info/RECORD,,
7
+ tencentcloud/cloudapp/v20220530/models.py,sha256=S_s3eXmW62jEztOp-5fxH5D1EEAuPI59MkySxNpL-6k,30193
8
+ tencentcloud_sdk_python_cloudapp-3.1.33.dist-info/METADATA,sha256=1r91rSiTF1BNcDHsCd_qAg62h4aiTRzFuQHqg0k3sTU,1520
9
+ tencentcloud_sdk_python_cloudapp-3.1.33.dist-info/WHEEL,sha256=I3glN-nznogni2CWkAvi6vPRkBhTbVeYvJZnIsln6uc,109
10
+ tencentcloud_sdk_python_cloudapp-3.1.33.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_cloudapp-3.1.33.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.3.2)
2
+ Generator: setuptools (75.3.3)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any