alibabacloud-vod20170321 3.8.2__py3-none-any.whl → 3.9.0__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.
@@ -1 +1 @@
1
- __version__ = '3.8.2'
1
+ __version__ = '3.9.0'
@@ -10603,6 +10603,110 @@ class Client(OpenApiClient):
10603
10603
  runtime = util_models.RuntimeOptions()
10604
10604
  return await self.describe_vod_user_domains_with_options_async(request, runtime)
10605
10605
 
10606
+ def describe_vod_user_vips_by_domain_with_options(
10607
+ self,
10608
+ request: vod_20170321_models.DescribeVodUserVipsByDomainRequest,
10609
+ runtime: util_models.RuntimeOptions,
10610
+ ) -> vod_20170321_models.DescribeVodUserVipsByDomainResponse:
10611
+ """
10612
+ @summary 获取域名Vip
10613
+
10614
+ @param request: DescribeVodUserVipsByDomainRequest
10615
+ @param runtime: runtime options for this request RuntimeOptions
10616
+ @return: DescribeVodUserVipsByDomainResponse
10617
+ """
10618
+ UtilClient.validate_model(request)
10619
+ query = {}
10620
+ if not UtilClient.is_unset(request.available):
10621
+ query['Available'] = request.available
10622
+ if not UtilClient.is_unset(request.domain_name):
10623
+ query['DomainName'] = request.domain_name
10624
+ if not UtilClient.is_unset(request.owner_id):
10625
+ query['OwnerId'] = request.owner_id
10626
+ req = open_api_models.OpenApiRequest(
10627
+ query=OpenApiUtilClient.query(query)
10628
+ )
10629
+ params = open_api_models.Params(
10630
+ action='DescribeVodUserVipsByDomain',
10631
+ version='2017-03-21',
10632
+ protocol='HTTPS',
10633
+ pathname='/',
10634
+ method='POST',
10635
+ auth_type='AK',
10636
+ style='RPC',
10637
+ req_body_type='formData',
10638
+ body_type='json'
10639
+ )
10640
+ return TeaCore.from_map(
10641
+ vod_20170321_models.DescribeVodUserVipsByDomainResponse(),
10642
+ self.call_api(params, req, runtime)
10643
+ )
10644
+
10645
+ async def describe_vod_user_vips_by_domain_with_options_async(
10646
+ self,
10647
+ request: vod_20170321_models.DescribeVodUserVipsByDomainRequest,
10648
+ runtime: util_models.RuntimeOptions,
10649
+ ) -> vod_20170321_models.DescribeVodUserVipsByDomainResponse:
10650
+ """
10651
+ @summary 获取域名Vip
10652
+
10653
+ @param request: DescribeVodUserVipsByDomainRequest
10654
+ @param runtime: runtime options for this request RuntimeOptions
10655
+ @return: DescribeVodUserVipsByDomainResponse
10656
+ """
10657
+ UtilClient.validate_model(request)
10658
+ query = {}
10659
+ if not UtilClient.is_unset(request.available):
10660
+ query['Available'] = request.available
10661
+ if not UtilClient.is_unset(request.domain_name):
10662
+ query['DomainName'] = request.domain_name
10663
+ if not UtilClient.is_unset(request.owner_id):
10664
+ query['OwnerId'] = request.owner_id
10665
+ req = open_api_models.OpenApiRequest(
10666
+ query=OpenApiUtilClient.query(query)
10667
+ )
10668
+ params = open_api_models.Params(
10669
+ action='DescribeVodUserVipsByDomain',
10670
+ version='2017-03-21',
10671
+ protocol='HTTPS',
10672
+ pathname='/',
10673
+ method='POST',
10674
+ auth_type='AK',
10675
+ style='RPC',
10676
+ req_body_type='formData',
10677
+ body_type='json'
10678
+ )
10679
+ return TeaCore.from_map(
10680
+ vod_20170321_models.DescribeVodUserVipsByDomainResponse(),
10681
+ await self.call_api_async(params, req, runtime)
10682
+ )
10683
+
10684
+ def describe_vod_user_vips_by_domain(
10685
+ self,
10686
+ request: vod_20170321_models.DescribeVodUserVipsByDomainRequest,
10687
+ ) -> vod_20170321_models.DescribeVodUserVipsByDomainResponse:
10688
+ """
10689
+ @summary 获取域名Vip
10690
+
10691
+ @param request: DescribeVodUserVipsByDomainRequest
10692
+ @return: DescribeVodUserVipsByDomainResponse
10693
+ """
10694
+ runtime = util_models.RuntimeOptions()
10695
+ return self.describe_vod_user_vips_by_domain_with_options(request, runtime)
10696
+
10697
+ async def describe_vod_user_vips_by_domain_async(
10698
+ self,
10699
+ request: vod_20170321_models.DescribeVodUserVipsByDomainRequest,
10700
+ ) -> vod_20170321_models.DescribeVodUserVipsByDomainResponse:
10701
+ """
10702
+ @summary 获取域名Vip
10703
+
10704
+ @param request: DescribeVodUserVipsByDomainRequest
10705
+ @return: DescribeVodUserVipsByDomainResponse
10706
+ """
10707
+ runtime = util_models.RuntimeOptions()
10708
+ return await self.describe_vod_user_vips_by_domain_with_options_async(request, runtime)
10709
+
10606
10710
  def describe_vod_verify_content_with_options(
10607
10711
  self,
10608
10712
  request: vod_20170321_models.DescribeVodVerifyContentRequest,
@@ -18124,6 +18124,155 @@ class DescribeVodUserDomainsResponse(TeaModel):
18124
18124
  return self
18125
18125
 
18126
18126
 
18127
+ class DescribeVodUserVipsByDomainRequest(TeaModel):
18128
+ def __init__(
18129
+ self,
18130
+ available: str = None,
18131
+ domain_name: str = None,
18132
+ owner_id: int = None,
18133
+ ):
18134
+ self.available = available
18135
+ # This parameter is required.
18136
+ self.domain_name = domain_name
18137
+ self.owner_id = owner_id
18138
+
18139
+ def validate(self):
18140
+ pass
18141
+
18142
+ def to_map(self):
18143
+ _map = super().to_map()
18144
+ if _map is not None:
18145
+ return _map
18146
+
18147
+ result = dict()
18148
+ if self.available is not None:
18149
+ result['Available'] = self.available
18150
+ if self.domain_name is not None:
18151
+ result['DomainName'] = self.domain_name
18152
+ if self.owner_id is not None:
18153
+ result['OwnerId'] = self.owner_id
18154
+ return result
18155
+
18156
+ def from_map(self, m: dict = None):
18157
+ m = m or dict()
18158
+ if m.get('Available') is not None:
18159
+ self.available = m.get('Available')
18160
+ if m.get('DomainName') is not None:
18161
+ self.domain_name = m.get('DomainName')
18162
+ if m.get('OwnerId') is not None:
18163
+ self.owner_id = m.get('OwnerId')
18164
+ return self
18165
+
18166
+
18167
+ class DescribeVodUserVipsByDomainResponseBodyVips(TeaModel):
18168
+ def __init__(
18169
+ self,
18170
+ vip: List[str] = None,
18171
+ ):
18172
+ self.vip = vip
18173
+
18174
+ def validate(self):
18175
+ pass
18176
+
18177
+ def to_map(self):
18178
+ _map = super().to_map()
18179
+ if _map is not None:
18180
+ return _map
18181
+
18182
+ result = dict()
18183
+ if self.vip is not None:
18184
+ result['Vip'] = self.vip
18185
+ return result
18186
+
18187
+ def from_map(self, m: dict = None):
18188
+ m = m or dict()
18189
+ if m.get('Vip') is not None:
18190
+ self.vip = m.get('Vip')
18191
+ return self
18192
+
18193
+
18194
+ class DescribeVodUserVipsByDomainResponseBody(TeaModel):
18195
+ def __init__(
18196
+ self,
18197
+ domain_name: str = None,
18198
+ request_id: str = None,
18199
+ vips: DescribeVodUserVipsByDomainResponseBodyVips = None,
18200
+ ):
18201
+ self.domain_name = domain_name
18202
+ self.request_id = request_id
18203
+ self.vips = vips
18204
+
18205
+ def validate(self):
18206
+ if self.vips:
18207
+ self.vips.validate()
18208
+
18209
+ def to_map(self):
18210
+ _map = super().to_map()
18211
+ if _map is not None:
18212
+ return _map
18213
+
18214
+ result = dict()
18215
+ if self.domain_name is not None:
18216
+ result['DomainName'] = self.domain_name
18217
+ if self.request_id is not None:
18218
+ result['RequestId'] = self.request_id
18219
+ if self.vips is not None:
18220
+ result['Vips'] = self.vips.to_map()
18221
+ return result
18222
+
18223
+ def from_map(self, m: dict = None):
18224
+ m = m or dict()
18225
+ if m.get('DomainName') is not None:
18226
+ self.domain_name = m.get('DomainName')
18227
+ if m.get('RequestId') is not None:
18228
+ self.request_id = m.get('RequestId')
18229
+ if m.get('Vips') is not None:
18230
+ temp_model = DescribeVodUserVipsByDomainResponseBodyVips()
18231
+ self.vips = temp_model.from_map(m['Vips'])
18232
+ return self
18233
+
18234
+
18235
+ class DescribeVodUserVipsByDomainResponse(TeaModel):
18236
+ def __init__(
18237
+ self,
18238
+ headers: Dict[str, str] = None,
18239
+ status_code: int = None,
18240
+ body: DescribeVodUserVipsByDomainResponseBody = None,
18241
+ ):
18242
+ self.headers = headers
18243
+ self.status_code = status_code
18244
+ self.body = body
18245
+
18246
+ def validate(self):
18247
+ if self.body:
18248
+ self.body.validate()
18249
+
18250
+ def to_map(self):
18251
+ _map = super().to_map()
18252
+ if _map is not None:
18253
+ return _map
18254
+
18255
+ result = dict()
18256
+ if self.headers is not None:
18257
+ result['headers'] = self.headers
18258
+ if self.status_code is not None:
18259
+ result['statusCode'] = self.status_code
18260
+ if self.body is not None:
18261
+ result['body'] = self.body.to_map()
18262
+ return result
18263
+
18264
+ def from_map(self, m: dict = None):
18265
+ m = m or dict()
18266
+ if m.get('headers') is not None:
18267
+ self.headers = m.get('headers')
18268
+ if m.get('statusCode') is not None:
18269
+ self.status_code = m.get('statusCode')
18270
+ if m.get('body') is not None:
18271
+ temp_model = DescribeVodUserVipsByDomainResponseBody()
18272
+ self.body = temp_model.from_map(m['body'])
18273
+ return self
18274
+
18275
+
18127
18276
  class DescribeVodVerifyContentRequest(TeaModel):
18128
18277
  def __init__(
18129
18278
  self,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-vod20170321
3
- Version: 3.8.2
3
+ Version: 3.9.0
4
4
  Summary: Alibaba Cloud ApsaraVideo for VOD (20170321) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -0,0 +1,8 @@
1
+ alibabacloud_vod20170321/__init__.py,sha256=l1fgO6hymDav3XHlHF86UDD8PtO6nNqKraTzL_Fw0Xw,21
2
+ alibabacloud_vod20170321/client.py,sha256=9eJuTSBXjZrnvoMXURlcTaIs-60Rd22IAGIf4BIWGyw,1148395
3
+ alibabacloud_vod20170321/models.py,sha256=xoIQHcJU0_QzUX5S57VZ23M_zHSVaqeS_xrXuwtKQaE,1640067
4
+ alibabacloud_vod20170321-3.9.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ alibabacloud_vod20170321-3.9.0.dist-info/METADATA,sha256=7QvIWFGviZYNmpcK527GqtGUkw2sIiNOg65GKDK-OmA,2328
6
+ alibabacloud_vod20170321-3.9.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
7
+ alibabacloud_vod20170321-3.9.0.dist-info/top_level.txt,sha256=xbuokYbPde64Zj1s16NBERWQJON7fCs4CEdVbKy79kc,25
8
+ alibabacloud_vod20170321-3.9.0.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- alibabacloud_vod20170321/__init__.py,sha256=PbbpfPNLtgb7NOYhSzs_RlzeIkwOQl0hPJGEsBOAgBc,21
2
- alibabacloud_vod20170321/client.py,sha256=IpQVtJNkL-752JtSPSqAr2BwgkvAwWw-PxMP70_5drM,1144357
3
- alibabacloud_vod20170321/models.py,sha256=Tm0ssfC6gV5ZyDUSikXo-KeTS1jsm2nt6AY3BuUkKig,1635836
4
- alibabacloud_vod20170321-3.8.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
- alibabacloud_vod20170321-3.8.2.dist-info/METADATA,sha256=LEZgLNdtWqvjc_L0Zw8-kiOyiy8xv8JwK-7VgQ5wS2o,2328
6
- alibabacloud_vod20170321-3.8.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
7
- alibabacloud_vod20170321-3.8.2.dist-info/top_level.txt,sha256=xbuokYbPde64Zj1s16NBERWQJON7fCs4CEdVbKy79kc,25
8
- alibabacloud_vod20170321-3.8.2.dist-info/RECORD,,