Skip to content

Commit e6467ab

Browse files
committed
Generated 2016-11-01 for live.
1 parent c0166e8 commit e6467ab

16 files changed

+570
-3
lines changed

aliyun-python-sdk-live/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-09-16 Version: 3.9.10
2+
- Generated 2016-11-01 for `live`.
3+
14
2021-07-08 Version: 3.9.9
25
- Generated 2016-11-01 for `live`.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '3.9.9'
1+
__version__ = '3.9.10'

aliyun-python-sdk-live/aliyunsdklive/request/v20161101/AddCasterVideoResourceRequest.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ def __init__(self):
3131
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3232

3333

34+
def get_InputType(self):
35+
return self.get_query_params().get('InputType')
36+
37+
def set_InputType(self,InputType):
38+
self.add_query_param('InputType',InputType)
39+
3440
def get_EndOffset(self):
3541
return self.get_query_params().get('EndOffset')
3642

@@ -67,6 +73,12 @@ def get_OwnerId(self):
6773
def set_OwnerId(self,OwnerId):
6874
self.add_query_param('OwnerId',OwnerId)
6975

76+
def get_StreamMonitor(self):
77+
return self.get_query_params().get('StreamMonitor')
78+
79+
def set_StreamMonitor(self,StreamMonitor):
80+
self.add_query_param('StreamMonitor',StreamMonitor)
81+
7082
def get_BeginOffset(self):
7183
return self.get_query_params().get('BeginOffset')
7284

aliyun-python-sdk-live/aliyunsdklive/request/v20161101/AddLiveAppRecordConfigRequest.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ def get_OssEndpoint(self):
3737
def set_OssEndpoint(self,OssEndpoint):
3838
self.add_query_param('OssEndpoint',OssEndpoint)
3939

40+
def get_TranscodeTemplatess(self):
41+
return self.get_query_params().get('TranscodeTemplates')
42+
43+
def set_TranscodeTemplatess(self, TranscodeTemplatess):
44+
for depth1 in range(len(TranscodeTemplatess)):
45+
if TranscodeTemplatess[depth1] is not None:
46+
self.add_query_param('TranscodeTemplates.' + str(depth1 + 1) , TranscodeTemplatess[depth1])
47+
4048
def get_StartTime(self):
4149
return self.get_query_params().get('StartTime')
4250

@@ -55,6 +63,22 @@ def get_SecurityToken(self):
5563
def set_SecurityToken(self,SecurityToken):
5664
self.add_query_param('SecurityToken',SecurityToken)
5765

66+
def get_TranscodeRecordFormats(self):
67+
return self.get_query_params().get('TranscodeRecordFormat')
68+
69+
def set_TranscodeRecordFormats(self, TranscodeRecordFormats):
70+
for depth1 in range(len(TranscodeRecordFormats)):
71+
if TranscodeRecordFormats[depth1].get('SliceOssObjectPrefix') is not None:
72+
self.add_query_param('TranscodeRecordFormat.' + str(depth1 + 1) + '.SliceOssObjectPrefix', TranscodeRecordFormats[depth1].get('SliceOssObjectPrefix'))
73+
if TranscodeRecordFormats[depth1].get('SliceDuration') is not None:
74+
self.add_query_param('TranscodeRecordFormat.' + str(depth1 + 1) + '.SliceDuration', TranscodeRecordFormats[depth1].get('SliceDuration'))
75+
if TranscodeRecordFormats[depth1].get('Format') is not None:
76+
self.add_query_param('TranscodeRecordFormat.' + str(depth1 + 1) + '.Format', TranscodeRecordFormats[depth1].get('Format'))
77+
if TranscodeRecordFormats[depth1].get('OssObjectPrefix') is not None:
78+
self.add_query_param('TranscodeRecordFormat.' + str(depth1 + 1) + '.OssObjectPrefix', TranscodeRecordFormats[depth1].get('OssObjectPrefix'))
79+
if TranscodeRecordFormats[depth1].get('CycleDuration') is not None:
80+
self.add_query_param('TranscodeRecordFormat.' + str(depth1 + 1) + '.CycleDuration', TranscodeRecordFormats[depth1].get('CycleDuration'))
81+
5882
def get_OnDemand(self):
5983
return self.get_query_params().get('OnDemand')
6084

@@ -98,6 +122,8 @@ def set_RecordFormats(self, RecordFormats):
98122
for depth1 in range(len(RecordFormats)):
99123
if RecordFormats[depth1].get('SliceOssObjectPrefix') is not None:
100124
self.add_query_param('RecordFormat.' + str(depth1 + 1) + '.SliceOssObjectPrefix', RecordFormats[depth1].get('SliceOssObjectPrefix'))
125+
if RecordFormats[depth1].get('SliceDuration') is not None:
126+
self.add_query_param('RecordFormat.' + str(depth1 + 1) + '.SliceDuration', RecordFormats[depth1].get('SliceDuration'))
101127
if RecordFormats[depth1].get('Format') is not None:
102128
self.add_query_param('RecordFormat.' + str(depth1 + 1) + '.Format', RecordFormats[depth1].get('Format'))
103129
if RecordFormats[depth1].get('OssObjectPrefix') is not None:
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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 aliyunsdklive.endpoint import endpoint_data
22+
23+
class CreateCustomTemplateRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'live', '2016-11-01', 'CreateCustomTemplate','live')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_Template(self):
35+
return self.get_query_params().get('Template')
36+
37+
def set_Template(self,Template):
38+
self.add_query_param('Template',Template)
39+
40+
def get_CustomTemplate(self):
41+
return self.get_query_params().get('CustomTemplate')
42+
43+
def set_CustomTemplate(self,CustomTemplate):
44+
self.add_query_param('CustomTemplate',CustomTemplate)
45+
46+
def get_OwnerId(self):
47+
return self.get_query_params().get('OwnerId')
48+
49+
def set_OwnerId(self,OwnerId):
50+
self.add_query_param('OwnerId',OwnerId)
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 aliyunsdklive.endpoint import endpoint_data
22+
23+
class DeleteCustomTemplateRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'live', '2016-11-01', 'DeleteCustomTemplate','live')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_Template(self):
35+
return self.get_query_params().get('Template')
36+
37+
def set_Template(self,Template):
38+
self.add_query_param('Template',Template)
39+
40+
def get_OwnerId(self):
41+
return self.get_query_params().get('OwnerId')
42+
43+
def set_OwnerId(self,OwnerId):
44+
self.add_query_param('OwnerId',OwnerId)
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 aliyunsdklive.endpoint import endpoint_data
22+
23+
class DeleteLiveEdgeTransferRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'live', '2016-11-01', 'DeleteLiveEdgeTransfer','live')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_DomainName(self):
35+
return self.get_query_params().get('DomainName')
36+
37+
def set_DomainName(self,DomainName):
38+
self.add_query_param('DomainName',DomainName)
39+
40+
def get_OwnerId(self):
41+
return self.get_query_params().get('OwnerId')
42+
43+
def set_OwnerId(self,OwnerId):
44+
self.add_query_param('OwnerId',OwnerId)
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 aliyunsdklive.endpoint import endpoint_data
22+
23+
class DescribeLiveEdgeTransferRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'live', '2016-11-01', 'DescribeLiveEdgeTransfer','live')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_DomainName(self):
35+
return self.get_query_params().get('DomainName')
36+
37+
def set_DomainName(self,DomainName):
38+
self.add_query_param('DomainName',DomainName)
39+
40+
def get_OwnerId(self):
41+
return self.get_query_params().get('OwnerId')
42+
43+
def set_OwnerId(self,OwnerId):
44+
self.add_query_param('OwnerId',OwnerId)
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 aliyunsdklive.endpoint import endpoint_data
22+
23+
class DescribeLiveIpInfoRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'live', '2016-11-01', 'DescribeLiveIpInfo','live')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_IP(self):
35+
return self.get_query_params().get('IP')
36+
37+
def set_IP(self,IP):
38+
self.add_query_param('IP',IP)
39+
40+
def get_OwnerId(self):
41+
return self.get_query_params().get('OwnerId')
42+
43+
def set_OwnerId(self,OwnerId):
44+
self.add_query_param('OwnerId',OwnerId)
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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 aliyunsdklive.endpoint import endpoint_data
22+
23+
class DescribeLiveStreamStateRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'live', '2016-11-01', 'DescribeLiveStreamState','live')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_AppName(self):
35+
return self.get_query_params().get('AppName')
36+
37+
def set_AppName(self,AppName):
38+
self.add_query_param('AppName',AppName)
39+
40+
def get_StreamName(self):
41+
return self.get_query_params().get('StreamName')
42+
43+
def set_StreamName(self,StreamName):
44+
self.add_query_param('StreamName',StreamName)
45+
46+
def get_DomainName(self):
47+
return self.get_query_params().get('DomainName')
48+
49+
def set_DomainName(self,DomainName):
50+
self.add_query_param('DomainName',DomainName)
51+
52+
def get_OwnerId(self):
53+
return self.get_query_params().get('OwnerId')
54+
55+
def set_OwnerId(self,OwnerId):
56+
self.add_query_param('OwnerId',OwnerId)

0 commit comments

Comments
 (0)