docusign_esign.models.new_user

DocuSign REST API

The DocuSign 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 REST API
  5
  6    The DocuSign 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 NewUser(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        'api_password': 'str',
 37        'created_date_time': 'str',
 38        'email': 'str',
 39        'error_details': 'ErrorDetails',
 40        'membership_id': 'str',
 41        'permission_profile_id': 'str',
 42        'permission_profile_name': 'str',
 43        'uri': 'str',
 44        'user_id': 'str',
 45        'user_name': 'str',
 46        'user_status': 'str'
 47    }
 48
 49    attribute_map = {
 50        'api_password': 'apiPassword',
 51        'created_date_time': 'createdDateTime',
 52        'email': 'email',
 53        'error_details': 'errorDetails',
 54        'membership_id': 'membershipId',
 55        'permission_profile_id': 'permissionProfileId',
 56        'permission_profile_name': 'permissionProfileName',
 57        'uri': 'uri',
 58        'user_id': 'userId',
 59        'user_name': 'userName',
 60        'user_status': 'userStatus'
 61    }
 62
 63    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 64        """NewUser - a model defined in Swagger"""  # noqa: E501
 65        if _configuration is None:
 66            _configuration = Configuration()
 67        self._configuration = _configuration
 68
 69        self._api_password = None
 70        self._created_date_time = None
 71        self._email = None
 72        self._error_details = None
 73        self._membership_id = None
 74        self._permission_profile_id = None
 75        self._permission_profile_name = None
 76        self._uri = None
 77        self._user_id = None
 78        self._user_name = None
 79        self._user_status = None
 80        self.discriminator = None
 81
 82        setattr(self, "_{}".format('api_password'), kwargs.get('api_password', None))
 83        setattr(self, "_{}".format('created_date_time'), kwargs.get('created_date_time', None))
 84        setattr(self, "_{}".format('email'), kwargs.get('email', None))
 85        setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None))
 86        setattr(self, "_{}".format('membership_id'), kwargs.get('membership_id', None))
 87        setattr(self, "_{}".format('permission_profile_id'), kwargs.get('permission_profile_id', None))
 88        setattr(self, "_{}".format('permission_profile_name'), kwargs.get('permission_profile_name', None))
 89        setattr(self, "_{}".format('uri'), kwargs.get('uri', None))
 90        setattr(self, "_{}".format('user_id'), kwargs.get('user_id', None))
 91        setattr(self, "_{}".format('user_name'), kwargs.get('user_name', None))
 92        setattr(self, "_{}".format('user_status'), kwargs.get('user_status', None))
 93
 94    @property
 95    def api_password(self):
 96        """Gets the api_password of this NewUser.  # noqa: E501
 97
 98        Contains a token that can be used for authentication in API calls instead of using the user name and password.  # noqa: E501
 99
100        :return: The api_password of this NewUser.  # noqa: E501
101        :rtype: str
102        """
103        return self._api_password
104
105    @api_password.setter
106    def api_password(self, api_password):
107        """Sets the api_password of this NewUser.
108
109        Contains a token that can be used for authentication in API calls instead of using the user name and password.  # noqa: E501
110
111        :param api_password: The api_password of this NewUser.  # noqa: E501
112        :type: str
113        """
114
115        self._api_password = api_password
116
117    @property
118    def created_date_time(self):
119        """Gets the created_date_time of this NewUser.  # noqa: E501
120
121        Indicates the date and time the item was created.  # noqa: E501
122
123        :return: The created_date_time of this NewUser.  # noqa: E501
124        :rtype: str
125        """
126        return self._created_date_time
127
128    @created_date_time.setter
129    def created_date_time(self, created_date_time):
130        """Sets the created_date_time of this NewUser.
131
132        Indicates the date and time the item was created.  # noqa: E501
133
134        :param created_date_time: The created_date_time of this NewUser.  # noqa: E501
135        :type: str
136        """
137
138        self._created_date_time = created_date_time
139
140    @property
141    def email(self):
142        """Gets the email of this NewUser.  # noqa: E501
143
144          # noqa: E501
145
146        :return: The email of this NewUser.  # noqa: E501
147        :rtype: str
148        """
149        return self._email
150
151    @email.setter
152    def email(self, email):
153        """Sets the email of this NewUser.
154
155          # noqa: E501
156
157        :param email: The email of this NewUser.  # noqa: E501
158        :type: str
159        """
160
161        self._email = email
162
163    @property
164    def error_details(self):
165        """Gets the error_details of this NewUser.  # noqa: E501
166
167        Array or errors.  # noqa: E501
168
169        :return: The error_details of this NewUser.  # noqa: E501
170        :rtype: ErrorDetails
171        """
172        return self._error_details
173
174    @error_details.setter
175    def error_details(self, error_details):
176        """Sets the error_details of this NewUser.
177
178        Array or errors.  # noqa: E501
179
180        :param error_details: The error_details of this NewUser.  # noqa: E501
181        :type: ErrorDetails
182        """
183
184        self._error_details = error_details
185
186    @property
187    def membership_id(self):
188        """Gets the membership_id of this NewUser.  # noqa: E501
189
190          # noqa: E501
191
192        :return: The membership_id of this NewUser.  # noqa: E501
193        :rtype: str
194        """
195        return self._membership_id
196
197    @membership_id.setter
198    def membership_id(self, membership_id):
199        """Sets the membership_id of this NewUser.
200
201          # noqa: E501
202
203        :param membership_id: The membership_id of this NewUser.  # noqa: E501
204        :type: str
205        """
206
207        self._membership_id = membership_id
208
209    @property
210    def permission_profile_id(self):
211        """Gets the permission_profile_id of this NewUser.  # noqa: E501
212
213          # noqa: E501
214
215        :return: The permission_profile_id of this NewUser.  # noqa: E501
216        :rtype: str
217        """
218        return self._permission_profile_id
219
220    @permission_profile_id.setter
221    def permission_profile_id(self, permission_profile_id):
222        """Sets the permission_profile_id of this NewUser.
223
224          # noqa: E501
225
226        :param permission_profile_id: The permission_profile_id of this NewUser.  # noqa: E501
227        :type: str
228        """
229
230        self._permission_profile_id = permission_profile_id
231
232    @property
233    def permission_profile_name(self):
234        """Gets the permission_profile_name of this NewUser.  # noqa: E501
235
236          # noqa: E501
237
238        :return: The permission_profile_name of this NewUser.  # noqa: E501
239        :rtype: str
240        """
241        return self._permission_profile_name
242
243    @permission_profile_name.setter
244    def permission_profile_name(self, permission_profile_name):
245        """Sets the permission_profile_name of this NewUser.
246
247          # noqa: E501
248
249        :param permission_profile_name: The permission_profile_name of this NewUser.  # noqa: E501
250        :type: str
251        """
252
253        self._permission_profile_name = permission_profile_name
254
255    @property
256    def uri(self):
257        """Gets the uri of this NewUser.  # noqa: E501
258
259          # noqa: E501
260
261        :return: The uri of this NewUser.  # noqa: E501
262        :rtype: str
263        """
264        return self._uri
265
266    @uri.setter
267    def uri(self, uri):
268        """Sets the uri of this NewUser.
269
270          # noqa: E501
271
272        :param uri: The uri of this NewUser.  # noqa: E501
273        :type: str
274        """
275
276        self._uri = uri
277
278    @property
279    def user_id(self):
280        """Gets the user_id of this NewUser.  # noqa: E501
281
282        Specifies the user ID for the new user.  # noqa: E501
283
284        :return: The user_id of this NewUser.  # noqa: E501
285        :rtype: str
286        """
287        return self._user_id
288
289    @user_id.setter
290    def user_id(self, user_id):
291        """Sets the user_id of this NewUser.
292
293        Specifies the user ID for the new user.  # noqa: E501
294
295        :param user_id: The user_id of this NewUser.  # noqa: E501
296        :type: str
297        """
298
299        self._user_id = user_id
300
301    @property
302    def user_name(self):
303        """Gets the user_name of this NewUser.  # noqa: E501
304
305          # noqa: E501
306
307        :return: The user_name of this NewUser.  # noqa: E501
308        :rtype: str
309        """
310        return self._user_name
311
312    @user_name.setter
313    def user_name(self, user_name):
314        """Sets the user_name of this NewUser.
315
316          # noqa: E501
317
318        :param user_name: The user_name of this NewUser.  # noqa: E501
319        :type: str
320        """
321
322        self._user_name = user_name
323
324    @property
325    def user_status(self):
326        """Gets the user_status of this NewUser.  # noqa: E501
327
328          # noqa: E501
329
330        :return: The user_status of this NewUser.  # noqa: E501
331        :rtype: str
332        """
333        return self._user_status
334
335    @user_status.setter
336    def user_status(self, user_status):
337        """Sets the user_status of this NewUser.
338
339          # noqa: E501
340
341        :param user_status: The user_status of this NewUser.  # noqa: E501
342        :type: str
343        """
344
345        self._user_status = user_status
346
347    def to_dict(self):
348        """Returns the model properties as a dict"""
349        result = {}
350
351        for attr, _ in six.iteritems(self.swagger_types):
352            value = getattr(self, attr)
353            if isinstance(value, list):
354                result[attr] = list(map(
355                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
356                    value
357                ))
358            elif hasattr(value, "to_dict"):
359                result[attr] = value.to_dict()
360            elif isinstance(value, dict):
361                result[attr] = dict(map(
362                    lambda item: (item[0], item[1].to_dict())
363                    if hasattr(item[1], "to_dict") else item,
364                    value.items()
365                ))
366            else:
367                result[attr] = value
368        if issubclass(NewUser, dict):
369            for key, value in self.items():
370                result[key] = value
371
372        return result
373
374    def to_str(self):
375        """Returns the string representation of the model"""
376        return pprint.pformat(self.to_dict())
377
378    def __repr__(self):
379        """For `print` and `pprint`"""
380        return self.to_str()
381
382    def __eq__(self, other):
383        """Returns true if both objects are equal"""
384        if not isinstance(other, NewUser):
385            return False
386
387        return self.to_dict() == other.to_dict()
388
389    def __ne__(self, other):
390        """Returns true if both objects are not equal"""
391        if not isinstance(other, NewUser):
392            return True
393
394        return self.to_dict() != other.to_dict()
class NewUser:
 23class NewUser(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        'api_password': 'str',
 38        'created_date_time': 'str',
 39        'email': 'str',
 40        'error_details': 'ErrorDetails',
 41        'membership_id': 'str',
 42        'permission_profile_id': 'str',
 43        'permission_profile_name': 'str',
 44        'uri': 'str',
 45        'user_id': 'str',
 46        'user_name': 'str',
 47        'user_status': 'str'
 48    }
 49
 50    attribute_map = {
 51        'api_password': 'apiPassword',
 52        'created_date_time': 'createdDateTime',
 53        'email': 'email',
 54        'error_details': 'errorDetails',
 55        'membership_id': 'membershipId',
 56        'permission_profile_id': 'permissionProfileId',
 57        'permission_profile_name': 'permissionProfileName',
 58        'uri': 'uri',
 59        'user_id': 'userId',
 60        'user_name': 'userName',
 61        'user_status': 'userStatus'
 62    }
 63
 64    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 65        """NewUser - a model defined in Swagger"""  # noqa: E501
 66        if _configuration is None:
 67            _configuration = Configuration()
 68        self._configuration = _configuration
 69
 70        self._api_password = None
 71        self._created_date_time = None
 72        self._email = None
 73        self._error_details = None
 74        self._membership_id = None
 75        self._permission_profile_id = None
 76        self._permission_profile_name = None
 77        self._uri = None
 78        self._user_id = None
 79        self._user_name = None
 80        self._user_status = None
 81        self.discriminator = None
 82
 83        setattr(self, "_{}".format('api_password'), kwargs.get('api_password', None))
 84        setattr(self, "_{}".format('created_date_time'), kwargs.get('created_date_time', None))
 85        setattr(self, "_{}".format('email'), kwargs.get('email', None))
 86        setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None))
 87        setattr(self, "_{}".format('membership_id'), kwargs.get('membership_id', None))
 88        setattr(self, "_{}".format('permission_profile_id'), kwargs.get('permission_profile_id', None))
 89        setattr(self, "_{}".format('permission_profile_name'), kwargs.get('permission_profile_name', None))
 90        setattr(self, "_{}".format('uri'), kwargs.get('uri', None))
 91        setattr(self, "_{}".format('user_id'), kwargs.get('user_id', None))
 92        setattr(self, "_{}".format('user_name'), kwargs.get('user_name', None))
 93        setattr(self, "_{}".format('user_status'), kwargs.get('user_status', None))
 94
 95    @property
 96    def api_password(self):
 97        """Gets the api_password of this NewUser.  # noqa: E501
 98
 99        Contains a token that can be used for authentication in API calls instead of using the user name and password.  # noqa: E501
100
101        :return: The api_password of this NewUser.  # noqa: E501
102        :rtype: str
103        """
104        return self._api_password
105
106    @api_password.setter
107    def api_password(self, api_password):
108        """Sets the api_password of this NewUser.
109
110        Contains a token that can be used for authentication in API calls instead of using the user name and password.  # noqa: E501
111
112        :param api_password: The api_password of this NewUser.  # noqa: E501
113        :type: str
114        """
115
116        self._api_password = api_password
117
118    @property
119    def created_date_time(self):
120        """Gets the created_date_time of this NewUser.  # noqa: E501
121
122        Indicates the date and time the item was created.  # noqa: E501
123
124        :return: The created_date_time of this NewUser.  # noqa: E501
125        :rtype: str
126        """
127        return self._created_date_time
128
129    @created_date_time.setter
130    def created_date_time(self, created_date_time):
131        """Sets the created_date_time of this NewUser.
132
133        Indicates the date and time the item was created.  # noqa: E501
134
135        :param created_date_time: The created_date_time of this NewUser.  # noqa: E501
136        :type: str
137        """
138
139        self._created_date_time = created_date_time
140
141    @property
142    def email(self):
143        """Gets the email of this NewUser.  # noqa: E501
144
145          # noqa: E501
146
147        :return: The email of this NewUser.  # noqa: E501
148        :rtype: str
149        """
150        return self._email
151
152    @email.setter
153    def email(self, email):
154        """Sets the email of this NewUser.
155
156          # noqa: E501
157
158        :param email: The email of this NewUser.  # noqa: E501
159        :type: str
160        """
161
162        self._email = email
163
164    @property
165    def error_details(self):
166        """Gets the error_details of this NewUser.  # noqa: E501
167
168        Array or errors.  # noqa: E501
169
170        :return: The error_details of this NewUser.  # noqa: E501
171        :rtype: ErrorDetails
172        """
173        return self._error_details
174
175    @error_details.setter
176    def error_details(self, error_details):
177        """Sets the error_details of this NewUser.
178
179        Array or errors.  # noqa: E501
180
181        :param error_details: The error_details of this NewUser.  # noqa: E501
182        :type: ErrorDetails
183        """
184
185        self._error_details = error_details
186
187    @property
188    def membership_id(self):
189        """Gets the membership_id of this NewUser.  # noqa: E501
190
191          # noqa: E501
192
193        :return: The membership_id of this NewUser.  # noqa: E501
194        :rtype: str
195        """
196        return self._membership_id
197
198    @membership_id.setter
199    def membership_id(self, membership_id):
200        """Sets the membership_id of this NewUser.
201
202          # noqa: E501
203
204        :param membership_id: The membership_id of this NewUser.  # noqa: E501
205        :type: str
206        """
207
208        self._membership_id = membership_id
209
210    @property
211    def permission_profile_id(self):
212        """Gets the permission_profile_id of this NewUser.  # noqa: E501
213
214          # noqa: E501
215
216        :return: The permission_profile_id of this NewUser.  # noqa: E501
217        :rtype: str
218        """
219        return self._permission_profile_id
220
221    @permission_profile_id.setter
222    def permission_profile_id(self, permission_profile_id):
223        """Sets the permission_profile_id of this NewUser.
224
225          # noqa: E501
226
227        :param permission_profile_id: The permission_profile_id of this NewUser.  # noqa: E501
228        :type: str
229        """
230
231        self._permission_profile_id = permission_profile_id
232
233    @property
234    def permission_profile_name(self):
235        """Gets the permission_profile_name of this NewUser.  # noqa: E501
236
237          # noqa: E501
238
239        :return: The permission_profile_name of this NewUser.  # noqa: E501
240        :rtype: str
241        """
242        return self._permission_profile_name
243
244    @permission_profile_name.setter
245    def permission_profile_name(self, permission_profile_name):
246        """Sets the permission_profile_name of this NewUser.
247
248          # noqa: E501
249
250        :param permission_profile_name: The permission_profile_name of this NewUser.  # noqa: E501
251        :type: str
252        """
253
254        self._permission_profile_name = permission_profile_name
255
256    @property
257    def uri(self):
258        """Gets the uri of this NewUser.  # noqa: E501
259
260          # noqa: E501
261
262        :return: The uri of this NewUser.  # noqa: E501
263        :rtype: str
264        """
265        return self._uri
266
267    @uri.setter
268    def uri(self, uri):
269        """Sets the uri of this NewUser.
270
271          # noqa: E501
272
273        :param uri: The uri of this NewUser.  # noqa: E501
274        :type: str
275        """
276
277        self._uri = uri
278
279    @property
280    def user_id(self):
281        """Gets the user_id of this NewUser.  # noqa: E501
282
283        Specifies the user ID for the new user.  # noqa: E501
284
285        :return: The user_id of this NewUser.  # noqa: E501
286        :rtype: str
287        """
288        return self._user_id
289
290    @user_id.setter
291    def user_id(self, user_id):
292        """Sets the user_id of this NewUser.
293
294        Specifies the user ID for the new user.  # noqa: E501
295
296        :param user_id: The user_id of this NewUser.  # noqa: E501
297        :type: str
298        """
299
300        self._user_id = user_id
301
302    @property
303    def user_name(self):
304        """Gets the user_name of this NewUser.  # noqa: E501
305
306          # noqa: E501
307
308        :return: The user_name of this NewUser.  # noqa: E501
309        :rtype: str
310        """
311        return self._user_name
312
313    @user_name.setter
314    def user_name(self, user_name):
315        """Sets the user_name of this NewUser.
316
317          # noqa: E501
318
319        :param user_name: The user_name of this NewUser.  # noqa: E501
320        :type: str
321        """
322
323        self._user_name = user_name
324
325    @property
326    def user_status(self):
327        """Gets the user_status of this NewUser.  # noqa: E501
328
329          # noqa: E501
330
331        :return: The user_status of this NewUser.  # noqa: E501
332        :rtype: str
333        """
334        return self._user_status
335
336    @user_status.setter
337    def user_status(self, user_status):
338        """Sets the user_status of this NewUser.
339
340          # noqa: E501
341
342        :param user_status: The user_status of this NewUser.  # noqa: E501
343        :type: str
344        """
345
346        self._user_status = user_status
347
348    def to_dict(self):
349        """Returns the model properties as a dict"""
350        result = {}
351
352        for attr, _ in six.iteritems(self.swagger_types):
353            value = getattr(self, attr)
354            if isinstance(value, list):
355                result[attr] = list(map(
356                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
357                    value
358                ))
359            elif hasattr(value, "to_dict"):
360                result[attr] = value.to_dict()
361            elif isinstance(value, dict):
362                result[attr] = dict(map(
363                    lambda item: (item[0], item[1].to_dict())
364                    if hasattr(item[1], "to_dict") else item,
365                    value.items()
366                ))
367            else:
368                result[attr] = value
369        if issubclass(NewUser, dict):
370            for key, value in self.items():
371                result[key] = value
372
373        return result
374
375    def to_str(self):
376        """Returns the string representation of the model"""
377        return pprint.pformat(self.to_dict())
378
379    def __repr__(self):
380        """For `print` and `pprint`"""
381        return self.to_str()
382
383    def __eq__(self, other):
384        """Returns true if both objects are equal"""
385        if not isinstance(other, NewUser):
386            return False
387
388        return self.to_dict() == other.to_dict()
389
390    def __ne__(self, other):
391        """Returns true if both objects are not equal"""
392        if not isinstance(other, NewUser):
393            return True
394
395        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.

NewUser(_configuration=None, **kwargs)
64    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
65        """NewUser - a model defined in Swagger"""  # noqa: E501
66        if _configuration is None:
67            _configuration = Configuration()
68        self._configuration = _configuration
69
70        self._api_password = None
71        self._created_date_time = None
72        self._email = None
73        self._error_details = None
74        self._membership_id = None
75        self._permission_profile_id = None
76        self._permission_profile_name = None
77        self._uri = None
78        self._user_id = None
79        self._user_name = None
80        self._user_status = None
81        self.discriminator = None
82
83        setattr(self, "_{}".format('api_password'), kwargs.get('api_password', None))
84        setattr(self, "_{}".format('created_date_time'), kwargs.get('created_date_time', None))
85        setattr(self, "_{}".format('email'), kwargs.get('email', None))
86        setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None))
87        setattr(self, "_{}".format('membership_id'), kwargs.get('membership_id', None))
88        setattr(self, "_{}".format('permission_profile_id'), kwargs.get('permission_profile_id', None))
89        setattr(self, "_{}".format('permission_profile_name'), kwargs.get('permission_profile_name', None))
90        setattr(self, "_{}".format('uri'), kwargs.get('uri', None))
91        setattr(self, "_{}".format('user_id'), kwargs.get('user_id', None))
92        setattr(self, "_{}".format('user_name'), kwargs.get('user_name', None))
93        setattr(self, "_{}".format('user_status'), kwargs.get('user_status', None))

NewUser - a model defined in Swagger

swagger_types = {'api_password': 'str', 'created_date_time': 'str', 'email': 'str', 'error_details': 'ErrorDetails', 'membership_id': 'str', 'permission_profile_id': 'str', 'permission_profile_name': 'str', 'uri': 'str', 'user_id': 'str', 'user_name': 'str', 'user_status': 'str'}
attribute_map = {'api_password': 'apiPassword', 'created_date_time': 'createdDateTime', 'email': 'email', 'error_details': 'errorDetails', 'membership_id': 'membershipId', 'permission_profile_id': 'permissionProfileId', 'permission_profile_name': 'permissionProfileName', 'uri': 'uri', 'user_id': 'userId', 'user_name': 'userName', 'user_status': 'userStatus'}
api_password

Gets the api_password of this NewUser. # noqa: E501

Contains a token that can be used for authentication in API calls instead of using the user name and password. # noqa: E501

Returns

The api_password of this NewUser. # noqa: E501

created_date_time

Gets the created_date_time of this NewUser. # noqa: E501

Indicates the date and time the item was created. # noqa: E501

Returns

The created_date_time of this NewUser. # noqa: E501

email

Gets the email of this NewUser. # noqa: E501

# noqa: E501

Returns

The email of this NewUser. # noqa: E501

error_details

Gets the error_details of this NewUser. # noqa: E501

Array or errors. # noqa: E501

Returns

The error_details of this NewUser. # noqa: E501

membership_id

Gets the membership_id of this NewUser. # noqa: E501

# noqa: E501

Returns

The membership_id of this NewUser. # noqa: E501

permission_profile_id

Gets the permission_profile_id of this NewUser. # noqa: E501

# noqa: E501

Returns

The permission_profile_id of this NewUser. # noqa: E501

permission_profile_name

Gets the permission_profile_name of this NewUser. # noqa: E501

# noqa: E501

Returns

The permission_profile_name of this NewUser. # noqa: E501

uri

Gets the uri of this NewUser. # noqa: E501

# noqa: E501

Returns

The uri of this NewUser. # noqa: E501

user_id

Gets the user_id of this NewUser. # noqa: E501

Specifies the user ID for the new user. # noqa: E501

Returns

The user_id of this NewUser. # noqa: E501

user_name

Gets the user_name of this NewUser. # noqa: E501

# noqa: E501

Returns

The user_name of this NewUser. # noqa: E501

user_status

Gets the user_status of this NewUser. # noqa: E501

# noqa: E501

Returns

The user_status of this NewUser. # noqa: E501

def to_dict(self)
348    def to_dict(self):
349        """Returns the model properties as a dict"""
350        result = {}
351
352        for attr, _ in six.iteritems(self.swagger_types):
353            value = getattr(self, attr)
354            if isinstance(value, list):
355                result[attr] = list(map(
356                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
357                    value
358                ))
359            elif hasattr(value, "to_dict"):
360                result[attr] = value.to_dict()
361            elif isinstance(value, dict):
362                result[attr] = dict(map(
363                    lambda item: (item[0], item[1].to_dict())
364                    if hasattr(item[1], "to_dict") else item,
365                    value.items()
366                ))
367            else:
368                result[attr] = value
369        if issubclass(NewUser, dict):
370            for key, value in self.items():
371                result[key] = value
372
373        return result

Returns the model properties as a dict

def to_str(self)
375    def to_str(self):
376        """Returns the string representation of the model"""
377        return pprint.pformat(self.to_dict())

Returns the string representation of the model