aboutsummaryrefslogtreecommitdiffstats
path: root/python_openapi_client/fatcat_openapi_client/models
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-17 16:08:43 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-11-23 17:39:02 -0800
commit82ee0c7d967e2ff40270a8435ea292b41e22fa17 (patch)
tree61092d32595a964e39a02f42e5b5f08c14ee7e03 /python_openapi_client/fatcat_openapi_client/models
parenta1bb48b5d2e9536ee7b3da4a7721e049936793e8 (diff)
downloadfatcat-82ee0c7d967e2ff40270a8435ea292b41e22fa17.tar.gz
fatcat-82ee0c7d967e2ff40270a8435ea292b41e22fa17.zip
python client: start adding type annotation stubs
Diffstat (limited to 'python_openapi_client/fatcat_openapi_client/models')
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/__init__.pyi35
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/changelog_entry.pyi29
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/container_auto_batch.pyi19
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/container_entity.pyi67
4 files changed, 150 insertions, 0 deletions
diff --git a/python_openapi_client/fatcat_openapi_client/models/__init__.pyi b/python_openapi_client/fatcat_openapi_client/models/__init__.pyi
new file mode 100644
index 00000000..86853dc6
--- /dev/null
+++ b/python_openapi_client/fatcat_openapi_client/models/__init__.pyi
@@ -0,0 +1,35 @@
+from fatcat_openapi_client.models.auth_oidc import AuthOidc as AuthOidc
+from fatcat_openapi_client.models.auth_oidc_result import AuthOidcResult as AuthOidcResult
+from fatcat_openapi_client.models.auth_token_result import AuthTokenResult as AuthTokenResult
+from fatcat_openapi_client.models.changelog_entry import ChangelogEntry as ChangelogEntry
+from fatcat_openapi_client.models.container_auto_batch import ContainerAutoBatch as ContainerAutoBatch
+from fatcat_openapi_client.models.container_entity import ContainerEntity as ContainerEntity
+from fatcat_openapi_client.models.creator_auto_batch import CreatorAutoBatch as CreatorAutoBatch
+from fatcat_openapi_client.models.creator_entity import CreatorEntity as CreatorEntity
+from fatcat_openapi_client.models.editgroup import Editgroup as Editgroup
+from fatcat_openapi_client.models.editgroup_annotation import EditgroupAnnotation as EditgroupAnnotation
+from fatcat_openapi_client.models.editgroup_edits import EditgroupEdits as EditgroupEdits
+from fatcat_openapi_client.models.editor import Editor as Editor
+from fatcat_openapi_client.models.entity_edit import EntityEdit as EntityEdit
+from fatcat_openapi_client.models.entity_history_entry import EntityHistoryEntry as EntityHistoryEntry
+from fatcat_openapi_client.models.error_response import ErrorResponse as ErrorResponse
+from fatcat_openapi_client.models.file_auto_batch import FileAutoBatch as FileAutoBatch
+from fatcat_openapi_client.models.file_entity import FileEntity as FileEntity
+from fatcat_openapi_client.models.file_url import FileUrl as FileUrl
+from fatcat_openapi_client.models.fileset_auto_batch import FilesetAutoBatch as FilesetAutoBatch
+from fatcat_openapi_client.models.fileset_entity import FilesetEntity as FilesetEntity
+from fatcat_openapi_client.models.fileset_file import FilesetFile as FilesetFile
+from fatcat_openapi_client.models.fileset_url import FilesetUrl as FilesetUrl
+from fatcat_openapi_client.models.release_abstract import ReleaseAbstract as ReleaseAbstract
+from fatcat_openapi_client.models.release_auto_batch import ReleaseAutoBatch as ReleaseAutoBatch
+from fatcat_openapi_client.models.release_contrib import ReleaseContrib as ReleaseContrib
+from fatcat_openapi_client.models.release_entity import ReleaseEntity as ReleaseEntity
+from fatcat_openapi_client.models.release_ext_ids import ReleaseExtIds as ReleaseExtIds
+from fatcat_openapi_client.models.release_ref import ReleaseRef as ReleaseRef
+from fatcat_openapi_client.models.success import Success as Success
+from fatcat_openapi_client.models.webcapture_auto_batch import WebcaptureAutoBatch as WebcaptureAutoBatch
+from fatcat_openapi_client.models.webcapture_cdx_line import WebcaptureCdxLine as WebcaptureCdxLine
+from fatcat_openapi_client.models.webcapture_entity import WebcaptureEntity as WebcaptureEntity
+from fatcat_openapi_client.models.webcapture_url import WebcaptureUrl as WebcaptureUrl
+from fatcat_openapi_client.models.work_auto_batch import WorkAutoBatch as WorkAutoBatch
+from fatcat_openapi_client.models.work_entity import WorkEntity as WorkEntity
diff --git a/python_openapi_client/fatcat_openapi_client/models/changelog_entry.pyi b/python_openapi_client/fatcat_openapi_client/models/changelog_entry.pyi
new file mode 100644
index 00000000..285590d0
--- /dev/null
+++ b/python_openapi_client/fatcat_openapi_client/models/changelog_entry.pyi
@@ -0,0 +1,29 @@
+from typing import Any
+import datetime
+from fatcat_openapi_client import Editgroup
+
+class ChangelogEntry:
+ openapi_types: Any
+ attribute_map: Any
+ discriminator: Any
+ def __init__(self, index: Any | None = ..., editgroup_id: Any | None = ..., timestamp: Any | None = ..., editgroup: Any | None = ...) -> None: ...
+ @property
+ def index(self) -> int: ...
+ @index.setter
+ def index(self, index: int) -> None: ...
+ @property
+ def editgroup_id(self) -> str: ...
+ @editgroup_id.setter
+ def editgroup_id(self, editgroup_id: str) -> None: ...
+ @property
+ def timestamp(self) -> datetime.datetime: ...
+ @timestamp.setter
+ def timestamp(self, timestamp: datetime.datetime) -> None: ...
+ @property
+ def editgroup(self) -> Editgroup: ...
+ @editgroup.setter
+ def editgroup(self, editgroup: Editgroup) -> 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/container_auto_batch.pyi b/python_openapi_client/fatcat_openapi_client/models/container_auto_batch.pyi
new file mode 100644
index 00000000..bb197215
--- /dev/null
+++ b/python_openapi_client/fatcat_openapi_client/models/container_auto_batch.pyi
@@ -0,0 +1,19 @@
+from typing import Any
+
+class ContainerAutoBatch:
+ openapi_types: Any
+ attribute_map: Any
+ discriminator: Any
+ def __init__(self, editgroup: Editgroup = ..., entity_list: List[ContainerEntity] = ...) -> None: ...
+ @property
+ def editgroup(self) -> Editgroup: ...
+ @editgroup.setter
+ def editgroup(self, editgroup: Editgroup) -> None: ...
+ @property
+ def entity_list(self) -> List[ContainerEntity]: ...
+ @entity_list.setter
+ def entity_list(self, entity_list: List[ContainerEntity]) -> 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/container_entity.pyi b/python_openapi_client/fatcat_openapi_client/models/container_entity.pyi
new file mode 100644
index 00000000..a556ec4d
--- /dev/null
+++ b/python_openapi_client/fatcat_openapi_client/models/container_entity.pyi
@@ -0,0 +1,67 @@
+from typing import Any, Optional, Dict
+
+class ContainerEntity:
+ 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 = ..., name: Any | None = ..., container_type: Any | None = ..., publication_status: Any | None = ..., publisher: Any | None = ..., issnl: Any | None = ..., issne: Any | None = ..., issnp: Any | None = ..., wikidata_qid: Any | None = ...) -> None: ...
+ @property
+ def state(self) -> Optional[str]: ...
+ @state.setter
+ def state(self, state: Optional[str]) -> None: ...
+ @property
+ def ident(self) -> Optional[str]: ...
+ @ident.setter
+ def ident(self, ident: Optional[str]) -> None: ...
+ @property
+ def revision(self) -> Optional[str]: ...
+ @revision.setter
+ def revision(self, revision: Optional[str]) -> None: ...
+ @property
+ def redirect(self) -> Optional[str]: ...
+ @redirect.setter
+ def redirect(self, redirect: Optional[str]) -> None: ...
+ @property
+ def extra(self) -> Optional[Dict[str, Any]]: ...
+ @extra.setter
+ def extra(self, extra: Optional[Dict[str, Any]]) -> None: ...
+ @property
+ def edit_extra(self) -> Optional[Dict[str, Any]]: ...
+ @edit_extra.setter
+ def edit_extra(self, edit_extra: Optional[Dict[str, Any]]) -> None: ...
+ @property
+ def name(self) -> Optional[str]: ...
+ @name.setter
+ def name(self, name: Optional[str]) -> None: ...
+ @property
+ def container_type(self) -> Optional[str]: ...
+ @container_type.setter
+ def container_type(self, container_type: Optional[str]) -> None: ...
+ @property
+ def publication_status(self) -> Optional[str]: ...
+ @publication_status.setter
+ def publication_status(self, publication_status: Optional[str]) -> None: ...
+ @property
+ def publisher(self) -> Optional[str]: ...
+ @publisher.setter
+ def publisher(self, publisher: Optional[str]) -> None: ...
+ @property
+ def issnl(self) -> Optional[str]: ...
+ @issnl.setter
+ def issnl(self, issnl: Optional[str]) -> None: ...
+ @property
+ def issne(self) -> Optional[str]: ...
+ @issne.setter
+ def issne(self, issne: Optional[str]) -> None: ...
+ @property
+ def issnp(self) -> Optional[str]: ...
+ @issnp.setter
+ def issnp(self, issnp: Optional[str]) -> None: ...
+ @property
+ def wikidata_qid(self) -> Optional[str]: ...
+ @wikidata_qid.setter
+ def wikidata_qid(self, wikidata_qid: Optional[str]) -> None: ...
+ def to_dict(self): ...
+ def to_str(self): ...
+ def __eq__(self, other): ...
+ def __ne__(self, other): ...