aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-17 17:17:36 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-11-23 17:39:02 -0800
commit2352c07c7fa55859f4af936b45b2a319ca2d1560 (patch)
tree843afb671061dbd545c5fe369a2971846ecc31b9
parentf208054f6883589239f21d5e46545960c45ece18 (diff)
downloadfatcat-2352c07c7fa55859f4af936b45b2a319ca2d1560.tar.gz
fatcat-2352c07c7fa55859f4af936b45b2a319ca2d1560.zip
more WIP on annotating models
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/container_entity.pyi4
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/creator_entity.pyi49
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/file_entity.pyi61
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/fileset_entity.pyi41
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/release_entity.pyi97
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/webcapture_entity.pyi41
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/work_entity.pyi28
7 files changed, 163 insertions, 158 deletions
diff --git a/python_openapi_client/fatcat_openapi_client/models/container_entity.pyi b/python_openapi_client/fatcat_openapi_client/models/container_entity.pyi
index a556ec4d..0090e23b 100644
--- a/python_openapi_client/fatcat_openapi_client/models/container_entity.pyi
+++ b/python_openapi_client/fatcat_openapi_client/models/container_entity.pyi
@@ -1,10 +1,10 @@
-from typing import Any, Optional, Dict
+from typing import Any, Optional, Dict, List
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: ...
+ def __init__(self, state: Optional[str] = ..., ident: Optional[str] = ..., revision: Optional[str] = ..., redirect: Optional[str] = ..., extra: Any | None = ..., edit_extra: Any | None = ..., name: Optional[str] = ..., container_type: Optional[str] = ..., publication_status: Optional[str] = ..., publisher: Optional[str] = ..., issnl: Optional[str] = ..., issne: Optional[str] = ..., issnp: Optional[str] = ..., wikidata_qid: Optional[str] = ...) -> None: ...
@property
def state(self) -> Optional[str]: ...
@state.setter
diff --git a/python_openapi_client/fatcat_openapi_client/models/creator_entity.pyi b/python_openapi_client/fatcat_openapi_client/models/creator_entity.pyi
index 8480cf45..aeb1bcf4 100644
--- a/python_openapi_client/fatcat_openapi_client/models/creator_entity.pyi
+++ b/python_openapi_client/fatcat_openapi_client/models/creator_entity.pyi
@@ -1,54 +1,55 @@
-from typing import Any
+from typing import Any, Optional, Dict, List
+from fatcat_openapi_client import ReleaseEntity
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: ...
+ def __init__(self, state: Optional[str] = ..., ident: Optional[str] = ..., revision: Optional[str]= ..., redirect: Optional[str]= ..., extra: Any | None = ..., edit_extra: Any | None = ..., display_name: Optional[str] = ..., given_name: Optional[str] = ..., surname: Optional[str] = ..., orcid: Optional[str] = ..., wikidata_qid: Optional[str]= ...) -> None: ...
@property
- def state(self): ...
+ def state(self) -> Optional[str]: ...
@state.setter
- def state(self, state) -> None: ...
+ def state(self, state: Optional[str]) -> None: ...
@property
- def ident(self): ...
+ def ident(self) -> Optional[str]: ...
@ident.setter
- def ident(self, ident) -> None: ...
+ def ident(self, ident: Optional[str]) -> None: ...
@property
- def revision(self): ...
+ def revision(self) -> Optional[str]: ...
@revision.setter
- def revision(self, revision) -> None: ...
+ def revision(self, revision: Optional[str]) -> None: ...
@property
- def redirect(self): ...
+ def redirect(self) -> Optional[str]: ...
@redirect.setter
- def redirect(self, redirect) -> None: ...
+ def redirect(self, redirect: Optional[str]) -> None: ...
@property
- def extra(self): ...
+ def extra(self) -> Optional[Dict[str, Any]]: ...
@extra.setter
- def extra(self, extra) -> None: ...
+ def extra(self, extra: Optional[Dict[str, Any]]) -> None: ...
@property
- def edit_extra(self): ...
+ def edit_extra(self) -> Optional[Dict[str, Any]]: ...
@edit_extra.setter
- def edit_extra(self, edit_extra) -> None: ...
+ def edit_extra(self, edit_extra: Optional[Dict[str, Any]]) -> None: ...
@property
- def display_name(self): ...
+ def display_name(self) -> Optional[str]: ...
@display_name.setter
- def display_name(self, display_name) -> None: ...
+ def display_name(self, display_name: Optional[str]) -> None: ...
@property
- def given_name(self): ...
+ def given_name(self) -> Optional[str]: ...
@given_name.setter
- def given_name(self, given_name) -> None: ...
+ def given_name(self, given_name: Optional[str]) -> None: ...
@property
- def surname(self): ...
+ def surname(self) -> Optional[str]: ...
@surname.setter
- def surname(self, surname) -> None: ...
+ def surname(self, surname: Optional[str]) -> None: ...
@property
- def orcid(self): ...
+ def orcid(self) -> Optional[str]: ...
@orcid.setter
- def orcid(self, orcid) -> None: ...
+ def orcid(self, orcid: Optional[str]) -> None: ...
@property
- def wikidata_qid(self): ...
+ def wikidata_qid(self) -> Optional[str]: ...
@wikidata_qid.setter
- def wikidata_qid(self, wikidata_qid) -> None: ...
+ def wikidata_qid(self, wikidata_qid: Optional[str]) -> None: ...
def to_dict(self): ...
def to_str(self): ...
def __eq__(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
index a6b9f7cf..8e04b088 100644
--- a/python_openapi_client/fatcat_openapi_client/models/file_entity.pyi
+++ b/python_openapi_client/fatcat_openapi_client/models/file_entity.pyi
@@ -1,70 +1,71 @@
-from typing import Any
+from typing import Any, Optional, Dict, List
+from fatcat_openapi_client import ReleaseEntity
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: ...
+ def __init__(self, state: Optional[str] = ..., ident: Optional[str] = ..., revision: Optional[str] = ..., redirect: Optional[str] = ..., extra: Optional[Dict[str, Any]] = ..., edit_extra: Optional[Dict[str, Any]] = ..., size: Optional[int] = ..., md5: Optional[str] = ..., sha1: Optional[str] = ..., sha256: Optional[str] = ..., urls: Any | None = ..., mimetype: Optional[str] = ..., content_scope: Optional[str] = ..., release_ids: Optional[List[str]] = ..., releases: Optional[List[ReleaseEntity]]= ...) -> None: ...
@property
- def state(self): ...
+ def state(self) -> Optional[str]: ...
@state.setter
- def state(self, state) -> None: ...
+ def state(self, state: Optional[str]) -> None: ...
@property
- def ident(self): ...
+ def ident(self) -> Optional[str]: ...
@ident.setter
- def ident(self, ident) -> None: ...
+ def ident(self, ident: Optional[str]) -> None: ...
@property
- def revision(self): ...
+ def revision(self) -> Optional[str]: ...
@revision.setter
- def revision(self, revision) -> None: ...
+ def revision(self, revision: Optional[str]) -> None: ...
@property
- def redirect(self): ...
+ def redirect(self) -> Optional[str]: ...
@redirect.setter
- def redirect(self, redirect) -> None: ...
+ def redirect(self, redirect: Optional[str]) -> None: ...
@property
- def extra(self): ...
+ def extra(self) -> Optional[Dict[str, Any]]: ...
@extra.setter
- def extra(self, extra) -> None: ...
+ def extra(self, extra: Optional[Dict[str, Any]]) -> None: ...
@property
- def edit_extra(self): ...
+ def edit_extra(self) -> Optional[Dict[str, Any]]: ...
@edit_extra.setter
- def edit_extra(self, edit_extra) -> None: ...
+ def edit_extra(self, edit_extra: Optional[Dict[str, Any]]) -> None: ...
@property
- def size(self): ...
+ def size(self) -> Optional[int]: ...
@size.setter
- def size(self, size) -> None: ...
+ def size(self, size: Optional[int]) -> None: ...
@property
- def md5(self): ...
+ def md5(self) -> Optional[str]: ...
@md5.setter
- def md5(self, md5) -> None: ...
+ def md5(self, md5: Optional[str]) -> None: ...
@property
- def sha1(self): ...
+ def sha1(self) -> Optional[str]: ...
@sha1.setter
- def sha1(self, sha1) -> None: ...
+ def sha1(self, sha1: Optional[str]) -> None: ...
@property
- def sha256(self): ...
+ def sha256(self) -> Optional[str]: ...
@sha256.setter
- def sha256(self, sha256) -> None: ...
+ def sha256(self, sha256: Optional[str]) -> None: ...
@property
def urls(self): ...
@urls.setter
def urls(self, urls) -> None: ...
@property
- def mimetype(self): ...
+ def mimetype(self) -> Optional[str]: ...
@mimetype.setter
- def mimetype(self, mimetype) -> None: ...
+ def mimetype(self, mimetype: Optional[str]) -> None: ...
@property
- def content_scope(self): ...
+ def content_scope(self) -> Optional[str]: ...
@content_scope.setter
- def content_scope(self, content_scope) -> None: ...
+ def content_scope(self, content_scope: Optional[str]) -> None: ...
@property
- def release_ids(self): ...
+ def release_ids(self) -> Optional[List[str]]: ...
@release_ids.setter
- def release_ids(self, release_ids) -> None: ...
+ def release_ids(self, release_ids: Optional[List[str]]) -> None: ...
@property
- def releases(self): ...
+ def releases(self) -> Optional[List[ReleaseEntity]]: ...
@releases.setter
- def releases(self, releases) -> None: ...
+ def releases(self, releases: Optional[List[ReleaseEntity]]) -> None: ...
def to_dict(self): ...
def to_str(self): ...
def __eq__(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
index c6dae05b..a9d32027 100644
--- a/python_openapi_client/fatcat_openapi_client/models/fileset_entity.pyi
+++ b/python_openapi_client/fatcat_openapi_client/models/fileset_entity.pyi
@@ -1,38 +1,39 @@
-from typing import Any
+from typing import Any, Optional, Dict, List
+from fatcat_openapi_client import ReleaseEntity
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: ...
+ def __init__(self, state: Optional[str] = ..., ident: Optional[str] = ..., revision: Optional[str] = ..., redirect: Optional[str] = ..., extra: Any | None = ..., edit_extra: Any | None = ..., content_scope: Optional[str] = ..., manifest: Any | None = ..., urls: Any | None = ..., release_ids: Optional[List[str]]= ..., releases: Optional[List[ReleaseEntity]] = ...) -> None: ...
@property
- def state(self): ...
+ def state(self) -> Optional[str]: ...
@state.setter
- def state(self, state) -> None: ...
+ def state(self, state: Optional[str]) -> None: ...
@property
- def ident(self): ...
+ def ident(self) -> Optional[str]: ...
@ident.setter
- def ident(self, ident) -> None: ...
+ def ident(self, ident: Optional[str]) -> None: ...
@property
- def revision(self): ...
+ def revision(self) -> Optional[str]: ...
@revision.setter
- def revision(self, revision) -> None: ...
+ def revision(self, revision: Optional[str]) -> None: ...
@property
- def redirect(self): ...
+ def redirect(self) -> Optional[str]: ...
@redirect.setter
- def redirect(self, redirect) -> None: ...
+ def redirect(self, redirect: Optional[str]) -> None: ...
@property
- def extra(self): ...
+ def extra(self) -> Optional[Dict[str, Any]]: ...
@extra.setter
- def extra(self, extra) -> None: ...
+ def extra(self, extra: Optional[Dict[str, Any]]) -> None: ...
@property
- def edit_extra(self): ...
+ def edit_extra(self) -> Optional[Dict[str, Any]]: ...
@edit_extra.setter
- def edit_extra(self, edit_extra) -> None: ...
+ def edit_extra(self, edit_extra: Optional[Dict[str, Any]]) -> None: ...
@property
- def content_scope(self): ...
+ def content_scope(self) -> Optional[str]: ...
@content_scope.setter
- def content_scope(self, content_scope) -> None: ...
+ def content_scope(self, content_scope: Optional[str]) -> None: ...
@property
def manifest(self): ...
@manifest.setter
@@ -42,13 +43,13 @@ class FilesetEntity:
@urls.setter
def urls(self, urls) -> None: ...
@property
- def release_ids(self): ...
+ def release_ids(self) -> Optional[List[str]]: ...
@release_ids.setter
- def release_ids(self, release_ids) -> None: ...
+ def release_ids(self, release_ids: Optional[List[str]]) -> None: ...
@property
- def releases(self): ...
+ def releases(self) -> Optional[List[ReleaseEntity]]: ...
@releases.setter
- def releases(self, releases) -> None: ...
+ def releases(self, releases: Optional[List[ReleaseEntity]]) -> None: ...
def to_dict(self): ...
def to_str(self): ...
def __eq__(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
index 662bb7cc..81881006 100644
--- a/python_openapi_client/fatcat_openapi_client/models/release_entity.pyi
+++ b/python_openapi_client/fatcat_openapi_client/models/release_entity.pyi
@@ -1,50 +1,51 @@
-from typing import Any
+from typing import Any, Optional, Dict, List
+from fatcat_openapi_client import FileEntity, FilesetEntity, WebcaptureEntity
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: ...
+ def __init__(self, state: Optional[str] = ..., ident: Optional[str] = ..., revision: Optional[str] = ..., redirect: Optional[str] = ..., extra: Any | None = ..., edit_extra: Any | None = ..., title: Optional[str] = ..., subtitle: Optional[str] = ..., original_title: Optional[str] = ..., work_id: Optional[str] = ..., container: Any | None = ..., files: Any | None = ..., filesets: Any | None = ..., webcaptures: Any | None = ..., container_id: Optional[str] = ..., release_type: Optional[str] = ..., release_stage: Optional[str] = ..., release_date: Any | None = ..., release_year: Any | None = ..., withdrawn_status: Optional[str] = ..., withdrawn_date: Any | None = ..., withdrawn_year: Any | None = ..., ext_ids: Any | None = ..., volume: Optional[str] = ..., issue: Optional[str] = ..., pages: Optional[str] = ..., number: Optional[str] = ..., version: Optional[str] = ..., publisher: Optional[str] = ..., language: Optional[str] = ..., license_slug: Optional[str] = ..., contribs: Any | None = ..., refs: Any | None = ..., abstracts: Any | None = ...) -> None: ...
@property
- def state(self): ...
+ def state(self) -> Optional[str]: ...
@state.setter
- def state(self, state) -> None: ...
+ def state(self, state: Optional[str]) -> None: ...
@property
- def ident(self): ...
+ def ident(self) -> Optional[str]: ...
@ident.setter
- def ident(self, ident) -> None: ...
+ def ident(self, ident: Optional[str]) -> None: ...
@property
- def revision(self): ...
+ def revision(self) -> Optional[str]: ...
@revision.setter
- def revision(self, revision) -> None: ...
+ def revision(self, revision: Optional[str]) -> None: ...
@property
- def redirect(self): ...
+ def redirect(self) -> Optional[str]: ...
@redirect.setter
- def redirect(self, redirect) -> None: ...
+ def redirect(self, redirect: Optional[str]) -> None: ...
@property
- def extra(self): ...
+ def extra(self) -> Optional[Dict[str, Any]]: ...
@extra.setter
- def extra(self, extra) -> None: ...
+ def extra(self, extra: Optional[Dict[str, Any]]) -> None: ...
@property
- def edit_extra(self): ...
+ def edit_extra(self) -> Optional[Dict[str, Any]]: ...
@edit_extra.setter
- def edit_extra(self, edit_extra) -> None: ...
+ def edit_extra(self, edit_extra: Optional[Dict[str, Any]]) -> None: ...
@property
- def title(self): ...
+ def title(self) -> Optional[str]: ...
@title.setter
- def title(self, title) -> None: ...
+ def title(self, title: Optional[str]) -> None: ...
@property
- def subtitle(self): ...
+ def subtitle(self): Optional[str]: ...
@subtitle.setter
- def subtitle(self, subtitle) -> None: ...
+ def subtitle(self, subtitle: Optional[str]) -> None: ...
@property
- def original_title(self): ...
+ def original_title(self) -> Optional[str]: ...
@original_title.setter
- def original_title(self, original_title) -> None: ...
+ def original_title(self, original_title: Optional[str]) -> None: ...
@property
- def work_id(self): ...
+ def work_id(self) -> Optional[str]: ...
@work_id.setter
- def work_id(self, work_id) -> None: ...
+ def work_id(self, work_id: Optional[str]) -> None: ...
@property
def container(self): ...
@container.setter
@@ -62,29 +63,29 @@ class ReleaseEntity:
@webcaptures.setter
def webcaptures(self, webcaptures) -> None: ...
@property
- def container_id(self): ...
+ def container_id(self) -> Optional[str]: ...
@container_id.setter
- def container_id(self, container_id) -> None: ...
+ def container_id(self, container_id: Optional[str]) -> None: ...
@property
- def release_type(self): ...
+ def release_type(self) -> Optional[str]: ...
@release_type.setter
- def release_type(self, release_type) -> None: ...
+ def release_type(self, release_type: Optional[str]) -> None: ...
@property
- def release_stage(self): ...
+ def release_stage(self) -> Optional[str]: ...
@release_stage.setter
- def release_stage(self, release_stage) -> None: ...
+ def release_stage(self, release_stage: Optional[str]) -> None: ...
@property
- def release_date(self): ...
+ def release_date(self) -> Optional[str]: ...
@release_date.setter
- def release_date(self, release_date) -> None: ...
+ def release_date(self, release_date: Optional[str]) -> None: ...
@property
def release_year(self): ...
@release_year.setter
def release_year(self, release_year) -> None: ...
@property
- def withdrawn_status(self): ...
+ def withdrawn_status(self) -> Optional[str]: ...
@withdrawn_status.setter
- def withdrawn_status(self, withdrawn_status) -> None: ...
+ def withdrawn_status(self, withdrawn_status: Optional[str]) -> None: ...
@property
def withdrawn_date(self): ...
@withdrawn_date.setter
@@ -98,37 +99,37 @@ class ReleaseEntity:
@ext_ids.setter
def ext_ids(self, ext_ids) -> None: ...
@property
- def volume(self): ...
+ def volume(self) -> Optional[str]: ...
@volume.setter
- def volume(self, volume) -> None: ...
+ def volume(self, volume: Optional[str]) -> None: ...
@property
- def issue(self): ...
+ def issue(self) -> Optional[str]: ...
@issue.setter
- def issue(self, issue) -> None: ...
+ def issue(self, issue: Optional[str]) -> None: ...
@property
- def pages(self): ...
+ def pages(self) -> Optional[str]: ...
@pages.setter
- def pages(self, pages) -> None: ...
+ def pages(self, pages: Optional[str]) -> None: ...
@property
- def number(self): ...
+ def number(self) -> Optional[str]: ...
@number.setter
- def number(self, number) -> None: ...
+ def number(self, number: Optional[str]) -> None: ...
@property
- def version(self): ...
+ def version(self) -> Optional[str]: ...
@version.setter
- def version(self, version) -> None: ...
+ def version(self, version: Optional[str]) -> None: ...
@property
- def publisher(self): ...
+ def publisher(self) -> Optional[str]: ...
@publisher.setter
- def publisher(self, publisher) -> None: ...
+ def publisher(self, publisher: Optional[str]) -> None: ...
@property
- def language(self): ...
+ def language(self) -> Optional[str]: ...
@language.setter
- def language(self, language) -> None: ...
+ def language(self, language: Optional[str]) -> None: ...
@property
- def license_slug(self): ...
+ def license_slug(self) -> Optional[str]: ...
@license_slug.setter
- def license_slug(self, license_slug) -> None: ...
+ def license_slug(self, license_slug: Optional[str]) -> None: ...
@property
def contribs(self): ...
@contribs.setter
diff --git a/python_openapi_client/fatcat_openapi_client/models/webcapture_entity.pyi b/python_openapi_client/fatcat_openapi_client/models/webcapture_entity.pyi
index c4cf78e2..c8b66af6 100644
--- a/python_openapi_client/fatcat_openapi_client/models/webcapture_entity.pyi
+++ b/python_openapi_client/fatcat_openapi_client/models/webcapture_entity.pyi
@@ -1,34 +1,35 @@
-from typing import Any
+from typing import Any, Optional, Dict, List
+from fatcat_openapi_client import ReleaseEntity
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: ...
+ def __init__(self, state: Optional[str] = ..., ident: Optional[str] = ..., revision: Optional[str] = ..., redirect: Optional[str] = ..., extra: Optional[Dict[str, Any]] = ..., edit_extra: Optional[Dict[str, Any]] = ..., cdx: Any | None = ..., archive_urls: Any | None = ..., original_url: Any | None = ..., timestamp: Any | None = ..., content_scope: Optional[str] = ..., release_ids: Optional[List[str]] = ..., releases: Optional[List[ReleaseEntity]] = ...) -> None: ...
@property
- def state(self): ...
+ def state(self) -> Optional[str]: ...
@state.setter
- def state(self, state) -> None: ...
+ def state(self, state: Optional[str]) -> None: ...
@property
- def ident(self): ...
+ def ident(self) -> Optional[str]: ...
@ident.setter
- def ident(self, ident) -> None: ...
+ def ident(self, ident: Optional[str]) -> None: ...
@property
- def revision(self): ...
+ def revision(self) -> Optional[str]: ...
@revision.setter
- def revision(self, revision) -> None: ...
+ def revision(self, revision: Optional[str]) -> None: ...
@property
- def redirect(self): ...
+ def redirect(self) -> Optional[str]: ...
@redirect.setter
- def redirect(self, redirect) -> None: ...
+ def redirect(self, redirect: Optional[str]) -> None: ...
@property
- def extra(self): ...
+ def extra(self) -> Optional[Dict[str, Any]]: ...
@extra.setter
- def extra(self, extra) -> None: ...
+ def extra(self, extra: Optional[Dict[str, Any]]) -> None: ...
@property
- def edit_extra(self): ...
+ def edit_extra(self) -> Optional[Dict[str, Any]]: ...
@edit_extra.setter
- def edit_extra(self, edit_extra) -> None: ...
+ def edit_extra(self, edit_extra: Optional[Dict[str, Any]]) -> None: ...
@property
def cdx(self): ...
@cdx.setter
@@ -46,17 +47,17 @@ class WebcaptureEntity:
@timestamp.setter
def timestamp(self, timestamp) -> None: ...
@property
- def content_scope(self): ...
+ def content_scope(self) -> Optional[str]: ...
@content_scope.setter
- def content_scope(self, content_scope) -> None: ...
+ def content_scope(self, content_scope: Optional[str]) -> None: ...
@property
- def release_ids(self): ...
+ def release_ids(self) -> Optional[List[ReleaseEntity]]: ...
@release_ids.setter
- def release_ids(self, release_ids) -> None: ...
+ def release_ids(self, release_ids: Optional[List[ReleaseEntity]]) -> None: ...
@property
- def releases(self): ...
+ def releases(self) -> Optional[List[ReleaseEntity]]: ...
@releases.setter
- def releases(self, releases) -> None: ...
+ def releases(self, releases: Optional[List[ReleaseEntity]]) -> None: ...
def to_dict(self): ...
def to_str(self): ...
def __eq__(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
index 41a36e61..86161281 100644
--- a/python_openapi_client/fatcat_openapi_client/models/work_entity.pyi
+++ b/python_openapi_client/fatcat_openapi_client/models/work_entity.pyi
@@ -1,34 +1,34 @@
-from typing import Any
+from typing import Any, Optional, Dict, List
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: ...
+ def __init__(self, state: Optional[str] = ..., ident: Optional[str] = ..., revision: Optional[str] = ..., redirect: Optional[str] = ..., extra: Optional[Dict[str, Any]] = ..., edit_extra: Optional[Dict[str, Any]] = ...) -> None: ...
@property
- def state(self): ...
+ def state(self) -> Optional[str]: ...
@state.setter
- def state(self, state) -> None: ...
+ def state(self, state: Optional[str]) -> None: ...
@property
- def ident(self): ...
+ def ident(self) -> Optional[str]: ...
@ident.setter
- def ident(self, ident) -> None: ...
+ def ident(self, ident: Optional[str]) -> None: ...
@property
- def revision(self): ...
+ def revision(self) -> Optional[str]: ...
@revision.setter
- def revision(self, revision) -> None: ...
+ def revision(self, revision: Optional[str]) -> None: ...
@property
- def redirect(self): ...
+ def redirect(self) -> Optional[str]: ...
@redirect.setter
- def redirect(self, redirect) -> None: ...
+ def redirect(self, redirect: Optional[str]) -> None: ...
@property
- def extra(self): ...
+ def extra(self) -> Optional[Dict[str, Any]]: ...
@extra.setter
- def extra(self, extra) -> None: ...
+ def extra(self, extra: Optional[Dict[str, Any]]) -> None: ...
@property
- def edit_extra(self): ...
+ def edit_extra(self) -> Optional[Dict[str, Any]]: ...
@edit_extra.setter
- def edit_extra(self, edit_extra) -> None: ...
+ def edit_extra(self, edit_extra: Optional[Dict[str, Any]]) -> None: ...
def to_dict(self): ...
def to_str(self): ...
def __eq__(self, other): ...