diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2021-10-12 17:35:20 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2021-10-13 16:21:30 -0700 |
commit | 6214e9f251cfa945641d9fbd2149746e83ec8331 (patch) | |
tree | 665904635db7f646b14924e94a65b89873b65038 /python_openapi_client/fatcat_openapi_client/models/release_ext_ids.py | |
parent | f150c9f7389afaacde8a60cb933452e062aad9bb (diff) | |
download | fatcat-6214e9f251cfa945641d9fbd2149746e83ec8331.tar.gz fatcat-6214e9f251cfa945641d9fbd2149746e83ec8331.zip |
python client: codegen for v0.4
Diffstat (limited to 'python_openapi_client/fatcat_openapi_client/models/release_ext_ids.py')
-rw-r--r-- | python_openapi_client/fatcat_openapi_client/models/release_ext_ids.py | 36 |
1 files changed, 32 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 c8ca4b06..2f46a3b8 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.3 + The version of the OpenAPI document: 0.4.0 Contact: webservices@archive.org Generated by: https://openapi-generator.tech """ @@ -44,7 +44,8 @@ class ReleaseExtIds(object): 'mag': 'str', 'doaj': 'str', 'dblp': 'str', - 'oai': 'str' + 'oai': 'str', + 'hdl': 'str' } attribute_map = { @@ -60,10 +61,11 @@ class ReleaseExtIds(object): 'mag': 'mag', 'doaj': 'doaj', 'dblp': 'dblp', - 'oai': 'oai' + 'oai': 'oai', + 'hdl': 'hdl' } - 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 + 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, hdl=None): # noqa: E501 """ReleaseExtIds - a model defined in OpenAPI""" # noqa: E501 self._doi = None @@ -79,6 +81,7 @@ class ReleaseExtIds(object): self._doaj = None self._dblp = None self._oai = None + self._hdl = None self.discriminator = None if doi is not None: @@ -107,6 +110,8 @@ class ReleaseExtIds(object): self.dblp = dblp if oai is not None: self.oai = oai + if hdl is not None: + self.hdl = hdl @property def doi(self): @@ -407,6 +412,29 @@ class ReleaseExtIds(object): self._oai = oai + @property + def hdl(self): + """Gets the hdl of this ReleaseExtIds. # noqa: E501 + + Handle identifier. Do not put DOIs in this field # noqa: E501 + + :return: The hdl of this ReleaseExtIds. # noqa: E501 + :rtype: str + """ + return self._hdl + + @hdl.setter + def hdl(self, hdl): + """Sets the hdl of this ReleaseExtIds. + + Handle identifier. Do not put DOIs in this field # noqa: E501 + + :param hdl: The hdl of this ReleaseExtIds. # noqa: E501 + :type: str + """ + + self._hdl = hdl + def to_dict(self): """Returns the model properties as a dict""" result = {} |