diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-14 21:15:15 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-14 21:15:15 -0800 |
commit | 86331c8599b54cfae2a3e479cc38dd6c7529681b (patch) | |
tree | ee846c0d7a23df4273df5923ce7c1ec2035081a7 | |
parent | 378d48f9a48d4be5e81380be41e9fba1ee62cb75 (diff) | |
download | fatcat-86331c8599b54cfae2a3e479cc38dd6c7529681b.tar.gz fatcat-86331c8599b54cfae2a3e479cc38dd6c7529681b.zip |
minor python codegen
-rw-r--r-- | python_client/fatcat_client/models/editgroup.py | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/python_client/fatcat_client/models/editgroup.py b/python_client/fatcat_client/models/editgroup.py index 8339f2e3..2d0768a1 100644 --- a/python_client/fatcat_client/models/editgroup.py +++ b/python_client/fatcat_client/models/editgroup.py @@ -38,6 +38,7 @@ class Editgroup(object): 'editgroup_id': 'str', 'editor_id': 'str', 'editor': 'Editor', + 'changelog_index': 'int', 'submitted': 'datetime', 'description': 'str', 'extra': 'object', @@ -49,6 +50,7 @@ class Editgroup(object): 'editgroup_id': 'editgroup_id', 'editor_id': 'editor_id', 'editor': 'editor', + 'changelog_index': 'changelog_index', 'submitted': 'submitted', 'description': 'description', 'extra': 'extra', @@ -56,12 +58,13 @@ class Editgroup(object): 'edits': 'edits' } - def __init__(self, editgroup_id=None, editor_id=None, editor=None, submitted=None, description=None, extra=None, annotations=None, edits=None): # noqa: E501 + def __init__(self, editgroup_id=None, editor_id=None, editor=None, changelog_index=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._changelog_index = None self._submitted = None self._description = None self._extra = None @@ -75,6 +78,8 @@ class Editgroup(object): self.editor_id = editor_id if editor is not None: self.editor = editor + if changelog_index is not None: + self.changelog_index = changelog_index if submitted is not None: self.submitted = submitted if description is not None: @@ -166,6 +171,27 @@ class Editgroup(object): self._editor = editor @property + def changelog_index(self): + """Gets the changelog_index of this Editgroup. # noqa: E501 + + + :return: The changelog_index of this Editgroup. # noqa: E501 + :rtype: int + """ + return self._changelog_index + + @changelog_index.setter + def changelog_index(self, changelog_index): + """Sets the changelog_index of this Editgroup. + + + :param changelog_index: The changelog_index of this Editgroup. # noqa: E501 + :type: int + """ + + self._changelog_index = changelog_index + + @property def submitted(self): """Gets the submitted of this Editgroup. # noqa: E501 |