diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-13 11:29:00 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-13 11:32:09 -0700 |
commit | 0e1ddd94f7f210391dfc34ddcc370d63ef497c16 (patch) | |
tree | d7ece9b2c80c45156899f409ca0c913ddf065418 /python_openapi_client/fatcat_openapi_client/models/editor.py | |
parent | ca8faa346c015052b815a0e613b3ad3e840d2c96 (diff) | |
download | fatcat-0e1ddd94f7f210391dfc34ddcc370d63ef497c16.tar.gz fatcat-0e1ddd94f7f210391dfc34ddcc370d63ef497c16.zip |
re-codegen python code
Diffstat (limited to 'python_openapi_client/fatcat_openapi_client/models/editor.py')
-rw-r--r-- | python_openapi_client/fatcat_openapi_client/models/editor.py | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/python_openapi_client/fatcat_openapi_client/models/editor.py b/python_openapi_client/fatcat_openapi_client/models/editor.py index 37657266..b06b5126 100644 --- a/python_openapi_client/fatcat_openapi_client/models/editor.py +++ b/python_openapi_client/fatcat_openapi_client/models/editor.py @@ -3,10 +3,10 @@ """ fatcat - A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501 OpenAPI spec version: 0.3.0 - + Contact: webservices@archive.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -70,7 +70,7 @@ class Editor(object): def editor_id(self): """Gets the editor_id of this Editor. # noqa: E501 - base32-encoded unique identifier # noqa: E501 + Fatcat identifier for the editor. Can not be changed. # noqa: E501 :return: The editor_id of this Editor. # noqa: E501 :rtype: str @@ -81,7 +81,7 @@ class Editor(object): def editor_id(self, editor_id): """Sets the editor_id of this Editor. - base32-encoded unique identifier # noqa: E501 + Fatcat identifier for the editor. Can not be changed. # noqa: E501 :param editor_id: The editor_id of this Editor. # noqa: E501 :type: str @@ -99,6 +99,7 @@ class Editor(object): def username(self): """Gets the username of this Editor. # noqa: E501 + Username/handle (short slug-like string) to identify this editor. May be changed at any time by the editor; use the `editor_id` as a persistend identifer. # noqa: E501 :return: The username of this Editor. # noqa: E501 :rtype: str @@ -109,6 +110,7 @@ class Editor(object): def username(self, username): """Sets the username of this Editor. + Username/handle (short slug-like string) to identify this editor. May be changed at any time by the editor; use the `editor_id` as a persistend identifer. # noqa: E501 :param username: The username of this Editor. # noqa: E501 :type: str @@ -122,6 +124,7 @@ class Editor(object): def is_admin(self): """Gets the is_admin of this Editor. # noqa: E501 + Whether this editor has the `admin` role. # noqa: E501 :return: The is_admin of this Editor. # noqa: E501 :rtype: bool @@ -132,6 +135,7 @@ class Editor(object): def is_admin(self, is_admin): """Sets the is_admin of this Editor. + Whether this editor has the `admin` role. # noqa: E501 :param is_admin: The is_admin of this Editor. # noqa: E501 :type: bool @@ -143,6 +147,7 @@ class Editor(object): def is_bot(self): """Gets the is_bot of this Editor. # noqa: E501 + Whether this editor is a bot (as opposed to a human making manual edits) # noqa: E501 :return: The is_bot of this Editor. # noqa: E501 :rtype: bool @@ -153,6 +158,7 @@ class Editor(object): def is_bot(self, is_bot): """Sets the is_bot of this Editor. + Whether this editor is a bot (as opposed to a human making manual edits) # noqa: E501 :param is_bot: The is_bot of this Editor. # noqa: E501 :type: bool @@ -164,6 +170,7 @@ class Editor(object): def is_active(self): """Gets the is_active of this Editor. # noqa: E501 + Whether this editor's account is enabled (if not API tokens and web logins will not work). # noqa: E501 :return: The is_active of this Editor. # noqa: E501 :rtype: bool @@ -174,6 +181,7 @@ class Editor(object): def is_active(self, is_active): """Sets the is_active of this Editor. + Whether this editor's account is enabled (if not API tokens and web logins will not work). # noqa: E501 :param is_active: The is_active of this Editor. # noqa: E501 :type: bool |