From 0c466a3fb52c69f352453ed0517d417fa7ff7ee1 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 20 Jul 2018 21:02:00 -0700 Subject: codegen python client --- python/fatcat_client/models/editor.py | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'python/fatcat_client/models/editor.py') diff --git a/python/fatcat_client/models/editor.py b/python/fatcat_client/models/editor.py index da2e0204..d3523090 100644 --- a/python/fatcat_client/models/editor.py +++ b/python/fatcat_client/models/editor.py @@ -31,21 +31,47 @@ class Editor(object): and the value is json key in definition. """ swagger_types = { + 'id': 'str', 'username': 'str' } attribute_map = { + 'id': 'id', 'username': 'username' } - def __init__(self, username=None): # noqa: E501 + def __init__(self, id=None, username=None): # noqa: E501 """Editor - a model defined in Swagger""" # noqa: E501 + self._id = None self._username = None self.discriminator = None + if id is not None: + self.id = id self.username = username + @property + def id(self): + """Gets the id of this Editor. # noqa: E501 + + + :return: The id of this Editor. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this Editor. + + + :param id: The id of this Editor. # noqa: E501 + :type: str + """ + + self._id = id + @property def username(self): """Gets the username of this Editor. # noqa: E501 -- cgit v1.2.3