Skip to content

Commit 7d5ade7

Browse files
committed
PATCH: bcf detailed extensions labels
1 parent 6c5a77e commit 7d5ade7

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

bimdata_api_client/models/detailed_extensions.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,36 +34,36 @@ class DetailedExtensions(object):
3434
and the value is json key in definition.
3535
"""
3636
openapi_types = {
37-
'labels': 'list[Label]',
37+
'topic_labels': 'list[Label]',
3838
'topic_types': 'list[TopicType]',
3939
'topic_statuses': 'list[TopicStatus]',
4040
'priorities': 'list[Priority]',
4141
'stages': 'list[Stage]'
4242
}
4343

4444
attribute_map = {
45-
'labels': 'labels',
45+
'topic_labels': 'topic_labels',
4646
'topic_types': 'topic_types',
4747
'topic_statuses': 'topic_statuses',
4848
'priorities': 'priorities',
4949
'stages': 'stages'
5050
}
5151

52-
def __init__(self, labels=None, topic_types=None, topic_statuses=None, priorities=None, stages=None, local_vars_configuration=None): # noqa: E501
52+
def __init__(self, topic_labels=None, topic_types=None, topic_statuses=None, priorities=None, stages=None, local_vars_configuration=None): # noqa: E501
5353
"""DetailedExtensions - a model defined in OpenAPI""" # noqa: E501
5454
if local_vars_configuration is None:
5555
local_vars_configuration = Configuration()
5656
self.local_vars_configuration = local_vars_configuration
5757

58-
self._labels = None
58+
self._topic_labels = None
5959
self._topic_types = None
6060
self._topic_statuses = None
6161
self._priorities = None
6262
self._stages = None
6363
self.discriminator = None
6464

65-
if labels is not None:
66-
self.labels = labels
65+
if topic_labels is not None:
66+
self.topic_labels = topic_labels
6767
if topic_types is not None:
6868
self.topic_types = topic_types
6969
if topic_statuses is not None:
@@ -74,25 +74,25 @@ def __init__(self, labels=None, topic_types=None, topic_statuses=None, prioritie
7474
self.stages = stages
7575

7676
@property
77-
def labels(self):
78-
"""Gets the labels of this DetailedExtensions. # noqa: E501
77+
def topic_labels(self):
78+
"""Gets the topic_labels of this DetailedExtensions. # noqa: E501
7979
8080
81-
:return: The labels of this DetailedExtensions. # noqa: E501
81+
:return: The topic_labels of this DetailedExtensions. # noqa: E501
8282
:rtype: list[Label]
8383
"""
84-
return self._labels
84+
return self._topic_labels
8585

86-
@labels.setter
87-
def labels(self, labels):
88-
"""Sets the labels of this DetailedExtensions.
86+
@topic_labels.setter
87+
def topic_labels(self, topic_labels):
88+
"""Sets the topic_labels of this DetailedExtensions.
8989
9090
91-
:param labels: The labels of this DetailedExtensions. # noqa: E501
91+
:param topic_labels: The topic_labels of this DetailedExtensions. # noqa: E501
9292
:type: list[Label]
9393
"""
9494

95-
self._labels = labels
95+
self._topic_labels = topic_labels
9696

9797
@property
9898
def topic_types(self):

docs/DetailedExtensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**labels** | [**list[Label]**](Label.md) | | [optional]
6+
**topic_labels** | [**list[Label]**](Label.md) | | [optional]
77
**topic_types** | [**list[TopicType]**](TopicType.md) | | [optional]
88
**topic_statuses** | [**list[TopicStatus]**](TopicStatus.md) | | [optional]
99
**priorities** | [**list[Priority]**](Priority.md) | | [optional]

test/test_detailed_extensions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def make_instance(self, include_optional):
3737
# model = bimdata_api_client.models.detailed_extensions.DetailedExtensions() # noqa: E501
3838
if include_optional :
3939
return DetailedExtensions(
40-
labels = [
40+
topic_labels = [
4141
bimdata_api_client.models.label.Label(
4242
id = 56,
4343
label = '0',

0 commit comments

Comments
 (0)