Skip to content

Commit 4745dcb

Browse files
committed
Merge "integration_2025-12-04_1090671646466" into "apig-Python-2021-03-03-online-1870-2025_11_25_15_18_44"
Conflicts: pyproject.toml
2 parents 91d8164 + 3fcd8d6 commit 4745dcb

File tree

569 files changed

+114364
-784
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

569 files changed

+114364
-784
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "volcengine-python-sdk"
3-
version = "4.0.36"
3+
version = "4.0.38"
44
authors = [
55
{name = "volc-engine", email = "[email protected]"},
66
]

volcenginesdkacep/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,12 @@
103103
from volcenginesdkacep.models.row_for_list_phone_template_output import RowForListPhoneTemplateOutput
104104
from volcenginesdkacep.models.row_for_list_pod_output import RowForListPodOutput
105105
from volcenginesdkacep.models.specify_host_list_for_restore_pod_input import SpecifyHostListForRestorePodInput
106+
from volcenginesdkacep.models.start_recording_request import StartRecordingRequest
107+
from volcenginesdkacep.models.start_recording_response import StartRecordingResponse
106108
from volcenginesdkacep.models.start_screen_shot_request import StartScreenShotRequest
107109
from volcenginesdkacep.models.start_screen_shot_response import StartScreenShotResponse
110+
from volcenginesdkacep.models.stop_recording_request import StopRecordingRequest
111+
from volcenginesdkacep.models.stop_recording_response import StopRecordingResponse
108112
from volcenginesdkacep.models.stop_screen_shot_request import StopScreenShotRequest
109113
from volcenginesdkacep.models.stop_screen_shot_response import StopScreenShotResponse
110114
from volcenginesdkacep.models.tag_for_get_phone_template_output import TagForGetPhoneTemplateOutput

volcenginesdkacep/api/acep_api.py

Lines changed: 194 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2167,6 +2167,103 @@ def restore_pod_with_http_info(self, body, **kwargs): # noqa: E501
21672167
_request_timeout=params.get('_request_timeout'),
21682168
collection_formats=collection_formats)
21692169

2170+
def start_recording(self, body, **kwargs): # noqa: E501
2171+
"""start_recording # noqa: E501
2172+
2173+
This method makes a synchronous HTTP request by default. To make an
2174+
asynchronous HTTP request, please pass async_req=True
2175+
>>> thread = api.start_recording(body, async_req=True)
2176+
>>> result = thread.get()
2177+
2178+
:param async_req bool
2179+
:param StartRecordingRequest body: (required)
2180+
:return: StartRecordingResponse
2181+
If the method is called asynchronously,
2182+
returns the request thread.
2183+
"""
2184+
kwargs['_return_http_data_only'] = True
2185+
if kwargs.get('async_req'):
2186+
return self.start_recording_with_http_info(body, **kwargs) # noqa: E501
2187+
else:
2188+
(data) = self.start_recording_with_http_info(body, **kwargs) # noqa: E501
2189+
return data
2190+
2191+
def start_recording_with_http_info(self, body, **kwargs): # noqa: E501
2192+
"""start_recording # noqa: E501
2193+
2194+
This method makes a synchronous HTTP request by default. To make an
2195+
asynchronous HTTP request, please pass async_req=True
2196+
>>> thread = api.start_recording_with_http_info(body, async_req=True)
2197+
>>> result = thread.get()
2198+
2199+
:param async_req bool
2200+
:param StartRecordingRequest body: (required)
2201+
:return: StartRecordingResponse
2202+
If the method is called asynchronously,
2203+
returns the request thread.
2204+
"""
2205+
2206+
all_params = ['body'] # noqa: E501
2207+
all_params.append('async_req')
2208+
all_params.append('_return_http_data_only')
2209+
all_params.append('_preload_content')
2210+
all_params.append('_request_timeout')
2211+
2212+
params = locals()
2213+
for key, val in six.iteritems(params['kwargs']):
2214+
if key not in all_params:
2215+
raise TypeError(
2216+
"Got an unexpected keyword argument '%s'"
2217+
" to method start_recording" % key
2218+
)
2219+
params[key] = val
2220+
del params['kwargs']
2221+
# verify the required parameter 'body' is set
2222+
if self.api_client.client_side_validation and ('body' not in params or
2223+
params['body'] is None): # noqa: E501
2224+
raise ValueError("Missing the required parameter `body` when calling `start_recording`") # noqa: E501
2225+
2226+
collection_formats = {}
2227+
2228+
path_params = {}
2229+
2230+
query_params = []
2231+
2232+
header_params = {}
2233+
2234+
form_params = []
2235+
local_var_files = {}
2236+
2237+
body_params = None
2238+
if 'body' in params:
2239+
body_params = params['body']
2240+
# HTTP header `Accept`
2241+
header_params['Accept'] = self.api_client.select_header_accept(
2242+
['application/json']) # noqa: E501
2243+
2244+
# HTTP header `Content-Type`
2245+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2246+
['application/json']) # noqa: E501
2247+
2248+
# Authentication setting
2249+
auth_settings = ['volcengineSign'] # noqa: E501
2250+
2251+
return self.api_client.call_api(
2252+
'/StartRecording/2025-05-01/acep/post/application_json/', 'POST',
2253+
path_params,
2254+
query_params,
2255+
header_params,
2256+
body=body_params,
2257+
post_params=form_params,
2258+
files=local_var_files,
2259+
response_type='StartRecordingResponse', # noqa: E501
2260+
auth_settings=auth_settings,
2261+
async_req=params.get('async_req'),
2262+
_return_http_data_only=params.get('_return_http_data_only'),
2263+
_preload_content=params.get('_preload_content', True),
2264+
_request_timeout=params.get('_request_timeout'),
2265+
collection_formats=collection_formats)
2266+
21702267
def start_screen_shot(self, body, **kwargs): # noqa: E501
21712268
"""start_screen_shot # noqa: E501
21722269
@@ -2264,6 +2361,103 @@ def start_screen_shot_with_http_info(self, body, **kwargs): # noqa: E501
22642361
_request_timeout=params.get('_request_timeout'),
22652362
collection_formats=collection_formats)
22662363

2364+
def stop_recording(self, body, **kwargs): # noqa: E501
2365+
"""stop_recording # noqa: E501
2366+
2367+
This method makes a synchronous HTTP request by default. To make an
2368+
asynchronous HTTP request, please pass async_req=True
2369+
>>> thread = api.stop_recording(body, async_req=True)
2370+
>>> result = thread.get()
2371+
2372+
:param async_req bool
2373+
:param StopRecordingRequest body: (required)
2374+
:return: StopRecordingResponse
2375+
If the method is called asynchronously,
2376+
returns the request thread.
2377+
"""
2378+
kwargs['_return_http_data_only'] = True
2379+
if kwargs.get('async_req'):
2380+
return self.stop_recording_with_http_info(body, **kwargs) # noqa: E501
2381+
else:
2382+
(data) = self.stop_recording_with_http_info(body, **kwargs) # noqa: E501
2383+
return data
2384+
2385+
def stop_recording_with_http_info(self, body, **kwargs): # noqa: E501
2386+
"""stop_recording # noqa: E501
2387+
2388+
This method makes a synchronous HTTP request by default. To make an
2389+
asynchronous HTTP request, please pass async_req=True
2390+
>>> thread = api.stop_recording_with_http_info(body, async_req=True)
2391+
>>> result = thread.get()
2392+
2393+
:param async_req bool
2394+
:param StopRecordingRequest body: (required)
2395+
:return: StopRecordingResponse
2396+
If the method is called asynchronously,
2397+
returns the request thread.
2398+
"""
2399+
2400+
all_params = ['body'] # noqa: E501
2401+
all_params.append('async_req')
2402+
all_params.append('_return_http_data_only')
2403+
all_params.append('_preload_content')
2404+
all_params.append('_request_timeout')
2405+
2406+
params = locals()
2407+
for key, val in six.iteritems(params['kwargs']):
2408+
if key not in all_params:
2409+
raise TypeError(
2410+
"Got an unexpected keyword argument '%s'"
2411+
" to method stop_recording" % key
2412+
)
2413+
params[key] = val
2414+
del params['kwargs']
2415+
# verify the required parameter 'body' is set
2416+
if self.api_client.client_side_validation and ('body' not in params or
2417+
params['body'] is None): # noqa: E501
2418+
raise ValueError("Missing the required parameter `body` when calling `stop_recording`") # noqa: E501
2419+
2420+
collection_formats = {}
2421+
2422+
path_params = {}
2423+
2424+
query_params = []
2425+
2426+
header_params = {}
2427+
2428+
form_params = []
2429+
local_var_files = {}
2430+
2431+
body_params = None
2432+
if 'body' in params:
2433+
body_params = params['body']
2434+
# HTTP header `Accept`
2435+
header_params['Accept'] = self.api_client.select_header_accept(
2436+
['application/json']) # noqa: E501
2437+
2438+
# HTTP header `Content-Type`
2439+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2440+
['application/json']) # noqa: E501
2441+
2442+
# Authentication setting
2443+
auth_settings = ['volcengineSign'] # noqa: E501
2444+
2445+
return self.api_client.call_api(
2446+
'/StopRecording/2025-05-01/acep/post/application_json/', 'POST',
2447+
path_params,
2448+
query_params,
2449+
header_params,
2450+
body=body_params,
2451+
post_params=form_params,
2452+
files=local_var_files,
2453+
response_type='StopRecordingResponse', # noqa: E501
2454+
auth_settings=auth_settings,
2455+
async_req=params.get('async_req'),
2456+
_return_http_data_only=params.get('_return_http_data_only'),
2457+
_preload_content=params.get('_preload_content', True),
2458+
_request_timeout=params.get('_request_timeout'),
2459+
collection_formats=collection_formats)
2460+
22672461
def stop_screen_shot(self, body, **kwargs): # noqa: E501
22682462
"""stop_screen_shot # noqa: E501
22692463

volcenginesdkacep/models/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,12 @@
9999
from volcenginesdkacep.models.row_for_list_phone_template_output import RowForListPhoneTemplateOutput
100100
from volcenginesdkacep.models.row_for_list_pod_output import RowForListPodOutput
101101
from volcenginesdkacep.models.specify_host_list_for_restore_pod_input import SpecifyHostListForRestorePodInput
102+
from volcenginesdkacep.models.start_recording_request import StartRecordingRequest
103+
from volcenginesdkacep.models.start_recording_response import StartRecordingResponse
102104
from volcenginesdkacep.models.start_screen_shot_request import StartScreenShotRequest
103105
from volcenginesdkacep.models.start_screen_shot_response import StartScreenShotResponse
106+
from volcenginesdkacep.models.stop_recording_request import StopRecordingRequest
107+
from volcenginesdkacep.models.stop_recording_response import StopRecordingResponse
104108
from volcenginesdkacep.models.stop_screen_shot_request import StopScreenShotRequest
105109
from volcenginesdkacep.models.stop_screen_shot_response import StopScreenShotResponse
106110
from volcenginesdkacep.models.tag_for_get_phone_template_output import TagForGetPhoneTemplateOutput

volcenginesdkacep/models/row_for_list_pod_output.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class RowForListPodOutput(object):
4242
'authority_status': 'int',
4343
'configuration': 'ConfigurationForListPodOutput',
4444
'create_at': 'int',
45+
'custom_route_id': 'str',
4546
'dnsid': 'str',
4647
'data_size': 'str',
4748
'data_size_used': 'str',
@@ -73,6 +74,7 @@ class RowForListPodOutput(object):
7374
'authority_status': 'AuthorityStatus',
7475
'configuration': 'Configuration',
7576
'create_at': 'CreateAt',
77+
'custom_route_id': 'CustomRouteId',
7678
'dnsid': 'DNSId',
7779
'data_size': 'DataSize',
7880
'data_size_used': 'DataSizeUsed',
@@ -94,7 +96,7 @@ class RowForListPodOutput(object):
9496
'up_bandwidth_limit': 'UpBandwidthLimit'
9597
}
9698

97-
def __init__(self, adb=None, adb_expire_time=None, adb_status=None, aosp_version=None, archive_status=None, authority_expire_time=None, authority_status=None, configuration=None, create_at=None, dnsid=None, data_size=None, data_size_used=None, dc_info=None, display_layout_id=None, down_bandwidth_limit=None, host_id=None, image_id=None, image_name=None, intranet_ip=None, online=None, pod_id=None, pod_name=None, port_mapping_rule_list=None, product_id=None, server_type_code=None, stream_status=None, tag=None, up_bandwidth_limit=None, _configuration=None): # noqa: E501
99+
def __init__(self, adb=None, adb_expire_time=None, adb_status=None, aosp_version=None, archive_status=None, authority_expire_time=None, authority_status=None, configuration=None, create_at=None, custom_route_id=None, dnsid=None, data_size=None, data_size_used=None, dc_info=None, display_layout_id=None, down_bandwidth_limit=None, host_id=None, image_id=None, image_name=None, intranet_ip=None, online=None, pod_id=None, pod_name=None, port_mapping_rule_list=None, product_id=None, server_type_code=None, stream_status=None, tag=None, up_bandwidth_limit=None, _configuration=None): # noqa: E501
98100
"""RowForListPodOutput - a model defined in Swagger""" # noqa: E501
99101
if _configuration is None:
100102
_configuration = Configuration()
@@ -109,6 +111,7 @@ def __init__(self, adb=None, adb_expire_time=None, adb_status=None, aosp_version
109111
self._authority_status = None
110112
self._configuration = None
111113
self._create_at = None
114+
self._custom_route_id = None
112115
self._dnsid = None
113116
self._data_size = None
114117
self._data_size_used = None
@@ -148,6 +151,8 @@ def __init__(self, adb=None, adb_expire_time=None, adb_status=None, aosp_version
148151
self.configuration = configuration
149152
if create_at is not None:
150153
self.create_at = create_at
154+
if custom_route_id is not None:
155+
self.custom_route_id = custom_route_id
151156
if dnsid is not None:
152157
self.dnsid = dnsid
153158
if data_size is not None:
@@ -376,6 +381,27 @@ def create_at(self, create_at):
376381

377382
self._create_at = create_at
378383

384+
@property
385+
def custom_route_id(self):
386+
"""Gets the custom_route_id of this RowForListPodOutput. # noqa: E501
387+
388+
389+
:return: The custom_route_id of this RowForListPodOutput. # noqa: E501
390+
:rtype: str
391+
"""
392+
return self._custom_route_id
393+
394+
@custom_route_id.setter
395+
def custom_route_id(self, custom_route_id):
396+
"""Sets the custom_route_id of this RowForListPodOutput.
397+
398+
399+
:param custom_route_id: The custom_route_id of this RowForListPodOutput. # noqa: E501
400+
:type: str
401+
"""
402+
403+
self._custom_route_id = custom_route_id
404+
379405
@property
380406
def dnsid(self):
381407
"""Gets the dnsid of this RowForListPodOutput. # noqa: E501

0 commit comments

Comments
 (0)