diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-17 16:09:45 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-23 17:39:02 -0800 |
commit | 16e0a5cef642f1d180354fa1da9ea568ebdd3946 (patch) | |
tree | bc8453823e2398bc586719f7edee8e47d49b00fc /python_openapi_client/fatcat_openapi_client | |
parent | 82ee0c7d967e2ff40270a8435ea292b41e22fa17 (diff) | |
download | fatcat-16e0a5cef642f1d180354fa1da9ea568ebdd3946.tar.gz fatcat-16e0a5cef642f1d180354fa1da9ea568ebdd3946.zip |
WIP: more python client type annotations
Diffstat (limited to 'python_openapi_client/fatcat_openapi_client')
32 files changed, 1188 insertions, 0 deletions
diff --git a/python_openapi_client/fatcat_openapi_client/models/auth_oidc.pyi b/python_openapi_client/fatcat_openapi_client/models/auth_oidc.pyi new file mode 100644 index 00000000..a404ce2d --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/auth_oidc.pyi @@ -0,0 +1,27 @@ +from typing import Any + +class AuthOidc: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, provider: Any | None = ..., sub: Any | None = ..., iss: Any | None = ..., preferred_username: Any | None = ...) -> None: ... + @property + def provider(self): ... + @provider.setter + def provider(self, provider) -> None: ... + @property + def sub(self): ... + @sub.setter + def sub(self, sub) -> None: ... + @property + def iss(self): ... + @iss.setter + def iss(self, iss) -> None: ... + @property + def preferred_username(self): ... + @preferred_username.setter + def preferred_username(self, preferred_username) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/auth_oidc_result.pyi b/python_openapi_client/fatcat_openapi_client/models/auth_oidc_result.pyi new file mode 100644 index 00000000..32678627 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/auth_oidc_result.pyi @@ -0,0 +1,19 @@ +from typing import Any + +class AuthOidcResult: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, editor: Any | None = ..., token: Any | None = ...) -> None: ... + @property + def editor(self): ... + @editor.setter + def editor(self, editor) -> None: ... + @property + def token(self): ... + @token.setter + def token(self, token) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/auth_token_result.pyi b/python_openapi_client/fatcat_openapi_client/models/auth_token_result.pyi new file mode 100644 index 00000000..c8d9bd89 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/auth_token_result.pyi @@ -0,0 +1,15 @@ +from typing import Any + +class AuthTokenResult: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, token: Any | None = ...) -> None: ... + @property + def token(self): ... + @token.setter + def token(self, token) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/creator_auto_batch.pyi b/python_openapi_client/fatcat_openapi_client/models/creator_auto_batch.pyi new file mode 100644 index 00000000..c18f7fe5 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/creator_auto_batch.pyi @@ -0,0 +1,19 @@ +from typing import Any + +class CreatorAutoBatch: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, editgroup: Any | None = ..., entity_list: Any | None = ...) -> None: ... + @property + def editgroup(self): ... + @editgroup.setter + def editgroup(self, editgroup) -> None: ... + @property + def entity_list(self): ... + @entity_list.setter + def entity_list(self, entity_list) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/creator_entity.pyi b/python_openapi_client/fatcat_openapi_client/models/creator_entity.pyi new file mode 100644 index 00000000..8480cf45 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/creator_entity.pyi @@ -0,0 +1,55 @@ +from typing import Any + +class CreatorEntity: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, state: Any | None = ..., ident: Any | None = ..., revision: Any | None = ..., redirect: Any | None = ..., extra: Any | None = ..., edit_extra: Any | None = ..., display_name: Any | None = ..., given_name: Any | None = ..., surname: Any | None = ..., orcid: Any | None = ..., wikidata_qid: Any | None = ...) -> None: ... + @property + def state(self): ... + @state.setter + def state(self, state) -> None: ... + @property + def ident(self): ... + @ident.setter + def ident(self, ident) -> None: ... + @property + def revision(self): ... + @revision.setter + def revision(self, revision) -> None: ... + @property + def redirect(self): ... + @redirect.setter + def redirect(self, redirect) -> None: ... + @property + def extra(self): ... + @extra.setter + def extra(self, extra) -> None: ... + @property + def edit_extra(self): ... + @edit_extra.setter + def edit_extra(self, edit_extra) -> None: ... + @property + def display_name(self): ... + @display_name.setter + def display_name(self, display_name) -> None: ... + @property + def given_name(self): ... + @given_name.setter + def given_name(self, given_name) -> None: ... + @property + def surname(self): ... + @surname.setter + def surname(self, surname) -> None: ... + @property + def orcid(self): ... + @orcid.setter + def orcid(self, orcid) -> None: ... + @property + def wikidata_qid(self): ... + @wikidata_qid.setter + def wikidata_qid(self, wikidata_qid) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/editgroup.pyi b/python_openapi_client/fatcat_openapi_client/models/editgroup.pyi new file mode 100644 index 00000000..20200c07 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/editgroup.pyi @@ -0,0 +1,51 @@ +from typing import Any + +class Editgroup: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, editgroup_id: Any | None = ..., editor_id: Any | None = ..., editor: Any | None = ..., changelog_index: Any | None = ..., created: Any | None = ..., submitted: Any | None = ..., description: Any | None = ..., extra: Any | None = ..., annotations: Any | None = ..., edits: Any | None = ...) -> None: ... + @property + def editgroup_id(self): ... + @editgroup_id.setter + def editgroup_id(self, editgroup_id) -> None: ... + @property + def editor_id(self): ... + @editor_id.setter + def editor_id(self, editor_id) -> None: ... + @property + def editor(self): ... + @editor.setter + def editor(self, editor) -> None: ... + @property + def changelog_index(self): ... + @changelog_index.setter + def changelog_index(self, changelog_index) -> None: ... + @property + def created(self): ... + @created.setter + def created(self, created) -> None: ... + @property + def submitted(self): ... + @submitted.setter + def submitted(self, submitted) -> None: ... + @property + def description(self): ... + @description.setter + def description(self, description) -> None: ... + @property + def extra(self): ... + @extra.setter + def extra(self, extra) -> None: ... + @property + def annotations(self): ... + @annotations.setter + def annotations(self, annotations) -> None: ... + @property + def edits(self): ... + @edits.setter + def edits(self, edits) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/editgroup_annotation.pyi b/python_openapi_client/fatcat_openapi_client/models/editgroup_annotation.pyi new file mode 100644 index 00000000..59c05faa --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/editgroup_annotation.pyi @@ -0,0 +1,39 @@ +from typing import Any + +class EditgroupAnnotation: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, annotation_id: Any | None = ..., editgroup_id: Any | None = ..., editor_id: Any | None = ..., editor: Any | None = ..., created: Any | None = ..., comment_markdown: Any | None = ..., extra: Any | None = ...) -> None: ... + @property + def annotation_id(self): ... + @annotation_id.setter + def annotation_id(self, annotation_id) -> None: ... + @property + def editgroup_id(self): ... + @editgroup_id.setter + def editgroup_id(self, editgroup_id) -> None: ... + @property + def editor_id(self): ... + @editor_id.setter + def editor_id(self, editor_id) -> None: ... + @property + def editor(self): ... + @editor.setter + def editor(self, editor) -> None: ... + @property + def created(self): ... + @created.setter + def created(self, created) -> None: ... + @property + def comment_markdown(self): ... + @comment_markdown.setter + def comment_markdown(self, comment_markdown) -> None: ... + @property + def extra(self): ... + @extra.setter + def extra(self, extra) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/editgroup_edits.pyi b/python_openapi_client/fatcat_openapi_client/models/editgroup_edits.pyi new file mode 100644 index 00000000..d17602f2 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/editgroup_edits.pyi @@ -0,0 +1,39 @@ +from typing import Any + +class EditgroupEdits: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, containers: Any | None = ..., creators: Any | None = ..., files: Any | None = ..., filesets: Any | None = ..., webcaptures: Any | None = ..., releases: Any | None = ..., works: Any | None = ...) -> None: ... + @property + def containers(self): ... + @containers.setter + def containers(self, containers) -> None: ... + @property + def creators(self): ... + @creators.setter + def creators(self, creators) -> None: ... + @property + def files(self): ... + @files.setter + def files(self, files) -> None: ... + @property + def filesets(self): ... + @filesets.setter + def filesets(self, filesets) -> None: ... + @property + def webcaptures(self): ... + @webcaptures.setter + def webcaptures(self, webcaptures) -> None: ... + @property + def releases(self): ... + @releases.setter + def releases(self, releases) -> None: ... + @property + def works(self): ... + @works.setter + def works(self, works) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/editor.pyi b/python_openapi_client/fatcat_openapi_client/models/editor.pyi new file mode 100644 index 00000000..db168b3d --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/editor.pyi @@ -0,0 +1,31 @@ +from typing import Any + +class Editor: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, editor_id: Any | None = ..., username: Any | None = ..., is_admin: Any | None = ..., is_bot: Any | None = ..., is_active: Any | None = ...) -> None: ... + @property + def editor_id(self): ... + @editor_id.setter + def editor_id(self, editor_id) -> None: ... + @property + def username(self): ... + @username.setter + def username(self, username) -> None: ... + @property + def is_admin(self): ... + @is_admin.setter + def is_admin(self, is_admin) -> None: ... + @property + def is_bot(self): ... + @is_bot.setter + def is_bot(self, is_bot) -> None: ... + @property + def is_active(self): ... + @is_active.setter + def is_active(self, is_active) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/entity_edit.pyi b/python_openapi_client/fatcat_openapi_client/models/entity_edit.pyi new file mode 100644 index 00000000..ea12125a --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/entity_edit.pyi @@ -0,0 +1,39 @@ +from typing import Any + +class EntityEdit: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, edit_id: Any | None = ..., ident: Any | None = ..., revision: Any | None = ..., prev_revision: Any | None = ..., redirect_ident: Any | None = ..., editgroup_id: Any | None = ..., extra: Any | None = ...) -> None: ... + @property + def edit_id(self): ... + @edit_id.setter + def edit_id(self, edit_id) -> None: ... + @property + def ident(self): ... + @ident.setter + def ident(self, ident) -> None: ... + @property + def revision(self): ... + @revision.setter + def revision(self, revision) -> None: ... + @property + def prev_revision(self): ... + @prev_revision.setter + def prev_revision(self, prev_revision) -> None: ... + @property + def redirect_ident(self): ... + @redirect_ident.setter + def redirect_ident(self, redirect_ident) -> None: ... + @property + def editgroup_id(self): ... + @editgroup_id.setter + def editgroup_id(self, editgroup_id) -> None: ... + @property + def extra(self): ... + @extra.setter + def extra(self, extra) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/entity_history_entry.pyi b/python_openapi_client/fatcat_openapi_client/models/entity_history_entry.pyi new file mode 100644 index 00000000..cca94435 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/entity_history_entry.pyi @@ -0,0 +1,23 @@ +from typing import Any + +class EntityHistoryEntry: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, edit: Any | None = ..., editgroup: Any | None = ..., changelog_entry: Any | None = ...) -> None: ... + @property + def edit(self): ... + @edit.setter + def edit(self, edit) -> None: ... + @property + def editgroup(self): ... + @editgroup.setter + def editgroup(self, editgroup) -> None: ... + @property + def changelog_entry(self): ... + @changelog_entry.setter + def changelog_entry(self, changelog_entry) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/error_response.pyi b/python_openapi_client/fatcat_openapi_client/models/error_response.pyi new file mode 100644 index 00000000..d23bcc8b --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/error_response.pyi @@ -0,0 +1,23 @@ +from typing import Any + +class ErrorResponse: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, success: Any | None = ..., error: Any | None = ..., message: Any | None = ...) -> None: ... + @property + def success(self): ... + @success.setter + def success(self, success) -> None: ... + @property + def error(self): ... + @error.setter + def error(self, error) -> None: ... + @property + def message(self): ... + @message.setter + def message(self, message) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/file_auto_batch.pyi b/python_openapi_client/fatcat_openapi_client/models/file_auto_batch.pyi new file mode 100644 index 00000000..628c5b01 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/file_auto_batch.pyi @@ -0,0 +1,19 @@ +from typing import Any + +class FileAutoBatch: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, editgroup: Any | None = ..., entity_list: Any | None = ...) -> None: ... + @property + def editgroup(self): ... + @editgroup.setter + def editgroup(self, editgroup) -> None: ... + @property + def entity_list(self): ... + @entity_list.setter + def entity_list(self, entity_list) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/file_entity.pyi b/python_openapi_client/fatcat_openapi_client/models/file_entity.pyi new file mode 100644 index 00000000..a6b9f7cf --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/file_entity.pyi @@ -0,0 +1,71 @@ +from typing import Any + +class FileEntity: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, state: Any | None = ..., ident: Any | None = ..., revision: Any | None = ..., redirect: Any | None = ..., extra: Any | None = ..., edit_extra: Any | None = ..., size: Any | None = ..., md5: Any | None = ..., sha1: Any | None = ..., sha256: Any | None = ..., urls: Any | None = ..., mimetype: Any | None = ..., content_scope: Any | None = ..., release_ids: Any | None = ..., releases: Any | None = ...) -> None: ... + @property + def state(self): ... + @state.setter + def state(self, state) -> None: ... + @property + def ident(self): ... + @ident.setter + def ident(self, ident) -> None: ... + @property + def revision(self): ... + @revision.setter + def revision(self, revision) -> None: ... + @property + def redirect(self): ... + @redirect.setter + def redirect(self, redirect) -> None: ... + @property + def extra(self): ... + @extra.setter + def extra(self, extra) -> None: ... + @property + def edit_extra(self): ... + @edit_extra.setter + def edit_extra(self, edit_extra) -> None: ... + @property + def size(self): ... + @size.setter + def size(self, size) -> None: ... + @property + def md5(self): ... + @md5.setter + def md5(self, md5) -> None: ... + @property + def sha1(self): ... + @sha1.setter + def sha1(self, sha1) -> None: ... + @property + def sha256(self): ... + @sha256.setter + def sha256(self, sha256) -> None: ... + @property + def urls(self): ... + @urls.setter + def urls(self, urls) -> None: ... + @property + def mimetype(self): ... + @mimetype.setter + def mimetype(self, mimetype) -> None: ... + @property + def content_scope(self): ... + @content_scope.setter + def content_scope(self, content_scope) -> None: ... + @property + def release_ids(self): ... + @release_ids.setter + def release_ids(self, release_ids) -> None: ... + @property + def releases(self): ... + @releases.setter + def releases(self, releases) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/file_url.pyi b/python_openapi_client/fatcat_openapi_client/models/file_url.pyi new file mode 100644 index 00000000..116d632b --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/file_url.pyi @@ -0,0 +1,19 @@ +from typing import Any + +class FileUrl: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, url: Any | None = ..., rel: Any | None = ...) -> None: ... + @property + def url(self): ... + @url.setter + def url(self, url) -> None: ... + @property + def rel(self): ... + @rel.setter + def rel(self, rel) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/fileset_auto_batch.pyi b/python_openapi_client/fatcat_openapi_client/models/fileset_auto_batch.pyi new file mode 100644 index 00000000..f6ebe454 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/fileset_auto_batch.pyi @@ -0,0 +1,19 @@ +from typing import Any + +class FilesetAutoBatch: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, editgroup: Any | None = ..., entity_list: Any | None = ...) -> None: ... + @property + def editgroup(self): ... + @editgroup.setter + def editgroup(self, editgroup) -> None: ... + @property + def entity_list(self): ... + @entity_list.setter + def entity_list(self, entity_list) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/fileset_entity.pyi b/python_openapi_client/fatcat_openapi_client/models/fileset_entity.pyi new file mode 100644 index 00000000..c6dae05b --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/fileset_entity.pyi @@ -0,0 +1,55 @@ +from typing import Any + +class FilesetEntity: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, state: Any | None = ..., ident: Any | None = ..., revision: Any | None = ..., redirect: Any | None = ..., extra: Any | None = ..., edit_extra: Any | None = ..., content_scope: Any | None = ..., manifest: Any | None = ..., urls: Any | None = ..., release_ids: Any | None = ..., releases: Any | None = ...) -> None: ... + @property + def state(self): ... + @state.setter + def state(self, state) -> None: ... + @property + def ident(self): ... + @ident.setter + def ident(self, ident) -> None: ... + @property + def revision(self): ... + @revision.setter + def revision(self, revision) -> None: ... + @property + def redirect(self): ... + @redirect.setter + def redirect(self, redirect) -> None: ... + @property + def extra(self): ... + @extra.setter + def extra(self, extra) -> None: ... + @property + def edit_extra(self): ... + @edit_extra.setter + def edit_extra(self, edit_extra) -> None: ... + @property + def content_scope(self): ... + @content_scope.setter + def content_scope(self, content_scope) -> None: ... + @property + def manifest(self): ... + @manifest.setter + def manifest(self, manifest) -> None: ... + @property + def urls(self): ... + @urls.setter + def urls(self, urls) -> None: ... + @property + def release_ids(self): ... + @release_ids.setter + def release_ids(self, release_ids) -> None: ... + @property + def releases(self): ... + @releases.setter + def releases(self, releases) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/fileset_file.pyi b/python_openapi_client/fatcat_openapi_client/models/fileset_file.pyi new file mode 100644 index 00000000..5facb3eb --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/fileset_file.pyi @@ -0,0 +1,39 @@ +from typing import Any + +class FilesetFile: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, path: Any | None = ..., size: Any | None = ..., md5: Any | None = ..., sha1: Any | None = ..., sha256: Any | None = ..., mimetype: Any | None = ..., extra: Any | None = ...) -> None: ... + @property + def path(self): ... + @path.setter + def path(self, path) -> None: ... + @property + def size(self): ... + @size.setter + def size(self, size) -> None: ... + @property + def md5(self): ... + @md5.setter + def md5(self, md5) -> None: ... + @property + def sha1(self): ... + @sha1.setter + def sha1(self, sha1) -> None: ... + @property + def sha256(self): ... + @sha256.setter + def sha256(self, sha256) -> None: ... + @property + def mimetype(self): ... + @mimetype.setter + def mimetype(self, mimetype) -> None: ... + @property + def extra(self): ... + @extra.setter + def extra(self, extra) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/fileset_url.pyi b/python_openapi_client/fatcat_openapi_client/models/fileset_url.pyi new file mode 100644 index 00000000..1091ff97 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/fileset_url.pyi @@ -0,0 +1,19 @@ +from typing import Any + +class FilesetUrl: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, url: Any | None = ..., rel: Any | None = ...) -> None: ... + @property + def url(self): ... + @url.setter + def url(self, url) -> None: ... + @property + def rel(self): ... + @rel.setter + def rel(self, rel) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/release_abstract.pyi b/python_openapi_client/fatcat_openapi_client/models/release_abstract.pyi new file mode 100644 index 00000000..9012213c --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/release_abstract.pyi @@ -0,0 +1,27 @@ +from typing import Any + +class ReleaseAbstract: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, sha1: Any | None = ..., content: Any | None = ..., mimetype: Any | None = ..., lang: Any | None = ...) -> None: ... + @property + def sha1(self): ... + @sha1.setter + def sha1(self, sha1) -> None: ... + @property + def content(self): ... + @content.setter + def content(self, content) -> None: ... + @property + def mimetype(self): ... + @mimetype.setter + def mimetype(self, mimetype) -> None: ... + @property + def lang(self): ... + @lang.setter + def lang(self, lang) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/release_auto_batch.pyi b/python_openapi_client/fatcat_openapi_client/models/release_auto_batch.pyi new file mode 100644 index 00000000..10f1d447 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/release_auto_batch.pyi @@ -0,0 +1,19 @@ +from typing import Any + +class ReleaseAutoBatch: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, editgroup: Any | None = ..., entity_list: Any | None = ...) -> None: ... + @property + def editgroup(self): ... + @editgroup.setter + def editgroup(self, editgroup) -> None: ... + @property + def entity_list(self): ... + @entity_list.setter + def entity_list(self, entity_list) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/release_contrib.pyi b/python_openapi_client/fatcat_openapi_client/models/release_contrib.pyi new file mode 100644 index 00000000..41a1eff2 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/release_contrib.pyi @@ -0,0 +1,47 @@ +from typing import Any + +class ReleaseContrib: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, index: Any | None = ..., creator_id: Any | None = ..., creator: Any | None = ..., raw_name: Any | None = ..., given_name: Any | None = ..., surname: Any | None = ..., role: Any | None = ..., raw_affiliation: Any | None = ..., extra: Any | None = ...) -> None: ... + @property + def index(self): ... + @index.setter + def index(self, index) -> None: ... + @property + def creator_id(self): ... + @creator_id.setter + def creator_id(self, creator_id) -> None: ... + @property + def creator(self): ... + @creator.setter + def creator(self, creator) -> None: ... + @property + def raw_name(self): ... + @raw_name.setter + def raw_name(self, raw_name) -> None: ... + @property + def given_name(self): ... + @given_name.setter + def given_name(self, given_name) -> None: ... + @property + def surname(self): ... + @surname.setter + def surname(self, surname) -> None: ... + @property + def role(self): ... + @role.setter + def role(self, role) -> None: ... + @property + def raw_affiliation(self): ... + @raw_affiliation.setter + def raw_affiliation(self, raw_affiliation) -> None: ... + @property + def extra(self): ... + @extra.setter + def extra(self, extra) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/release_entity.pyi b/python_openapi_client/fatcat_openapi_client/models/release_entity.pyi new file mode 100644 index 00000000..662bb7cc --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/release_entity.pyi @@ -0,0 +1,147 @@ +from typing import Any + +class ReleaseEntity: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, state: Any | None = ..., ident: Any | None = ..., revision: Any | None = ..., redirect: Any | None = ..., extra: Any | None = ..., edit_extra: Any | None = ..., title: Any | None = ..., subtitle: Any | None = ..., original_title: Any | None = ..., work_id: Any | None = ..., container: Any | None = ..., files: Any | None = ..., filesets: Any | None = ..., webcaptures: Any | None = ..., container_id: Any | None = ..., release_type: Any | None = ..., release_stage: Any | None = ..., release_date: Any | None = ..., release_year: Any | None = ..., withdrawn_status: Any | None = ..., withdrawn_date: Any | None = ..., withdrawn_year: Any | None = ..., ext_ids: Any | None = ..., volume: Any | None = ..., issue: Any | None = ..., pages: Any | None = ..., number: Any | None = ..., version: Any | None = ..., publisher: Any | None = ..., language: Any | None = ..., license_slug: Any | None = ..., contribs: Any | None = ..., refs: Any | None = ..., abstracts: Any | None = ...) -> None: ... + @property + def state(self): ... + @state.setter + def state(self, state) -> None: ... + @property + def ident(self): ... + @ident.setter + def ident(self, ident) -> None: ... + @property + def revision(self): ... + @revision.setter + def revision(self, revision) -> None: ... + @property + def redirect(self): ... + @redirect.setter + def redirect(self, redirect) -> None: ... + @property + def extra(self): ... + @extra.setter + def extra(self, extra) -> None: ... + @property + def edit_extra(self): ... + @edit_extra.setter + def edit_extra(self, edit_extra) -> None: ... + @property + def title(self): ... + @title.setter + def title(self, title) -> None: ... + @property + def subtitle(self): ... + @subtitle.setter + def subtitle(self, subtitle) -> None: ... + @property + def original_title(self): ... + @original_title.setter + def original_title(self, original_title) -> None: ... + @property + def work_id(self): ... + @work_id.setter + def work_id(self, work_id) -> None: ... + @property + def container(self): ... + @container.setter + def container(self, container) -> None: ... + @property + def files(self): ... + @files.setter + def files(self, files) -> None: ... + @property + def filesets(self): ... + @filesets.setter + def filesets(self, filesets) -> None: ... + @property + def webcaptures(self): ... + @webcaptures.setter + def webcaptures(self, webcaptures) -> None: ... + @property + def container_id(self): ... + @container_id.setter + def container_id(self, container_id) -> None: ... + @property + def release_type(self): ... + @release_type.setter + def release_type(self, release_type) -> None: ... + @property + def release_stage(self): ... + @release_stage.setter + def release_stage(self, release_stage) -> None: ... + @property + def release_date(self): ... + @release_date.setter + def release_date(self, release_date) -> None: ... + @property + def release_year(self): ... + @release_year.setter + def release_year(self, release_year) -> None: ... + @property + def withdrawn_status(self): ... + @withdrawn_status.setter + def withdrawn_status(self, withdrawn_status) -> None: ... + @property + def withdrawn_date(self): ... + @withdrawn_date.setter + def withdrawn_date(self, withdrawn_date) -> None: ... + @property + def withdrawn_year(self): ... + @withdrawn_year.setter + def withdrawn_year(self, withdrawn_year) -> None: ... + @property + def ext_ids(self): ... + @ext_ids.setter + def ext_ids(self, ext_ids) -> None: ... + @property + def volume(self): ... + @volume.setter + def volume(self, volume) -> None: ... + @property + def issue(self): ... + @issue.setter + def issue(self, issue) -> None: ... + @property + def pages(self): ... + @pages.setter + def pages(self, pages) -> None: ... + @property + def number(self): ... + @number.setter + def number(self, number) -> None: ... + @property + def version(self): ... + @version.setter + def version(self, version) -> None: ... + @property + def publisher(self): ... + @publisher.setter + def publisher(self, publisher) -> None: ... + @property + def language(self): ... + @language.setter + def language(self, language) -> None: ... + @property + def license_slug(self): ... + @license_slug.setter + def license_slug(self, license_slug) -> None: ... + @property + def contribs(self): ... + @contribs.setter + def contribs(self, contribs) -> None: ... + @property + def refs(self): ... + @refs.setter + def refs(self, refs) -> None: ... + @property + def abstracts(self): ... + @abstracts.setter + def abstracts(self, abstracts) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/release_ext_ids.pyi b/python_openapi_client/fatcat_openapi_client/models/release_ext_ids.pyi new file mode 100644 index 00000000..b42ec086 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/release_ext_ids.pyi @@ -0,0 +1,67 @@ +from typing import Any + +class ReleaseExtIds: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, doi: Any | None = ..., wikidata_qid: Any | None = ..., isbn13: Any | None = ..., pmid: Any | None = ..., pmcid: Any | None = ..., core: Any | None = ..., arxiv: Any | None = ..., jstor: Any | None = ..., ark: Any | None = ..., mag: Any | None = ..., doaj: Any | None = ..., dblp: Any | None = ..., oai: Any | None = ..., hdl: Any | None = ...) -> None: ... + @property + def doi(self): ... + @doi.setter + def doi(self, doi) -> None: ... + @property + def wikidata_qid(self): ... + @wikidata_qid.setter + def wikidata_qid(self, wikidata_qid) -> None: ... + @property + def isbn13(self): ... + @isbn13.setter + def isbn13(self, isbn13) -> None: ... + @property + def pmid(self): ... + @pmid.setter + def pmid(self, pmid) -> None: ... + @property + def pmcid(self): ... + @pmcid.setter + def pmcid(self, pmcid) -> None: ... + @property + def core(self): ... + @core.setter + def core(self, core) -> None: ... + @property + def arxiv(self): ... + @arxiv.setter + def arxiv(self, arxiv) -> None: ... + @property + def jstor(self): ... + @jstor.setter + def jstor(self, jstor) -> None: ... + @property + def ark(self): ... + @ark.setter + def ark(self, ark) -> None: ... + @property + def mag(self): ... + @mag.setter + def mag(self, mag) -> None: ... + @property + def doaj(self): ... + @doaj.setter + def doaj(self, doaj) -> None: ... + @property + def dblp(self): ... + @dblp.setter + def dblp(self, dblp) -> None: ... + @property + def oai(self): ... + @oai.setter + def oai(self, oai) -> None: ... + @property + def hdl(self): ... + @hdl.setter + def hdl(self, hdl) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/release_ref.pyi b/python_openapi_client/fatcat_openapi_client/models/release_ref.pyi new file mode 100644 index 00000000..18648e0a --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/release_ref.pyi @@ -0,0 +1,43 @@ +from typing import Any + +class ReleaseRef: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, index: Any | None = ..., target_release_id: Any | None = ..., extra: Any | None = ..., key: Any | None = ..., year: Any | None = ..., container_name: Any | None = ..., title: Any | None = ..., locator: Any | None = ...) -> None: ... + @property + def index(self): ... + @index.setter + def index(self, index) -> None: ... + @property + def target_release_id(self): ... + @target_release_id.setter + def target_release_id(self, target_release_id) -> None: ... + @property + def extra(self): ... + @extra.setter + def extra(self, extra) -> None: ... + @property + def key(self): ... + @key.setter + def key(self, key) -> None: ... + @property + def year(self): ... + @year.setter + def year(self, year) -> None: ... + @property + def container_name(self): ... + @container_name.setter + def container_name(self, container_name) -> None: ... + @property + def title(self): ... + @title.setter + def title(self, title) -> None: ... + @property + def locator(self): ... + @locator.setter + def locator(self, locator) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/success.pyi b/python_openapi_client/fatcat_openapi_client/models/success.pyi new file mode 100644 index 00000000..cbc54893 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/success.pyi @@ -0,0 +1,19 @@ +from typing import Any + +class Success: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, success: Any | None = ..., message: Any | None = ...) -> None: ... + @property + def success(self): ... + @success.setter + def success(self, success) -> None: ... + @property + def message(self): ... + @message.setter + def message(self, message) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/webcapture_auto_batch.pyi b/python_openapi_client/fatcat_openapi_client/models/webcapture_auto_batch.pyi new file mode 100644 index 00000000..139823c9 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/webcapture_auto_batch.pyi @@ -0,0 +1,19 @@ +from typing import Any + +class WebcaptureAutoBatch: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, editgroup: Any | None = ..., entity_list: Any | None = ...) -> None: ... + @property + def editgroup(self): ... + @editgroup.setter + def editgroup(self, editgroup) -> None: ... + @property + def entity_list(self): ... + @entity_list.setter + def entity_list(self, entity_list) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/webcapture_cdx_line.pyi b/python_openapi_client/fatcat_openapi_client/models/webcapture_cdx_line.pyi new file mode 100644 index 00000000..a2182177 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/webcapture_cdx_line.pyi @@ -0,0 +1,43 @@ +from typing import Any + +class WebcaptureCdxLine: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, surt: Any | None = ..., timestamp: Any | None = ..., url: Any | None = ..., mimetype: Any | None = ..., status_code: Any | None = ..., size: Any | None = ..., sha1: Any | None = ..., sha256: Any | None = ...) -> None: ... + @property + def surt(self): ... + @surt.setter + def surt(self, surt) -> None: ... + @property + def timestamp(self): ... + @timestamp.setter + def timestamp(self, timestamp) -> None: ... + @property + def url(self): ... + @url.setter + def url(self, url) -> None: ... + @property + def mimetype(self): ... + @mimetype.setter + def mimetype(self, mimetype) -> None: ... + @property + def status_code(self): ... + @status_code.setter + def status_code(self, status_code) -> None: ... + @property + def size(self): ... + @size.setter + def size(self, size) -> None: ... + @property + def sha1(self): ... + @sha1.setter + def sha1(self, sha1) -> None: ... + @property + def sha256(self): ... + @sha256.setter + def sha256(self, sha256) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/webcapture_entity.pyi b/python_openapi_client/fatcat_openapi_client/models/webcapture_entity.pyi new file mode 100644 index 00000000..c4cf78e2 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/webcapture_entity.pyi @@ -0,0 +1,63 @@ +from typing import Any + +class WebcaptureEntity: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, state: Any | None = ..., ident: Any | None = ..., revision: Any | None = ..., redirect: Any | None = ..., extra: Any | None = ..., edit_extra: Any | None = ..., cdx: Any | None = ..., archive_urls: Any | None = ..., original_url: Any | None = ..., timestamp: Any | None = ..., content_scope: Any | None = ..., release_ids: Any | None = ..., releases: Any | None = ...) -> None: ... + @property + def state(self): ... + @state.setter + def state(self, state) -> None: ... + @property + def ident(self): ... + @ident.setter + def ident(self, ident) -> None: ... + @property + def revision(self): ... + @revision.setter + def revision(self, revision) -> None: ... + @property + def redirect(self): ... + @redirect.setter + def redirect(self, redirect) -> None: ... + @property + def extra(self): ... + @extra.setter + def extra(self, extra) -> None: ... + @property + def edit_extra(self): ... + @edit_extra.setter + def edit_extra(self, edit_extra) -> None: ... + @property + def cdx(self): ... + @cdx.setter + def cdx(self, cdx) -> None: ... + @property + def archive_urls(self): ... + @archive_urls.setter + def archive_urls(self, archive_urls) -> None: ... + @property + def original_url(self): ... + @original_url.setter + def original_url(self, original_url) -> None: ... + @property + def timestamp(self): ... + @timestamp.setter + def timestamp(self, timestamp) -> None: ... + @property + def content_scope(self): ... + @content_scope.setter + def content_scope(self, content_scope) -> None: ... + @property + def release_ids(self): ... + @release_ids.setter + def release_ids(self, release_ids) -> None: ... + @property + def releases(self): ... + @releases.setter + def releases(self, releases) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/webcapture_url.pyi b/python_openapi_client/fatcat_openapi_client/models/webcapture_url.pyi new file mode 100644 index 00000000..6abe7578 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/webcapture_url.pyi @@ -0,0 +1,19 @@ +from typing import Any + +class WebcaptureUrl: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, url: Any | None = ..., rel: Any | None = ...) -> None: ... + @property + def url(self): ... + @url.setter + def url(self, url) -> None: ... + @property + def rel(self): ... + @rel.setter + def rel(self, rel) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/work_auto_batch.pyi b/python_openapi_client/fatcat_openapi_client/models/work_auto_batch.pyi new file mode 100644 index 00000000..22936a1a --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/work_auto_batch.pyi @@ -0,0 +1,19 @@ +from typing import Any + +class WorkAutoBatch: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, editgroup: Any | None = ..., entity_list: Any | None = ...) -> None: ... + @property + def editgroup(self): ... + @editgroup.setter + def editgroup(self, editgroup) -> None: ... + @property + def entity_list(self): ... + @entity_list.setter + def entity_list(self, entity_list) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... diff --git a/python_openapi_client/fatcat_openapi_client/models/work_entity.pyi b/python_openapi_client/fatcat_openapi_client/models/work_entity.pyi new file mode 100644 index 00000000..41a36e61 --- /dev/null +++ b/python_openapi_client/fatcat_openapi_client/models/work_entity.pyi @@ -0,0 +1,35 @@ +from typing import Any + +class WorkEntity: + openapi_types: Any + attribute_map: Any + discriminator: Any + def __init__(self, state: Any | None = ..., ident: Any | None = ..., revision: Any | None = ..., redirect: Any | None = ..., extra: Any | None = ..., edit_extra: Any | None = ...) -> None: ... + @property + def state(self): ... + @state.setter + def state(self, state) -> None: ... + @property + def ident(self): ... + @ident.setter + def ident(self, ident) -> None: ... + @property + def revision(self): ... + @revision.setter + def revision(self, revision) -> None: ... + @property + def redirect(self): ... + @redirect.setter + def redirect(self, redirect) -> None: ... + @property + def extra(self): ... + @extra.setter + def extra(self, extra) -> None: ... + @property + def edit_extra(self): ... + @edit_extra.setter + def edit_extra(self, edit_extra) -> None: ... + def to_dict(self): ... + def to_str(self): ... + def __eq__(self, other): ... + def __ne__(self, other): ... |