docusign_esign.models.login_account

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 LoginAccount(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        'account_id': 'str',
 37        'account_id_guid': 'str',
 38        'base_url': 'str',
 39        'email': 'str',
 40        'is_default': 'str',
 41        'login_account_settings': 'list[NameValue]',
 42        'login_user_settings': 'list[NameValue]',
 43        'name': 'str',
 44        'site_description': 'str',
 45        'user_id': 'str',
 46        'user_name': 'str'
 47    }
 48
 49    attribute_map = {
 50        'account_id': 'accountId',
 51        'account_id_guid': 'accountIdGuid',
 52        'base_url': 'baseUrl',
 53        'email': 'email',
 54        'is_default': 'isDefault',
 55        'login_account_settings': 'loginAccountSettings',
 56        'login_user_settings': 'loginUserSettings',
 57        'name': 'name',
 58        'site_description': 'siteDescription',
 59        'user_id': 'userId',
 60        'user_name': 'userName'
 61    }
 62
 63    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 64        """LoginAccount - a model defined in Swagger"""  # noqa: E501
 65        if _configuration is None:
 66            _configuration = Configuration()
 67        self._configuration = _configuration
 68
 69        self._account_id = None
 70        self._account_id_guid = None
 71        self._base_url = None
 72        self._email = None
 73        self._is_default = None
 74        self._login_account_settings = None
 75        self._login_user_settings = None
 76        self._name = None
 77        self._site_description = None
 78        self._user_id = None
 79        self._user_name = None
 80        self.discriminator = None
 81
 82        setattr(self, "_{}".format('account_id'), kwargs.get('account_id', None))
 83        setattr(self, "_{}".format('account_id_guid'), kwargs.get('account_id_guid', None))
 84        setattr(self, "_{}".format('base_url'), kwargs.get('base_url', None))
 85        setattr(self, "_{}".format('email'), kwargs.get('email', None))
 86        setattr(self, "_{}".format('is_default'), kwargs.get('is_default', None))
 87        setattr(self, "_{}".format('login_account_settings'), kwargs.get('login_account_settings', None))
 88        setattr(self, "_{}".format('login_user_settings'), kwargs.get('login_user_settings', None))
 89        setattr(self, "_{}".format('name'), kwargs.get('name', None))
 90        setattr(self, "_{}".format('site_description'), kwargs.get('site_description', None))
 91        setattr(self, "_{}".format('user_id'), kwargs.get('user_id', None))
 92        setattr(self, "_{}".format('user_name'), kwargs.get('user_name', None))
 93
 94    @property
 95    def account_id(self):
 96        """Gets the account_id of this LoginAccount.  # noqa: E501
 97
 98        The account ID associated with the envelope.  # noqa: E501
 99
100        :return: The account_id of this LoginAccount.  # noqa: E501
101        :rtype: str
102        """
103        return self._account_id
104
105    @account_id.setter
106    def account_id(self, account_id):
107        """Sets the account_id of this LoginAccount.
108
109        The account ID associated with the envelope.  # noqa: E501
110
111        :param account_id: The account_id of this LoginAccount.  # noqa: E501
112        :type: str
113        """
114
115        self._account_id = account_id
116
117    @property
118    def account_id_guid(self):
119        """Gets the account_id_guid of this LoginAccount.  # noqa: E501
120
121        The GUID associated with the account ID.  # noqa: E501
122
123        :return: The account_id_guid of this LoginAccount.  # noqa: E501
124        :rtype: str
125        """
126        return self._account_id_guid
127
128    @account_id_guid.setter
129    def account_id_guid(self, account_id_guid):
130        """Sets the account_id_guid of this LoginAccount.
131
132        The GUID associated with the account ID.  # noqa: E501
133
134        :param account_id_guid: The account_id_guid of this LoginAccount.  # noqa: E501
135        :type: str
136        """
137
138        self._account_id_guid = account_id_guid
139
140    @property
141    def base_url(self):
142        """Gets the base_url of this LoginAccount.  # noqa: E501
143
144        The URL that should be used for successive calls to this account. It includes the protocal (https), the DocuSign server where the account is located, and the account number. Use this Url to make API calls against this account. Many of the API calls provide Uri's that are relative to this baseUrl.  # noqa: E501
145
146        :return: The base_url of this LoginAccount.  # noqa: E501
147        :rtype: str
148        """
149        return self._base_url
150
151    @base_url.setter
152    def base_url(self, base_url):
153        """Sets the base_url of this LoginAccount.
154
155        The URL that should be used for successive calls to this account. It includes the protocal (https), the DocuSign server where the account is located, and the account number. Use this Url to make API calls against this account. Many of the API calls provide Uri's that are relative to this baseUrl.  # noqa: E501
156
157        :param base_url: The base_url of this LoginAccount.  # noqa: E501
158        :type: str
159        """
160
161        self._base_url = base_url
162
163    @property
164    def email(self):
165        """Gets the email of this LoginAccount.  # noqa: E501
166
167        The email address for the user.  # noqa: E501
168
169        :return: The email of this LoginAccount.  # noqa: E501
170        :rtype: str
171        """
172        return self._email
173
174    @email.setter
175    def email(self, email):
176        """Sets the email of this LoginAccount.
177
178        The email address for the user.  # noqa: E501
179
180        :param email: The email of this LoginAccount.  # noqa: E501
181        :type: str
182        """
183
184        self._email = email
185
186    @property
187    def is_default(self):
188        """Gets the is_default of this LoginAccount.  # noqa: E501
189
190        This value is true if this is the default account for the user, otherwise false is returned.  # noqa: E501
191
192        :return: The is_default of this LoginAccount.  # noqa: E501
193        :rtype: str
194        """
195        return self._is_default
196
197    @is_default.setter
198    def is_default(self, is_default):
199        """Sets the is_default of this LoginAccount.
200
201        This value is true if this is the default account for the user, otherwise false is returned.  # noqa: E501
202
203        :param is_default: The is_default of this LoginAccount.  # noqa: E501
204        :type: str
205        """
206
207        self._is_default = is_default
208
209    @property
210    def login_account_settings(self):
211        """Gets the login_account_settings of this LoginAccount.  # noqa: E501
212
213        A list of settings on the acccount that indicate what features are available.  # noqa: E501
214
215        :return: The login_account_settings of this LoginAccount.  # noqa: E501
216        :rtype: list[NameValue]
217        """
218        return self._login_account_settings
219
220    @login_account_settings.setter
221    def login_account_settings(self, login_account_settings):
222        """Sets the login_account_settings of this LoginAccount.
223
224        A list of settings on the acccount that indicate what features are available.  # noqa: E501
225
226        :param login_account_settings: The login_account_settings of this LoginAccount.  # noqa: E501
227        :type: list[NameValue]
228        """
229
230        self._login_account_settings = login_account_settings
231
232    @property
233    def login_user_settings(self):
234        """Gets the login_user_settings of this LoginAccount.  # noqa: E501
235
236        A list of user-level settings that indicate what user-specific features are available.  # noqa: E501
237
238        :return: The login_user_settings of this LoginAccount.  # noqa: E501
239        :rtype: list[NameValue]
240        """
241        return self._login_user_settings
242
243    @login_user_settings.setter
244    def login_user_settings(self, login_user_settings):
245        """Sets the login_user_settings of this LoginAccount.
246
247        A list of user-level settings that indicate what user-specific features are available.  # noqa: E501
248
249        :param login_user_settings: The login_user_settings of this LoginAccount.  # noqa: E501
250        :type: list[NameValue]
251        """
252
253        self._login_user_settings = login_user_settings
254
255    @property
256    def name(self):
257        """Gets the name of this LoginAccount.  # noqa: E501
258
259        The name associated with the account.  # noqa: E501
260
261        :return: The name of this LoginAccount.  # noqa: E501
262        :rtype: str
263        """
264        return self._name
265
266    @name.setter
267    def name(self, name):
268        """Sets the name of this LoginAccount.
269
270        The name associated with the account.  # noqa: E501
271
272        :param name: The name of this LoginAccount.  # noqa: E501
273        :type: str
274        """
275
276        self._name = name
277
278    @property
279    def site_description(self):
280        """Gets the site_description of this LoginAccount.  # noqa: E501
281
282        An optional descirption of the site that hosts the account.  # noqa: E501
283
284        :return: The site_description of this LoginAccount.  # noqa: E501
285        :rtype: str
286        """
287        return self._site_description
288
289    @site_description.setter
290    def site_description(self, site_description):
291        """Sets the site_description of this LoginAccount.
292
293        An optional descirption of the site that hosts the account.  # noqa: E501
294
295        :param site_description: The site_description of this LoginAccount.  # noqa: E501
296        :type: str
297        """
298
299        self._site_description = site_description
300
301    @property
302    def user_id(self):
303        """Gets the user_id of this LoginAccount.  # noqa: E501
304
305          # noqa: E501
306
307        :return: The user_id of this LoginAccount.  # noqa: E501
308        :rtype: str
309        """
310        return self._user_id
311
312    @user_id.setter
313    def user_id(self, user_id):
314        """Sets the user_id of this LoginAccount.
315
316          # noqa: E501
317
318        :param user_id: The user_id of this LoginAccount.  # noqa: E501
319        :type: str
320        """
321
322        self._user_id = user_id
323
324    @property
325    def user_name(self):
326        """Gets the user_name of this LoginAccount.  # noqa: E501
327
328        The name of this user as defined by the account.  # noqa: E501
329
330        :return: The user_name of this LoginAccount.  # noqa: E501
331        :rtype: str
332        """
333        return self._user_name
334
335    @user_name.setter
336    def user_name(self, user_name):
337        """Sets the user_name of this LoginAccount.
338
339        The name of this user as defined by the account.  # noqa: E501
340
341        :param user_name: The user_name of this LoginAccount.  # noqa: E501
342        :type: str
343        """
344
345        self._user_name = user_name
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(LoginAccount, 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, LoginAccount):
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, LoginAccount):
392            return True
393
394        return self.to_dict() != other.to_dict()
class LoginAccount:
 23class LoginAccount(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        'account_id': 'str',
 38        'account_id_guid': 'str',
 39        'base_url': 'str',
 40        'email': 'str',
 41        'is_default': 'str',
 42        'login_account_settings': 'list[NameValue]',
 43        'login_user_settings': 'list[NameValue]',
 44        'name': 'str',
 45        'site_description': 'str',
 46        'user_id': 'str',
 47        'user_name': 'str'
 48    }
 49
 50    attribute_map = {
 51        'account_id': 'accountId',
 52        'account_id_guid': 'accountIdGuid',
 53        'base_url': 'baseUrl',
 54        'email': 'email',
 55        'is_default': 'isDefault',
 56        'login_account_settings': 'loginAccountSettings',
 57        'login_user_settings': 'loginUserSettings',
 58        'name': 'name',
 59        'site_description': 'siteDescription',
 60        'user_id': 'userId',
 61        'user_name': 'userName'
 62    }
 63
 64    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 65        """LoginAccount - a model defined in Swagger"""  # noqa: E501
 66        if _configuration is None:
 67            _configuration = Configuration()
 68        self._configuration = _configuration
 69
 70        self._account_id = None
 71        self._account_id_guid = None
 72        self._base_url = None
 73        self._email = None
 74        self._is_default = None
 75        self._login_account_settings = None
 76        self._login_user_settings = None
 77        self._name = None
 78        self._site_description = None
 79        self._user_id = None
 80        self._user_name = None
 81        self.discriminator = None
 82
 83        setattr(self, "_{}".format('account_id'), kwargs.get('account_id', None))
 84        setattr(self, "_{}".format('account_id_guid'), kwargs.get('account_id_guid', None))
 85        setattr(self, "_{}".format('base_url'), kwargs.get('base_url', None))
 86        setattr(self, "_{}".format('email'), kwargs.get('email', None))
 87        setattr(self, "_{}".format('is_default'), kwargs.get('is_default', None))
 88        setattr(self, "_{}".format('login_account_settings'), kwargs.get('login_account_settings', None))
 89        setattr(self, "_{}".format('login_user_settings'), kwargs.get('login_user_settings', None))
 90        setattr(self, "_{}".format('name'), kwargs.get('name', None))
 91        setattr(self, "_{}".format('site_description'), kwargs.get('site_description', None))
 92        setattr(self, "_{}".format('user_id'), kwargs.get('user_id', None))
 93        setattr(self, "_{}".format('user_name'), kwargs.get('user_name', None))
 94
 95    @property
 96    def account_id(self):
 97        """Gets the account_id of this LoginAccount.  # noqa: E501
 98
 99        The account ID associated with the envelope.  # noqa: E501
100
101        :return: The account_id of this LoginAccount.  # noqa: E501
102        :rtype: str
103        """
104        return self._account_id
105
106    @account_id.setter
107    def account_id(self, account_id):
108        """Sets the account_id of this LoginAccount.
109
110        The account ID associated with the envelope.  # noqa: E501
111
112        :param account_id: The account_id of this LoginAccount.  # noqa: E501
113        :type: str
114        """
115
116        self._account_id = account_id
117
118    @property
119    def account_id_guid(self):
120        """Gets the account_id_guid of this LoginAccount.  # noqa: E501
121
122        The GUID associated with the account ID.  # noqa: E501
123
124        :return: The account_id_guid of this LoginAccount.  # noqa: E501
125        :rtype: str
126        """
127        return self._account_id_guid
128
129    @account_id_guid.setter
130    def account_id_guid(self, account_id_guid):
131        """Sets the account_id_guid of this LoginAccount.
132
133        The GUID associated with the account ID.  # noqa: E501
134
135        :param account_id_guid: The account_id_guid of this LoginAccount.  # noqa: E501
136        :type: str
137        """
138
139        self._account_id_guid = account_id_guid
140
141    @property
142    def base_url(self):
143        """Gets the base_url of this LoginAccount.  # noqa: E501
144
145        The URL that should be used for successive calls to this account. It includes the protocal (https), the DocuSign server where the account is located, and the account number. Use this Url to make API calls against this account. Many of the API calls provide Uri's that are relative to this baseUrl.  # noqa: E501
146
147        :return: The base_url of this LoginAccount.  # noqa: E501
148        :rtype: str
149        """
150        return self._base_url
151
152    @base_url.setter
153    def base_url(self, base_url):
154        """Sets the base_url of this LoginAccount.
155
156        The URL that should be used for successive calls to this account. It includes the protocal (https), the DocuSign server where the account is located, and the account number. Use this Url to make API calls against this account. Many of the API calls provide Uri's that are relative to this baseUrl.  # noqa: E501
157
158        :param base_url: The base_url of this LoginAccount.  # noqa: E501
159        :type: str
160        """
161
162        self._base_url = base_url
163
164    @property
165    def email(self):
166        """Gets the email of this LoginAccount.  # noqa: E501
167
168        The email address for the user.  # noqa: E501
169
170        :return: The email of this LoginAccount.  # noqa: E501
171        :rtype: str
172        """
173        return self._email
174
175    @email.setter
176    def email(self, email):
177        """Sets the email of this LoginAccount.
178
179        The email address for the user.  # noqa: E501
180
181        :param email: The email of this LoginAccount.  # noqa: E501
182        :type: str
183        """
184
185        self._email = email
186
187    @property
188    def is_default(self):
189        """Gets the is_default of this LoginAccount.  # noqa: E501
190
191        This value is true if this is the default account for the user, otherwise false is returned.  # noqa: E501
192
193        :return: The is_default of this LoginAccount.  # noqa: E501
194        :rtype: str
195        """
196        return self._is_default
197
198    @is_default.setter
199    def is_default(self, is_default):
200        """Sets the is_default of this LoginAccount.
201
202        This value is true if this is the default account for the user, otherwise false is returned.  # noqa: E501
203
204        :param is_default: The is_default of this LoginAccount.  # noqa: E501
205        :type: str
206        """
207
208        self._is_default = is_default
209
210    @property
211    def login_account_settings(self):
212        """Gets the login_account_settings of this LoginAccount.  # noqa: E501
213
214        A list of settings on the acccount that indicate what features are available.  # noqa: E501
215
216        :return: The login_account_settings of this LoginAccount.  # noqa: E501
217        :rtype: list[NameValue]
218        """
219        return self._login_account_settings
220
221    @login_account_settings.setter
222    def login_account_settings(self, login_account_settings):
223        """Sets the login_account_settings of this LoginAccount.
224
225        A list of settings on the acccount that indicate what features are available.  # noqa: E501
226
227        :param login_account_settings: The login_account_settings of this LoginAccount.  # noqa: E501
228        :type: list[NameValue]
229        """
230
231        self._login_account_settings = login_account_settings
232
233    @property
234    def login_user_settings(self):
235        """Gets the login_user_settings of this LoginAccount.  # noqa: E501
236
237        A list of user-level settings that indicate what user-specific features are available.  # noqa: E501
238
239        :return: The login_user_settings of this LoginAccount.  # noqa: E501
240        :rtype: list[NameValue]
241        """
242        return self._login_user_settings
243
244    @login_user_settings.setter
245    def login_user_settings(self, login_user_settings):
246        """Sets the login_user_settings of this LoginAccount.
247
248        A list of user-level settings that indicate what user-specific features are available.  # noqa: E501
249
250        :param login_user_settings: The login_user_settings of this LoginAccount.  # noqa: E501
251        :type: list[NameValue]
252        """
253
254        self._login_user_settings = login_user_settings
255
256    @property
257    def name(self):
258        """Gets the name of this LoginAccount.  # noqa: E501
259
260        The name associated with the account.  # noqa: E501
261
262        :return: The name of this LoginAccount.  # noqa: E501
263        :rtype: str
264        """
265        return self._name
266
267    @name.setter
268    def name(self, name):
269        """Sets the name of this LoginAccount.
270
271        The name associated with the account.  # noqa: E501
272
273        :param name: The name of this LoginAccount.  # noqa: E501
274        :type: str
275        """
276
277        self._name = name
278
279    @property
280    def site_description(self):
281        """Gets the site_description of this LoginAccount.  # noqa: E501
282
283        An optional descirption of the site that hosts the account.  # noqa: E501
284
285        :return: The site_description of this LoginAccount.  # noqa: E501
286        :rtype: str
287        """
288        return self._site_description
289
290    @site_description.setter
291    def site_description(self, site_description):
292        """Sets the site_description of this LoginAccount.
293
294        An optional descirption of the site that hosts the account.  # noqa: E501
295
296        :param site_description: The site_description of this LoginAccount.  # noqa: E501
297        :type: str
298        """
299
300        self._site_description = site_description
301
302    @property
303    def user_id(self):
304        """Gets the user_id of this LoginAccount.  # noqa: E501
305
306          # noqa: E501
307
308        :return: The user_id of this LoginAccount.  # noqa: E501
309        :rtype: str
310        """
311        return self._user_id
312
313    @user_id.setter
314    def user_id(self, user_id):
315        """Sets the user_id of this LoginAccount.
316
317          # noqa: E501
318
319        :param user_id: The user_id of this LoginAccount.  # noqa: E501
320        :type: str
321        """
322
323        self._user_id = user_id
324
325    @property
326    def user_name(self):
327        """Gets the user_name of this LoginAccount.  # noqa: E501
328
329        The name of this user as defined by the account.  # noqa: E501
330
331        :return: The user_name of this LoginAccount.  # noqa: E501
332        :rtype: str
333        """
334        return self._user_name
335
336    @user_name.setter
337    def user_name(self, user_name):
338        """Sets the user_name of this LoginAccount.
339
340        The name of this user as defined by the account.  # noqa: E501
341
342        :param user_name: The user_name of this LoginAccount.  # noqa: E501
343        :type: str
344        """
345
346        self._user_name = user_name
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(LoginAccount, 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, LoginAccount):
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, LoginAccount):
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.

LoginAccount(_configuration=None, **kwargs)
64    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
65        """LoginAccount - a model defined in Swagger"""  # noqa: E501
66        if _configuration is None:
67            _configuration = Configuration()
68        self._configuration = _configuration
69
70        self._account_id = None
71        self._account_id_guid = None
72        self._base_url = None
73        self._email = None
74        self._is_default = None
75        self._login_account_settings = None
76        self._login_user_settings = None
77        self._name = None
78        self._site_description = None
79        self._user_id = None
80        self._user_name = None
81        self.discriminator = None
82
83        setattr(self, "_{}".format('account_id'), kwargs.get('account_id', None))
84        setattr(self, "_{}".format('account_id_guid'), kwargs.get('account_id_guid', None))
85        setattr(self, "_{}".format('base_url'), kwargs.get('base_url', None))
86        setattr(self, "_{}".format('email'), kwargs.get('email', None))
87        setattr(self, "_{}".format('is_default'), kwargs.get('is_default', None))
88        setattr(self, "_{}".format('login_account_settings'), kwargs.get('login_account_settings', None))
89        setattr(self, "_{}".format('login_user_settings'), kwargs.get('login_user_settings', None))
90        setattr(self, "_{}".format('name'), kwargs.get('name', None))
91        setattr(self, "_{}".format('site_description'), kwargs.get('site_description', None))
92        setattr(self, "_{}".format('user_id'), kwargs.get('user_id', None))
93        setattr(self, "_{}".format('user_name'), kwargs.get('user_name', None))

LoginAccount - a model defined in Swagger

swagger_types = {'account_id': 'str', 'account_id_guid': 'str', 'base_url': 'str', 'email': 'str', 'is_default': 'str', 'login_account_settings': 'list[NameValue]', 'login_user_settings': 'list[NameValue]', 'name': 'str', 'site_description': 'str', 'user_id': 'str', 'user_name': 'str'}
attribute_map = {'account_id': 'accountId', 'account_id_guid': 'accountIdGuid', 'base_url': 'baseUrl', 'email': 'email', 'is_default': 'isDefault', 'login_account_settings': 'loginAccountSettings', 'login_user_settings': 'loginUserSettings', 'name': 'name', 'site_description': 'siteDescription', 'user_id': 'userId', 'user_name': 'userName'}
account_id

Gets the account_id of this LoginAccount. # noqa: E501

The account ID associated with the envelope. # noqa: E501

Returns

The account_id of this LoginAccount. # noqa: E501

account_id_guid

Gets the account_id_guid of this LoginAccount. # noqa: E501

The GUID associated with the account ID. # noqa: E501

Returns

The account_id_guid of this LoginAccount. # noqa: E501

base_url

Gets the base_url of this LoginAccount. # noqa: E501

The URL that should be used for successive calls to this account. It includes the protocal (https), the DocuSign server where the account is located, and the account number. Use this Url to make API calls against this account. Many of the API calls provide Uri's that are relative to this baseUrl. # noqa: E501

Returns

The base_url of this LoginAccount. # noqa: E501

email

Gets the email of this LoginAccount. # noqa: E501

The email address for the user. # noqa: E501

Returns

The email of this LoginAccount. # noqa: E501

is_default

Gets the is_default of this LoginAccount. # noqa: E501

This value is true if this is the default account for the user, otherwise false is returned. # noqa: E501

Returns

The is_default of this LoginAccount. # noqa: E501

login_account_settings

Gets the login_account_settings of this LoginAccount. # noqa: E501

A list of settings on the acccount that indicate what features are available. # noqa: E501

Returns

The login_account_settings of this LoginAccount. # noqa: E501

login_user_settings

Gets the login_user_settings of this LoginAccount. # noqa: E501

A list of user-level settings that indicate what user-specific features are available. # noqa: E501

Returns

The login_user_settings of this LoginAccount. # noqa: E501

name

Gets the name of this LoginAccount. # noqa: E501

The name associated with the account. # noqa: E501

Returns

The name of this LoginAccount. # noqa: E501

site_description

Gets the site_description of this LoginAccount. # noqa: E501

An optional descirption of the site that hosts the account. # noqa: E501

Returns

The site_description of this LoginAccount. # noqa: E501

user_id

Gets the user_id of this LoginAccount. # noqa: E501

# noqa: E501

Returns

The user_id of this LoginAccount. # noqa: E501

user_name

Gets the user_name of this LoginAccount. # noqa: E501

The name of this user as defined by the account. # noqa: E501

Returns

The user_name of this LoginAccount. # 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(LoginAccount, 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