tencentcloud-sdk-python-cloudapp 3.1.20__py2.py3-none-any.whl → 3.1.40__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.40'
@@ -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,14 @@ 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
259
+ :param _ProviderUin: <p>商品供应商 UIN</p>
260
+ :type ProviderUin: str
261
+ :param _CreateSource: <p>License 创建来源 ID</p>
262
+ :type CreateSource: str
204
263
  """
205
264
  self._LicenseId = None
206
265
  self._LicenseMode = None
@@ -220,6 +279,10 @@ class License(AbstractModel):
220
279
  self._LifeSpanUnit = None
221
280
  self._LicenseType = None
222
281
  self._LicenseLevel = None
282
+ self._LicenseData = None
283
+ self._IssueURL = None
284
+ self._ProviderUin = None
285
+ self._CreateSource = None
223
286
 
224
287
  @property
225
288
  def LicenseId(self):
@@ -421,6 +484,50 @@ class License(AbstractModel):
421
484
  def LicenseLevel(self, LicenseLevel):
422
485
  self._LicenseLevel = LicenseLevel
423
486
 
487
+ @property
488
+ def LicenseData(self):
489
+ r"""<p>License 内容信息</p>
490
+ :rtype: :class:`tencentcloud.cloudapp.v20220530.models.LicenseData`
491
+ """
492
+ return self._LicenseData
493
+
494
+ @LicenseData.setter
495
+ def LicenseData(self, LicenseData):
496
+ self._LicenseData = LicenseData
497
+
498
+ @property
499
+ def IssueURL(self):
500
+ r"""<p>License 颁发地址</p>
501
+ :rtype: str
502
+ """
503
+ return self._IssueURL
504
+
505
+ @IssueURL.setter
506
+ def IssueURL(self, IssueURL):
507
+ self._IssueURL = IssueURL
508
+
509
+ @property
510
+ def ProviderUin(self):
511
+ r"""<p>商品供应商 UIN</p>
512
+ :rtype: str
513
+ """
514
+ return self._ProviderUin
515
+
516
+ @ProviderUin.setter
517
+ def ProviderUin(self, ProviderUin):
518
+ self._ProviderUin = ProviderUin
519
+
520
+ @property
521
+ def CreateSource(self):
522
+ r"""<p>License 创建来源 ID</p>
523
+ :rtype: str
524
+ """
525
+ return self._CreateSource
526
+
527
+ @CreateSource.setter
528
+ def CreateSource(self, CreateSource):
529
+ self._CreateSource = CreateSource
530
+
424
531
 
425
532
  def _deserialize(self, params):
426
533
  self._LicenseId = params.get("LicenseId")
@@ -446,6 +553,83 @@ class License(AbstractModel):
446
553
  self._LifeSpanUnit = params.get("LifeSpanUnit")
447
554
  self._LicenseType = params.get("LicenseType")
448
555
  self._LicenseLevel = params.get("LicenseLevel")
556
+ if params.get("LicenseData") is not None:
557
+ self._LicenseData = LicenseData()
558
+ self._LicenseData._deserialize(params.get("LicenseData"))
559
+ self._IssueURL = params.get("IssueURL")
560
+ self._ProviderUin = params.get("ProviderUin")
561
+ self._CreateSource = params.get("CreateSource")
562
+ memeber_set = set(params.keys())
563
+ for name, value in vars(self).items():
564
+ property_name = name[1:]
565
+ if property_name in memeber_set:
566
+ memeber_set.remove(property_name)
567
+ if len(memeber_set) > 0:
568
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
569
+
570
+
571
+
572
+ class LicenseData(AbstractModel):
573
+ r"""License 内容信息
574
+
575
+ """
576
+
577
+ def __init__(self):
578
+ r"""
579
+ :param _Text: <p>License 文本内容。支持密钥、证书等文本形式,二进制的密钥需要伙伴进行 base64 转码</p>
580
+ :type Text: str
581
+ :param _DeploymentOutput: <p>部署服务输出信息,基于部署签发 License 时需要该参数。</p>
582
+ :type DeploymentOutput: str
583
+ :param _Metadata: <p>License 前端展示信息。key、value 形式,比如可传入,颁发机构:XXXX 有限公司</p>
584
+ :type Metadata: list of DisplayMetadata
585
+ """
586
+ self._Text = None
587
+ self._DeploymentOutput = None
588
+ self._Metadata = None
589
+
590
+ @property
591
+ def Text(self):
592
+ r"""<p>License 文本内容。支持密钥、证书等文本形式,二进制的密钥需要伙伴进行 base64 转码</p>
593
+ :rtype: str
594
+ """
595
+ return self._Text
596
+
597
+ @Text.setter
598
+ def Text(self, Text):
599
+ self._Text = Text
600
+
601
+ @property
602
+ def DeploymentOutput(self):
603
+ r"""<p>部署服务输出信息,基于部署签发 License 时需要该参数。</p>
604
+ :rtype: str
605
+ """
606
+ return self._DeploymentOutput
607
+
608
+ @DeploymentOutput.setter
609
+ def DeploymentOutput(self, DeploymentOutput):
610
+ self._DeploymentOutput = DeploymentOutput
611
+
612
+ @property
613
+ def Metadata(self):
614
+ r"""<p>License 前端展示信息。key、value 形式,比如可传入,颁发机构:XXXX 有限公司</p>
615
+ :rtype: list of DisplayMetadata
616
+ """
617
+ return self._Metadata
618
+
619
+ @Metadata.setter
620
+ def Metadata(self, Metadata):
621
+ self._Metadata = Metadata
622
+
623
+
624
+ def _deserialize(self, params):
625
+ self._Text = params.get("Text")
626
+ self._DeploymentOutput = params.get("DeploymentOutput")
627
+ if params.get("Metadata") is not None:
628
+ self._Metadata = []
629
+ for item in params.get("Metadata"):
630
+ obj = DisplayMetadata()
631
+ obj._deserialize(item)
632
+ self._Metadata.append(obj)
449
633
  memeber_set = set(params.keys())
450
634
  for name, value in vars(self).items():
451
635
  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.40
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.40
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=4orC4gNXRd4oqx0HCNS89t5iyM7S7qEEe2SQQLBmHhs,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=HYcEbcSSVtcK7sZTjQsBIyYwdA6m3PLMrifjg0-2yhs,31063
8
+ tencentcloud_sdk_python_cloudapp-3.1.40.dist-info/METADATA,sha256=6QZtzIGWXKviHfPFsS2cQfuuw7esTnIrJ4gUhv4rzK4,1520
9
+ tencentcloud_sdk_python_cloudapp-3.1.40.dist-info/WHEEL,sha256=I3glN-nznogni2CWkAvi6vPRkBhTbVeYvJZnIsln6uc,109
10
+ tencentcloud_sdk_python_cloudapp-3.1.40.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_cloudapp-3.1.40.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