aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_client/models/editor.py
diff options
context:
space:
mode:
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