diff options
author | Martin Czygan <martin@archive.org> | 2020-11-24 19:29:07 +0000 |
---|---|---|
committer | Martin Czygan <martin@archive.org> | 2020-11-24 19:29:07 +0000 |
commit | cfd13852d7cb58fcc3387373960adaf3680f0faf (patch) | |
tree | 675954b8b34324fe22fc5a00f3fbb99a21a77a21 /python_openapi_client/fatcat_openapi_client/models | |
parent | fcfcd3224a113fa90da2045a3c7fe90127088ebe (diff) | |
parent | 1fca5a9822944d0646d2dcba6cf54f27a0ffe5c0 (diff) | |
download | fatcat-cfd13852d7cb58fcc3387373960adaf3680f0faf.tar.gz fatcat-cfd13852d7cb58fcc3387373960adaf3680f0faf.zip |
Merge branch 'bnewbold-doaj-metadata' into 'master'
DOAJ article metadata import
See merge request webgroup/fatcat!89
Diffstat (limited to 'python_openapi_client/fatcat_openapi_client/models')
-rw-r--r-- | python_openapi_client/fatcat_openapi_client/models/release_ext_ids.py | 92 |
1 files changed, 88 insertions, 4 deletions
diff --git a/python_openapi_client/fatcat_openapi_client/models/release_ext_ids.py b/python_openapi_client/fatcat_openapi_client/models/release_ext_ids.py index c986e1fe..c8ca4b06 100644 --- a/python_openapi_client/fatcat_openapi_client/models/release_ext_ids.py +++ b/python_openapi_client/fatcat_openapi_client/models/release_ext_ids.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.3.3 Contact: webservices@archive.org Generated by: https://openapi-generator.tech """ @@ -41,7 +41,10 @@ class ReleaseExtIds(object): 'arxiv': 'str', 'jstor': 'str', 'ark': 'str', - 'mag': 'str' + 'mag': 'str', + 'doaj': 'str', + 'dblp': 'str', + 'oai': 'str' } attribute_map = { @@ -54,10 +57,13 @@ class ReleaseExtIds(object): 'arxiv': 'arxiv', 'jstor': 'jstor', 'ark': 'ark', - 'mag': 'mag' + 'mag': 'mag', + 'doaj': 'doaj', + 'dblp': 'dblp', + 'oai': 'oai' } - 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 + def __init__(self, doi=None, wikidata_qid=None, isbn13=None, pmid=None, pmcid=None, core=None, arxiv=None, jstor=None, ark=None, mag=None, doaj=None, dblp=None, oai=None): # noqa: E501 """ReleaseExtIds - a model defined in OpenAPI""" # noqa: E501 self._doi = None @@ -70,6 +76,9 @@ class ReleaseExtIds(object): self._jstor = None self._ark = None self._mag = None + self._doaj = None + self._dblp = None + self._oai = None self.discriminator = None if doi is not None: @@ -92,6 +101,12 @@ class ReleaseExtIds(object): self.ark = ark if mag is not None: self.mag = mag + if doaj is not None: + self.doaj = doaj + if dblp is not None: + self.dblp = dblp + if oai is not None: + self.oai = oai @property def doi(self): @@ -323,6 +338,75 @@ class ReleaseExtIds(object): self._mag = mag + @property + def doaj(self): + """Gets the doaj of this ReleaseExtIds. # noqa: E501 + + DOAJ article-level identifier # noqa: E501 + + :return: The doaj of this ReleaseExtIds. # noqa: E501 + :rtype: str + """ + return self._doaj + + @doaj.setter + def doaj(self, doaj): + """Sets the doaj of this ReleaseExtIds. + + DOAJ article-level identifier # noqa: E501 + + :param doaj: The doaj of this ReleaseExtIds. # noqa: E501 + :type: str + """ + + self._doaj = doaj + + @property + def dblp(self): + """Gets the dblp of this ReleaseExtIds. # noqa: E501 + + dblp (https://dblp.uni-trier.de/) paper identifier; eg for conference proceedings # noqa: E501 + + :return: The dblp of this ReleaseExtIds. # noqa: E501 + :rtype: str + """ + return self._dblp + + @dblp.setter + def dblp(self, dblp): + """Sets the dblp of this ReleaseExtIds. + + dblp (https://dblp.uni-trier.de/) paper identifier; eg for conference proceedings # noqa: E501 + + :param dblp: The dblp of this ReleaseExtIds. # noqa: E501 + :type: str + """ + + self._dblp = dblp + + @property + def oai(self): + """Gets the oai of this ReleaseExtIds. # noqa: E501 + + OAI-PMH identifier; only used when an OAI-PMH record is the only authoritative metadata (eg, journal OAI-PMH feeds w/o DOIs) # noqa: E501 + + :return: The oai of this ReleaseExtIds. # noqa: E501 + :rtype: str + """ + return self._oai + + @oai.setter + def oai(self, oai): + """Sets the oai of this ReleaseExtIds. + + OAI-PMH identifier; only used when an OAI-PMH record is the only authoritative metadata (eg, journal OAI-PMH feeds w/o DOIs) # noqa: E501 + + :param oai: The oai of this ReleaseExtIds. # noqa: E501 + :type: str + """ + + self._oai = oai + def to_dict(self): """Returns the model properties as a dict""" result = {} |