aboutsummaryrefslogtreecommitdiffstats
path: root/python_openapi_client/fatcat_openapi_client/models/fileset_file.py
diff options
context:
space:
mode:
Diffstat (limited to 'python_openapi_client/fatcat_openapi_client/models/fileset_file.py')
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/fileset_file.py34
1 files changed, 30 insertions, 4 deletions
diff --git a/python_openapi_client/fatcat_openapi_client/models/fileset_file.py b/python_openapi_client/fatcat_openapi_client/models/fileset_file.py
index 15afd2f1..0741f9a5 100644
--- a/python_openapi_client/fatcat_openapi_client/models/fileset_file.py
+++ b/python_openapi_client/fatcat_openapi_client/models/fileset_file.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.4.0
Contact: webservices@archive.org
Generated by: https://openapi-generator.tech
"""
@@ -37,6 +37,7 @@ class FilesetFile(object):
'md5': 'str',
'sha1': 'str',
'sha256': 'str',
+ 'mimetype': 'str',
'extra': 'dict(str, object)'
}
@@ -46,10 +47,11 @@ class FilesetFile(object):
'md5': 'md5',
'sha1': 'sha1',
'sha256': 'sha256',
+ 'mimetype': 'mimetype',
'extra': 'extra'
}
- def __init__(self, path=None, size=None, md5=None, sha1=None, sha256=None, extra=None): # noqa: E501
+ def __init__(self, path=None, size=None, md5=None, sha1=None, sha256=None, mimetype=None, extra=None): # noqa: E501
"""FilesetFile - a model defined in OpenAPI""" # noqa: E501
self._path = None
@@ -57,6 +59,7 @@ class FilesetFile(object):
self._md5 = None
self._sha1 = None
self._sha256 = None
+ self._mimetype = None
self._extra = None
self.discriminator = None
@@ -68,6 +71,8 @@ class FilesetFile(object):
self.sha1 = sha1
if sha256 is not None:
self.sha256 = sha256
+ if mimetype is not None:
+ self.mimetype = mimetype
if extra is not None:
self.extra = extra
@@ -209,10 +214,31 @@ class FilesetFile(object):
self._sha256 = sha256
@property
+ def mimetype(self):
+ """Gets the mimetype of this FilesetFile. # noqa: E501
+
+
+ :return: The mimetype of this FilesetFile. # noqa: E501
+ :rtype: str
+ """
+ return self._mimetype
+
+ @mimetype.setter
+ def mimetype(self, mimetype):
+ """Sets the mimetype of this FilesetFile.
+
+
+ :param mimetype: The mimetype of this FilesetFile. # noqa: E501
+ :type: str
+ """
+
+ self._mimetype = mimetype
+
+ @property
def extra(self):
"""Gets the extra of this FilesetFile. # noqa: E501
- Free-form additional metadata about this specific file in the set. Eg, `mimetype`. See guide for nomative (but unenforced) schema fields. # noqa: E501
+ Free-form additional metadata about this specific file in the set. Eg, `original_url`. See guide for nomative (but unenforced) schema fields. # noqa: E501
:return: The extra of this FilesetFile. # noqa: E501
:rtype: dict(str, object)
@@ -223,7 +249,7 @@ class FilesetFile(object):
def extra(self, extra):
"""Sets the extra of this FilesetFile.
- Free-form additional metadata about this specific file in the set. Eg, `mimetype`. See guide for nomative (but unenforced) schema fields. # noqa: E501
+ Free-form additional metadata about this specific file in the set. Eg, `original_url`. See guide for nomative (but unenforced) schema fields. # noqa: E501
:param extra: The extra of this FilesetFile. # noqa: E501
:type: dict(str, object)