summaryrefslogtreecommitdiffstats
path: root/python_openapi_client
diff options
context:
space:
mode:
Diffstat (limited to 'python_openapi_client')
-rw-r--r--python_openapi_client/README.md4
-rwxr-xr-xpython_openapi_client/codegen_python_client.sh2
-rw-r--r--python_openapi_client/fatcat_openapi_client/__init__.py4
-rw-r--r--python_openapi_client/fatcat_openapi_client/api/default_api.py12
-rw-r--r--python_openapi_client/fatcat_openapi_client/api_client.py4
-rw-r--r--python_openapi_client/fatcat_openapi_client/configuration.py6
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/release_ext_ids.py64
7 files changed, 80 insertions, 16 deletions
diff --git a/python_openapi_client/README.md b/python_openapi_client/README.md
index fd739e5b..43c9e9c5 100644
--- a/python_openapi_client/README.md
+++ b/python_openapi_client/README.md
@@ -3,8 +3,8 @@ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
-- API version: 0.3.1
-- Package version: 0.3.2
+- API version: 0.3.3
+- Package version: 0.3.3
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://fatcat.wiki](https://fatcat.wiki)
diff --git a/python_openapi_client/codegen_python_client.sh b/python_openapi_client/codegen_python_client.sh
index 0f70db74..9eb7752c 100755
--- a/python_openapi_client/codegen_python_client.sh
+++ b/python_openapi_client/codegen_python_client.sh
@@ -20,7 +20,7 @@ docker run \
--input-spec /tmp/swagger/api.yml \
--output /tmp/swagger/ \
--package-name=fatcat_openapi_client \
- -p packageVersion="0.3.2"
+ -p packageVersion="0.3.3"
sudo chown -R `whoami`:`whoami` $OUTPUT
mkdir -p fatcat_openapi_client
diff --git a/python_openapi_client/fatcat_openapi_client/__init__.py b/python_openapi_client/fatcat_openapi_client/__init__.py
index 5d05953b..87e1609a 100644
--- a/python_openapi_client/fatcat_openapi_client/__init__.py
+++ b/python_openapi_client/fatcat_openapi_client/__init__.py
@@ -7,7 +7,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
"""
@@ -15,7 +15,7 @@
from __future__ import absolute_import
-__version__ = "0.3.2"
+__version__ = "0.3.3"
# import apis into sdk package
from fatcat_openapi_client.api.default_api import DefaultApi
diff --git a/python_openapi_client/fatcat_openapi_client/api/default_api.py b/python_openapi_client/fatcat_openapi_client/api/default_api.py
index 43ca78c1..eea7e2a0 100644
--- a/python_openapi_client/fatcat_openapi_client/api/default_api.py
+++ b/python_openapi_client/fatcat_openapi_client/api/default_api.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
"""
@@ -9855,6 +9855,8 @@ class DefaultApi(object):
:param str jstor:
:param str ark:
:param str mag:
+ :param str doaj:
+ :param str dblp:
:param str expand: List of sub-entities to expand in response. See `get_release`.
:param str hide: List of sub-entities to elide in response. See `get_release`.
:param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -9891,6 +9893,8 @@ class DefaultApi(object):
:param str jstor:
:param str ark:
:param str mag:
+ :param str doaj:
+ :param str dblp:
:param str expand: List of sub-entities to expand in response. See `get_release`.
:param str hide: List of sub-entities to elide in response. See `get_release`.
:param _return_http_data_only: response data without head status code
@@ -9909,7 +9913,7 @@ class DefaultApi(object):
local_var_params = locals()
- all_params = ['doi', 'wikidata_qid', 'isbn13', 'pmid', 'pmcid', 'core', 'arxiv', 'jstor', 'ark', 'mag', 'expand', 'hide'] # noqa: E501
+ all_params = ['doi', 'wikidata_qid', 'isbn13', 'pmid', 'pmcid', 'core', 'arxiv', 'jstor', 'ark', 'mag', 'doaj', 'dblp', 'expand', 'hide'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -9949,6 +9953,10 @@ class DefaultApi(object):
query_params.append(('ark', local_var_params['ark'])) # noqa: E501
if 'mag' in local_var_params:
query_params.append(('mag', local_var_params['mag'])) # noqa: E501
+ if 'doaj' in local_var_params:
+ query_params.append(('doaj', local_var_params['doaj'])) # noqa: E501
+ if 'dblp' in local_var_params:
+ query_params.append(('dblp', local_var_params['dblp'])) # noqa: E501
if 'expand' in local_var_params:
query_params.append(('expand', local_var_params['expand'])) # noqa: E501
if 'hide' in local_var_params:
diff --git a/python_openapi_client/fatcat_openapi_client/api_client.py b/python_openapi_client/fatcat_openapi_client/api_client.py
index d156560a..4aca1010 100644
--- a/python_openapi_client/fatcat_openapi_client/api_client.py
+++ b/python_openapi_client/fatcat_openapi_client/api_client.py
@@ -4,7 +4,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
"""
@@ -77,7 +77,7 @@ class ApiClient(object):
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
- self.user_agent = 'OpenAPI-Generator/0.3.2/python'
+ self.user_agent = 'OpenAPI-Generator/0.3.3/python'
def __del__(self):
if self._pool:
diff --git a/python_openapi_client/fatcat_openapi_client/configuration.py b/python_openapi_client/fatcat_openapi_client/configuration.py
index cf75cc8a..e970b674 100644
--- a/python_openapi_client/fatcat_openapi_client/configuration.py
+++ b/python_openapi_client/fatcat_openapi_client/configuration.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
"""
@@ -267,8 +267,8 @@ class Configuration(object):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
- "Version of the API: 0.3.1\n"\
- "SDK Package Version: 0.3.2".\
+ "Version of the API: 0.3.3\n"\
+ "SDK Package Version: 0.3.3".\
format(env=sys.platform, pyversion=sys.version)
def get_host_settings(self):
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..3ac0f402 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,9 @@ class ReleaseExtIds(object):
'arxiv': 'str',
'jstor': 'str',
'ark': 'str',
- 'mag': 'str'
+ 'mag': 'str',
+ 'doaj': 'str',
+ 'dblp': 'str'
}
attribute_map = {
@@ -54,10 +56,12 @@ class ReleaseExtIds(object):
'arxiv': 'arxiv',
'jstor': 'jstor',
'ark': 'ark',
- 'mag': 'mag'
+ 'mag': 'mag',
+ 'doaj': 'doaj',
+ 'dblp': 'dblp'
}
- 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): # noqa: E501
"""ReleaseExtIds - a model defined in OpenAPI""" # noqa: E501
self._doi = None
@@ -70,6 +74,8 @@ class ReleaseExtIds(object):
self._jstor = None
self._ark = None
self._mag = None
+ self._doaj = None
+ self._dblp = None
self.discriminator = None
if doi is not None:
@@ -92,6 +98,10 @@ 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
@property
def doi(self):
@@ -323,6 +333,52 @@ 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
+
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}