docusign_esign.models.forgotten_password_information

Docusign eSignature REST API

The Docusign eSignature REST API provides you with a powerful, convenient, and simple Web services API for interacting with Docusign. # noqa: E501

OpenAPI spec version: v2.1 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.git

  1# coding: utf-8
  2
  3"""
  4    Docusign eSignature REST API
  5
  6    The Docusign eSignature REST API provides you with a powerful, convenient, and simple Web services API for interacting with Docusign.  # noqa: E501
  7
  8    OpenAPI spec version: v2.1
  9    Contact: devcenter@docusign.com
 10    Generated by: https://github.com/swagger-api/swagger-codegen.git
 11"""
 12
 13
 14import pprint
 15import re  # noqa: F401
 16
 17import six
 18
 19from docusign_esign.client.configuration import Configuration
 20
 21
 22class ForgottenPasswordInformation(object):
 23    """NOTE: This class is auto generated by the swagger code generator program.
 24
 25    Do not edit the class manually.
 26    """
 27
 28    """
 29    Attributes:
 30      swagger_types (dict): The key is attribute name
 31                            and the value is attribute type.
 32      attribute_map (dict): The key is attribute name
 33                            and the value is json key in definition.
 34    """
 35    swagger_types = {
 36        'forgotten_password_answer1': 'str',
 37        'forgotten_password_answer2': 'str',
 38        'forgotten_password_answer3': 'str',
 39        'forgotten_password_answer4': 'str',
 40        'forgotten_password_question1': 'str',
 41        'forgotten_password_question2': 'str',
 42        'forgotten_password_question3': 'str',
 43        'forgotten_password_question4': 'str'
 44    }
 45
 46    attribute_map = {
 47        'forgotten_password_answer1': 'forgottenPasswordAnswer1',
 48        'forgotten_password_answer2': 'forgottenPasswordAnswer2',
 49        'forgotten_password_answer3': 'forgottenPasswordAnswer3',
 50        'forgotten_password_answer4': 'forgottenPasswordAnswer4',
 51        'forgotten_password_question1': 'forgottenPasswordQuestion1',
 52        'forgotten_password_question2': 'forgottenPasswordQuestion2',
 53        'forgotten_password_question3': 'forgottenPasswordQuestion3',
 54        'forgotten_password_question4': 'forgottenPasswordQuestion4'
 55    }
 56
 57    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 58        """ForgottenPasswordInformation - a model defined in Swagger"""  # noqa: E501
 59        if _configuration is None:
 60            _configuration = Configuration()
 61        self._configuration = _configuration
 62
 63        self._forgotten_password_answer1 = None
 64        self._forgotten_password_answer2 = None
 65        self._forgotten_password_answer3 = None
 66        self._forgotten_password_answer4 = None
 67        self._forgotten_password_question1 = None
 68        self._forgotten_password_question2 = None
 69        self._forgotten_password_question3 = None
 70        self._forgotten_password_question4 = None
 71        self.discriminator = None
 72
 73        setattr(self, "_{}".format('forgotten_password_answer1'), kwargs.get('forgotten_password_answer1', None))
 74        setattr(self, "_{}".format('forgotten_password_answer2'), kwargs.get('forgotten_password_answer2', None))
 75        setattr(self, "_{}".format('forgotten_password_answer3'), kwargs.get('forgotten_password_answer3', None))
 76        setattr(self, "_{}".format('forgotten_password_answer4'), kwargs.get('forgotten_password_answer4', None))
 77        setattr(self, "_{}".format('forgotten_password_question1'), kwargs.get('forgotten_password_question1', None))
 78        setattr(self, "_{}".format('forgotten_password_question2'), kwargs.get('forgotten_password_question2', None))
 79        setattr(self, "_{}".format('forgotten_password_question3'), kwargs.get('forgotten_password_question3', None))
 80        setattr(self, "_{}".format('forgotten_password_question4'), kwargs.get('forgotten_password_question4', None))
 81
 82    @property
 83    def forgotten_password_answer1(self):
 84        """Gets the forgotten_password_answer1 of this ForgottenPasswordInformation.  # noqa: E501
 85
 86        The answer to the first forgotten password challenge question.  # noqa: E501
 87
 88        :return: The forgotten_password_answer1 of this ForgottenPasswordInformation.  # noqa: E501
 89        :rtype: str
 90        """
 91        return self._forgotten_password_answer1
 92
 93    @forgotten_password_answer1.setter
 94    def forgotten_password_answer1(self, forgotten_password_answer1):
 95        """Sets the forgotten_password_answer1 of this ForgottenPasswordInformation.
 96
 97        The answer to the first forgotten password challenge question.  # noqa: E501
 98
 99        :param forgotten_password_answer1: The forgotten_password_answer1 of this ForgottenPasswordInformation.  # noqa: E501
100        :type: str
101        """
102
103        self._forgotten_password_answer1 = forgotten_password_answer1
104
105    @property
106    def forgotten_password_answer2(self):
107        """Gets the forgotten_password_answer2 of this ForgottenPasswordInformation.  # noqa: E501
108
109        The answer to the second forgotten password challenge question.  # noqa: E501
110
111        :return: The forgotten_password_answer2 of this ForgottenPasswordInformation.  # noqa: E501
112        :rtype: str
113        """
114        return self._forgotten_password_answer2
115
116    @forgotten_password_answer2.setter
117    def forgotten_password_answer2(self, forgotten_password_answer2):
118        """Sets the forgotten_password_answer2 of this ForgottenPasswordInformation.
119
120        The answer to the second forgotten password challenge question.  # noqa: E501
121
122        :param forgotten_password_answer2: The forgotten_password_answer2 of this ForgottenPasswordInformation.  # noqa: E501
123        :type: str
124        """
125
126        self._forgotten_password_answer2 = forgotten_password_answer2
127
128    @property
129    def forgotten_password_answer3(self):
130        """Gets the forgotten_password_answer3 of this ForgottenPasswordInformation.  # noqa: E501
131
132        The answer to the third forgotten password challenge question.  # noqa: E501
133
134        :return: The forgotten_password_answer3 of this ForgottenPasswordInformation.  # noqa: E501
135        :rtype: str
136        """
137        return self._forgotten_password_answer3
138
139    @forgotten_password_answer3.setter
140    def forgotten_password_answer3(self, forgotten_password_answer3):
141        """Sets the forgotten_password_answer3 of this ForgottenPasswordInformation.
142
143        The answer to the third forgotten password challenge question.  # noqa: E501
144
145        :param forgotten_password_answer3: The forgotten_password_answer3 of this ForgottenPasswordInformation.  # noqa: E501
146        :type: str
147        """
148
149        self._forgotten_password_answer3 = forgotten_password_answer3
150
151    @property
152    def forgotten_password_answer4(self):
153        """Gets the forgotten_password_answer4 of this ForgottenPasswordInformation.  # noqa: E501
154
155        The answer to the fourth forgotten password challenge question.  # noqa: E501
156
157        :return: The forgotten_password_answer4 of this ForgottenPasswordInformation.  # noqa: E501
158        :rtype: str
159        """
160        return self._forgotten_password_answer4
161
162    @forgotten_password_answer4.setter
163    def forgotten_password_answer4(self, forgotten_password_answer4):
164        """Sets the forgotten_password_answer4 of this ForgottenPasswordInformation.
165
166        The answer to the fourth forgotten password challenge question.  # noqa: E501
167
168        :param forgotten_password_answer4: The forgotten_password_answer4 of this ForgottenPasswordInformation.  # noqa: E501
169        :type: str
170        """
171
172        self._forgotten_password_answer4 = forgotten_password_answer4
173
174    @property
175    def forgotten_password_question1(self):
176        """Gets the forgotten_password_question1 of this ForgottenPasswordInformation.  # noqa: E501
177
178        The first challenge question presented to a user who has forgotten their password.  # noqa: E501
179
180        :return: The forgotten_password_question1 of this ForgottenPasswordInformation.  # noqa: E501
181        :rtype: str
182        """
183        return self._forgotten_password_question1
184
185    @forgotten_password_question1.setter
186    def forgotten_password_question1(self, forgotten_password_question1):
187        """Sets the forgotten_password_question1 of this ForgottenPasswordInformation.
188
189        The first challenge question presented to a user who has forgotten their password.  # noqa: E501
190
191        :param forgotten_password_question1: The forgotten_password_question1 of this ForgottenPasswordInformation.  # noqa: E501
192        :type: str
193        """
194
195        self._forgotten_password_question1 = forgotten_password_question1
196
197    @property
198    def forgotten_password_question2(self):
199        """Gets the forgotten_password_question2 of this ForgottenPasswordInformation.  # noqa: E501
200
201        The second challenge question presented to a user who has forgotten their password.  # noqa: E501
202
203        :return: The forgotten_password_question2 of this ForgottenPasswordInformation.  # noqa: E501
204        :rtype: str
205        """
206        return self._forgotten_password_question2
207
208    @forgotten_password_question2.setter
209    def forgotten_password_question2(self, forgotten_password_question2):
210        """Sets the forgotten_password_question2 of this ForgottenPasswordInformation.
211
212        The second challenge question presented to a user who has forgotten their password.  # noqa: E501
213
214        :param forgotten_password_question2: The forgotten_password_question2 of this ForgottenPasswordInformation.  # noqa: E501
215        :type: str
216        """
217
218        self._forgotten_password_question2 = forgotten_password_question2
219
220    @property
221    def forgotten_password_question3(self):
222        """Gets the forgotten_password_question3 of this ForgottenPasswordInformation.  # noqa: E501
223
224        The third challenge question presented to a user who has forgotten their password.  # noqa: E501
225
226        :return: The forgotten_password_question3 of this ForgottenPasswordInformation.  # noqa: E501
227        :rtype: str
228        """
229        return self._forgotten_password_question3
230
231    @forgotten_password_question3.setter
232    def forgotten_password_question3(self, forgotten_password_question3):
233        """Sets the forgotten_password_question3 of this ForgottenPasswordInformation.
234
235        The third challenge question presented to a user who has forgotten their password.  # noqa: E501
236
237        :param forgotten_password_question3: The forgotten_password_question3 of this ForgottenPasswordInformation.  # noqa: E501
238        :type: str
239        """
240
241        self._forgotten_password_question3 = forgotten_password_question3
242
243    @property
244    def forgotten_password_question4(self):
245        """Gets the forgotten_password_question4 of this ForgottenPasswordInformation.  # noqa: E501
246
247        The fourth challenge question presented to a user who has forgotten their password.  # noqa: E501
248
249        :return: The forgotten_password_question4 of this ForgottenPasswordInformation.  # noqa: E501
250        :rtype: str
251        """
252        return self._forgotten_password_question4
253
254    @forgotten_password_question4.setter
255    def forgotten_password_question4(self, forgotten_password_question4):
256        """Sets the forgotten_password_question4 of this ForgottenPasswordInformation.
257
258        The fourth challenge question presented to a user who has forgotten their password.  # noqa: E501
259
260        :param forgotten_password_question4: The forgotten_password_question4 of this ForgottenPasswordInformation.  # noqa: E501
261        :type: str
262        """
263
264        self._forgotten_password_question4 = forgotten_password_question4
265
266    def to_dict(self):
267        """Returns the model properties as a dict"""
268        result = {}
269
270        for attr, _ in six.iteritems(self.swagger_types):
271            value = getattr(self, attr)
272            if isinstance(value, list):
273                result[attr] = list(map(
274                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
275                    value
276                ))
277            elif hasattr(value, "to_dict"):
278                result[attr] = value.to_dict()
279            elif isinstance(value, dict):
280                result[attr] = dict(map(
281                    lambda item: (item[0], item[1].to_dict())
282                    if hasattr(item[1], "to_dict") else item,
283                    value.items()
284                ))
285            else:
286                result[attr] = value
287        if issubclass(ForgottenPasswordInformation, dict):
288            for key, value in self.items():
289                result[key] = value
290
291        return result
292
293    def to_str(self):
294        """Returns the string representation of the model"""
295        return pprint.pformat(self.to_dict())
296
297    def __repr__(self):
298        """For `print` and `pprint`"""
299        return self.to_str()
300
301    def __eq__(self, other):
302        """Returns true if both objects are equal"""
303        if not isinstance(other, ForgottenPasswordInformation):
304            return False
305
306        return self.to_dict() == other.to_dict()
307
308    def __ne__(self, other):
309        """Returns true if both objects are not equal"""
310        if not isinstance(other, ForgottenPasswordInformation):
311            return True
312
313        return self.to_dict() != other.to_dict()
class ForgottenPasswordInformation:
 23class ForgottenPasswordInformation(object):
 24    """NOTE: This class is auto generated by the swagger code generator program.
 25
 26    Do not edit the class manually.
 27    """
 28
 29    """
 30    Attributes:
 31      swagger_types (dict): The key is attribute name
 32                            and the value is attribute type.
 33      attribute_map (dict): The key is attribute name
 34                            and the value is json key in definition.
 35    """
 36    swagger_types = {
 37        'forgotten_password_answer1': 'str',
 38        'forgotten_password_answer2': 'str',
 39        'forgotten_password_answer3': 'str',
 40        'forgotten_password_answer4': 'str',
 41        'forgotten_password_question1': 'str',
 42        'forgotten_password_question2': 'str',
 43        'forgotten_password_question3': 'str',
 44        'forgotten_password_question4': 'str'
 45    }
 46
 47    attribute_map = {
 48        'forgotten_password_answer1': 'forgottenPasswordAnswer1',
 49        'forgotten_password_answer2': 'forgottenPasswordAnswer2',
 50        'forgotten_password_answer3': 'forgottenPasswordAnswer3',
 51        'forgotten_password_answer4': 'forgottenPasswordAnswer4',
 52        'forgotten_password_question1': 'forgottenPasswordQuestion1',
 53        'forgotten_password_question2': 'forgottenPasswordQuestion2',
 54        'forgotten_password_question3': 'forgottenPasswordQuestion3',
 55        'forgotten_password_question4': 'forgottenPasswordQuestion4'
 56    }
 57
 58    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 59        """ForgottenPasswordInformation - a model defined in Swagger"""  # noqa: E501
 60        if _configuration is None:
 61            _configuration = Configuration()
 62        self._configuration = _configuration
 63
 64        self._forgotten_password_answer1 = None
 65        self._forgotten_password_answer2 = None
 66        self._forgotten_password_answer3 = None
 67        self._forgotten_password_answer4 = None
 68        self._forgotten_password_question1 = None
 69        self._forgotten_password_question2 = None
 70        self._forgotten_password_question3 = None
 71        self._forgotten_password_question4 = None
 72        self.discriminator = None
 73
 74        setattr(self, "_{}".format('forgotten_password_answer1'), kwargs.get('forgotten_password_answer1', None))
 75        setattr(self, "_{}".format('forgotten_password_answer2'), kwargs.get('forgotten_password_answer2', None))
 76        setattr(self, "_{}".format('forgotten_password_answer3'), kwargs.get('forgotten_password_answer3', None))
 77        setattr(self, "_{}".format('forgotten_password_answer4'), kwargs.get('forgotten_password_answer4', None))
 78        setattr(self, "_{}".format('forgotten_password_question1'), kwargs.get('forgotten_password_question1', None))
 79        setattr(self, "_{}".format('forgotten_password_question2'), kwargs.get('forgotten_password_question2', None))
 80        setattr(self, "_{}".format('forgotten_password_question3'), kwargs.get('forgotten_password_question3', None))
 81        setattr(self, "_{}".format('forgotten_password_question4'), kwargs.get('forgotten_password_question4', None))
 82
 83    @property
 84    def forgotten_password_answer1(self):
 85        """Gets the forgotten_password_answer1 of this ForgottenPasswordInformation.  # noqa: E501
 86
 87        The answer to the first forgotten password challenge question.  # noqa: E501
 88
 89        :return: The forgotten_password_answer1 of this ForgottenPasswordInformation.  # noqa: E501
 90        :rtype: str
 91        """
 92        return self._forgotten_password_answer1
 93
 94    @forgotten_password_answer1.setter
 95    def forgotten_password_answer1(self, forgotten_password_answer1):
 96        """Sets the forgotten_password_answer1 of this ForgottenPasswordInformation.
 97
 98        The answer to the first forgotten password challenge question.  # noqa: E501
 99
100        :param forgotten_password_answer1: The forgotten_password_answer1 of this ForgottenPasswordInformation.  # noqa: E501
101        :type: str
102        """
103
104        self._forgotten_password_answer1 = forgotten_password_answer1
105
106    @property
107    def forgotten_password_answer2(self):
108        """Gets the forgotten_password_answer2 of this ForgottenPasswordInformation.  # noqa: E501
109
110        The answer to the second forgotten password challenge question.  # noqa: E501
111
112        :return: The forgotten_password_answer2 of this ForgottenPasswordInformation.  # noqa: E501
113        :rtype: str
114        """
115        return self._forgotten_password_answer2
116
117    @forgotten_password_answer2.setter
118    def forgotten_password_answer2(self, forgotten_password_answer2):
119        """Sets the forgotten_password_answer2 of this ForgottenPasswordInformation.
120
121        The answer to the second forgotten password challenge question.  # noqa: E501
122
123        :param forgotten_password_answer2: The forgotten_password_answer2 of this ForgottenPasswordInformation.  # noqa: E501
124        :type: str
125        """
126
127        self._forgotten_password_answer2 = forgotten_password_answer2
128
129    @property
130    def forgotten_password_answer3(self):
131        """Gets the forgotten_password_answer3 of this ForgottenPasswordInformation.  # noqa: E501
132
133        The answer to the third forgotten password challenge question.  # noqa: E501
134
135        :return: The forgotten_password_answer3 of this ForgottenPasswordInformation.  # noqa: E501
136        :rtype: str
137        """
138        return self._forgotten_password_answer3
139
140    @forgotten_password_answer3.setter
141    def forgotten_password_answer3(self, forgotten_password_answer3):
142        """Sets the forgotten_password_answer3 of this ForgottenPasswordInformation.
143
144        The answer to the third forgotten password challenge question.  # noqa: E501
145
146        :param forgotten_password_answer3: The forgotten_password_answer3 of this ForgottenPasswordInformation.  # noqa: E501
147        :type: str
148        """
149
150        self._forgotten_password_answer3 = forgotten_password_answer3
151
152    @property
153    def forgotten_password_answer4(self):
154        """Gets the forgotten_password_answer4 of this ForgottenPasswordInformation.  # noqa: E501
155
156        The answer to the fourth forgotten password challenge question.  # noqa: E501
157
158        :return: The forgotten_password_answer4 of this ForgottenPasswordInformation.  # noqa: E501
159        :rtype: str
160        """
161        return self._forgotten_password_answer4
162
163    @forgotten_password_answer4.setter
164    def forgotten_password_answer4(self, forgotten_password_answer4):
165        """Sets the forgotten_password_answer4 of this ForgottenPasswordInformation.
166
167        The answer to the fourth forgotten password challenge question.  # noqa: E501
168
169        :param forgotten_password_answer4: The forgotten_password_answer4 of this ForgottenPasswordInformation.  # noqa: E501
170        :type: str
171        """
172
173        self._forgotten_password_answer4 = forgotten_password_answer4
174
175    @property
176    def forgotten_password_question1(self):
177        """Gets the forgotten_password_question1 of this ForgottenPasswordInformation.  # noqa: E501
178
179        The first challenge question presented to a user who has forgotten their password.  # noqa: E501
180
181        :return: The forgotten_password_question1 of this ForgottenPasswordInformation.  # noqa: E501
182        :rtype: str
183        """
184        return self._forgotten_password_question1
185
186    @forgotten_password_question1.setter
187    def forgotten_password_question1(self, forgotten_password_question1):
188        """Sets the forgotten_password_question1 of this ForgottenPasswordInformation.
189
190        The first challenge question presented to a user who has forgotten their password.  # noqa: E501
191
192        :param forgotten_password_question1: The forgotten_password_question1 of this ForgottenPasswordInformation.  # noqa: E501
193        :type: str
194        """
195
196        self._forgotten_password_question1 = forgotten_password_question1
197
198    @property
199    def forgotten_password_question2(self):
200        """Gets the forgotten_password_question2 of this ForgottenPasswordInformation.  # noqa: E501
201
202        The second challenge question presented to a user who has forgotten their password.  # noqa: E501
203
204        :return: The forgotten_password_question2 of this ForgottenPasswordInformation.  # noqa: E501
205        :rtype: str
206        """
207        return self._forgotten_password_question2
208
209    @forgotten_password_question2.setter
210    def forgotten_password_question2(self, forgotten_password_question2):
211        """Sets the forgotten_password_question2 of this ForgottenPasswordInformation.
212
213        The second challenge question presented to a user who has forgotten their password.  # noqa: E501
214
215        :param forgotten_password_question2: The forgotten_password_question2 of this ForgottenPasswordInformation.  # noqa: E501
216        :type: str
217        """
218
219        self._forgotten_password_question2 = forgotten_password_question2
220
221    @property
222    def forgotten_password_question3(self):
223        """Gets the forgotten_password_question3 of this ForgottenPasswordInformation.  # noqa: E501
224
225        The third challenge question presented to a user who has forgotten their password.  # noqa: E501
226
227        :return: The forgotten_password_question3 of this ForgottenPasswordInformation.  # noqa: E501
228        :rtype: str
229        """
230        return self._forgotten_password_question3
231
232    @forgotten_password_question3.setter
233    def forgotten_password_question3(self, forgotten_password_question3):
234        """Sets the forgotten_password_question3 of this ForgottenPasswordInformation.
235
236        The third challenge question presented to a user who has forgotten their password.  # noqa: E501
237
238        :param forgotten_password_question3: The forgotten_password_question3 of this ForgottenPasswordInformation.  # noqa: E501
239        :type: str
240        """
241
242        self._forgotten_password_question3 = forgotten_password_question3
243
244    @property
245    def forgotten_password_question4(self):
246        """Gets the forgotten_password_question4 of this ForgottenPasswordInformation.  # noqa: E501
247
248        The fourth challenge question presented to a user who has forgotten their password.  # noqa: E501
249
250        :return: The forgotten_password_question4 of this ForgottenPasswordInformation.  # noqa: E501
251        :rtype: str
252        """
253        return self._forgotten_password_question4
254
255    @forgotten_password_question4.setter
256    def forgotten_password_question4(self, forgotten_password_question4):
257        """Sets the forgotten_password_question4 of this ForgottenPasswordInformation.
258
259        The fourth challenge question presented to a user who has forgotten their password.  # noqa: E501
260
261        :param forgotten_password_question4: The forgotten_password_question4 of this ForgottenPasswordInformation.  # noqa: E501
262        :type: str
263        """
264
265        self._forgotten_password_question4 = forgotten_password_question4
266
267    def to_dict(self):
268        """Returns the model properties as a dict"""
269        result = {}
270
271        for attr, _ in six.iteritems(self.swagger_types):
272            value = getattr(self, attr)
273            if isinstance(value, list):
274                result[attr] = list(map(
275                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
276                    value
277                ))
278            elif hasattr(value, "to_dict"):
279                result[attr] = value.to_dict()
280            elif isinstance(value, dict):
281                result[attr] = dict(map(
282                    lambda item: (item[0], item[1].to_dict())
283                    if hasattr(item[1], "to_dict") else item,
284                    value.items()
285                ))
286            else:
287                result[attr] = value
288        if issubclass(ForgottenPasswordInformation, dict):
289            for key, value in self.items():
290                result[key] = value
291
292        return result
293
294    def to_str(self):
295        """Returns the string representation of the model"""
296        return pprint.pformat(self.to_dict())
297
298    def __repr__(self):
299        """For `print` and `pprint`"""
300        return self.to_str()
301
302    def __eq__(self, other):
303        """Returns true if both objects are equal"""
304        if not isinstance(other, ForgottenPasswordInformation):
305            return False
306
307        return self.to_dict() == other.to_dict()
308
309    def __ne__(self, other):
310        """Returns true if both objects are not equal"""
311        if not isinstance(other, ForgottenPasswordInformation):
312            return True
313
314        return self.to_dict() != other.to_dict()

NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.

ForgottenPasswordInformation(_configuration=None, **kwargs)
58    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
59        """ForgottenPasswordInformation - a model defined in Swagger"""  # noqa: E501
60        if _configuration is None:
61            _configuration = Configuration()
62        self._configuration = _configuration
63
64        self._forgotten_password_answer1 = None
65        self._forgotten_password_answer2 = None
66        self._forgotten_password_answer3 = None
67        self._forgotten_password_answer4 = None
68        self._forgotten_password_question1 = None
69        self._forgotten_password_question2 = None
70        self._forgotten_password_question3 = None
71        self._forgotten_password_question4 = None
72        self.discriminator = None
73
74        setattr(self, "_{}".format('forgotten_password_answer1'), kwargs.get('forgotten_password_answer1', None))
75        setattr(self, "_{}".format('forgotten_password_answer2'), kwargs.get('forgotten_password_answer2', None))
76        setattr(self, "_{}".format('forgotten_password_answer3'), kwargs.get('forgotten_password_answer3', None))
77        setattr(self, "_{}".format('forgotten_password_answer4'), kwargs.get('forgotten_password_answer4', None))
78        setattr(self, "_{}".format('forgotten_password_question1'), kwargs.get('forgotten_password_question1', None))
79        setattr(self, "_{}".format('forgotten_password_question2'), kwargs.get('forgotten_password_question2', None))
80        setattr(self, "_{}".format('forgotten_password_question3'), kwargs.get('forgotten_password_question3', None))
81        setattr(self, "_{}".format('forgotten_password_question4'), kwargs.get('forgotten_password_question4', None))

ForgottenPasswordInformation - a model defined in Swagger

swagger_types = {'forgotten_password_answer1': 'str', 'forgotten_password_answer2': 'str', 'forgotten_password_answer3': 'str', 'forgotten_password_answer4': 'str', 'forgotten_password_question1': 'str', 'forgotten_password_question2': 'str', 'forgotten_password_question3': 'str', 'forgotten_password_question4': 'str'}
attribute_map = {'forgotten_password_answer1': 'forgottenPasswordAnswer1', 'forgotten_password_answer2': 'forgottenPasswordAnswer2', 'forgotten_password_answer3': 'forgottenPasswordAnswer3', 'forgotten_password_answer4': 'forgottenPasswordAnswer4', 'forgotten_password_question1': 'forgottenPasswordQuestion1', 'forgotten_password_question2': 'forgottenPasswordQuestion2', 'forgotten_password_question3': 'forgottenPasswordQuestion3', 'forgotten_password_question4': 'forgottenPasswordQuestion4'}
forgotten_password_answer1

Gets the forgotten_password_answer1 of this ForgottenPasswordInformation. # noqa: E501

The answer to the first forgotten password challenge question. # noqa: E501

Returns

The forgotten_password_answer1 of this ForgottenPasswordInformation. # noqa: E501

forgotten_password_answer2

Gets the forgotten_password_answer2 of this ForgottenPasswordInformation. # noqa: E501

The answer to the second forgotten password challenge question. # noqa: E501

Returns

The forgotten_password_answer2 of this ForgottenPasswordInformation. # noqa: E501

forgotten_password_answer3

Gets the forgotten_password_answer3 of this ForgottenPasswordInformation. # noqa: E501

The answer to the third forgotten password challenge question. # noqa: E501

Returns

The forgotten_password_answer3 of this ForgottenPasswordInformation. # noqa: E501

forgotten_password_answer4

Gets the forgotten_password_answer4 of this ForgottenPasswordInformation. # noqa: E501

The answer to the fourth forgotten password challenge question. # noqa: E501

Returns

The forgotten_password_answer4 of this ForgottenPasswordInformation. # noqa: E501

forgotten_password_question1

Gets the forgotten_password_question1 of this ForgottenPasswordInformation. # noqa: E501

The first challenge question presented to a user who has forgotten their password. # noqa: E501

Returns

The forgotten_password_question1 of this ForgottenPasswordInformation. # noqa: E501

forgotten_password_question2

Gets the forgotten_password_question2 of this ForgottenPasswordInformation. # noqa: E501

The second challenge question presented to a user who has forgotten their password. # noqa: E501

Returns

The forgotten_password_question2 of this ForgottenPasswordInformation. # noqa: E501

forgotten_password_question3

Gets the forgotten_password_question3 of this ForgottenPasswordInformation. # noqa: E501

The third challenge question presented to a user who has forgotten their password. # noqa: E501

Returns

The forgotten_password_question3 of this ForgottenPasswordInformation. # noqa: E501

forgotten_password_question4

Gets the forgotten_password_question4 of this ForgottenPasswordInformation. # noqa: E501

The fourth challenge question presented to a user who has forgotten their password. # noqa: E501

Returns

The forgotten_password_question4 of this ForgottenPasswordInformation. # noqa: E501

def to_dict(self)
267    def to_dict(self):
268        """Returns the model properties as a dict"""
269        result = {}
270
271        for attr, _ in six.iteritems(self.swagger_types):
272            value = getattr(self, attr)
273            if isinstance(value, list):
274                result[attr] = list(map(
275                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
276                    value
277                ))
278            elif hasattr(value, "to_dict"):
279                result[attr] = value.to_dict()
280            elif isinstance(value, dict):
281                result[attr] = dict(map(
282                    lambda item: (item[0], item[1].to_dict())
283                    if hasattr(item[1], "to_dict") else item,
284                    value.items()
285                ))
286            else:
287                result[attr] = value
288        if issubclass(ForgottenPasswordInformation, dict):
289            for key, value in self.items():
290                result[key] = value
291
292        return result

Returns the model properties as a dict

def to_str(self)
294    def to_str(self):
295        """Returns the string representation of the model"""
296        return pprint.pformat(self.to_dict())

Returns the string representation of the model