Skip to content

Commit 4f9f29b

Browse files
author
BitsAdmin
committed
Merge 'vmp-Python-2021-03-03-online-2027-2026_01_12_18_57_16' into 'integration_2026-01-15_1104105318146'
feat: [development task] vmp-2027-Python (2032463) See merge request: !1026
2 parents 307d494 + 5b3863a commit 4f9f29b

File tree

2 files changed

+106
-2
lines changed

2 files changed

+106
-2
lines changed

volcenginesdkvmp/models/filters_for_list_workspace_status_input.py

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,31 +33,41 @@ class FiltersForListWorkspaceStatusInput(object):
3333
and the value is json key in definition.
3434
"""
3535
swagger_types = {
36+
'cross_account': 'bool',
37+
'cross_region': 'bool',
3638
'ids': 'list[str]',
3739
'instance_type_ids': 'list[str]',
3840
'name': 'str',
3941
'statuses': 'list[str]'
4042
}
4143

4244
attribute_map = {
45+
'cross_account': 'CrossAccount',
46+
'cross_region': 'CrossRegion',
4347
'ids': 'Ids',
4448
'instance_type_ids': 'InstanceTypeIds',
4549
'name': 'Name',
4650
'statuses': 'Statuses'
4751
}
4852

49-
def __init__(self, ids=None, instance_type_ids=None, name=None, statuses=None, _configuration=None): # noqa: E501
53+
def __init__(self, cross_account=None, cross_region=None, ids=None, instance_type_ids=None, name=None, statuses=None, _configuration=None): # noqa: E501
5054
"""FiltersForListWorkspaceStatusInput - a model defined in Swagger""" # noqa: E501
5155
if _configuration is None:
5256
_configuration = Configuration()
5357
self._configuration = _configuration
5458

59+
self._cross_account = None
60+
self._cross_region = None
5561
self._ids = None
5662
self._instance_type_ids = None
5763
self._name = None
5864
self._statuses = None
5965
self.discriminator = None
6066

67+
if cross_account is not None:
68+
self.cross_account = cross_account
69+
if cross_region is not None:
70+
self.cross_region = cross_region
6171
if ids is not None:
6272
self.ids = ids
6373
if instance_type_ids is not None:
@@ -67,6 +77,48 @@ def __init__(self, ids=None, instance_type_ids=None, name=None, statuses=None, _
6777
if statuses is not None:
6878
self.statuses = statuses
6979

80+
@property
81+
def cross_account(self):
82+
"""Gets the cross_account of this FiltersForListWorkspaceStatusInput. # noqa: E501
83+
84+
85+
:return: The cross_account of this FiltersForListWorkspaceStatusInput. # noqa: E501
86+
:rtype: bool
87+
"""
88+
return self._cross_account
89+
90+
@cross_account.setter
91+
def cross_account(self, cross_account):
92+
"""Sets the cross_account of this FiltersForListWorkspaceStatusInput.
93+
94+
95+
:param cross_account: The cross_account of this FiltersForListWorkspaceStatusInput. # noqa: E501
96+
:type: bool
97+
"""
98+
99+
self._cross_account = cross_account
100+
101+
@property
102+
def cross_region(self):
103+
"""Gets the cross_region of this FiltersForListWorkspaceStatusInput. # noqa: E501
104+
105+
106+
:return: The cross_region of this FiltersForListWorkspaceStatusInput. # noqa: E501
107+
:rtype: bool
108+
"""
109+
return self._cross_region
110+
111+
@cross_region.setter
112+
def cross_region(self, cross_region):
113+
"""Sets the cross_region of this FiltersForListWorkspaceStatusInput.
114+
115+
116+
:param cross_region: The cross_region of this FiltersForListWorkspaceStatusInput. # noqa: E501
117+
:type: bool
118+
"""
119+
120+
self._cross_region = cross_region
121+
70122
@property
71123
def ids(self):
72124
"""Gets the ids of this FiltersForListWorkspaceStatusInput. # noqa: E501

volcenginesdkvmp/models/filters_for_list_workspaces_input.py

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,31 +33,41 @@ class FiltersForListWorkspacesInput(object):
3333
and the value is json key in definition.
3434
"""
3535
swagger_types = {
36+
'cross_account': 'bool',
37+
'cross_region': 'bool',
3638
'ids': 'list[str]',
3739
'instance_type_ids': 'list[str]',
3840
'name': 'str',
3941
'statuses': 'list[str]'
4042
}
4143

4244
attribute_map = {
45+
'cross_account': 'CrossAccount',
46+
'cross_region': 'CrossRegion',
4347
'ids': 'Ids',
4448
'instance_type_ids': 'InstanceTypeIds',
4549
'name': 'Name',
4650
'statuses': 'Statuses'
4751
}
4852

49-
def __init__(self, ids=None, instance_type_ids=None, name=None, statuses=None, _configuration=None): # noqa: E501
53+
def __init__(self, cross_account=None, cross_region=None, ids=None, instance_type_ids=None, name=None, statuses=None, _configuration=None): # noqa: E501
5054
"""FiltersForListWorkspacesInput - a model defined in Swagger""" # noqa: E501
5155
if _configuration is None:
5256
_configuration = Configuration()
5357
self._configuration = _configuration
5458

59+
self._cross_account = None
60+
self._cross_region = None
5561
self._ids = None
5662
self._instance_type_ids = None
5763
self._name = None
5864
self._statuses = None
5965
self.discriminator = None
6066

67+
if cross_account is not None:
68+
self.cross_account = cross_account
69+
if cross_region is not None:
70+
self.cross_region = cross_region
6171
if ids is not None:
6272
self.ids = ids
6373
if instance_type_ids is not None:
@@ -67,6 +77,48 @@ def __init__(self, ids=None, instance_type_ids=None, name=None, statuses=None, _
6777
if statuses is not None:
6878
self.statuses = statuses
6979

80+
@property
81+
def cross_account(self):
82+
"""Gets the cross_account of this FiltersForListWorkspacesInput. # noqa: E501
83+
84+
85+
:return: The cross_account of this FiltersForListWorkspacesInput. # noqa: E501
86+
:rtype: bool
87+
"""
88+
return self._cross_account
89+
90+
@cross_account.setter
91+
def cross_account(self, cross_account):
92+
"""Sets the cross_account of this FiltersForListWorkspacesInput.
93+
94+
95+
:param cross_account: The cross_account of this FiltersForListWorkspacesInput. # noqa: E501
96+
:type: bool
97+
"""
98+
99+
self._cross_account = cross_account
100+
101+
@property
102+
def cross_region(self):
103+
"""Gets the cross_region of this FiltersForListWorkspacesInput. # noqa: E501
104+
105+
106+
:return: The cross_region of this FiltersForListWorkspacesInput. # noqa: E501
107+
:rtype: bool
108+
"""
109+
return self._cross_region
110+
111+
@cross_region.setter
112+
def cross_region(self, cross_region):
113+
"""Sets the cross_region of this FiltersForListWorkspacesInput.
114+
115+
116+
:param cross_region: The cross_region of this FiltersForListWorkspacesInput. # noqa: E501
117+
:type: bool
118+
"""
119+
120+
self._cross_region = cross_region
121+
70122
@property
71123
def ids(self):
72124
"""Gets the ids of this FiltersForListWorkspacesInput. # noqa: E501

0 commit comments

Comments
 (0)