summaryrefslogtreecommitdiffstats
path: root/python/fatcat_client/models/release_contrib.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_client/models/release_contrib.py')
-rw-r--r--python/fatcat_client/models/release_contrib.py32
1 files changed, 31 insertions, 1 deletions
diff --git a/python/fatcat_client/models/release_contrib.py b/python/fatcat_client/models/release_contrib.py
index f2eeac8f..a06b0e66 100644
--- a/python/fatcat_client/models/release_contrib.py
+++ b/python/fatcat_client/models/release_contrib.py
@@ -16,6 +16,8 @@ import re # noqa: F401
import six
+from fatcat_client.models.creator_entity import CreatorEntity # noqa: F401,E501
+
class ReleaseContrib(object):
"""NOTE: This class is auto generated by the swagger code generator program.
@@ -33,6 +35,7 @@ class ReleaseContrib(object):
swagger_types = {
'index': 'int',
'creator_id': 'str',
+ 'creator': 'CreatorEntity',
'raw_name': 'str',
'extra': 'object',
'role': 'str'
@@ -41,16 +44,18 @@ class ReleaseContrib(object):
attribute_map = {
'index': 'index',
'creator_id': 'creator_id',
+ 'creator': 'creator',
'raw_name': 'raw_name',
'extra': 'extra',
'role': 'role'
}
- def __init__(self, index=None, creator_id=None, raw_name=None, extra=None, role=None): # noqa: E501
+ def __init__(self, index=None, creator_id=None, creator=None, raw_name=None, extra=None, role=None): # noqa: E501
"""ReleaseContrib - a model defined in Swagger""" # noqa: E501
self._index = None
self._creator_id = None
+ self._creator = None
self._raw_name = None
self._extra = None
self._role = None
@@ -60,6 +65,8 @@ class ReleaseContrib(object):
self.index = index
if creator_id is not None:
self.creator_id = creator_id
+ if creator is not None:
+ self.creator = creator
if raw_name is not None:
self.raw_name = raw_name
if extra is not None:
@@ -110,6 +117,29 @@ class ReleaseContrib(object):
self._creator_id = creator_id
@property
+ def creator(self):
+ """Gets the creator of this ReleaseContrib. # noqa: E501
+
+ Optional; GET-only # noqa: E501
+
+ :return: The creator of this ReleaseContrib. # noqa: E501
+ :rtype: CreatorEntity
+ """
+ return self._creator
+
+ @creator.setter
+ def creator(self, creator):
+ """Sets the creator of this ReleaseContrib.
+
+ Optional; GET-only # noqa: E501
+
+ :param creator: The creator of this ReleaseContrib. # noqa: E501
+ :type: CreatorEntity
+ """
+
+ self._creator = creator
+
+ @property
def raw_name(self):
"""Gets the raw_name of this ReleaseContrib. # noqa: E501