Skip to content

Commit edf4e7b

Browse files
author
RJ Santana
authored
Merge pull request #19 from NarrativeScience/add-destination-id
Add destination ID to create source body
2 parents f8e8e85 + b4a3125 commit edf4e7b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

stitch_connect_client/models/create_source_body.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,15 @@ class CreateSourceBody(object):
3737
"type": "str",
3838
"name": "str",
3939
"properties": "SourceFormProperties",
40+
"destination_id": "integer",
4041
}
4142

4243
attribute_map = {
4344
"display_name": "display_name",
4445
"type": "type",
4546
"name": "name",
4647
"properties": "properties",
48+
"destination_id": "destination_id",
4749
}
4850

4951
def __init__(
@@ -53,6 +55,7 @@ def __init__(
5355
name=None,
5456
properties=None,
5557
local_vars_configuration=None,
58+
destination_id=None,
5659
): # noqa: E501
5760
"""CreateSourceBody - a model defined in OpenAPI""" # noqa: E501
5861
if local_vars_configuration is None:
@@ -64,6 +67,7 @@ def __init__(
6467
self._name = None
6568
self._properties = None
6669
self.discriminator = None
70+
self.destination_id = None
6771

6872
self.display_name = display_name
6973
self.type = type
@@ -175,6 +179,27 @@ def properties(self, properties):
175179

176180
self._properties = properties
177181

182+
@property
183+
def destination_id(self):
184+
"""Gets the destination_id of this CreateSourceBody. # noqa: E501
185+
186+
187+
:return: The destination_id of this CreateSourceBody. # noqa: E501
188+
:rtype: integer
189+
"""
190+
return self.destination_id
191+
192+
@properties.setter
193+
def destination_id(self, destination_id):
194+
"""Sets the destination_id of this CreateSourceBody.
195+
196+
197+
:param destination_id: The destination_id this CreateSourceBody. # noqa: E501
198+
:type: integer
199+
"""
200+
201+
self.destination_id = destination_id
202+
178203
def to_dict(self):
179204
"""Returns the model properties as a dict"""
180205
result = {}

0 commit comments

Comments
 (0)