Skip to content

Commit da3f8c5

Browse files
committed
Generated 2016-11-01 for live.
1 parent beb8b32 commit da3f8c5

20 files changed

+962
-16
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+
2025-03-27 Version: 3.9.66
2+
- Generated 2016-11-01 for `live`.
3+
14
2024-12-06 Version: 3.9.65
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.65'
1+
__version__ = '3.9.66'
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
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+
import json
23+
24+
class CreateLivePullToPushRequest(RpcRequest):
25+
26+
def __init__(self):
27+
RpcRequest.__init__(self, 'live', '2016-11-01', 'CreateLivePullToPush','live')
28+
self.set_protocol_type('https')
29+
self.set_method('GET')
30+
31+
if hasattr(self, "endpoint_map"):
32+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
33+
if hasattr(self, "endpoint_regional"):
34+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
35+
36+
def get_FileIndex(self): # Integer
37+
return self.get_query_params().get('FileIndex')
38+
39+
def set_FileIndex(self, FileIndex): # Integer
40+
self.add_query_param('FileIndex', FileIndex)
41+
def get_RetryCount(self): # Integer
42+
return self.get_query_params().get('RetryCount')
43+
44+
def set_RetryCount(self, RetryCount): # Integer
45+
self.add_query_param('RetryCount', RetryCount)
46+
def get_TaskName(self): # String
47+
return self.get_query_params().get('TaskName')
48+
49+
def set_TaskName(self, TaskName): # String
50+
self.add_query_param('TaskName', TaskName)
51+
def get_StartTime(self): # String
52+
return self.get_query_params().get('StartTime')
53+
54+
def set_StartTime(self, StartTime): # String
55+
self.add_query_param('StartTime', StartTime)
56+
def get_RepeatNumber(self): # Integer
57+
return self.get_query_params().get('RepeatNumber')
58+
59+
def set_RepeatNumber(self, RepeatNumber): # Integer
60+
self.add_query_param('RepeatNumber', RepeatNumber)
61+
def get_SourceProtocol(self): # String
62+
return self.get_query_params().get('SourceProtocol')
63+
64+
def set_SourceProtocol(self, SourceProtocol): # String
65+
self.add_query_param('SourceProtocol', SourceProtocol)
66+
def get_SourceType(self): # String
67+
return self.get_query_params().get('SourceType')
68+
69+
def set_SourceType(self, SourceType): # String
70+
self.add_query_param('SourceType', SourceType)
71+
def get_Offset(self): # Integer
72+
return self.get_query_params().get('Offset')
73+
74+
def set_Offset(self, Offset): # Integer
75+
self.add_query_param('Offset', Offset)
76+
def get_DstUrl(self): # String
77+
return self.get_query_params().get('DstUrl')
78+
79+
def set_DstUrl(self, DstUrl): # String
80+
self.add_query_param('DstUrl', DstUrl)
81+
def get_EndTime(self): # String
82+
return self.get_query_params().get('EndTime')
83+
84+
def set_EndTime(self, EndTime): # String
85+
self.add_query_param('EndTime', EndTime)
86+
def get_OwnerId(self): # Long
87+
return self.get_query_params().get('OwnerId')
88+
89+
def set_OwnerId(self, OwnerId): # Long
90+
self.add_query_param('OwnerId', OwnerId)
91+
def get_SourceUrls(self): # Array
92+
return self.get_query_params().get('SourceUrls')
93+
94+
def set_SourceUrls(self, SourceUrls): # Array
95+
self.add_query_param("SourceUrls", json.dumps(SourceUrls))
96+
def get_RetryInterval(self): # Integer
97+
return self.get_query_params().get('RetryInterval')
98+
99+
def set_RetryInterval(self, RetryInterval): # Integer
100+
self.add_query_param('RetryInterval', RetryInterval)
101+
def get_CallbackUrl(self): # String
102+
return self.get_query_params().get('CallbackUrl')
103+
104+
def set_CallbackUrl(self, CallbackUrl): # String
105+
self.add_query_param('CallbackUrl', CallbackUrl)
106+
def get_Region(self): # String
107+
return self.get_query_params().get('Region')
108+
109+
def set_Region(self, Region): # String
110+
self.add_query_param('Region', Region)
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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 DeleteLivePullToPushRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'live', '2016-11-01', 'DeleteLivePullToPush','live')
27+
self.set_protocol_type('https')
28+
self.set_method('GET')
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_TaskId(self): # String
36+
return self.get_query_params().get('TaskId')
37+
38+
def set_TaskId(self, TaskId): # String
39+
self.add_query_param('TaskId', TaskId)
40+
def get_OwnerId(self): # Long
41+
return self.get_query_params().get('OwnerId')
42+
43+
def set_OwnerId(self, OwnerId): # Long
44+
self.add_query_param('OwnerId', OwnerId)
45+
def get_Region(self): # String
46+
return self.get_query_params().get('Region')
47+
48+
def set_Region(self, Region): # String
49+
self.add_query_param('Region', Region)
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 DescribeLiveDomainMultiStreamConfigRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'live', '2016-11-01', 'DescribeLiveDomainMultiStreamConfig','live')
27+
self.set_protocol_type('https')
28+
self.set_method('GET')
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_OwnerId(self): # Long
36+
return self.get_query_params().get('OwnerId')
37+
38+
def set_OwnerId(self, OwnerId): # Long
39+
self.add_query_param('OwnerId', OwnerId)
40+
def get_Domain(self): # String
41+
return self.get_query_params().get('Domain')
42+
43+
def set_Domain(self, Domain): # String
44+
self.add_query_param('Domain', Domain)
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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 DescribeLivePullToPushListRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'live', '2016-11-01', 'DescribeLivePullToPushList','live')
27+
self.set_protocol_type('https')
28+
self.set_method('GET')
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_TaskName(self): # String
36+
return self.get_query_params().get('TaskName')
37+
38+
def set_TaskName(self, TaskName): # String
39+
self.add_query_param('TaskName', TaskName)
40+
def get_PageNumber(self): # Integer
41+
return self.get_query_params().get('PageNumber')
42+
43+
def set_PageNumber(self, PageNumber): # Integer
44+
self.add_query_param('PageNumber', PageNumber)
45+
def get_PageSize(self): # Integer
46+
return self.get_query_params().get('PageSize')
47+
48+
def set_PageSize(self, PageSize): # Integer
49+
self.add_query_param('PageSize', PageSize)
50+
def get_TaskId(self): # String
51+
return self.get_query_params().get('TaskId')
52+
53+
def set_TaskId(self, TaskId): # String
54+
self.add_query_param('TaskId', TaskId)
55+
def get_DstUrl(self): # String
56+
return self.get_query_params().get('DstUrl')
57+
58+
def set_DstUrl(self, DstUrl): # String
59+
self.add_query_param('DstUrl', DstUrl)
60+
def get_OwnerId(self): # Long
61+
return self.get_query_params().get('OwnerId')
62+
63+
def set_OwnerId(self, OwnerId): # Long
64+
self.add_query_param('OwnerId', OwnerId)
65+
def get_Region(self): # String
66+
return self.get_query_params().get('Region')
67+
68+
def set_Region(self, Region): # String
69+
self.add_query_param('Region', Region)
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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 DescribeLivePullToPushRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'live', '2016-11-01', 'DescribeLivePullToPush','live')
27+
self.set_protocol_type('https')
28+
self.set_method('GET')
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_TaskId(self): # String
36+
return self.get_query_params().get('TaskId')
37+
38+
def set_TaskId(self, TaskId): # String
39+
self.add_query_param('TaskId', TaskId)
40+
def get_OwnerId(self): # Long
41+
return self.get_query_params().get('OwnerId')
42+
43+
def set_OwnerId(self, OwnerId): # Long
44+
self.add_query_param('OwnerId', OwnerId)
45+
def get_Region(self): # String
46+
return self.get_query_params().get('Region')
47+
48+
def set_Region(self, Region): # String
49+
self.add_query_param('Region', Region)

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

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

34+
def get_NotifyType(self): # String
35+
return self.get_query_params().get('NotifyType')
36+
37+
def set_NotifyType(self, NotifyType): # String
38+
self.add_query_param('NotifyType', NotifyType)
3439
def get_DomainName(self): # String
3540
return self.get_query_params().get('DomainName')
3641

0 commit comments

Comments
 (0)