Skip to content

Commit 461e3db

Browse files
committed
PATCH: rename element_ids to element_uuids
1 parent b1e253d commit 461e3db

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

bimdata_api_client/models/document_with_element_list.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,28 +35,28 @@ class DocumentWithElementList(object):
3535
"""
3636
openapi_types = {
3737
'document': 'Document',
38-
'element_ids': 'list[int]'
38+
'element_uuids': 'list[int]'
3939
}
4040

4141
attribute_map = {
4242
'document': 'document',
43-
'element_ids': 'element_ids'
43+
'element_uuids': 'element_uuids'
4444
}
4545

46-
def __init__(self, document=None, element_ids=None, local_vars_configuration=None): # noqa: E501
46+
def __init__(self, document=None, element_uuids=None, local_vars_configuration=None): # noqa: E501
4747
"""DocumentWithElementList - a model defined in OpenAPI""" # noqa: E501
4848
if local_vars_configuration is None:
4949
local_vars_configuration = Configuration()
5050
self.local_vars_configuration = local_vars_configuration
5151

5252
self._document = None
53-
self._element_ids = None
53+
self._element_uuids = None
5454
self.discriminator = None
5555

5656
if document is not None:
5757
self.document = document
58-
if element_ids is not None:
59-
self.element_ids = element_ids
58+
if element_uuids is not None:
59+
self.element_uuids = element_uuids
6060

6161
@property
6262
def document(self):
@@ -80,25 +80,25 @@ def document(self, document):
8080
self._document = document
8181

8282
@property
83-
def element_ids(self):
84-
"""Gets the element_ids of this DocumentWithElementList. # noqa: E501
83+
def element_uuids(self):
84+
"""Gets the element_uuids of this DocumentWithElementList. # noqa: E501
8585
8686
87-
:return: The element_ids of this DocumentWithElementList. # noqa: E501
87+
:return: The element_uuids of this DocumentWithElementList. # noqa: E501
8888
:rtype: list[int]
8989
"""
90-
return self._element_ids
90+
return self._element_uuids
9191

92-
@element_ids.setter
93-
def element_ids(self, element_ids):
94-
"""Sets the element_ids of this DocumentWithElementList.
92+
@element_uuids.setter
93+
def element_uuids(self, element_uuids):
94+
"""Sets the element_uuids of this DocumentWithElementList.
9595
9696
97-
:param element_ids: The element_ids of this DocumentWithElementList. # noqa: E501
97+
:param element_uuids: The element_uuids of this DocumentWithElementList. # noqa: E501
9898
:type: list[int]
9999
"""
100100

101-
self._element_ids = element_ids
101+
self._element_uuids = element_uuids
102102

103103
def to_dict(self):
104104
"""Returns the model properties as a dict"""

docs/DocumentWithElementList.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**document** | [**Document**](Document.md) | | [optional]
7-
**element_ids** | **list[int]** | | [optional] [readonly]
7+
**element_uuids** | **list[int]** | | [optional] [readonly]
88

99
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1010

test/test_document_with_element_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def make_instance(self, include_optional):
5353
ifc_source = 'UPLOAD',
5454
ifc_id = '0',
5555
user_permission = 56, ),
56-
element_ids = [
56+
element_uuids = [
5757
56
5858
]
5959
)

0 commit comments

Comments
 (0)