summaryrefslogtreecommitdiffstats
path: root/python/fatcat_client/models/creator_entity.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-07-25 14:41:02 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-07-25 14:41:02 -0700
commit829765848a57190a7bb7fd4ff985f49d61055e97 (patch)
tree43c226712abaa8089324e25142f5e6448c634bda /python/fatcat_client/models/creator_entity.py
parent828deb42b6dbdb2d11527e073d96bde26d8fb979 (diff)
downloadfatcat-829765848a57190a7bb7fd4ff985f49d61055e97.tar.gz
fatcat-829765848a57190a7bb7fd4ff985f49d61055e97.zip
update python codegen library
Diffstat (limited to 'python/fatcat_client/models/creator_entity.py')
-rw-r--r--python/fatcat_client/models/creator_entity.py28
1 files changed, 27 insertions, 1 deletions
diff --git a/python/fatcat_client/models/creator_entity.py b/python/fatcat_client/models/creator_entity.py
index ac221f97..fa6f8619 100644
--- a/python/fatcat_client/models/creator_entity.py
+++ b/python/fatcat_client/models/creator_entity.py
@@ -31,6 +31,7 @@ class CreatorEntity(object):
and the value is json key in definition.
"""
swagger_types = {
+ 'wikidata_qid': 'str',
'orcid': 'str',
'surname': 'str',
'given_name': 'str',
@@ -44,6 +45,7 @@ class CreatorEntity(object):
}
attribute_map = {
+ 'wikidata_qid': 'wikidata_qid',
'orcid': 'orcid',
'surname': 'surname',
'given_name': 'given_name',
@@ -56,9 +58,10 @@ class CreatorEntity(object):
'extra': 'extra'
}
- def __init__(self, orcid=None, surname=None, given_name=None, display_name=None, state=None, ident=None, revision=None, redirect=None, editgroup_id=None, extra=None): # noqa: E501
+ def __init__(self, wikidata_qid=None, orcid=None, surname=None, given_name=None, display_name=None, state=None, ident=None, revision=None, redirect=None, editgroup_id=None, extra=None): # noqa: E501
"""CreatorEntity - a model defined in Swagger""" # noqa: E501
+ self._wikidata_qid = None
self._orcid = None
self._surname = None
self._given_name = None
@@ -71,6 +74,8 @@ class CreatorEntity(object):
self._extra = None
self.discriminator = None
+ if wikidata_qid is not None:
+ self.wikidata_qid = wikidata_qid
if orcid is not None:
self.orcid = orcid
if surname is not None:
@@ -92,6 +97,27 @@ class CreatorEntity(object):
self.extra = extra
@property
+ def wikidata_qid(self):
+ """Gets the wikidata_qid of this CreatorEntity. # noqa: E501
+
+
+ :return: The wikidata_qid of this CreatorEntity. # noqa: E501
+ :rtype: str
+ """
+ return self._wikidata_qid
+
+ @wikidata_qid.setter
+ def wikidata_qid(self, wikidata_qid):
+ """Sets the wikidata_qid of this CreatorEntity.
+
+
+ :param wikidata_qid: The wikidata_qid of this CreatorEntity. # noqa: E501
+ :type: str
+ """
+
+ self._wikidata_qid = wikidata_qid
+
+ @property
def orcid(self):
"""Gets the orcid of this CreatorEntity. # noqa: E501