Skip to content

Commit 71c59ab

Browse files
committed
MINOR: Add color validator where it's possible. (#874)
1 parent 95a8b35 commit 71c59ab

30 files changed

+76
-76
lines changed

bimdata_api_client/api/collaboration_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8599,7 +8599,7 @@ def create_document(
85998599
):
86008600
"""Create a document # noqa: E501
86018601

8602-
Create a document. If the document is one of {'POINT_CLOUD', 'OBJ', 'DXF', 'DWG', 'GLTF', 'IFC'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501
8602+
Create a document. If the document is one of {'OBJ', 'DWG', 'IFC', 'GLTF', 'POINT_CLOUD', 'DXF'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501
86038603
This method makes a synchronous HTTP request by default. To make an
86048604
asynchronous HTTP request, please pass async_req=True
86058605

bimdata_api_client/model/patched_pin_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
161161
_visited_composed_classes = (Animal,)
162162
guid (str): [optional] # noqa: E501
163163
name (str, none_type): [optional] # noqa: E501
164-
color (str, none_type): [optional] # noqa: E501
164+
color (str, none_type): Color of the pin in hexadecimal string without the '#' prefix. Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'. . [optional] # noqa: E501
165165
point (GeometryPointRequest): [optional] # noqa: E501
166166
index (int, none_type): [optional] # noqa: E501
167167
"""
@@ -247,7 +247,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
247247
_visited_composed_classes = (Animal,)
248248
guid (str): [optional] # noqa: E501
249249
name (str, none_type): [optional] # noqa: E501
250-
color (str, none_type): [optional] # noqa: E501
250+
color (str, none_type): Color of the pin in hexadecimal string without the '#' prefix. Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'. . [optional] # noqa: E501
251251
point (GeometryPointRequest): [optional] # noqa: E501
252252
index (int, none_type): [optional] # noqa: E501
253253
"""

bimdata_api_client/model/patched_priority_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
145145
through its discriminator because we passed in
146146
_visited_composed_classes = (Animal,)
147147
priority (str): [optional] # noqa: E501
148-
color (str, none_type): [optional] # noqa: E501
148+
color (str, none_type): Color of the priority in hexadecimal string without the '#' prefix. Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'. . [optional] # noqa: E501
149149
"""
150150

151151
_check_type = kwargs.pop('_check_type', True)
@@ -228,7 +228,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
228228
through its discriminator because we passed in
229229
_visited_composed_classes = (Animal,)
230230
priority (str): [optional] # noqa: E501
231-
color (str, none_type): [optional] # noqa: E501
231+
color (str, none_type): Color of the priority in hexadecimal string without the '#' prefix. Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'. . [optional] # noqa: E501
232232
"""
233233

234234
_check_type = kwargs.pop('_check_type', True)

bimdata_api_client/model/patched_tag_request.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class PatchedTagRequest(ModelNormal):
6464
'min_length': 1,
6565
},
6666
('color',): {
67-
'max_length': 6,
67+
'max_length': 8,
6868
},
6969
}
7070

@@ -145,7 +145,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
145145
through its discriminator because we passed in
146146
_visited_composed_classes = (Animal,)
147147
name (str): Full name of the tags. [optional] # noqa: E501
148-
color (str, none_type): [optional] # noqa: E501
148+
color (str, none_type): Color of the Tag status in hexadecimal string without the '#' prefix. Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'. . [optional] # noqa: E501
149149
"""
150150

151151
_check_type = kwargs.pop('_check_type', True)
@@ -228,7 +228,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
228228
through its discriminator because we passed in
229229
_visited_composed_classes = (Animal,)
230230
name (str): Full name of the tags. [optional] # noqa: E501
231-
color (str, none_type): [optional] # noqa: E501
231+
color (str, none_type): Color of the Tag status in hexadecimal string without the '#' prefix. Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'. . [optional] # noqa: E501
232232
"""
233233

234234
_check_type = kwargs.pop('_check_type', True)

bimdata_api_client/model/patched_topic_status_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
145145
through its discriminator because we passed in
146146
_visited_composed_classes = (Animal,)
147147
topic_status (str): [optional] # noqa: E501
148-
color (str, none_type): [optional] # noqa: E501
148+
color (str, none_type): Color of the topic status in hexadecimal string without the '#' prefix. Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'. . [optional] # noqa: E501
149149
"""
150150

151151
_check_type = kwargs.pop('_check_type', True)
@@ -228,7 +228,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
228228
through its discriminator because we passed in
229229
_visited_composed_classes = (Animal,)
230230
topic_status (str): [optional] # noqa: E501
231-
color (str, none_type): [optional] # noqa: E501
231+
color (str, none_type): Color of the topic status in hexadecimal string without the '#' prefix. Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'. . [optional] # noqa: E501
232232
"""
233233

234234
_check_type = kwargs.pop('_check_type', True)

bimdata_api_client/model/pin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def _from_openapi_data(cls, point, *args, **kwargs): # noqa: E501
164164
_visited_composed_classes = (Animal,)
165165
guid (str): [optional] # noqa: E501
166166
name (str, none_type): [optional] # noqa: E501
167-
color (str, none_type): [optional] # noqa: E501
167+
color (str, none_type): Color of the pin in hexadecimal string without the '#' prefix. Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'. . [optional] # noqa: E501
168168
index (int, none_type): [optional] # noqa: E501
169169
"""
170170

@@ -253,7 +253,7 @@ def __init__(self, point, *args, **kwargs): # noqa: E501
253253
_visited_composed_classes = (Animal,)
254254
guid (str): [optional] # noqa: E501
255255
name (str, none_type): [optional] # noqa: E501
256-
color (str, none_type): [optional] # noqa: E501
256+
color (str, none_type): Color of the pin in hexadecimal string without the '#' prefix. Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'. . [optional] # noqa: E501
257257
index (int, none_type): [optional] # noqa: E501
258258
"""
259259

bimdata_api_client/model/pin_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def _from_openapi_data(cls, point, *args, **kwargs): # noqa: E501
164164
_visited_composed_classes = (Animal,)
165165
guid (str): [optional] # noqa: E501
166166
name (str, none_type): [optional] # noqa: E501
167-
color (str, none_type): [optional] # noqa: E501
167+
color (str, none_type): Color of the pin in hexadecimal string without the '#' prefix. Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'. . [optional] # noqa: E501
168168
index (int, none_type): [optional] # noqa: E501
169169
"""
170170

@@ -253,7 +253,7 @@ def __init__(self, point, *args, **kwargs): # noqa: E501
253253
_visited_composed_classes = (Animal,)
254254
guid (str): [optional] # noqa: E501
255255
name (str, none_type): [optional] # noqa: E501
256-
color (str, none_type): [optional] # noqa: E501
256+
color (str, none_type): Color of the pin in hexadecimal string without the '#' prefix. Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'. . [optional] # noqa: E501
257257
index (int, none_type): [optional] # noqa: E501
258258
"""
259259

bimdata_api_client/model/pin_with_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def _from_openapi_data(cls, guid, name, color, point, index, model_ids, *args, *
128128
Args:
129129
guid (str):
130130
name (str, none_type):
131-
color (str, none_type):
131+
color (str, none_type): Color of the pin in hexadecimal string without the '#' prefix. Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'.
132132
point (GeometryPoint):
133133
index (int, none_type):
134134
model_ids ([int]):

bimdata_api_client/model/priority.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def _from_openapi_data(cls, id, priority, *args, **kwargs): # noqa: E501
150150
Animal class but this time we won't travel
151151
through its discriminator because we passed in
152152
_visited_composed_classes = (Animal,)
153-
color (str, none_type): [optional] # noqa: E501
153+
color (str, none_type): Color of the priority in hexadecimal string without the '#' prefix. Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'. . [optional] # noqa: E501
154154
"""
155155

156156
_check_type = kwargs.pop('_check_type', True)
@@ -236,7 +236,7 @@ def __init__(self, priority, *args, **kwargs): # noqa: E501
236236
Animal class but this time we won't travel
237237
through its discriminator because we passed in
238238
_visited_composed_classes = (Animal,)
239-
color (str, none_type): [optional] # noqa: E501
239+
color (str, none_type): Color of the priority in hexadecimal string without the '#' prefix. Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'. . [optional] # noqa: E501
240240
"""
241241

242242
_check_type = kwargs.pop('_check_type', True)

bimdata_api_client/model/priority_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def _from_openapi_data(cls, priority, *args, **kwargs): # noqa: E501
147147
Animal class but this time we won't travel
148148
through its discriminator because we passed in
149149
_visited_composed_classes = (Animal,)
150-
color (str, none_type): [optional] # noqa: E501
150+
color (str, none_type): Color of the priority in hexadecimal string without the '#' prefix. Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'. . [optional] # noqa: E501
151151
"""
152152

153153
_check_type = kwargs.pop('_check_type', True)
@@ -233,7 +233,7 @@ def __init__(self, priority, *args, **kwargs): # noqa: E501
233233
Animal class but this time we won't travel
234234
through its discriminator because we passed in
235235
_visited_composed_classes = (Animal,)
236-
color (str, none_type): [optional] # noqa: E501
236+
color (str, none_type): Color of the priority in hexadecimal string without the '#' prefix. Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'. . [optional] # noqa: E501
237237
"""
238238

239239
_check_type = kwargs.pop('_check_type', True)

0 commit comments

Comments
 (0)