summaryrefslogtreecommitdiffstats
path: root/python/fatcat_client/models/editor.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-07-20 21:02:00 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-07-20 21:02:00 -0700
commit0c466a3fb52c69f352453ed0517d417fa7ff7ee1 (patch)
tree70616b3a01fb7de9bef3e5f7b7ced8f3e90cef95 /python/fatcat_client/models/editor.py
parentf3243f752f4a1eaae8726674b1978d96ad8da2e4 (diff)
downloadfatcat-0c466a3fb52c69f352453ed0517d417fa7ff7ee1.tar.gz
fatcat-0c466a3fb52c69f352453ed0517d417fa7ff7ee1.zip
codegen python client
Diffstat (limited to 'python/fatcat_client/models/editor.py')
-rw-r--r--python/fatcat_client/models/editor.py28
1 files changed, 27 insertions, 1 deletions
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,22 +31,48 @@ 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