aboutsummaryrefslogtreecommitdiffstats
path: root/python_openapi_client/fatcat_openapi_client/models/file_entity.py
diff options
context:
space:
mode:
Diffstat (limited to 'python_openapi_client/fatcat_openapi_client/models/file_entity.py')
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/file_entity.py30
1 files changed, 28 insertions, 2 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