docusign_esign.models.contact

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 Contact(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        'can_manage': 'str',
 37        'cloud_provider': 'str',
 38        'cloud_provider_container_id': 'str',
 39        'contact_id': 'str',
 40        'contact_phone_numbers': 'list[ContactPhoneNumber]',
 41        'contact_uri': 'str',
 42        'emails': 'list[str]',
 43        'error_details': 'ErrorDetails',
 44        'is_owner': 'bool',
 45        'name': 'str',
 46        'notary_contact_details': 'NotaryContactDetails',
 47        'organization': 'str',
 48        'room_contact_type': 'str',
 49        'shared': 'str',
 50        'signing_group': 'str',
 51        'signing_group_name': 'str'
 52    }
 53
 54    attribute_map = {
 55        'can_manage': 'canManage',
 56        'cloud_provider': 'cloudProvider',
 57        'cloud_provider_container_id': 'cloudProviderContainerId',
 58        'contact_id': 'contactId',
 59        'contact_phone_numbers': 'contactPhoneNumbers',
 60        'contact_uri': 'contactUri',
 61        'emails': 'emails',
 62        'error_details': 'errorDetails',
 63        'is_owner': 'isOwner',
 64        'name': 'name',
 65        'notary_contact_details': 'notaryContactDetails',
 66        'organization': 'organization',
 67        'room_contact_type': 'roomContactType',
 68        'shared': 'shared',
 69        'signing_group': 'signingGroup',
 70        'signing_group_name': 'signingGroupName'
 71    }
 72
 73    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 74        """Contact - a model defined in Swagger"""  # noqa: E501
 75        if _configuration is None:
 76            _configuration = Configuration()
 77        self._configuration = _configuration
 78
 79        self._can_manage = None
 80        self._cloud_provider = None
 81        self._cloud_provider_container_id = None
 82        self._contact_id = None
 83        self._contact_phone_numbers = None
 84        self._contact_uri = None
 85        self._emails = None
 86        self._error_details = None
 87        self._is_owner = None
 88        self._name = None
 89        self._notary_contact_details = None
 90        self._organization = None
 91        self._room_contact_type = None
 92        self._shared = None
 93        self._signing_group = None
 94        self._signing_group_name = None
 95        self.discriminator = None
 96
 97        setattr(self, "_{}".format('can_manage'), kwargs.get('can_manage', None))
 98        setattr(self, "_{}".format('cloud_provider'), kwargs.get('cloud_provider', None))
 99        setattr(self, "_{}".format('cloud_provider_container_id'), kwargs.get('cloud_provider_container_id', None))
100        setattr(self, "_{}".format('contact_id'), kwargs.get('contact_id', None))
101        setattr(self, "_{}".format('contact_phone_numbers'), kwargs.get('contact_phone_numbers', None))
102        setattr(self, "_{}".format('contact_uri'), kwargs.get('contact_uri', None))
103        setattr(self, "_{}".format('emails'), kwargs.get('emails', None))
104        setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None))
105        setattr(self, "_{}".format('is_owner'), kwargs.get('is_owner', None))
106        setattr(self, "_{}".format('name'), kwargs.get('name', None))
107        setattr(self, "_{}".format('notary_contact_details'), kwargs.get('notary_contact_details', None))
108        setattr(self, "_{}".format('organization'), kwargs.get('organization', None))
109        setattr(self, "_{}".format('room_contact_type'), kwargs.get('room_contact_type', None))
110        setattr(self, "_{}".format('shared'), kwargs.get('shared', None))
111        setattr(self, "_{}".format('signing_group'), kwargs.get('signing_group', None))
112        setattr(self, "_{}".format('signing_group_name'), kwargs.get('signing_group_name', None))
113
114    @property
115    def can_manage(self):
116        """Gets the can_manage of this Contact.  # noqa: E501
117
118          # noqa: E501
119
120        :return: The can_manage of this Contact.  # noqa: E501
121        :rtype: str
122        """
123        return self._can_manage
124
125    @can_manage.setter
126    def can_manage(self, can_manage):
127        """Sets the can_manage of this Contact.
128
129          # noqa: E501
130
131        :param can_manage: The can_manage of this Contact.  # noqa: E501
132        :type: str
133        """
134
135        self._can_manage = can_manage
136
137    @property
138    def cloud_provider(self):
139        """Gets the cloud_provider of this Contact.  # noqa: E501
140
141          # noqa: E501
142
143        :return: The cloud_provider of this Contact.  # noqa: E501
144        :rtype: str
145        """
146        return self._cloud_provider
147
148    @cloud_provider.setter
149    def cloud_provider(self, cloud_provider):
150        """Sets the cloud_provider of this Contact.
151
152          # noqa: E501
153
154        :param cloud_provider: The cloud_provider of this Contact.  # noqa: E501
155        :type: str
156        """
157
158        self._cloud_provider = cloud_provider
159
160    @property
161    def cloud_provider_container_id(self):
162        """Gets the cloud_provider_container_id of this Contact.  # noqa: E501
163
164          # noqa: E501
165
166        :return: The cloud_provider_container_id of this Contact.  # noqa: E501
167        :rtype: str
168        """
169        return self._cloud_provider_container_id
170
171    @cloud_provider_container_id.setter
172    def cloud_provider_container_id(self, cloud_provider_container_id):
173        """Sets the cloud_provider_container_id of this Contact.
174
175          # noqa: E501
176
177        :param cloud_provider_container_id: The cloud_provider_container_id of this Contact.  # noqa: E501
178        :type: str
179        """
180
181        self._cloud_provider_container_id = cloud_provider_container_id
182
183    @property
184    def contact_id(self):
185        """Gets the contact_id of this Contact.  # noqa: E501
186
187          # noqa: E501
188
189        :return: The contact_id of this Contact.  # noqa: E501
190        :rtype: str
191        """
192        return self._contact_id
193
194    @contact_id.setter
195    def contact_id(self, contact_id):
196        """Sets the contact_id of this Contact.
197
198          # noqa: E501
199
200        :param contact_id: The contact_id of this Contact.  # noqa: E501
201        :type: str
202        """
203
204        self._contact_id = contact_id
205
206    @property
207    def contact_phone_numbers(self):
208        """Gets the contact_phone_numbers of this Contact.  # noqa: E501
209
210          # noqa: E501
211
212        :return: The contact_phone_numbers of this Contact.  # noqa: E501
213        :rtype: list[ContactPhoneNumber]
214        """
215        return self._contact_phone_numbers
216
217    @contact_phone_numbers.setter
218    def contact_phone_numbers(self, contact_phone_numbers):
219        """Sets the contact_phone_numbers of this Contact.
220
221          # noqa: E501
222
223        :param contact_phone_numbers: The contact_phone_numbers of this Contact.  # noqa: E501
224        :type: list[ContactPhoneNumber]
225        """
226
227        self._contact_phone_numbers = contact_phone_numbers
228
229    @property
230    def contact_uri(self):
231        """Gets the contact_uri of this Contact.  # noqa: E501
232
233          # noqa: E501
234
235        :return: The contact_uri of this Contact.  # noqa: E501
236        :rtype: str
237        """
238        return self._contact_uri
239
240    @contact_uri.setter
241    def contact_uri(self, contact_uri):
242        """Sets the contact_uri of this Contact.
243
244          # noqa: E501
245
246        :param contact_uri: The contact_uri of this Contact.  # noqa: E501
247        :type: str
248        """
249
250        self._contact_uri = contact_uri
251
252    @property
253    def emails(self):
254        """Gets the emails of this Contact.  # noqa: E501
255
256          # noqa: E501
257
258        :return: The emails of this Contact.  # noqa: E501
259        :rtype: list[str]
260        """
261        return self._emails
262
263    @emails.setter
264    def emails(self, emails):
265        """Sets the emails of this Contact.
266
267          # noqa: E501
268
269        :param emails: The emails of this Contact.  # noqa: E501
270        :type: list[str]
271        """
272
273        self._emails = emails
274
275    @property
276    def error_details(self):
277        """Gets the error_details of this Contact.  # noqa: E501
278
279        Array or errors.  # noqa: E501
280
281        :return: The error_details of this Contact.  # noqa: E501
282        :rtype: ErrorDetails
283        """
284        return self._error_details
285
286    @error_details.setter
287    def error_details(self, error_details):
288        """Sets the error_details of this Contact.
289
290        Array or errors.  # noqa: E501
291
292        :param error_details: The error_details of this Contact.  # noqa: E501
293        :type: ErrorDetails
294        """
295
296        self._error_details = error_details
297
298    @property
299    def is_owner(self):
300        """Gets the is_owner of this Contact.  # noqa: E501
301
302          # noqa: E501
303
304        :return: The is_owner of this Contact.  # noqa: E501
305        :rtype: bool
306        """
307        return self._is_owner
308
309    @is_owner.setter
310    def is_owner(self, is_owner):
311        """Sets the is_owner of this Contact.
312
313          # noqa: E501
314
315        :param is_owner: The is_owner of this Contact.  # noqa: E501
316        :type: bool
317        """
318
319        self._is_owner = is_owner
320
321    @property
322    def name(self):
323        """Gets the name of this Contact.  # noqa: E501
324
325          # noqa: E501
326
327        :return: The name of this Contact.  # noqa: E501
328        :rtype: str
329        """
330        return self._name
331
332    @name.setter
333    def name(self, name):
334        """Sets the name of this Contact.
335
336          # noqa: E501
337
338        :param name: The name of this Contact.  # noqa: E501
339        :type: str
340        """
341
342        self._name = name
343
344    @property
345    def notary_contact_details(self):
346        """Gets the notary_contact_details of this Contact.  # noqa: E501
347
348          # noqa: E501
349
350        :return: The notary_contact_details of this Contact.  # noqa: E501
351        :rtype: NotaryContactDetails
352        """
353        return self._notary_contact_details
354
355    @notary_contact_details.setter
356    def notary_contact_details(self, notary_contact_details):
357        """Sets the notary_contact_details of this Contact.
358
359          # noqa: E501
360
361        :param notary_contact_details: The notary_contact_details of this Contact.  # noqa: E501
362        :type: NotaryContactDetails
363        """
364
365        self._notary_contact_details = notary_contact_details
366
367    @property
368    def organization(self):
369        """Gets the organization of this Contact.  # noqa: E501
370
371          # noqa: E501
372
373        :return: The organization of this Contact.  # noqa: E501
374        :rtype: str
375        """
376        return self._organization
377
378    @organization.setter
379    def organization(self, organization):
380        """Sets the organization of this Contact.
381
382          # noqa: E501
383
384        :param organization: The organization of this Contact.  # noqa: E501
385        :type: str
386        """
387
388        self._organization = organization
389
390    @property
391    def room_contact_type(self):
392        """Gets the room_contact_type of this Contact.  # noqa: E501
393
394          # noqa: E501
395
396        :return: The room_contact_type of this Contact.  # noqa: E501
397        :rtype: str
398        """
399        return self._room_contact_type
400
401    @room_contact_type.setter
402    def room_contact_type(self, room_contact_type):
403        """Sets the room_contact_type of this Contact.
404
405          # noqa: E501
406
407        :param room_contact_type: The room_contact_type of this Contact.  # noqa: E501
408        :type: str
409        """
410
411        self._room_contact_type = room_contact_type
412
413    @property
414    def shared(self):
415        """Gets the shared of this Contact.  # noqa: E501
416
417        When set to **true**, this custom tab is shared.  # noqa: E501
418
419        :return: The shared of this Contact.  # noqa: E501
420        :rtype: str
421        """
422        return self._shared
423
424    @shared.setter
425    def shared(self, shared):
426        """Sets the shared of this Contact.
427
428        When set to **true**, this custom tab is shared.  # noqa: E501
429
430        :param shared: The shared of this Contact.  # noqa: E501
431        :type: str
432        """
433
434        self._shared = shared
435
436    @property
437    def signing_group(self):
438        """Gets the signing_group of this Contact.  # noqa: E501
439
440          # noqa: E501
441
442        :return: The signing_group of this Contact.  # noqa: E501
443        :rtype: str
444        """
445        return self._signing_group
446
447    @signing_group.setter
448    def signing_group(self, signing_group):
449        """Sets the signing_group of this Contact.
450
451          # noqa: E501
452
453        :param signing_group: The signing_group of this Contact.  # noqa: E501
454        :type: str
455        """
456
457        self._signing_group = signing_group
458
459    @property
460    def signing_group_name(self):
461        """Gets the signing_group_name of this Contact.  # noqa: E501
462
463        The display name for the signing group.   Maximum Length: 100 characters.   # noqa: E501
464
465        :return: The signing_group_name of this Contact.  # noqa: E501
466        :rtype: str
467        """
468        return self._signing_group_name
469
470    @signing_group_name.setter
471    def signing_group_name(self, signing_group_name):
472        """Sets the signing_group_name of this Contact.
473
474        The display name for the signing group.   Maximum Length: 100 characters.   # noqa: E501
475
476        :param signing_group_name: The signing_group_name of this Contact.  # noqa: E501
477        :type: str
478        """
479
480        self._signing_group_name = signing_group_name
481
482    def to_dict(self):
483        """Returns the model properties as a dict"""
484        result = {}
485
486        for attr, _ in six.iteritems(self.swagger_types):
487            value = getattr(self, attr)
488            if isinstance(value, list):
489                result[attr] = list(map(
490                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
491                    value
492                ))
493            elif hasattr(value, "to_dict"):
494                result[attr] = value.to_dict()
495            elif isinstance(value, dict):
496                result[attr] = dict(map(
497                    lambda item: (item[0], item[1].to_dict())
498                    if hasattr(item[1], "to_dict") else item,
499                    value.items()
500                ))
501            else:
502                result[attr] = value
503        if issubclass(Contact, dict):
504            for key, value in self.items():
505                result[key] = value
506
507        return result
508
509    def to_str(self):
510        """Returns the string representation of the model"""
511        return pprint.pformat(self.to_dict())
512
513    def __repr__(self):
514        """For `print` and `pprint`"""
515        return self.to_str()
516
517    def __eq__(self, other):
518        """Returns true if both objects are equal"""
519        if not isinstance(other, Contact):
520            return False
521
522        return self.to_dict() == other.to_dict()
523
524    def __ne__(self, other):
525        """Returns true if both objects are not equal"""
526        if not isinstance(other, Contact):
527            return True
528
529        return self.to_dict() != other.to_dict()
class Contact:
 23class Contact(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        'can_manage': 'str',
 38        'cloud_provider': 'str',
 39        'cloud_provider_container_id': 'str',
 40        'contact_id': 'str',
 41        'contact_phone_numbers': 'list[ContactPhoneNumber]',
 42        'contact_uri': 'str',
 43        'emails': 'list[str]',
 44        'error_details': 'ErrorDetails',
 45        'is_owner': 'bool',
 46        'name': 'str',
 47        'notary_contact_details': 'NotaryContactDetails',
 48        'organization': 'str',
 49        'room_contact_type': 'str',
 50        'shared': 'str',
 51        'signing_group': 'str',
 52        'signing_group_name': 'str'
 53    }
 54
 55    attribute_map = {
 56        'can_manage': 'canManage',
 57        'cloud_provider': 'cloudProvider',
 58        'cloud_provider_container_id': 'cloudProviderContainerId',
 59        'contact_id': 'contactId',
 60        'contact_phone_numbers': 'contactPhoneNumbers',
 61        'contact_uri': 'contactUri',
 62        'emails': 'emails',
 63        'error_details': 'errorDetails',
 64        'is_owner': 'isOwner',
 65        'name': 'name',
 66        'notary_contact_details': 'notaryContactDetails',
 67        'organization': 'organization',
 68        'room_contact_type': 'roomContactType',
 69        'shared': 'shared',
 70        'signing_group': 'signingGroup',
 71        'signing_group_name': 'signingGroupName'
 72    }
 73
 74    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 75        """Contact - a model defined in Swagger"""  # noqa: E501
 76        if _configuration is None:
 77            _configuration = Configuration()
 78        self._configuration = _configuration
 79
 80        self._can_manage = None
 81        self._cloud_provider = None
 82        self._cloud_provider_container_id = None
 83        self._contact_id = None
 84        self._contact_phone_numbers = None
 85        self._contact_uri = None
 86        self._emails = None
 87        self._error_details = None
 88        self._is_owner = None
 89        self._name = None
 90        self._notary_contact_details = None
 91        self._organization = None
 92        self._room_contact_type = None
 93        self._shared = None
 94        self._signing_group = None
 95        self._signing_group_name = None
 96        self.discriminator = None
 97
 98        setattr(self, "_{}".format('can_manage'), kwargs.get('can_manage', None))
 99        setattr(self, "_{}".format('cloud_provider'), kwargs.get('cloud_provider', None))
100        setattr(self, "_{}".format('cloud_provider_container_id'), kwargs.get('cloud_provider_container_id', None))
101        setattr(self, "_{}".format('contact_id'), kwargs.get('contact_id', None))
102        setattr(self, "_{}".format('contact_phone_numbers'), kwargs.get('contact_phone_numbers', None))
103        setattr(self, "_{}".format('contact_uri'), kwargs.get('contact_uri', None))
104        setattr(self, "_{}".format('emails'), kwargs.get('emails', None))
105        setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None))
106        setattr(self, "_{}".format('is_owner'), kwargs.get('is_owner', None))
107        setattr(self, "_{}".format('name'), kwargs.get('name', None))
108        setattr(self, "_{}".format('notary_contact_details'), kwargs.get('notary_contact_details', None))
109        setattr(self, "_{}".format('organization'), kwargs.get('organization', None))
110        setattr(self, "_{}".format('room_contact_type'), kwargs.get('room_contact_type', None))
111        setattr(self, "_{}".format('shared'), kwargs.get('shared', None))
112        setattr(self, "_{}".format('signing_group'), kwargs.get('signing_group', None))
113        setattr(self, "_{}".format('signing_group_name'), kwargs.get('signing_group_name', None))
114
115    @property
116    def can_manage(self):
117        """Gets the can_manage of this Contact.  # noqa: E501
118
119          # noqa: E501
120
121        :return: The can_manage of this Contact.  # noqa: E501
122        :rtype: str
123        """
124        return self._can_manage
125
126    @can_manage.setter
127    def can_manage(self, can_manage):
128        """Sets the can_manage of this Contact.
129
130          # noqa: E501
131
132        :param can_manage: The can_manage of this Contact.  # noqa: E501
133        :type: str
134        """
135
136        self._can_manage = can_manage
137
138    @property
139    def cloud_provider(self):
140        """Gets the cloud_provider of this Contact.  # noqa: E501
141
142          # noqa: E501
143
144        :return: The cloud_provider of this Contact.  # noqa: E501
145        :rtype: str
146        """
147        return self._cloud_provider
148
149    @cloud_provider.setter
150    def cloud_provider(self, cloud_provider):
151        """Sets the cloud_provider of this Contact.
152
153          # noqa: E501
154
155        :param cloud_provider: The cloud_provider of this Contact.  # noqa: E501
156        :type: str
157        """
158
159        self._cloud_provider = cloud_provider
160
161    @property
162    def cloud_provider_container_id(self):
163        """Gets the cloud_provider_container_id of this Contact.  # noqa: E501
164
165          # noqa: E501
166
167        :return: The cloud_provider_container_id of this Contact.  # noqa: E501
168        :rtype: str
169        """
170        return self._cloud_provider_container_id
171
172    @cloud_provider_container_id.setter
173    def cloud_provider_container_id(self, cloud_provider_container_id):
174        """Sets the cloud_provider_container_id of this Contact.
175
176          # noqa: E501
177
178        :param cloud_provider_container_id: The cloud_provider_container_id of this Contact.  # noqa: E501
179        :type: str
180        """
181
182        self._cloud_provider_container_id = cloud_provider_container_id
183
184    @property
185    def contact_id(self):
186        """Gets the contact_id of this Contact.  # noqa: E501
187
188          # noqa: E501
189
190        :return: The contact_id of this Contact.  # noqa: E501
191        :rtype: str
192        """
193        return self._contact_id
194
195    @contact_id.setter
196    def contact_id(self, contact_id):
197        """Sets the contact_id of this Contact.
198
199          # noqa: E501
200
201        :param contact_id: The contact_id of this Contact.  # noqa: E501
202        :type: str
203        """
204
205        self._contact_id = contact_id
206
207    @property
208    def contact_phone_numbers(self):
209        """Gets the contact_phone_numbers of this Contact.  # noqa: E501
210
211          # noqa: E501
212
213        :return: The contact_phone_numbers of this Contact.  # noqa: E501
214        :rtype: list[ContactPhoneNumber]
215        """
216        return self._contact_phone_numbers
217
218    @contact_phone_numbers.setter
219    def contact_phone_numbers(self, contact_phone_numbers):
220        """Sets the contact_phone_numbers of this Contact.
221
222          # noqa: E501
223
224        :param contact_phone_numbers: The contact_phone_numbers of this Contact.  # noqa: E501
225        :type: list[ContactPhoneNumber]
226        """
227
228        self._contact_phone_numbers = contact_phone_numbers
229
230    @property
231    def contact_uri(self):
232        """Gets the contact_uri of this Contact.  # noqa: E501
233
234          # noqa: E501
235
236        :return: The contact_uri of this Contact.  # noqa: E501
237        :rtype: str
238        """
239        return self._contact_uri
240
241    @contact_uri.setter
242    def contact_uri(self, contact_uri):
243        """Sets the contact_uri of this Contact.
244
245          # noqa: E501
246
247        :param contact_uri: The contact_uri of this Contact.  # noqa: E501
248        :type: str
249        """
250
251        self._contact_uri = contact_uri
252
253    @property
254    def emails(self):
255        """Gets the emails of this Contact.  # noqa: E501
256
257          # noqa: E501
258
259        :return: The emails of this Contact.  # noqa: E501
260        :rtype: list[str]
261        """
262        return self._emails
263
264    @emails.setter
265    def emails(self, emails):
266        """Sets the emails of this Contact.
267
268          # noqa: E501
269
270        :param emails: The emails of this Contact.  # noqa: E501
271        :type: list[str]
272        """
273
274        self._emails = emails
275
276    @property
277    def error_details(self):
278        """Gets the error_details of this Contact.  # noqa: E501
279
280        Array or errors.  # noqa: E501
281
282        :return: The error_details of this Contact.  # noqa: E501
283        :rtype: ErrorDetails
284        """
285        return self._error_details
286
287    @error_details.setter
288    def error_details(self, error_details):
289        """Sets the error_details of this Contact.
290
291        Array or errors.  # noqa: E501
292
293        :param error_details: The error_details of this Contact.  # noqa: E501
294        :type: ErrorDetails
295        """
296
297        self._error_details = error_details
298
299    @property
300    def is_owner(self):
301        """Gets the is_owner of this Contact.  # noqa: E501
302
303          # noqa: E501
304
305        :return: The is_owner of this Contact.  # noqa: E501
306        :rtype: bool
307        """
308        return self._is_owner
309
310    @is_owner.setter
311    def is_owner(self, is_owner):
312        """Sets the is_owner of this Contact.
313
314          # noqa: E501
315
316        :param is_owner: The is_owner of this Contact.  # noqa: E501
317        :type: bool
318        """
319
320        self._is_owner = is_owner
321
322    @property
323    def name(self):
324        """Gets the name of this Contact.  # noqa: E501
325
326          # noqa: E501
327
328        :return: The name of this Contact.  # noqa: E501
329        :rtype: str
330        """
331        return self._name
332
333    @name.setter
334    def name(self, name):
335        """Sets the name of this Contact.
336
337          # noqa: E501
338
339        :param name: The name of this Contact.  # noqa: E501
340        :type: str
341        """
342
343        self._name = name
344
345    @property
346    def notary_contact_details(self):
347        """Gets the notary_contact_details of this Contact.  # noqa: E501
348
349          # noqa: E501
350
351        :return: The notary_contact_details of this Contact.  # noqa: E501
352        :rtype: NotaryContactDetails
353        """
354        return self._notary_contact_details
355
356    @notary_contact_details.setter
357    def notary_contact_details(self, notary_contact_details):
358        """Sets the notary_contact_details of this Contact.
359
360          # noqa: E501
361
362        :param notary_contact_details: The notary_contact_details of this Contact.  # noqa: E501
363        :type: NotaryContactDetails
364        """
365
366        self._notary_contact_details = notary_contact_details
367
368    @property
369    def organization(self):
370        """Gets the organization of this Contact.  # noqa: E501
371
372          # noqa: E501
373
374        :return: The organization of this Contact.  # noqa: E501
375        :rtype: str
376        """
377        return self._organization
378
379    @organization.setter
380    def organization(self, organization):
381        """Sets the organization of this Contact.
382
383          # noqa: E501
384
385        :param organization: The organization of this Contact.  # noqa: E501
386        :type: str
387        """
388
389        self._organization = organization
390
391    @property
392    def room_contact_type(self):
393        """Gets the room_contact_type of this Contact.  # noqa: E501
394
395          # noqa: E501
396
397        :return: The room_contact_type of this Contact.  # noqa: E501
398        :rtype: str
399        """
400        return self._room_contact_type
401
402    @room_contact_type.setter
403    def room_contact_type(self, room_contact_type):
404        """Sets the room_contact_type of this Contact.
405
406          # noqa: E501
407
408        :param room_contact_type: The room_contact_type of this Contact.  # noqa: E501
409        :type: str
410        """
411
412        self._room_contact_type = room_contact_type
413
414    @property
415    def shared(self):
416        """Gets the shared of this Contact.  # noqa: E501
417
418        When set to **true**, this custom tab is shared.  # noqa: E501
419
420        :return: The shared of this Contact.  # noqa: E501
421        :rtype: str
422        """
423        return self._shared
424
425    @shared.setter
426    def shared(self, shared):
427        """Sets the shared of this Contact.
428
429        When set to **true**, this custom tab is shared.  # noqa: E501
430
431        :param shared: The shared of this Contact.  # noqa: E501
432        :type: str
433        """
434
435        self._shared = shared
436
437    @property
438    def signing_group(self):
439        """Gets the signing_group of this Contact.  # noqa: E501
440
441          # noqa: E501
442
443        :return: The signing_group of this Contact.  # noqa: E501
444        :rtype: str
445        """
446        return self._signing_group
447
448    @signing_group.setter
449    def signing_group(self, signing_group):
450        """Sets the signing_group of this Contact.
451
452          # noqa: E501
453
454        :param signing_group: The signing_group of this Contact.  # noqa: E501
455        :type: str
456        """
457
458        self._signing_group = signing_group
459
460    @property
461    def signing_group_name(self):
462        """Gets the signing_group_name of this Contact.  # noqa: E501
463
464        The display name for the signing group.   Maximum Length: 100 characters.   # noqa: E501
465
466        :return: The signing_group_name of this Contact.  # noqa: E501
467        :rtype: str
468        """
469        return self._signing_group_name
470
471    @signing_group_name.setter
472    def signing_group_name(self, signing_group_name):
473        """Sets the signing_group_name of this Contact.
474
475        The display name for the signing group.   Maximum Length: 100 characters.   # noqa: E501
476
477        :param signing_group_name: The signing_group_name of this Contact.  # noqa: E501
478        :type: str
479        """
480
481        self._signing_group_name = signing_group_name
482
483    def to_dict(self):
484        """Returns the model properties as a dict"""
485        result = {}
486
487        for attr, _ in six.iteritems(self.swagger_types):
488            value = getattr(self, attr)
489            if isinstance(value, list):
490                result[attr] = list(map(
491                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
492                    value
493                ))
494            elif hasattr(value, "to_dict"):
495                result[attr] = value.to_dict()
496            elif isinstance(value, dict):
497                result[attr] = dict(map(
498                    lambda item: (item[0], item[1].to_dict())
499                    if hasattr(item[1], "to_dict") else item,
500                    value.items()
501                ))
502            else:
503                result[attr] = value
504        if issubclass(Contact, dict):
505            for key, value in self.items():
506                result[key] = value
507
508        return result
509
510    def to_str(self):
511        """Returns the string representation of the model"""
512        return pprint.pformat(self.to_dict())
513
514    def __repr__(self):
515        """For `print` and `pprint`"""
516        return self.to_str()
517
518    def __eq__(self, other):
519        """Returns true if both objects are equal"""
520        if not isinstance(other, Contact):
521            return False
522
523        return self.to_dict() == other.to_dict()
524
525    def __ne__(self, other):
526        """Returns true if both objects are not equal"""
527        if not isinstance(other, Contact):
528            return True
529
530        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.

Contact(_configuration=None, **kwargs)
 74    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 75        """Contact - a model defined in Swagger"""  # noqa: E501
 76        if _configuration is None:
 77            _configuration = Configuration()
 78        self._configuration = _configuration
 79
 80        self._can_manage = None
 81        self._cloud_provider = None
 82        self._cloud_provider_container_id = None
 83        self._contact_id = None
 84        self._contact_phone_numbers = None
 85        self._contact_uri = None
 86        self._emails = None
 87        self._error_details = None
 88        self._is_owner = None
 89        self._name = None
 90        self._notary_contact_details = None
 91        self._organization = None
 92        self._room_contact_type = None
 93        self._shared = None
 94        self._signing_group = None
 95        self._signing_group_name = None
 96        self.discriminator = None
 97
 98        setattr(self, "_{}".format('can_manage'), kwargs.get('can_manage', None))
 99        setattr(self, "_{}".format('cloud_provider'), kwargs.get('cloud_provider', None))
100        setattr(self, "_{}".format('cloud_provider_container_id'), kwargs.get('cloud_provider_container_id', None))
101        setattr(self, "_{}".format('contact_id'), kwargs.get('contact_id', None))
102        setattr(self, "_{}".format('contact_phone_numbers'), kwargs.get('contact_phone_numbers', None))
103        setattr(self, "_{}".format('contact_uri'), kwargs.get('contact_uri', None))
104        setattr(self, "_{}".format('emails'), kwargs.get('emails', None))
105        setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None))
106        setattr(self, "_{}".format('is_owner'), kwargs.get('is_owner', None))
107        setattr(self, "_{}".format('name'), kwargs.get('name', None))
108        setattr(self, "_{}".format('notary_contact_details'), kwargs.get('notary_contact_details', None))
109        setattr(self, "_{}".format('organization'), kwargs.get('organization', None))
110        setattr(self, "_{}".format('room_contact_type'), kwargs.get('room_contact_type', None))
111        setattr(self, "_{}".format('shared'), kwargs.get('shared', None))
112        setattr(self, "_{}".format('signing_group'), kwargs.get('signing_group', None))
113        setattr(self, "_{}".format('signing_group_name'), kwargs.get('signing_group_name', None))

Contact - a model defined in Swagger

swagger_types = {'can_manage': 'str', 'cloud_provider': 'str', 'cloud_provider_container_id': 'str', 'contact_id': 'str', 'contact_phone_numbers': 'list[ContactPhoneNumber]', 'contact_uri': 'str', 'emails': 'list[str]', 'error_details': 'ErrorDetails', 'is_owner': 'bool', 'name': 'str', 'notary_contact_details': 'NotaryContactDetails', 'organization': 'str', 'room_contact_type': 'str', 'shared': 'str', 'signing_group': 'str', 'signing_group_name': 'str'}
attribute_map = {'can_manage': 'canManage', 'cloud_provider': 'cloudProvider', 'cloud_provider_container_id': 'cloudProviderContainerId', 'contact_id': 'contactId', 'contact_phone_numbers': 'contactPhoneNumbers', 'contact_uri': 'contactUri', 'emails': 'emails', 'error_details': 'errorDetails', 'is_owner': 'isOwner', 'name': 'name', 'notary_contact_details': 'notaryContactDetails', 'organization': 'organization', 'room_contact_type': 'roomContactType', 'shared': 'shared', 'signing_group': 'signingGroup', 'signing_group_name': 'signingGroupName'}
can_manage

Gets the can_manage of this Contact. # noqa: E501

# noqa: E501

Returns

The can_manage of this Contact. # noqa: E501

cloud_provider

Gets the cloud_provider of this Contact. # noqa: E501

# noqa: E501

Returns

The cloud_provider of this Contact. # noqa: E501

cloud_provider_container_id

Gets the cloud_provider_container_id of this Contact. # noqa: E501

# noqa: E501

Returns

The cloud_provider_container_id of this Contact. # noqa: E501

contact_id

Gets the contact_id of this Contact. # noqa: E501

# noqa: E501

Returns

The contact_id of this Contact. # noqa: E501

contact_phone_numbers

Gets the contact_phone_numbers of this Contact. # noqa: E501

# noqa: E501

Returns

The contact_phone_numbers of this Contact. # noqa: E501

contact_uri

Gets the contact_uri of this Contact. # noqa: E501

# noqa: E501

Returns

The contact_uri of this Contact. # noqa: E501

emails

Gets the emails of this Contact. # noqa: E501

# noqa: E501

Returns

The emails of this Contact. # noqa: E501

error_details

Gets the error_details of this Contact. # noqa: E501

Array or errors. # noqa: E501

Returns

The error_details of this Contact. # noqa: E501

is_owner

Gets the is_owner of this Contact. # noqa: E501

# noqa: E501

Returns

The is_owner of this Contact. # noqa: E501

name

Gets the name of this Contact. # noqa: E501

# noqa: E501

Returns

The name of this Contact. # noqa: E501

notary_contact_details

Gets the notary_contact_details of this Contact. # noqa: E501

# noqa: E501

Returns

The notary_contact_details of this Contact. # noqa: E501

organization

Gets the organization of this Contact. # noqa: E501

# noqa: E501

Returns

The organization of this Contact. # noqa: E501

room_contact_type

Gets the room_contact_type of this Contact. # noqa: E501

# noqa: E501

Returns

The room_contact_type of this Contact. # noqa: E501

shared

Gets the shared of this Contact. # noqa: E501

When set to true, this custom tab is shared. # noqa: E501

Returns

The shared of this Contact. # noqa: E501

signing_group

Gets the signing_group of this Contact. # noqa: E501

# noqa: E501

Returns

The signing_group of this Contact. # noqa: E501

signing_group_name

Gets the signing_group_name of this Contact. # noqa: E501

The display name for the signing group. Maximum Length: 100 characters. # noqa: E501

Returns

The signing_group_name of this Contact. # noqa: E501

def to_dict(self)
483    def to_dict(self):
484        """Returns the model properties as a dict"""
485        result = {}
486
487        for attr, _ in six.iteritems(self.swagger_types):
488            value = getattr(self, attr)
489            if isinstance(value, list):
490                result[attr] = list(map(
491                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
492                    value
493                ))
494            elif hasattr(value, "to_dict"):
495                result[attr] = value.to_dict()
496            elif isinstance(value, dict):
497                result[attr] = dict(map(
498                    lambda item: (item[0], item[1].to_dict())
499                    if hasattr(item[1], "to_dict") else item,
500                    value.items()
501                ))
502            else:
503                result[attr] = value
504        if issubclass(Contact, dict):
505            for key, value in self.items():
506                result[key] = value
507
508        return result

Returns the model properties as a dict

def to_str(self)
510    def to_str(self):
511        """Returns the string representation of the model"""
512        return pprint.pformat(self.to_dict())

Returns the string representation of the model