aboutsummaryrefslogtreecommitdiffstats
path: root/python_client/fatcat_client/models/editgroup.py
diff options
context:
space:
mode:
Diffstat (limited to 'python_client/fatcat_client/models/editgroup.py')
-rw-r--r--python_client/fatcat_client/models/editgroup.py82
1 files changed, 81 insertions, 1 deletions
diff --git a/python_client/fatcat_client/models/editgroup.py b/python_client/fatcat_client/models/editgroup.py
index 4c877685..8339f2e3 100644
--- a/python_client/fatcat_client/models/editgroup.py
+++ b/python_client/fatcat_client/models/editgroup.py
@@ -16,7 +16,9 @@ import re # noqa: F401
import six
+from fatcat_client.models.editgroup_annotation import EditgroupAnnotation # noqa: F401,E501
from fatcat_client.models.editgroup_edits import EditgroupEdits # noqa: F401,E501
+from fatcat_client.models.editor import Editor # noqa: F401,E501
class Editgroup(object):
@@ -35,26 +37,35 @@ class Editgroup(object):
swagger_types = {
'editgroup_id': 'str',
'editor_id': 'str',
+ 'editor': 'Editor',
+ 'submitted': 'datetime',
'description': 'str',
'extra': 'object',
+ 'annotations': 'list[EditgroupAnnotation]',
'edits': 'EditgroupEdits'
}
attribute_map = {
'editgroup_id': 'editgroup_id',
'editor_id': 'editor_id',
+ 'editor': 'editor',
+ 'submitted': 'submitted',
'description': 'description',
'extra': 'extra',
+ 'annotations': 'annotations',
'edits': 'edits'
}
- def __init__(self, editgroup_id=None, editor_id=None, description=None, extra=None, edits=None): # noqa: E501
+ def __init__(self, editgroup_id=None, editor_id=None, editor=None, submitted=None, description=None, extra=None, annotations=None, edits=None): # noqa: E501
"""Editgroup - a model defined in Swagger""" # noqa: E501
self._editgroup_id = None
self._editor_id = None
+ self._editor = None
+ self._submitted = None
self._description = None
self._extra = None
+ self._annotations = None
self._edits = None
self.discriminator = None
@@ -62,10 +73,16 @@ class Editgroup(object):
self.editgroup_id = editgroup_id
if editor_id is not None:
self.editor_id = editor_id
+ if editor is not None:
+ self.editor = editor
+ if submitted is not None:
+ self.submitted = submitted
if description is not None:
self.description = description
if extra is not None:
self.extra = extra
+ if annotations is not None:
+ self.annotations = annotations
if edits is not None:
self.edits = edits
@@ -128,6 +145,48 @@ class Editgroup(object):
self._editor_id = editor_id
@property
+ def editor(self):
+ """Gets the editor of this Editgroup. # noqa: E501
+
+
+ :return: The editor of this Editgroup. # noqa: E501
+ :rtype: Editor
+ """
+ return self._editor
+
+ @editor.setter
+ def editor(self, editor):
+ """Sets the editor of this Editgroup.
+
+
+ :param editor: The editor of this Editgroup. # noqa: E501
+ :type: Editor
+ """
+
+ self._editor = editor
+
+ @property
+ def submitted(self):
+ """Gets the submitted of this Editgroup. # noqa: E501
+
+
+ :return: The submitted of this Editgroup. # noqa: E501
+ :rtype: datetime
+ """
+ return self._submitted
+
+ @submitted.setter
+ def submitted(self, submitted):
+ """Sets the submitted of this Editgroup.
+
+
+ :param submitted: The submitted of this Editgroup. # noqa: E501
+ :type: datetime
+ """
+
+ self._submitted = submitted
+
+ @property
def description(self):
"""Gets the description of this Editgroup. # noqa: E501
@@ -170,6 +229,27 @@ class Editgroup(object):
self._extra = extra
@property
+ def annotations(self):
+ """Gets the annotations of this Editgroup. # noqa: E501
+
+
+ :return: The annotations of this Editgroup. # noqa: E501
+ :rtype: list[EditgroupAnnotation]
+ """
+ return self._annotations
+
+ @annotations.setter
+ def annotations(self, annotations):
+ """Sets the annotations of this Editgroup.
+
+
+ :param annotations: The annotations of this Editgroup. # noqa: E501
+ :type: list[EditgroupAnnotation]
+ """
+
+ self._annotations = annotations
+
+ @property
def edits(self):
"""Gets the edits of this Editgroup. # noqa: E501