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

Contact - a model defined in Swagger

swagger_types = {'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 = {'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'}
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)
456    def to_dict(self):
457        """Returns the model properties as a dict"""
458        result = {}
459
460        for attr, _ in six.iteritems(self.swagger_types):
461            value = getattr(self, attr)
462            if isinstance(value, list):
463                result[attr] = list(map(
464                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
465                    value
466                ))
467            elif hasattr(value, "to_dict"):
468                result[attr] = value.to_dict()
469            elif isinstance(value, dict):
470                result[attr] = dict(map(
471                    lambda item: (item[0], item[1].to_dict())
472                    if hasattr(item[1], "to_dict") else item,
473                    value.items()
474                ))
475            else:
476                result[attr] = value
477        if issubclass(Contact, dict):
478            for key, value in self.items():
479                result[key] = value
480
481        return result

Returns the model properties as a dict

def to_str(self)
483    def to_str(self):
484        """Returns the string representation of the model"""
485        return pprint.pformat(self.to_dict())

Returns the string representation of the model