summaryrefslogtreecommitdiffstats
path: root/python_client/fatcat_client
diff options
context:
space:
mode:
Diffstat (limited to 'python_client/fatcat_client')
-rw-r--r--python_client/fatcat_client/models/file_entity_urls.py140
-rw-r--r--python_client/fatcat_client/models/fileset_entity_manifest.py262
-rw-r--r--python_client/fatcat_client/models/release_entity_abstracts.py196
-rw-r--r--python_client/fatcat_client/models/release_entity_ext_ids.py346
-rw-r--r--python_client/fatcat_client/models/stats_response.py112
-rw-r--r--python_client/fatcat_client/models/webcapture_entity_archive_urls.py140
-rw-r--r--python_client/fatcat_client/models/webcapture_entity_cdx.py312
7 files changed, 0 insertions, 1508 deletions
diff --git a/python_client/fatcat_client/models/file_entity_urls.py b/python_client/fatcat_client/models/file_entity_urls.py
deleted file mode 100644
index 723c9409..00000000
--- a/python_client/fatcat_client/models/file_entity_urls.py
+++ /dev/null
@@ -1,140 +0,0 @@
-# coding: utf-8
-
-"""
- fatcat
-
- A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
-
- OpenAPI spec version: 0.2.0
-
- Generated by: https://github.com/swagger-api/swagger-codegen.git
-"""
-
-
-import pprint
-import re # noqa: F401
-
-import six
-
-
-class FileEntityUrls(object):
- """NOTE: This class is auto generated by the swagger code generator program.
-
- Do not edit the class manually.
- """
-
- """
- Attributes:
- swagger_types (dict): The key is attribute name
- and the value is attribute type.
- attribute_map (dict): The key is attribute name
- and the value is json key in definition.
- """
- swagger_types = {
- 'url': 'str',
- 'rel': 'str'
- }
-
- attribute_map = {
- 'url': 'url',
- 'rel': 'rel'
- }
-
- def __init__(self, url=None, rel=None): # noqa: E501
- """FileEntityUrls - a model defined in Swagger""" # noqa: E501
-
- self._url = None
- self._rel = None
- self.discriminator = None
-
- self.url = url
- self.rel = rel
-
- @property
- def url(self):
- """Gets the url of this FileEntityUrls. # noqa: E501
-
-
- :return: The url of this FileEntityUrls. # noqa: E501
- :rtype: str
- """
- return self._url
-
- @url.setter
- def url(self, url):
- """Sets the url of this FileEntityUrls.
-
-
- :param url: The url of this FileEntityUrls. # noqa: E501
- :type: str
- """
- if url is None:
- raise ValueError("Invalid value for `url`, must not be `None`") # noqa: E501
-
- self._url = url
-
- @property
- def rel(self):
- """Gets the rel of this FileEntityUrls. # noqa: E501
-
-
- :return: The rel of this FileEntityUrls. # noqa: E501
- :rtype: str
- """
- return self._rel
-
- @rel.setter
- def rel(self, rel):
- """Sets the rel of this FileEntityUrls.
-
-
- :param rel: The rel of this FileEntityUrls. # noqa: E501
- :type: str
- """
- if rel is None:
- raise ValueError("Invalid value for `rel`, must not be `None`") # noqa: E501
-
- self._rel = rel
-
- def to_dict(self):
- """Returns the model properties as a dict"""
- result = {}
-
- for attr, _ in six.iteritems(self.swagger_types):
- value = getattr(self, attr)
- if isinstance(value, list):
- result[attr] = list(map(
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
- value
- ))
- elif hasattr(value, "to_dict"):
- result[attr] = value.to_dict()
- elif isinstance(value, dict):
- result[attr] = dict(map(
- lambda item: (item[0], item[1].to_dict())
- if hasattr(item[1], "to_dict") else item,
- value.items()
- ))
- else:
- result[attr] = value
-
- return result
-
- def to_str(self):
- """Returns the string representation of the model"""
- return pprint.pformat(self.to_dict())
-
- def __repr__(self):
- """For `print` and `pprint`"""
- return self.to_str()
-
- def __eq__(self, other):
- """Returns true if both objects are equal"""
- if not isinstance(other, FileEntityUrls):
- return False
-
- return self.__dict__ == other.__dict__
-
- def __ne__(self, other):
- """Returns true if both objects are not equal"""
- return not self == other
diff --git a/python_client/fatcat_client/models/fileset_entity_manifest.py b/python_client/fatcat_client/models/fileset_entity_manifest.py
deleted file mode 100644
index e759ec55..00000000
--- a/python_client/fatcat_client/models/fileset_entity_manifest.py
+++ /dev/null
@@ -1,262 +0,0 @@
-# coding: utf-8
-
-"""
- fatcat
-
- A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
-
- OpenAPI spec version: 0.2.0
-
- Generated by: https://github.com/swagger-api/swagger-codegen.git
-"""
-
-
-import pprint
-import re # noqa: F401
-
-import six
-
-
-class FilesetEntityManifest(object):
- """NOTE: This class is auto generated by the swagger code generator program.
-
- Do not edit the class manually.
- """
-
- """
- Attributes:
- swagger_types (dict): The key is attribute name
- and the value is attribute type.
- attribute_map (dict): The key is attribute name
- and the value is json key in definition.
- """
- swagger_types = {
- 'path': 'str',
- 'size': 'int',
- 'md5': 'str',
- 'sha1': 'str',
- 'sha256': 'str',
- 'extra': 'object'
- }
-
- attribute_map = {
- 'path': 'path',
- 'size': 'size',
- 'md5': 'md5',
- 'sha1': 'sha1',
- 'sha256': 'sha256',
- 'extra': 'extra'
- }
-
- def __init__(self, path=None, size=None, md5=None, sha1=None, sha256=None, extra=None): # noqa: E501
- """FilesetEntityManifest - a model defined in Swagger""" # noqa: E501
-
- self._path = None
- self._size = None
- self._md5 = None
- self._sha1 = None
- self._sha256 = None
- self._extra = None
- self.discriminator = None
-
- self.path = path
- self.size = size
- if md5 is not None:
- self.md5 = md5
- if sha1 is not None:
- self.sha1 = sha1
- if sha256 is not None:
- self.sha256 = sha256
- if extra is not None:
- self.extra = extra
-
- @property
- def path(self):
- """Gets the path of this FilesetEntityManifest. # noqa: E501
-
-
- :return: The path of this FilesetEntityManifest. # noqa: E501
- :rtype: str
- """
- return self._path
-
- @path.setter
- def path(self, path):
- """Sets the path of this FilesetEntityManifest.
-
-
- :param path: The path of this FilesetEntityManifest. # noqa: E501
- :type: str
- """
- if path is None:
- raise ValueError("Invalid value for `path`, must not be `None`") # noqa: E501
-
- self._path = path
-
- @property
- def size(self):
- """Gets the size of this FilesetEntityManifest. # noqa: E501
-
-
- :return: The size of this FilesetEntityManifest. # noqa: E501
- :rtype: int
- """
- return self._size
-
- @size.setter
- def size(self, size):
- """Sets the size of this FilesetEntityManifest.
-
-
- :param size: The size of this FilesetEntityManifest. # noqa: E501
- :type: int
- """
- if size is None:
- raise ValueError("Invalid value for `size`, must not be `None`") # noqa: E501
-
- self._size = size
-
- @property
- def md5(self):
- """Gets the md5 of this FilesetEntityManifest. # noqa: E501
-
-
- :return: The md5 of this FilesetEntityManifest. # noqa: E501
- :rtype: str
- """
- return self._md5
-
- @md5.setter
- def md5(self, md5):
- """Sets the md5 of this FilesetEntityManifest.
-
-
- :param md5: The md5 of this FilesetEntityManifest. # noqa: E501
- :type: str
- """
- if md5 is not None and len(md5) > 32:
- raise ValueError("Invalid value for `md5`, length must be less than or equal to `32`") # noqa: E501
- if md5 is not None and len(md5) < 32:
- raise ValueError("Invalid value for `md5`, length must be greater than or equal to `32`") # noqa: E501
- if md5 is not None and not re.search('[a-f0-9]{32}', md5): # noqa: E501
- raise ValueError("Invalid value for `md5`, must be a follow pattern or equal to `/[a-f0-9]{32}/`") # noqa: E501
-
- self._md5 = md5
-
- @property
- def sha1(self):
- """Gets the sha1 of this FilesetEntityManifest. # noqa: E501
-
-
- :return: The sha1 of this FilesetEntityManifest. # noqa: E501
- :rtype: str
- """
- return self._sha1
-
- @sha1.setter
- def sha1(self, sha1):
- """Sets the sha1 of this FilesetEntityManifest.
-
-
- :param sha1: The sha1 of this FilesetEntityManifest. # noqa: E501
- :type: str
- """
- if sha1 is not None and len(sha1) > 40:
- raise ValueError("Invalid value for `sha1`, length must be less than or equal to `40`") # noqa: E501
- if sha1 is not None and len(sha1) < 40:
- raise ValueError("Invalid value for `sha1`, length must be greater than or equal to `40`") # noqa: E501
- if sha1 is not None and not re.search('[a-f0-9]{40}', sha1): # noqa: E501
- raise ValueError("Invalid value for `sha1`, must be a follow pattern or equal to `/[a-f0-9]{40}/`") # noqa: E501
-
- self._sha1 = sha1
-
- @property
- def sha256(self):
- """Gets the sha256 of this FilesetEntityManifest. # noqa: E501
-
-
- :return: The sha256 of this FilesetEntityManifest. # noqa: E501
- :rtype: str
- """
- return self._sha256
-
- @sha256.setter
- def sha256(self, sha256):
- """Sets the sha256 of this FilesetEntityManifest.
-
-
- :param sha256: The sha256 of this FilesetEntityManifest. # noqa: E501
- :type: str
- """
- if sha256 is not None and len(sha256) > 64:
- raise ValueError("Invalid value for `sha256`, length must be less than or equal to `64`") # noqa: E501
- if sha256 is not None and len(sha256) < 64:
- raise ValueError("Invalid value for `sha256`, length must be greater than or equal to `64`") # noqa: E501
- if sha256 is not None and not re.search('[a-f0-9]{64}', sha256): # noqa: E501
- raise ValueError("Invalid value for `sha256`, must be a follow pattern or equal to `/[a-f0-9]{64}/`") # noqa: E501
-
- self._sha256 = sha256
-
- @property
- def extra(self):
- """Gets the extra of this FilesetEntityManifest. # noqa: E501
-
-
- :return: The extra of this FilesetEntityManifest. # noqa: E501
- :rtype: object
- """
- return self._extra
-
- @extra.setter
- def extra(self, extra):
- """Sets the extra of this FilesetEntityManifest.
-
-
- :param extra: The extra of this FilesetEntityManifest. # noqa: E501
- :type: object
- """
-
- self._extra = extra
-
- def to_dict(self):
- """Returns the model properties as a dict"""
- result = {}
-
- for attr, _ in six.iteritems(self.swagger_types):
- value = getattr(self, attr)
- if isinstance(value, list):
- result[attr] = list(map(
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
- value
- ))
- elif hasattr(value, "to_dict"):
- result[attr] = value.to_dict()
- elif isinstance(value, dict):
- result[attr] = dict(map(
- lambda item: (item[0], item[1].to_dict())
- if hasattr(item[1], "to_dict") else item,
- value.items()
- ))
- else:
- result[attr] = value
-
- return result
-
- def to_str(self):
- """Returns the string representation of the model"""
- return pprint.pformat(self.to_dict())
-
- def __repr__(self):
- """For `print` and `pprint`"""
- return self.to_str()
-
- def __eq__(self, other):
- """Returns true if both objects are equal"""
- if not isinstance(other, FilesetEntityManifest):
- return False
-
- return self.__dict__ == other.__dict__
-
- def __ne__(self, other):
- """Returns true if both objects are not equal"""
- return not self == other
diff --git a/python_client/fatcat_client/models/release_entity_abstracts.py b/python_client/fatcat_client/models/release_entity_abstracts.py
deleted file mode 100644
index 393db9e6..00000000
--- a/python_client/fatcat_client/models/release_entity_abstracts.py
+++ /dev/null
@@ -1,196 +0,0 @@
-# coding: utf-8
-
-"""
- fatcat
-
- A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
-
- OpenAPI spec version: 0.2.0
-
- Generated by: https://github.com/swagger-api/swagger-codegen.git
-"""
-
-
-import pprint
-import re # noqa: F401
-
-import six
-
-
-class ReleaseEntityAbstracts(object):
- """NOTE: This class is auto generated by the swagger code generator program.
-
- Do not edit the class manually.
- """
-
- """
- Attributes:
- swagger_types (dict): The key is attribute name
- and the value is attribute type.
- attribute_map (dict): The key is attribute name
- and the value is json key in definition.
- """
- swagger_types = {
- 'sha1': 'str',
- 'content': 'str',
- 'mimetype': 'str',
- 'lang': 'str'
- }
-
- attribute_map = {
- 'sha1': 'sha1',
- 'content': 'content',
- 'mimetype': 'mimetype',
- 'lang': 'lang'
- }
-
- def __init__(self, sha1=None, content=None, mimetype=None, lang=None): # noqa: E501
- """ReleaseEntityAbstracts - a model defined in Swagger""" # noqa: E501
-
- self._sha1 = None
- self._content = None
- self._mimetype = None
- self._lang = None
- self.discriminator = None
-
- if sha1 is not None:
- self.sha1 = sha1
- if content is not None:
- self.content = content
- if mimetype is not None:
- self.mimetype = mimetype
- if lang is not None:
- self.lang = lang
-
- @property
- def sha1(self):
- """Gets the sha1 of this ReleaseEntityAbstracts. # noqa: E501
-
-
- :return: The sha1 of this ReleaseEntityAbstracts. # noqa: E501
- :rtype: str
- """
- return self._sha1
-
- @sha1.setter
- def sha1(self, sha1):
- """Sets the sha1 of this ReleaseEntityAbstracts.
-
-
- :param sha1: The sha1 of this ReleaseEntityAbstracts. # noqa: E501
- :type: str
- """
- if sha1 is not None and len(sha1) > 40:
- raise ValueError("Invalid value for `sha1`, length must be less than or equal to `40`") # noqa: E501
- if sha1 is not None and len(sha1) < 40:
- raise ValueError("Invalid value for `sha1`, length must be greater than or equal to `40`") # noqa: E501
- if sha1 is not None and not re.search('[a-f0-9]{40}', sha1): # noqa: E501
- raise ValueError("Invalid value for `sha1`, must be a follow pattern or equal to `/[a-f0-9]{40}/`") # noqa: E501
-
- self._sha1 = sha1
-
- @property
- def content(self):
- """Gets the content of this ReleaseEntityAbstracts. # noqa: E501
-
-
- :return: The content of this ReleaseEntityAbstracts. # noqa: E501
- :rtype: str
- """
- return self._content
-
- @content.setter
- def content(self, content):
- """Sets the content of this ReleaseEntityAbstracts.
-
-
- :param content: The content of this ReleaseEntityAbstracts. # noqa: E501
- :type: str
- """
-
- self._content = content
-
- @property
- def mimetype(self):
- """Gets the mimetype of this ReleaseEntityAbstracts. # noqa: E501
-
-
- :return: The mimetype of this ReleaseEntityAbstracts. # noqa: E501
- :rtype: str
- """
- return self._mimetype
-
- @mimetype.setter
- def mimetype(self, mimetype):
- """Sets the mimetype of this ReleaseEntityAbstracts.
-
-
- :param mimetype: The mimetype of this ReleaseEntityAbstracts. # noqa: E501
- :type: str
- """
-
- self._mimetype = mimetype
-
- @property
- def lang(self):
- """Gets the lang of this ReleaseEntityAbstracts. # noqa: E501
-
-
- :return: The lang of this ReleaseEntityAbstracts. # noqa: E501
- :rtype: str
- """
- return self._lang
-
- @lang.setter
- def lang(self, lang):
- """Sets the lang of this ReleaseEntityAbstracts.
-
-
- :param lang: The lang of this ReleaseEntityAbstracts. # noqa: E501
- :type: str
- """
-
- self._lang = lang
-
- def to_dict(self):
- """Returns the model properties as a dict"""
- result = {}
-
- for attr, _ in six.iteritems(self.swagger_types):
- value = getattr(self, attr)
- if isinstance(value, list):
- result[attr] = list(map(
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
- value
- ))
- elif hasattr(value, "to_dict"):
- result[attr] = value.to_dict()
- elif isinstance(value, dict):
- result[attr] = dict(map(
- lambda item: (item[0], item[1].to_dict())
- if hasattr(item[1], "to_dict") else item,
- value.items()
- ))
- else:
- result[attr] = value
-
- return result
-
- def to_str(self):
- """Returns the string representation of the model"""
- return pprint.pformat(self.to_dict())
-
- def __repr__(self):
- """For `print` and `pprint`"""
- return self.to_str()
-
- def __eq__(self, other):
- """Returns true if both objects are equal"""
- if not isinstance(other, ReleaseEntityAbstracts):
- return False
-
- return self.__dict__ == other.__dict__
-
- def __ne__(self, other):
- """Returns true if both objects are not equal"""
- return not self == other
diff --git a/python_client/fatcat_client/models/release_entity_ext_ids.py b/python_client/fatcat_client/models/release_entity_ext_ids.py
deleted file mode 100644
index c7bcf6fe..00000000
--- a/python_client/fatcat_client/models/release_entity_ext_ids.py
+++ /dev/null
@@ -1,346 +0,0 @@
-# coding: utf-8
-
-"""
- fatcat
-
- A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
-
- OpenAPI spec version: 0.2.0
-
- Generated by: https://github.com/swagger-api/swagger-codegen.git
-"""
-
-
-import pprint
-import re # noqa: F401
-
-import six
-
-
-class ReleaseEntityExtIds(object):
- """NOTE: This class is auto generated by the swagger code generator program.
-
- Do not edit the class manually.
- """
-
- """
- Attributes:
- swagger_types (dict): The key is attribute name
- and the value is attribute type.
- attribute_map (dict): The key is attribute name
- and the value is json key in definition.
- """
- swagger_types = {
- 'doi': 'str',
- 'wikidata_qid': 'str',
- 'isbn13': 'str',
- 'pmid': 'str',
- 'pmcid': 'str',
- 'core': 'str',
- 'arxiv': 'str',
- 'jstor': 'str',
- 'ark': 'str',
- 'mag': 'str'
- }
-
- attribute_map = {
- 'doi': 'doi',
- 'wikidata_qid': 'wikidata_qid',
- 'isbn13': 'isbn13',
- 'pmid': 'pmid',
- 'pmcid': 'pmcid',
- 'core': 'core',
- 'arxiv': 'arxiv',
- 'jstor': 'jstor',
- 'ark': 'ark',
- 'mag': 'mag'
- }
-
- def __init__(self, doi=None, wikidata_qid=None, isbn13=None, pmid=None, pmcid=None, core=None, arxiv=None, jstor=None, ark=None, mag=None): # noqa: E501
- """ReleaseEntityExtIds - a model defined in Swagger""" # noqa: E501
-
- self._doi = None
- self._wikidata_qid = None
- self._isbn13 = None
- self._pmid = None
- self._pmcid = None
- self._core = None
- self._arxiv = None
- self._jstor = None
- self._ark = None
- self._mag = None
- self.discriminator = None
-
- if doi is not None:
- self.doi = doi
- if wikidata_qid is not None:
- self.wikidata_qid = wikidata_qid
- if isbn13 is not None:
- self.isbn13 = isbn13
- if pmid is not None:
- self.pmid = pmid
- if pmcid is not None:
- self.pmcid = pmcid
- if core is not None:
- self.core = core
- if arxiv is not None:
- self.arxiv = arxiv
- if jstor is not None:
- self.jstor = jstor
- if ark is not None:
- self.ark = ark
- if mag is not None:
- self.mag = mag
-
- @property
- def doi(self):
- """Gets the doi of this ReleaseEntityExtIds. # noqa: E501
-
-
- :return: The doi of this ReleaseEntityExtIds. # noqa: E501
- :rtype: str
- """
- return self._doi
-
- @doi.setter
- def doi(self, doi):
- """Sets the doi of this ReleaseEntityExtIds.
-
-
- :param doi: The doi of this ReleaseEntityExtIds. # noqa: E501
- :type: str
- """
-
- self._doi = doi
-
- @property
- def wikidata_qid(self):
- """Gets the wikidata_qid of this ReleaseEntityExtIds. # noqa: E501
-
-
- :return: The wikidata_qid of this ReleaseEntityExtIds. # noqa: E501
- :rtype: str
- """
- return self._wikidata_qid
-
- @wikidata_qid.setter
- def wikidata_qid(self, wikidata_qid):
- """Sets the wikidata_qid of this ReleaseEntityExtIds.
-
-
- :param wikidata_qid: The wikidata_qid of this ReleaseEntityExtIds. # noqa: E501
- :type: str
- """
-
- self._wikidata_qid = wikidata_qid
-
- @property
- def isbn13(self):
- """Gets the isbn13 of this ReleaseEntityExtIds. # noqa: E501
-
-
- :return: The isbn13 of this ReleaseEntityExtIds. # noqa: E501
- :rtype: str
- """
- return self._isbn13
-
- @isbn13.setter
- def isbn13(self, isbn13):
- """Sets the isbn13 of this ReleaseEntityExtIds.
-
-
- :param isbn13: The isbn13 of this ReleaseEntityExtIds. # noqa: E501
- :type: str
- """
-
- self._isbn13 = isbn13
-
- @property
- def pmid(self):
- """Gets the pmid of this ReleaseEntityExtIds. # noqa: E501
-
-
- :return: The pmid of this ReleaseEntityExtIds. # noqa: E501
- :rtype: str
- """
- return self._pmid
-
- @pmid.setter
- def pmid(self, pmid):
- """Sets the pmid of this ReleaseEntityExtIds.
-
-
- :param pmid: The pmid of this ReleaseEntityExtIds. # noqa: E501
- :type: str
- """
-
- self._pmid = pmid
-
- @property
- def pmcid(self):
- """Gets the pmcid of this ReleaseEntityExtIds. # noqa: E501
-
-
- :return: The pmcid of this ReleaseEntityExtIds. # noqa: E501
- :rtype: str
- """
- return self._pmcid
-
- @pmcid.setter
- def pmcid(self, pmcid):
- """Sets the pmcid of this ReleaseEntityExtIds.
-
-
- :param pmcid: The pmcid of this ReleaseEntityExtIds. # noqa: E501
- :type: str
- """
-
- self._pmcid = pmcid
-
- @property
- def core(self):
- """Gets the core of this ReleaseEntityExtIds. # noqa: E501
-
-
- :return: The core of this ReleaseEntityExtIds. # noqa: E501
- :rtype: str
- """
- return self._core
-
- @core.setter
- def core(self, core):
- """Sets the core of this ReleaseEntityExtIds.
-
-
- :param core: The core of this ReleaseEntityExtIds. # noqa: E501
- :type: str
- """
-
- self._core = core
-
- @property
- def arxiv(self):
- """Gets the arxiv of this ReleaseEntityExtIds. # noqa: E501
-
-
- :return: The arxiv of this ReleaseEntityExtIds. # noqa: E501
- :rtype: str
- """
- return self._arxiv
-
- @arxiv.setter
- def arxiv(self, arxiv):
- """Sets the arxiv of this ReleaseEntityExtIds.
-
-
- :param arxiv: The arxiv of this ReleaseEntityExtIds. # noqa: E501
- :type: str
- """
-
- self._arxiv = arxiv
-
- @property
- def jstor(self):
- """Gets the jstor of this ReleaseEntityExtIds. # noqa: E501
-
-
- :return: The jstor of this ReleaseEntityExtIds. # noqa: E501
- :rtype: str
- """
- return self._jstor
-
- @jstor.setter
- def jstor(self, jstor):
- """Sets the jstor of this ReleaseEntityExtIds.
-
-
- :param jstor: The jstor of this ReleaseEntityExtIds. # noqa: E501
- :type: str
- """
-
- self._jstor = jstor
-
- @property
- def ark(self):
- """Gets the ark of this ReleaseEntityExtIds. # noqa: E501
-
-
- :return: The ark of this ReleaseEntityExtIds. # noqa: E501
- :rtype: str
- """
- return self._ark
-
- @ark.setter
- def ark(self, ark):
- """Sets the ark of this ReleaseEntityExtIds.
-
-
- :param ark: The ark of this ReleaseEntityExtIds. # noqa: E501
- :type: str
- """
-
- self._ark = ark
-
- @property
- def mag(self):
- """Gets the mag of this ReleaseEntityExtIds. # noqa: E501
-
-
- :return: The mag of this ReleaseEntityExtIds. # noqa: E501
- :rtype: str
- """
- return self._mag
-
- @mag.setter
- def mag(self, mag):
- """Sets the mag of this ReleaseEntityExtIds.
-
-
- :param mag: The mag of this ReleaseEntityExtIds. # noqa: E501
- :type: str
- """
-
- self._mag = mag
-
- def to_dict(self):
- """Returns the model properties as a dict"""
- result = {}
-
- for attr, _ in six.iteritems(self.swagger_types):
- value = getattr(self, attr)
- if isinstance(value, list):
- result[attr] = list(map(
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
- value
- ))
- elif hasattr(value, "to_dict"):
- result[attr] = value.to_dict()
- elif isinstance(value, dict):
- result[attr] = dict(map(
- lambda item: (item[0], item[1].to_dict())
- if hasattr(item[1], "to_dict") else item,
- value.items()
- ))
- else:
- result[attr] = value
-
- return result
-
- def to_str(self):
- """Returns the string representation of the model"""
- return pprint.pformat(self.to_dict())
-
- def __repr__(self):
- """For `print` and `pprint`"""
- return self.to_str()
-
- def __eq__(self, other):
- """Returns true if both objects are equal"""
- if not isinstance(other, ReleaseEntityExtIds):
- return False
-
- return self.__dict__ == other.__dict__
-
- def __ne__(self, other):
- """Returns true if both objects are not equal"""
- return not self == other
diff --git a/python_client/fatcat_client/models/stats_response.py b/python_client/fatcat_client/models/stats_response.py
deleted file mode 100644
index 0a1a6513..00000000
--- a/python_client/fatcat_client/models/stats_response.py
+++ /dev/null
@@ -1,112 +0,0 @@
-# coding: utf-8
-
-"""
- fatcat
-
- A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
-
- OpenAPI spec version: 0.1.0
-
- Generated by: https://github.com/swagger-api/swagger-codegen.git
-"""
-
-
-import pprint
-import re # noqa: F401
-
-import six
-
-
-class StatsResponse(object):
- """NOTE: This class is auto generated by the swagger code generator program.
-
- Do not edit the class manually.
- """
-
- """
- Attributes:
- swagger_types (dict): The key is attribute name
- and the value is attribute type.
- attribute_map (dict): The key is attribute name
- and the value is json key in definition.
- """
- swagger_types = {
- 'extra': 'object'
- }
-
- attribute_map = {
- 'extra': 'extra'
- }
-
- def __init__(self, extra=None): # noqa: E501
- """StatsResponse - a model defined in Swagger""" # noqa: E501
-
- self._extra = None
- self.discriminator = None
-
- if extra is not None:
- self.extra = extra
-
- @property
- def extra(self):
- """Gets the extra of this StatsResponse. # noqa: E501
-
-
- :return: The extra of this StatsResponse. # noqa: E501
- :rtype: object
- """
- return self._extra
-
- @extra.setter
- def extra(self, extra):
- """Sets the extra of this StatsResponse.
-
-
- :param extra: The extra of this StatsResponse. # noqa: E501
- :type: object
- """
-
- self._extra = extra
-
- def to_dict(self):
- """Returns the model properties as a dict"""
- result = {}
-
- for attr, _ in six.iteritems(self.swagger_types):
- value = getattr(self, attr)
- if isinstance(value, list):
- result[attr] = list(map(
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
- value
- ))
- elif hasattr(value, "to_dict"):
- result[attr] = value.to_dict()
- elif isinstance(value, dict):
- result[attr] = dict(map(
- lambda item: (item[0], item[1].to_dict())
- if hasattr(item[1], "to_dict") else item,
- value.items()
- ))
- else:
- result[attr] = value
-
- return result
-
- def to_str(self):
- """Returns the string representation of the model"""
- return pprint.pformat(self.to_dict())
-
- def __repr__(self):
- """For `print` and `pprint`"""
- return self.to_str()
-
- def __eq__(self, other):
- """Returns true if both objects are equal"""
- if not isinstance(other, StatsResponse):
- return False
-
- return self.__dict__ == other.__dict__
-
- def __ne__(self, other):
- """Returns true if both objects are not equal"""
- return not self == other
diff --git a/python_client/fatcat_client/models/webcapture_entity_archive_urls.py b/python_client/fatcat_client/models/webcapture_entity_archive_urls.py
deleted file mode 100644
index 16490adc..00000000
--- a/python_client/fatcat_client/models/webcapture_entity_archive_urls.py
+++ /dev/null
@@ -1,140 +0,0 @@
-# coding: utf-8
-
-"""
- fatcat
-
- A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
-
- OpenAPI spec version: 0.2.0
-
- Generated by: https://github.com/swagger-api/swagger-codegen.git
-"""
-
-
-import pprint
-import re # noqa: F401
-
-import six
-
-
-class WebcaptureEntityArchiveUrls(object):
- """NOTE: This class is auto generated by the swagger code generator program.
-
- Do not edit the class manually.
- """
-
- """
- Attributes:
- swagger_types (dict): The key is attribute name
- and the value is attribute type.
- attribute_map (dict): The key is attribute name
- and the value is json key in definition.
- """
- swagger_types = {
- 'url': 'str',
- 'rel': 'str'
- }
-
- attribute_map = {
- 'url': 'url',
- 'rel': 'rel'
- }
-
- def __init__(self, url=None, rel=None): # noqa: E501
- """WebcaptureEntityArchiveUrls - a model defined in Swagger""" # noqa: E501
-
- self._url = None
- self._rel = None
- self.discriminator = None
-
- self.url = url
- self.rel = rel
-
- @property
- def url(self):
- """Gets the url of this WebcaptureEntityArchiveUrls. # noqa: E501
-
-
- :return: The url of this WebcaptureEntityArchiveUrls. # noqa: E501
- :rtype: str
- """
- return self._url
-
- @url.setter
- def url(self, url):
- """Sets the url of this WebcaptureEntityArchiveUrls.
-
-
- :param url: The url of this WebcaptureEntityArchiveUrls. # noqa: E501
- :type: str
- """
- if url is None:
- raise ValueError("Invalid value for `url`, must not be `None`") # noqa: E501
-
- self._url = url
-
- @property
- def rel(self):
- """Gets the rel of this WebcaptureEntityArchiveUrls. # noqa: E501
-
-
- :return: The rel of this WebcaptureEntityArchiveUrls. # noqa: E501
- :rtype: str
- """
- return self._rel
-
- @rel.setter
- def rel(self, rel):
- """Sets the rel of this WebcaptureEntityArchiveUrls.
-
-
- :param rel: The rel of this WebcaptureEntityArchiveUrls. # noqa: E501
- :type: str
- """
- if rel is None:
- raise ValueError("Invalid value for `rel`, must not be `None`") # noqa: E501
-
- self._rel = rel
-
- def to_dict(self):
- """Returns the model properties as a dict"""
- result = {}
-
- for attr, _ in six.iteritems(self.swagger_types):
- value = getattr(self, attr)
- if isinstance(value, list):
- result[attr] = list(map(
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
- value
- ))
- elif hasattr(value, "to_dict"):
- result[attr] = value.to_dict()
- elif isinstance(value, dict):
- result[attr] = dict(map(
- lambda item: (item[0], item[1].to_dict())
- if hasattr(item[1], "to_dict") else item,
- value.items()
- ))
- else:
- result[attr] = value
-
- return result
-
- def to_str(self):
- """Returns the string representation of the model"""
- return pprint.pformat(self.to_dict())
-
- def __repr__(self):
- """For `print` and `pprint`"""
- return self.to_str()
-
- def __eq__(self, other):
- """Returns true if both objects are equal"""
- if not isinstance(other, WebcaptureEntityArchiveUrls):
- return False
-
- return self.__dict__ == other.__dict__
-
- def __ne__(self, other):
- """Returns true if both objects are not equal"""
- return not self == other
diff --git a/python_client/fatcat_client/models/webcapture_entity_cdx.py b/python_client/fatcat_client/models/webcapture_entity_cdx.py
deleted file mode 100644
index ea76134c..00000000
--- a/python_client/fatcat_client/models/webcapture_entity_cdx.py
+++ /dev/null
@@ -1,312 +0,0 @@
-# coding: utf-8
-
-"""
- fatcat
-
- A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501
-
- OpenAPI spec version: 0.2.0
-
- Generated by: https://github.com/swagger-api/swagger-codegen.git
-"""
-
-
-import pprint
-import re # noqa: F401
-
-import six
-
-
-class WebcaptureEntityCdx(object):
- """NOTE: This class is auto generated by the swagger code generator program.
-
- Do not edit the class manually.
- """
-
- """
- Attributes:
- swagger_types (dict): The key is attribute name
- and the value is attribute type.
- attribute_map (dict): The key is attribute name
- and the value is json key in definition.
- """
- swagger_types = {
- 'surt': 'str',
- 'timestamp': 'datetime',
- 'url': 'str',
- 'mimetype': 'str',
- 'status_code': 'int',
- 'size': 'int',
- 'sha1': 'str',
- 'sha256': 'str'
- }
-
- attribute_map = {
- 'surt': 'surt',
- 'timestamp': 'timestamp',
- 'url': 'url',
- 'mimetype': 'mimetype',
- 'status_code': 'status_code',
- 'size': 'size',
- 'sha1': 'sha1',
- 'sha256': 'sha256'
- }
-
- def __init__(self, surt=None, timestamp=None, url=None, mimetype=None, status_code=None, size=None, sha1=None, sha256=None): # noqa: E501
- """WebcaptureEntityCdx - a model defined in Swagger""" # noqa: E501
-
- self._surt = None
- self._timestamp = None
- self._url = None
- self._mimetype = None
- self._status_code = None
- self._size = None
- self._sha1 = None
- self._sha256 = None
- self.discriminator = None
-
- self.surt = surt
- self.timestamp = timestamp
- self.url = url
- if mimetype is not None:
- self.mimetype = mimetype
- if status_code is not None:
- self.status_code = status_code
- if size is not None:
- self.size = size
- self.sha1 = sha1
- if sha256 is not None:
- self.sha256 = sha256
-
- @property
- def surt(self):
- """Gets the surt of this WebcaptureEntityCdx. # noqa: E501
-
-
- :return: The surt of this WebcaptureEntityCdx. # noqa: E501
- :rtype: str
- """
- return self._surt
-
- @surt.setter
- def surt(self, surt):
- """Sets the surt of this WebcaptureEntityCdx.
-
-
- :param surt: The surt of this WebcaptureEntityCdx. # noqa: E501
- :type: str
- """
- if surt is None:
- raise ValueError("Invalid value for `surt`, must not be `None`") # noqa: E501
-
- self._surt = surt
-
- @property
- def timestamp(self):
- """Gets the timestamp of this WebcaptureEntityCdx. # noqa: E501
-
- UTC, 'Z'-terminated, second (or better) precision # noqa: E501
-
- :return: The timestamp of this WebcaptureEntityCdx. # noqa: E501
- :rtype: datetime
- """
- return self._timestamp
-
- @timestamp.setter
- def timestamp(self, timestamp):
- """Sets the timestamp of this WebcaptureEntityCdx.
-
- UTC, 'Z'-terminated, second (or better) precision # noqa: E501
-
- :param timestamp: The timestamp of this WebcaptureEntityCdx. # noqa: E501
- :type: datetime
- """
- if timestamp is None:
- raise ValueError("Invalid value for `timestamp`, must not be `None`") # noqa: E501
-
- self._timestamp = timestamp
-
- @property
- def url(self):
- """Gets the url of this WebcaptureEntityCdx. # noqa: E501
-
-
- :return: The url of this WebcaptureEntityCdx. # noqa: E501
- :rtype: str
- """
- return self._url
-
- @url.setter
- def url(self, url):
- """Sets the url of this WebcaptureEntityCdx.
-
-
- :param url: The url of this WebcaptureEntityCdx. # noqa: E501
- :type: str
- """
- if url is None:
- raise ValueError("Invalid value for `url`, must not be `None`") # noqa: E501
-
- self._url = url
-
- @property
- def mimetype(self):
- """Gets the mimetype of this WebcaptureEntityCdx. # noqa: E501
-
-
- :return: The mimetype of this WebcaptureEntityCdx. # noqa: E501
- :rtype: str
- """
- return self._mimetype
-
- @mimetype.setter
- def mimetype(self, mimetype):
- """Sets the mimetype of this WebcaptureEntityCdx.
-
-
- :param mimetype: The mimetype of this WebcaptureEntityCdx. # noqa: E501
- :type: str
- """
-
- self._mimetype = mimetype
-
- @property
- def status_code(self):
- """Gets the status_code of this WebcaptureEntityCdx. # noqa: E501
-
-
- :return: The status_code of this WebcaptureEntityCdx. # noqa: E501
- :rtype: int
- """
- return self._status_code
-
- @status_code.setter
- def status_code(self, status_code):
- """Sets the status_code of this WebcaptureEntityCdx.
-
-
- :param status_code: The status_code of this WebcaptureEntityCdx. # noqa: E501
- :type: int
- """
-
- self._status_code = status_code
-
- @property
- def size(self):
- """Gets the size of this WebcaptureEntityCdx. # noqa: E501
-
-
- :return: The size of this WebcaptureEntityCdx. # noqa: E501
- :rtype: int
- """
- return self._size
-
- @size.setter
- def size(self, size):
- """Sets the size of this WebcaptureEntityCdx.
-
-
- :param size: The size of this WebcaptureEntityCdx. # noqa: E501
- :type: int
- """
-
- self._size = size
-
- @property
- def sha1(self):
- """Gets the sha1 of this WebcaptureEntityCdx. # noqa: E501
-
-
- :return: The sha1 of this WebcaptureEntityCdx. # noqa: E501
- :rtype: str
- """
- return self._sha1
-
- @sha1.setter
- def sha1(self, sha1):
- """Sets the sha1 of this WebcaptureEntityCdx.
-
-
- :param sha1: The sha1 of this WebcaptureEntityCdx. # noqa: E501
- :type: str
- """
- if sha1 is None:
- raise ValueError("Invalid value for `sha1`, must not be `None`") # noqa: E501
- if sha1 is not None and len(sha1) > 40:
- raise ValueError("Invalid value for `sha1`, length must be less than or equal to `40`") # noqa: E501
- if sha1 is not None and len(sha1) < 40:
- raise ValueError("Invalid value for `sha1`, length must be greater than or equal to `40`") # noqa: E501
- if sha1 is not None and not re.search('[a-f0-9]{40}', sha1): # noqa: E501
- raise ValueError("Invalid value for `sha1`, must be a follow pattern or equal to `/[a-f0-9]{40}/`") # noqa: E501
-
- self._sha1 = sha1
-
- @property
- def sha256(self):
- """Gets the sha256 of this WebcaptureEntityCdx. # noqa: E501
-
-
- :return: The sha256 of this WebcaptureEntityCdx. # noqa: E501
- :rtype: str
- """
- return self._sha256
-
- @sha256.setter
- def sha256(self, sha256):
- """Sets the sha256 of this WebcaptureEntityCdx.
-
-
- :param sha256: The sha256 of this WebcaptureEntityCdx. # noqa: E501
- :type: str
- """
- if sha256 is not None and len(sha256) > 64:
- raise ValueError("Invalid value for `sha256`, length must be less than or equal to `64`") # noqa: E501
- if sha256 is not None and len(sha256) < 64:
- raise ValueError("Invalid value for `sha256`, length must be greater than or equal to `64`") # noqa: E501
- if sha256 is not None and not re.search('[a-f0-9]{64}', sha256): # noqa: E501
- raise ValueError("Invalid value for `sha256`, must be a follow pattern or equal to `/[a-f0-9]{64}/`") # noqa: E501
-
- self._sha256 = sha256
-
- def to_dict(self):
- """Returns the model properties as a dict"""
- result = {}
-
- for attr, _ in six.iteritems(self.swagger_types):
- value = getattr(self, attr)
- if isinstance(value, list):
- result[attr] = list(map(
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
- value
- ))
- elif hasattr(value, "to_dict"):
- result[attr] = value.to_dict()
- elif isinstance(value, dict):
- result[attr] = dict(map(
- lambda item: (item[0], item[1].to_dict())
- if hasattr(item[1], "to_dict") else item,
- value.items()
- ))
- else:
- result[attr] = value
-
- return result
-
- def to_str(self):
- """Returns the string representation of the model"""
- return pprint.pformat(self.to_dict())
-
- def __repr__(self):
- """For `print` and `pprint`"""
- return self.to_str()
-
- def __eq__(self, other):
- """Returns true if both objects are equal"""
- if not isinstance(other, WebcaptureEntityCdx):
- return False
-
- return self.__dict__ == other.__dict__
-
- def __ne__(self, other):
- """Returns true if both objects are not equal"""
- return not self == other