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.py22
1 files changed, 18 insertions, 4 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 9f9a558a..a976a3f6 100644
--- a/python_openapi_client/fatcat_openapi_client/models/file_entity.py
+++ b/python_openapi_client/fatcat_openapi_client/models/file_entity.py
@@ -3,10 +3,10 @@
"""
fatcat
- A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
+ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
OpenAPI spec version: 0.3.0
-
+ Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
@@ -118,7 +118,7 @@ class FileEntity(object):
def releases(self):
"""Gets the releases of this FileEntity. # noqa: E501
- Optional; GET-only # noqa: E501
+ Full release entities, included in GET responses when `releases` included in `expand` parameter. Ignored if included in PUT or POST requests. # noqa: E501
:return: The releases of this FileEntity. # noqa: E501
:rtype: list[ReleaseEntity]
@@ -129,7 +129,7 @@ class FileEntity(object):
def releases(self, releases):
"""Sets the releases of this FileEntity.
- Optional; GET-only # noqa: E501
+ Full release entities, included in GET responses when `releases` included in `expand` parameter. Ignored if included in PUT or POST requests. # noqa: E501
:param releases: The releases of this FileEntity. # noqa: E501
:type: list[ReleaseEntity]
@@ -141,6 +141,7 @@ class FileEntity(object):
def release_ids(self):
"""Gets the release_ids of this FileEntity. # noqa: E501
+ Set of identifier of release entities this file represents a full manifestation of. Usually a single release, but some files contain content of multiple full releases (eg, an issue of a journal). # noqa: E501
:return: The release_ids of this FileEntity. # noqa: E501
:rtype: list[str]
@@ -151,6 +152,7 @@ class FileEntity(object):
def release_ids(self, release_ids):
"""Sets the release_ids of this FileEntity.
+ Set of identifier of release entities this file represents a full manifestation of. Usually a single release, but some files contain content of multiple full releases (eg, an issue of a journal). # noqa: E501
:param release_ids: The release_ids of this FileEntity. # noqa: E501
:type: list[str]
@@ -204,6 +206,7 @@ class FileEntity(object):
def sha256(self):
"""Gets the sha256 of this FileEntity. # noqa: E501
+ SHA-256 hash of data, in hex encoding # noqa: E501
:return: The sha256 of this FileEntity. # noqa: E501
:rtype: str
@@ -214,6 +217,7 @@ class FileEntity(object):
def sha256(self, sha256):
"""Sets the sha256 of this FileEntity.
+ SHA-256 hash of data, in hex encoding # noqa: E501
:param sha256: The sha256 of this FileEntity. # noqa: E501
:type: str
@@ -231,6 +235,7 @@ class FileEntity(object):
def sha1(self):
"""Gets the sha1 of this FileEntity. # noqa: E501
+ SHA-1 hash of data, in hex encoding # noqa: E501
:return: The sha1 of this FileEntity. # noqa: E501
:rtype: str
@@ -241,6 +246,7 @@ class FileEntity(object):
def sha1(self, sha1):
"""Sets the sha1 of this FileEntity.
+ SHA-1 hash of data, in hex encoding # noqa: E501
:param sha1: The sha1 of this FileEntity. # noqa: E501
:type: str
@@ -258,6 +264,7 @@ class FileEntity(object):
def md5(self):
"""Gets the md5 of this FileEntity. # noqa: E501
+ MD5 hash of data, in hex encoding # noqa: E501
:return: The md5 of this FileEntity. # noqa: E501
:rtype: str
@@ -268,6 +275,7 @@ class FileEntity(object):
def md5(self, md5):
"""Sets the md5 of this FileEntity.
+ MD5 hash of data, in hex encoding # noqa: E501
:param md5: The md5 of this FileEntity. # noqa: E501
:type: str
@@ -285,6 +293,7 @@ class FileEntity(object):
def size(self):
"""Gets the size of this FileEntity. # noqa: E501
+ Size of file in bytes. Non-zero. # noqa: E501
:return: The size of this FileEntity. # noqa: E501
:rtype: int
@@ -295,6 +304,7 @@ class FileEntity(object):
def size(self, size):
"""Sets the size of this FileEntity.
+ Size of file in bytes. Non-zero. # noqa: E501
:param size: The size of this FileEntity. # noqa: E501
:type: int
@@ -306,6 +316,7 @@ class FileEntity(object):
def edit_extra(self):
"""Gets the edit_extra of this FileEntity. # noqa: E501
+ Free-form JSON metadata that will be stored with specific entity edits (eg, creation/update/delete). # noqa: E501
:return: The edit_extra of this FileEntity. # noqa: E501
:rtype: object
@@ -316,6 +327,7 @@ class FileEntity(object):
def edit_extra(self, edit_extra):
"""Sets the edit_extra of this FileEntity.
+ Free-form JSON metadata that will be stored with specific entity edits (eg, creation/update/delete). # noqa: E501
:param edit_extra: The edit_extra of this FileEntity. # noqa: E501
:type: object
@@ -327,6 +339,7 @@ class FileEntity(object):
def extra(self):
"""Gets the extra of this FileEntity. # noqa: E501
+ Free-form JSON metadata that will be stored with the other entity metadata. See guide for (unenforced) schema conventions. # noqa: E501
:return: The extra of this FileEntity. # noqa: E501
:rtype: object
@@ -337,6 +350,7 @@ class FileEntity(object):
def extra(self, extra):
"""Sets the extra of this FileEntity.
+ Free-form JSON metadata that will be stored with the other entity metadata. See guide for (unenforced) schema conventions. # noqa: E501
:param extra: The extra of this FileEntity. # noqa: E501
:type: object