aboutsummaryrefslogtreecommitdiffstats
path: root/python_client/fatcat_client/models/success.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-09 16:19:35 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-09 16:19:35 -0800
commit20cc3a7631d59dc80d5c6783b05af82f5b099f25 (patch)
tree668813c5a1f48ea39417f93794274a91b7f83597 /python_client/fatcat_client/models/success.py
parente3a9b020283c62c8335f2f1124eab304074e3415 (diff)
downloadfatcat-20cc3a7631d59dc80d5c6783b05af82f5b099f25.tar.gz
fatcat-20cc3a7631d59dc80d5c6783b05af82f5b099f25.zip
python codegen
Diffstat (limited to 'python_client/fatcat_client/models/success.py')
-rw-r--r--python_client/fatcat_client/models/success.py29
1 files changed, 28 insertions, 1 deletions
diff --git a/python_client/fatcat_client/models/success.py b/python_client/fatcat_client/models/success.py
index 56cbd63a..659bfaaf 100644
--- a/python_client/fatcat_client/models/success.py
+++ b/python_client/fatcat_client/models/success.py
@@ -31,22 +31,49 @@ class Success(object):
and the value is json key in definition.
"""
swagger_types = {
+ 'success': 'bool',
'message': 'str'
}
attribute_map = {
+ 'success': 'success',
'message': 'message'
}
- def __init__(self, message=None): # noqa: E501
+ def __init__(self, success=None, message=None): # noqa: E501
"""Success - a model defined in Swagger""" # noqa: E501
+ self._success = None
self._message = None
self.discriminator = None
+ self.success = success
self.message = message
@property
+ def success(self):
+ """Gets the success of this Success. # noqa: E501
+
+
+ :return: The success of this Success. # noqa: E501
+ :rtype: bool
+ """
+ return self._success
+
+ @success.setter
+ def success(self, success):
+ """Sets the success of this Success.
+
+
+ :param success: The success of this Success. # noqa: E501
+ :type: bool
+ """
+ if success is None:
+ raise ValueError("Invalid value for `success`, must not be `None`") # noqa: E501
+
+ self._success = success
+
+ @property
def message(self):
"""Gets the message of this Success. # noqa: E501