Skip to content

Commit a516af8

Browse files
committed
PATCH: remove comment visa nested (#502)
1 parent c943cc8 commit a516af8

File tree

4 files changed

+1
-29
lines changed

4 files changed

+1
-29
lines changed

bimdata_api_client/models/visa_comment.py

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ class VisaComment(object):
3939
'author_id': 'int',
4040
'visa_id': 'str',
4141
'content': 'str',
42-
'reply_to_comment_id': 'int',
4342
'created_at': 'datetime',
4443
'updated_at': 'datetime'
4544
}
@@ -50,12 +49,11 @@ class VisaComment(object):
5049
'author_id': 'author_id',
5150
'visa_id': 'visa_id',
5251
'content': 'content',
53-
'reply_to_comment_id': 'reply_to_comment_id',
5452
'created_at': 'created_at',
5553
'updated_at': 'updated_at'
5654
}
5755

58-
def __init__(self, id=None, author=None, author_id=None, visa_id=None, content=None, reply_to_comment_id=None, created_at=None, updated_at=None, local_vars_configuration=None): # noqa: E501
56+
def __init__(self, id=None, author=None, author_id=None, visa_id=None, content=None, created_at=None, updated_at=None, local_vars_configuration=None): # noqa: E501
5957
"""VisaComment - a model defined in OpenAPI""" # noqa: E501
6058
if local_vars_configuration is None:
6159
local_vars_configuration = Configuration()
@@ -66,7 +64,6 @@ def __init__(self, id=None, author=None, author_id=None, visa_id=None, content=N
6664
self._author_id = None
6765
self._visa_id = None
6866
self._content = None
69-
self._reply_to_comment_id = None
7067
self._created_at = None
7168
self._updated_at = None
7269
self.discriminator = None
@@ -81,7 +78,6 @@ def __init__(self, id=None, author=None, author_id=None, visa_id=None, content=N
8178
self.visa_id = visa_id
8279
if content is not None:
8380
self.content = content
84-
self.reply_to_comment_id = reply_to_comment_id
8581
if created_at is not None:
8682
self.created_at = created_at
8783
if updated_at is not None:
@@ -194,27 +190,6 @@ def content(self, content):
194190

195191
self._content = content
196192

197-
@property
198-
def reply_to_comment_id(self):
199-
"""Gets the reply_to_comment_id of this VisaComment. # noqa: E501
200-
201-
202-
:return: The reply_to_comment_id of this VisaComment. # noqa: E501
203-
:rtype: int
204-
"""
205-
return self._reply_to_comment_id
206-
207-
@reply_to_comment_id.setter
208-
def reply_to_comment_id(self, reply_to_comment_id):
209-
"""Sets the reply_to_comment_id of this VisaComment.
210-
211-
212-
:param reply_to_comment_id: The reply_to_comment_id of this VisaComment. # noqa: E501
213-
:type: int
214-
"""
215-
216-
self._reply_to_comment_id = reply_to_comment_id
217-
218193
@property
219194
def created_at(self):
220195
"""Gets the created_at of this VisaComment. # noqa: E501

docs/VisaComment.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Name | Type | Description | Notes
88
**author_id** | **int** | This is the userproject_id. This field is only used if the call is made from an App | [optional]
99
**visa_id** | **str** | | [optional] [readonly]
1010
**content** | **str** | | [optional]
11-
**reply_to_comment_id** | **int** | | [optional]
1211
**created_at** | **datetime** | | [optional] [readonly]
1312
**updated_at** | **datetime** | | [optional] [readonly]
1413

test/test_visa.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ def make_instance(self, include_optional):
105105
author_id = 56,
106106
visa_id = '0',
107107
content = '0',
108-
reply_to_comment_id = 56,
109108
created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
110109
updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), )
111110
],

test/test_visa_comment.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ def make_instance(self, include_optional):
5050
author_id = 56,
5151
visa_id = '0',
5252
content = '0',
53-
reply_to_comment_id = 56,
5453
created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
5554
updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f')
5655
)

0 commit comments

Comments
 (0)