Skip to content

Commit

Permalink
MINOR: remove bcf project id in response
Browse files Browse the repository at this point in the history
  • Loading branch information
Bimdata-io committed Jun 20, 2024
1 parent 57722a2 commit 0d32ce4
Show file tree
Hide file tree
Showing 14 changed files with 206 additions and 41 deletions.
142 changes: 139 additions & 3 deletions bimdata_api_client/api/collaboration_api.py

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions bimdata_api_client/model/label.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ def openapi_types():
return {
'id': (int,), # noqa: E501
'label': (str,), # noqa: E501
'project': (int,), # noqa: E501
}

@cached_property
Expand All @@ -98,7 +97,6 @@ def discriminator():
attribute_map = {
'id': 'id', # noqa: E501
'label': 'label', # noqa: E501
'project': 'project', # noqa: E501
}

read_only_vars = {
Expand Down Expand Up @@ -147,7 +145,6 @@ def _from_openapi_data(cls, id, label, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -233,7 +230,6 @@ def __init__(self, label, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
4 changes: 0 additions & 4 deletions bimdata_api_client/model/priority.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ def openapi_types():
'id': (int,), # noqa: E501
'priority': (str,), # noqa: E501
'color': (str, none_type,), # noqa: E501
'project': (int,), # noqa: E501
}

@cached_property
Expand All @@ -103,7 +102,6 @@ def discriminator():
'id': 'id', # noqa: E501
'priority': 'priority', # noqa: E501
'color': 'color', # noqa: E501
'project': 'project', # noqa: E501
}

read_only_vars = {
Expand Down Expand Up @@ -153,7 +151,6 @@ def _from_openapi_data(cls, id, priority, *args, **kwargs): # noqa: E501
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
color (str, none_type): [optional] # noqa: E501
project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -240,7 +237,6 @@ def __init__(self, priority, *args, **kwargs): # noqa: E501
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
color (str, none_type): [optional] # noqa: E501
project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
4 changes: 0 additions & 4 deletions bimdata_api_client/model/stage.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ def openapi_types():
return {
'id': (int,), # noqa: E501
'stage': (str,), # noqa: E501
'project': (int,), # noqa: E501
}

@cached_property
Expand All @@ -98,7 +97,6 @@ def discriminator():
attribute_map = {
'id': 'id', # noqa: E501
'stage': 'stage', # noqa: E501
'project': 'project', # noqa: E501
}

read_only_vars = {
Expand Down Expand Up @@ -147,7 +145,6 @@ def _from_openapi_data(cls, id, stage, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -233,7 +230,6 @@ def __init__(self, stage, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
4 changes: 0 additions & 4 deletions bimdata_api_client/model/topic_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ def openapi_types():
'id': (int,), # noqa: E501
'topic_status': (str,), # noqa: E501
'color': (str, none_type,), # noqa: E501
'project': (int,), # noqa: E501
}

@cached_property
Expand All @@ -103,7 +102,6 @@ def discriminator():
'id': 'id', # noqa: E501
'topic_status': 'topic_status', # noqa: E501
'color': 'color', # noqa: E501
'project': 'project', # noqa: E501
}

read_only_vars = {
Expand Down Expand Up @@ -153,7 +151,6 @@ def _from_openapi_data(cls, id, topic_status, *args, **kwargs): # noqa: E501
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
color (str, none_type): [optional] # noqa: E501
project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -240,7 +237,6 @@ def __init__(self, topic_status, *args, **kwargs): # noqa: E501
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
color (str, none_type): [optional] # noqa: E501
project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
4 changes: 0 additions & 4 deletions bimdata_api_client/model/topic_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ def openapi_types():
return {
'id': (int,), # noqa: E501
'topic_type': (str,), # noqa: E501
'project': (int,), # noqa: E501
}

@cached_property
Expand All @@ -98,7 +97,6 @@ def discriminator():
attribute_map = {
'id': 'id', # noqa: E501
'topic_type': 'topic_type', # noqa: E501
'project': 'project', # noqa: E501
}

read_only_vars = {
Expand Down Expand Up @@ -147,7 +145,6 @@ def _from_openapi_data(cls, id, topic_type, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -233,7 +230,6 @@ def __init__(self, topic_type, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
8 changes: 4 additions & 4 deletions bimdata_api_client/model/write_folder_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ def openapi_types():
"""
return {
'name': (str,), # noqa: E501
'default_permission': (int,), # noqa: E501
'parent_id': (int, none_type,), # noqa: E501
'default_permission': (int,), # noqa: E501
'children': ([WriteFolderRequest], none_type,), # noqa: E501
}

Expand All @@ -108,8 +108,8 @@ def discriminator():

attribute_map = {
'name': 'name', # noqa: E501
'default_permission': 'default_permission', # noqa: E501
'parent_id': 'parent_id', # noqa: E501
'default_permission': 'default_permission', # noqa: E501
'children': 'children', # noqa: E501
}

Expand Down Expand Up @@ -157,8 +157,8 @@ def _from_openapi_data(cls, name, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
default_permission (int): Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write. [optional] # noqa: E501
parent_id (int, none_type): [optional] # noqa: E501
default_permission (int): Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write. [optional] # noqa: E501
children ([WriteFolderRequest], none_type): [optional] # noqa: E501
"""

Expand Down Expand Up @@ -245,8 +245,8 @@ def __init__(self, name, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
default_permission (int): Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write. [optional] # noqa: E501
parent_id (int, none_type): [optional] # noqa: E501
default_permission (int): Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write. [optional] # noqa: E501
children ([WriteFolderRequest], none_type): [optional] # noqa: E501
"""

Expand Down
Loading

0 comments on commit 0d32ce4

Please sign in to comment.