Skip to content

Commit 74021d5

Browse files
committed
GetPlayInfo Add EncryptMode.
1 parent 40dde99 commit 74021d5

File tree

7 files changed

+217
-8
lines changed

7 files changed

+217
-8
lines changed

aliyun-python-sdk-vod/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-10-11 Version: 2.16.26
2+
- GetPlayInfo Add EncryptMode.
3+
14
2024-08-20 Version: 2.16.25
25
增加DescribeVodDomainMax95BpsData
36

aliyun-python-sdk-vod/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Aliyun Python SDK is the official software development kit. It makes things easy
88

99
This module works on Python versions:
1010

11-
2.6.5 and greater
11+
3.7 and greater
1212

1313
**Documentation:**
1414

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.16.25'
1+
__version__ = '2.16.26'
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkvod.endpoint import endpoint_data
22+
23+
class ChangeResourceGroupRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'vod', '2017-03-21', 'ChangeResourceGroup','vod')
27+
self.set_method('POST')
28+
29+
if hasattr(self, "endpoint_map"):
30+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
31+
if hasattr(self, "endpoint_regional"):
32+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
33+
34+
def get_ResourceGroupId(self): # String
35+
return self.get_query_params().get('ResourceGroupId')
36+
37+
def set_ResourceGroupId(self, ResourceGroupId): # String
38+
self.add_query_param('ResourceGroupId', ResourceGroupId)
39+
def get_ResourceRegionId(self): # String
40+
return self.get_query_params().get('ResourceRegionId')
41+
42+
def set_ResourceRegionId(self, ResourceRegionId): # String
43+
self.add_query_param('ResourceRegionId', ResourceRegionId)
44+
def get_ResourceId(self): # String
45+
return self.get_query_params().get('ResourceId')
46+
47+
def set_ResourceId(self, ResourceId): # String
48+
self.add_query_param('ResourceId', ResourceId)
49+
def get_ResourceType(self): # String
50+
return self.get_query_params().get('ResourceType')
51+
52+
def set_ResourceType(self, ResourceType): # String
53+
self.add_query_param('ResourceType', ResourceType)
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkvod.endpoint import endpoint_data
22+
23+
class DescribeVodSSLCertificateListRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'vod', '2017-03-21', 'DescribeVodSSLCertificateList','vod')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
30+
if hasattr(self, "endpoint_map"):
31+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
32+
if hasattr(self, "endpoint_regional"):
33+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
34+
35+
def get_PageNumber(self): # Long
36+
return self.get_query_params().get('PageNumber')
37+
38+
def set_PageNumber(self, PageNumber): # Long
39+
self.add_query_param('PageNumber', PageNumber)
40+
def get_SecurityToken(self): # String
41+
return self.get_query_params().get('SecurityToken')
42+
43+
def set_SecurityToken(self, SecurityToken): # String
44+
self.add_query_param('SecurityToken', SecurityToken)
45+
def get_PageSize(self): # Long
46+
return self.get_query_params().get('PageSize')
47+
48+
def set_PageSize(self, PageSize): # Long
49+
self.add_query_param('PageSize', PageSize)
50+
def get_DomainName(self): # String
51+
return self.get_query_params().get('DomainName')
52+
53+
def set_DomainName(self, DomainName): # String
54+
self.add_query_param('DomainName', DomainName)
55+
def get_OwnerId(self): # Long
56+
return self.get_query_params().get('OwnerId')
57+
58+
def set_OwnerId(self, OwnerId): # Long
59+
self.add_query_param('OwnerId', OwnerId)
60+
def get_SearchKeyword(self): # String
61+
return self.get_query_params().get('SearchKeyword')
62+
63+
def set_SearchKeyword(self, SearchKeyword): # String
64+
self.add_query_param('SearchKeyword', SearchKeyword)
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkvod.endpoint import endpoint_data
22+
23+
class SetVodDomainSSLCertificateRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'vod', '2017-03-21', 'SetVodDomainSSLCertificate','vod')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
30+
if hasattr(self, "endpoint_map"):
31+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
32+
if hasattr(self, "endpoint_regional"):
33+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
34+
35+
def get_SSLProtocol(self): # String
36+
return self.get_query_params().get('SSLProtocol')
37+
38+
def set_SSLProtocol(self, SSLProtocol): # String
39+
self.add_query_param('SSLProtocol', SSLProtocol)
40+
def get_CertId(self): # Long
41+
return self.get_query_params().get('CertId')
42+
43+
def set_CertId(self, CertId): # Long
44+
self.add_query_param('CertId', CertId)
45+
def get_SecurityToken(self): # String
46+
return self.get_query_params().get('SecurityToken')
47+
48+
def set_SecurityToken(self, SecurityToken): # String
49+
self.add_query_param('SecurityToken', SecurityToken)
50+
def get_CertType(self): # String
51+
return self.get_query_params().get('CertType')
52+
53+
def set_CertType(self, CertType): # String
54+
self.add_query_param('CertType', CertType)
55+
def get_SSLPri(self): # String
56+
return self.get_query_params().get('SSLPri')
57+
58+
def set_SSLPri(self, SSLPri): # String
59+
self.add_query_param('SSLPri', SSLPri)
60+
def get_CertRegion(self): # String
61+
return self.get_query_params().get('CertRegion')
62+
63+
def set_CertRegion(self, CertRegion): # String
64+
self.add_query_param('CertRegion', CertRegion)
65+
def get_CertName(self): # String
66+
return self.get_query_params().get('CertName')
67+
68+
def set_CertName(self, CertName): # String
69+
self.add_query_param('CertName', CertName)
70+
def get_DomainName(self): # String
71+
return self.get_query_params().get('DomainName')
72+
73+
def set_DomainName(self, DomainName): # String
74+
self.add_query_param('DomainName', DomainName)
75+
def get_OwnerId(self): # Long
76+
return self.get_query_params().get('OwnerId')
77+
78+
def set_OwnerId(self, OwnerId): # Long
79+
self.add_query_param('OwnerId', OwnerId)
80+
def get_Env(self): # String
81+
return self.get_query_params().get('Env')
82+
83+
def set_Env(self, Env): # String
84+
self.add_query_param('Env', Env)
85+
def get_SSLPub(self): # String
86+
return self.get_query_params().get('SSLPub')
87+
88+
def set_SSLPub(self, SSLPub): # String
89+
self.add_query_param('SSLPub', SSLPub)

aliyun-python-sdk-vod/setup.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@
6565
"Intended Audience :: Developers",
6666
"License :: OSI Approved :: Apache Software License",
6767
"Programming Language :: Python",
68-
"Programming Language :: Python :: 2.6",
69-
"Programming Language :: Python :: 2.7",
7068
"Programming Language :: Python :: 3",
71-
"Programming Language :: Python :: 3.3",
72-
"Programming Language :: Python :: 3.4",
73-
"Programming Language :: Python :: 3.5",
74-
"Programming Language :: Python :: 3.6",
69+
"Programming Language :: Python :: 3.7",
70+
"Programming Language :: Python :: 3.8",
71+
"Programming Language :: Python :: 3.9",
72+
"Programming Language :: Python :: 3.10",
73+
"Programming Language :: Python :: 3.11",
74+
"Programming Language :: Python :: 3.12",
7575
"Topic :: Software Development",
7676
)
7777

0 commit comments

Comments
 (0)