diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-22 16:12:01 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-22 16:12:01 -0800 |
commit | 5c7f50b2f497692493bfa54ad4741fdc573352ae (patch) | |
tree | c20cce1884076fffe210ba28e1a569f93ed22827 /python_openapi_client/fatcat_openapi_client/models | |
parent | f3bd82c0308948a63645538bdd9511a503625499 (diff) | |
parent | dd00cec4164c1a1c31c8d9cffb92deb2e30b2211 (diff) | |
download | fatcat-5c7f50b2f497692493bfa54ad4741fdc573352ae.tar.gz fatcat-5c7f50b2f497692493bfa54ad4741fdc573352ae.zip |
Merge branch 'bnewbold-content-scope'
Diffstat (limited to 'python_openapi_client/fatcat_openapi_client/models')
3 files changed, 84 insertions, 6 deletions
diff --git a/python_openapi_client/fatcat_openapi_client/models/file_entity.py b/python_openapi_client/fatcat_openapi_client/models/file_entity.py index e52635a6..d97a0a03 100644 --- a/python_openapi_client/fatcat_openapi_client/models/file_entity.py +++ b/python_openapi_client/fatcat_openapi_client/models/file_entity.py @@ -5,7 +5,7 @@ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501 - The version of the OpenAPI document: 0.3.1 + The version of the OpenAPI document: 0.5.0 Contact: webservices@archive.org Generated by: https://openapi-generator.tech """ @@ -44,6 +44,7 @@ class FileEntity(object): 'sha256': 'str', 'urls': 'list[FileUrl]', 'mimetype': 'str', + 'content_scope': 'str', 'release_ids': 'list[str]', 'releases': 'list[ReleaseEntity]' } @@ -61,11 +62,12 @@ class FileEntity(object): 'sha256': 'sha256', 'urls': 'urls', 'mimetype': 'mimetype', + 'content_scope': 'content_scope', 'release_ids': 'release_ids', 'releases': 'releases' } - def __init__(self, state=None, ident=None, revision=None, redirect=None, extra=None, edit_extra=None, size=None, md5=None, sha1=None, sha256=None, urls=None, mimetype=None, release_ids=None, releases=None): # noqa: E501 + def __init__(self, state=None, ident=None, revision=None, redirect=None, extra=None, edit_extra=None, size=None, md5=None, sha1=None, sha256=None, urls=None, mimetype=None, content_scope=None, release_ids=None, releases=None): # noqa: E501 """FileEntity - a model defined in OpenAPI""" # noqa: E501 self._state = None @@ -80,6 +82,7 @@ class FileEntity(object): self._sha256 = None self._urls = None self._mimetype = None + self._content_scope = None self._release_ids = None self._releases = None self.discriminator = None @@ -108,6 +111,8 @@ class FileEntity(object): self.urls = urls if mimetype is not None: self.mimetype = mimetype + if content_scope is not None: + self.content_scope = content_scope if release_ids is not None: self.release_ids = release_ids if releases is not None: @@ -426,6 +431,27 @@ class FileEntity(object): self._mimetype = mimetype @property + def content_scope(self): + """Gets the content_scope of this FileEntity. # noqa: E501 + + + :return: The content_scope of this FileEntity. # noqa: E501 + :rtype: str + """ + return self._content_scope + + @content_scope.setter + def content_scope(self, content_scope): + """Sets the content_scope of this FileEntity. + + + :param content_scope: The content_scope of this FileEntity. # noqa: E501 + :type: str + """ + + self._content_scope = content_scope + + @property def release_ids(self): """Gets the release_ids of this FileEntity. # noqa: E501 diff --git a/python_openapi_client/fatcat_openapi_client/models/fileset_entity.py b/python_openapi_client/fatcat_openapi_client/models/fileset_entity.py index 51952d2a..dfc0787a 100644 --- a/python_openapi_client/fatcat_openapi_client/models/fileset_entity.py +++ b/python_openapi_client/fatcat_openapi_client/models/fileset_entity.py @@ -5,7 +5,7 @@ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501 - The version of the OpenAPI document: 0.3.1 + The version of the OpenAPI document: 0.5.0 Contact: webservices@archive.org Generated by: https://openapi-generator.tech """ @@ -38,6 +38,7 @@ class FilesetEntity(object): 'redirect': 'str', 'extra': 'dict(str, object)', 'edit_extra': 'dict(str, object)', + 'content_scope': 'str', 'manifest': 'list[FilesetFile]', 'urls': 'list[FilesetUrl]', 'release_ids': 'list[str]', @@ -51,13 +52,14 @@ class FilesetEntity(object): 'redirect': 'redirect', 'extra': 'extra', 'edit_extra': 'edit_extra', + 'content_scope': 'content_scope', 'manifest': 'manifest', 'urls': 'urls', 'release_ids': 'release_ids', 'releases': 'releases' } - def __init__(self, state=None, ident=None, revision=None, redirect=None, extra=None, edit_extra=None, manifest=None, urls=None, release_ids=None, releases=None): # noqa: E501 + def __init__(self, state=None, ident=None, revision=None, redirect=None, extra=None, edit_extra=None, content_scope=None, manifest=None, urls=None, release_ids=None, releases=None): # noqa: E501 """FilesetEntity - a model defined in OpenAPI""" # noqa: E501 self._state = None @@ -66,6 +68,7 @@ class FilesetEntity(object): self._redirect = None self._extra = None self._edit_extra = None + self._content_scope = None self._manifest = None self._urls = None self._release_ids = None @@ -84,6 +87,8 @@ class FilesetEntity(object): self.extra = extra if edit_extra is not None: self.edit_extra = edit_extra + if content_scope is not None: + self.content_scope = content_scope if manifest is not None: self.manifest = manifest if urls is not None: @@ -254,6 +259,27 @@ class FilesetEntity(object): self._edit_extra = edit_extra @property + def content_scope(self): + """Gets the content_scope of this FilesetEntity. # noqa: E501 + + + :return: The content_scope of this FilesetEntity. # noqa: E501 + :rtype: str + """ + return self._content_scope + + @content_scope.setter + def content_scope(self, content_scope): + """Sets the content_scope of this FilesetEntity. + + + :param content_scope: The content_scope of this FilesetEntity. # noqa: E501 + :type: str + """ + + self._content_scope = content_scope + + @property def manifest(self): """Gets the manifest of this FilesetEntity. # noqa: E501 diff --git a/python_openapi_client/fatcat_openapi_client/models/webcapture_entity.py b/python_openapi_client/fatcat_openapi_client/models/webcapture_entity.py index 82363c23..968b0b1c 100644 --- a/python_openapi_client/fatcat_openapi_client/models/webcapture_entity.py +++ b/python_openapi_client/fatcat_openapi_client/models/webcapture_entity.py @@ -5,7 +5,7 @@ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501 - The version of the OpenAPI document: 0.3.1 + The version of the OpenAPI document: 0.5.0 Contact: webservices@archive.org Generated by: https://openapi-generator.tech """ @@ -42,6 +42,7 @@ class WebcaptureEntity(object): 'archive_urls': 'list[WebcaptureUrl]', 'original_url': 'str', 'timestamp': 'datetime', + 'content_scope': 'str', 'release_ids': 'list[str]', 'releases': 'list[ReleaseEntity]' } @@ -57,11 +58,12 @@ class WebcaptureEntity(object): 'archive_urls': 'archive_urls', 'original_url': 'original_url', 'timestamp': 'timestamp', + 'content_scope': 'content_scope', 'release_ids': 'release_ids', 'releases': 'releases' } - def __init__(self, state=None, ident=None, revision=None, redirect=None, extra=None, edit_extra=None, cdx=None, archive_urls=None, original_url=None, timestamp=None, release_ids=None, releases=None): # noqa: E501 + def __init__(self, state=None, ident=None, revision=None, redirect=None, extra=None, edit_extra=None, cdx=None, archive_urls=None, original_url=None, timestamp=None, content_scope=None, release_ids=None, releases=None): # noqa: E501 """WebcaptureEntity - a model defined in OpenAPI""" # noqa: E501 self._state = None @@ -74,6 +76,7 @@ class WebcaptureEntity(object): self._archive_urls = None self._original_url = None self._timestamp = None + self._content_scope = None self._release_ids = None self._releases = None self.discriminator = None @@ -98,6 +101,8 @@ class WebcaptureEntity(object): self.original_url = original_url if timestamp is not None: self.timestamp = timestamp + if content_scope is not None: + self.content_scope = content_scope if release_ids is not None: self.release_ids = release_ids if releases is not None: @@ -352,6 +357,27 @@ class WebcaptureEntity(object): self._timestamp = timestamp @property + def content_scope(self): + """Gets the content_scope of this WebcaptureEntity. # noqa: E501 + + + :return: The content_scope of this WebcaptureEntity. # noqa: E501 + :rtype: str + """ + return self._content_scope + + @content_scope.setter + def content_scope(self, content_scope): + """Sets the content_scope of this WebcaptureEntity. + + + :param content_scope: The content_scope of this WebcaptureEntity. # noqa: E501 + :type: str + """ + + self._content_scope = content_scope + + @property def release_ids(self): """Gets the release_ids of this WebcaptureEntity. # noqa: E501 |