Skip to content

Commit 5c3f8a9

Browse files
author
Ubuntu
committed
fixed recursion issue
1 parent df2c564 commit 5c3f8a9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

stitch_connect_client/models/create_source_body.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,15 @@ def __init__(
6262
local_vars_configuration = Configuration()
6363
self.local_vars_configuration = local_vars_configuration
6464

65+
66+
self._destination_id = None
6567
self._display_name = None
6668
self._type = None
6769
self._name = None
6870
self._properties = None
6971
self.discriminator = None
70-
self.destination_id = None
7172

73+
self.destination_id = destination_id
7274
self.display_name = display_name
7375
self.type = type
7476
if name is not None:
@@ -187,7 +189,7 @@ def destination_id(self):
187189
:return: The destination_id of this CreateSourceBody. # noqa: E501
188190
:rtype: integer
189191
"""
190-
return self.destination_id
192+
return self._destination_id
191193

192194
@properties.setter
193195
def destination_id(self, destination_id):
@@ -198,7 +200,7 @@ def destination_id(self, destination_id):
198200
:type: integer
199201
"""
200202

201-
self.destination_id = destination_id
203+
self._destination_id = destination_id
202204

203205
def to_dict(self):
204206
"""Returns the model properties as a dict"""

0 commit comments

Comments
 (0)