docusign_esign.models.workspace

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 Workspace(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        'billable_account_id': 'str',
 37        'caller_information': 'WorkspaceUser',
 38        'created': 'str',
 39        'created_by_information': 'WorkspaceUser',
 40        'last_modified': 'str',
 41        'last_modified_by_information': 'WorkspaceUser',
 42        'settings': 'WorkspaceSettings',
 43        'status': 'str',
 44        'workspace_base_url': 'str',
 45        'workspace_description': 'str',
 46        'workspace_id': 'str',
 47        'workspace_name': 'str',
 48        'workspace_uri': 'str'
 49    }
 50
 51    attribute_map = {
 52        'billable_account_id': 'billableAccountId',
 53        'caller_information': 'callerInformation',
 54        'created': 'created',
 55        'created_by_information': 'createdByInformation',
 56        'last_modified': 'lastModified',
 57        'last_modified_by_information': 'lastModifiedByInformation',
 58        'settings': 'settings',
 59        'status': 'status',
 60        'workspace_base_url': 'workspaceBaseUrl',
 61        'workspace_description': 'workspaceDescription',
 62        'workspace_id': 'workspaceId',
 63        'workspace_name': 'workspaceName',
 64        'workspace_uri': 'workspaceUri'
 65    }
 66
 67    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 68        """Workspace - a model defined in Swagger"""  # noqa: E501
 69        if _configuration is None:
 70            _configuration = Configuration()
 71        self._configuration = _configuration
 72
 73        self._billable_account_id = None
 74        self._caller_information = None
 75        self._created = None
 76        self._created_by_information = None
 77        self._last_modified = None
 78        self._last_modified_by_information = None
 79        self._settings = None
 80        self._status = None
 81        self._workspace_base_url = None
 82        self._workspace_description = None
 83        self._workspace_id = None
 84        self._workspace_name = None
 85        self._workspace_uri = None
 86        self.discriminator = None
 87
 88        setattr(self, "_{}".format('billable_account_id'), kwargs.get('billable_account_id', None))
 89        setattr(self, "_{}".format('caller_information'), kwargs.get('caller_information', None))
 90        setattr(self, "_{}".format('created'), kwargs.get('created', None))
 91        setattr(self, "_{}".format('created_by_information'), kwargs.get('created_by_information', None))
 92        setattr(self, "_{}".format('last_modified'), kwargs.get('last_modified', None))
 93        setattr(self, "_{}".format('last_modified_by_information'), kwargs.get('last_modified_by_information', None))
 94        setattr(self, "_{}".format('settings'), kwargs.get('settings', None))
 95        setattr(self, "_{}".format('status'), kwargs.get('status', None))
 96        setattr(self, "_{}".format('workspace_base_url'), kwargs.get('workspace_base_url', None))
 97        setattr(self, "_{}".format('workspace_description'), kwargs.get('workspace_description', None))
 98        setattr(self, "_{}".format('workspace_id'), kwargs.get('workspace_id', None))
 99        setattr(self, "_{}".format('workspace_name'), kwargs.get('workspace_name', None))
100        setattr(self, "_{}".format('workspace_uri'), kwargs.get('workspace_uri', None))
101
102    @property
103    def billable_account_id(self):
104        """Gets the billable_account_id of this Workspace.  # noqa: E501
105
106          # noqa: E501
107
108        :return: The billable_account_id of this Workspace.  # noqa: E501
109        :rtype: str
110        """
111        return self._billable_account_id
112
113    @billable_account_id.setter
114    def billable_account_id(self, billable_account_id):
115        """Sets the billable_account_id of this Workspace.
116
117          # noqa: E501
118
119        :param billable_account_id: The billable_account_id of this Workspace.  # noqa: E501
120        :type: str
121        """
122
123        self._billable_account_id = billable_account_id
124
125    @property
126    def caller_information(self):
127        """Gets the caller_information of this Workspace.  # noqa: E501
128
129          # noqa: E501
130
131        :return: The caller_information of this Workspace.  # noqa: E501
132        :rtype: WorkspaceUser
133        """
134        return self._caller_information
135
136    @caller_information.setter
137    def caller_information(self, caller_information):
138        """Sets the caller_information of this Workspace.
139
140          # noqa: E501
141
142        :param caller_information: The caller_information of this Workspace.  # noqa: E501
143        :type: WorkspaceUser
144        """
145
146        self._caller_information = caller_information
147
148    @property
149    def created(self):
150        """Gets the created of this Workspace.  # noqa: E501
151
152          # noqa: E501
153
154        :return: The created of this Workspace.  # noqa: E501
155        :rtype: str
156        """
157        return self._created
158
159    @created.setter
160    def created(self, created):
161        """Sets the created of this Workspace.
162
163          # noqa: E501
164
165        :param created: The created of this Workspace.  # noqa: E501
166        :type: str
167        """
168
169        self._created = created
170
171    @property
172    def created_by_information(self):
173        """Gets the created_by_information of this Workspace.  # noqa: E501
174
175        Details about the user who created the workspace.  # noqa: E501
176
177        :return: The created_by_information of this Workspace.  # noqa: E501
178        :rtype: WorkspaceUser
179        """
180        return self._created_by_information
181
182    @created_by_information.setter
183    def created_by_information(self, created_by_information):
184        """Sets the created_by_information of this Workspace.
185
186        Details about the user who created the workspace.  # noqa: E501
187
188        :param created_by_information: The created_by_information of this Workspace.  # noqa: E501
189        :type: WorkspaceUser
190        """
191
192        self._created_by_information = created_by_information
193
194    @property
195    def last_modified(self):
196        """Gets the last_modified of this Workspace.  # noqa: E501
197
198        Utc date and time the comment was last updated (can only be done by creator.)  # noqa: E501
199
200        :return: The last_modified of this Workspace.  # noqa: E501
201        :rtype: str
202        """
203        return self._last_modified
204
205    @last_modified.setter
206    def last_modified(self, last_modified):
207        """Sets the last_modified of this Workspace.
208
209        Utc date and time the comment was last updated (can only be done by creator.)  # noqa: E501
210
211        :param last_modified: The last_modified of this Workspace.  # noqa: E501
212        :type: str
213        """
214
215        self._last_modified = last_modified
216
217    @property
218    def last_modified_by_information(self):
219        """Gets the last_modified_by_information of this Workspace.  # noqa: E501
220
221        Details about the user who last modified the workspace.  # noqa: E501
222
223        :return: The last_modified_by_information of this Workspace.  # noqa: E501
224        :rtype: WorkspaceUser
225        """
226        return self._last_modified_by_information
227
228    @last_modified_by_information.setter
229    def last_modified_by_information(self, last_modified_by_information):
230        """Sets the last_modified_by_information of this Workspace.
231
232        Details about the user who last modified the workspace.  # noqa: E501
233
234        :param last_modified_by_information: The last_modified_by_information of this Workspace.  # noqa: E501
235        :type: WorkspaceUser
236        """
237
238        self._last_modified_by_information = last_modified_by_information
239
240    @property
241    def settings(self):
242        """Gets the settings of this Workspace.  # noqa: E501
243
244        Information about the settings for the workspace.  # noqa: E501
245
246        :return: The settings of this Workspace.  # noqa: E501
247        :rtype: WorkspaceSettings
248        """
249        return self._settings
250
251    @settings.setter
252    def settings(self, settings):
253        """Sets the settings of this Workspace.
254
255        Information about the settings for the workspace.  # noqa: E501
256
257        :param settings: The settings of this Workspace.  # noqa: E501
258        :type: WorkspaceSettings
259        """
260
261        self._settings = settings
262
263    @property
264    def status(self):
265        """Gets the status of this Workspace.  # noqa: E501
266
267        Indicates the envelope status. Valid values are:  * sent - The envelope is sent to the recipients.  * created - The envelope is saved as a draft and can be modified and sent later.  # noqa: E501
268
269        :return: The status of this Workspace.  # noqa: E501
270        :rtype: str
271        """
272        return self._status
273
274    @status.setter
275    def status(self, status):
276        """Sets the status of this Workspace.
277
278        Indicates the envelope status. Valid values are:  * sent - The envelope is sent to the recipients.  * created - The envelope is saved as a draft and can be modified and sent later.  # noqa: E501
279
280        :param status: The status of this Workspace.  # noqa: E501
281        :type: str
282        """
283
284        self._status = status
285
286    @property
287    def workspace_base_url(self):
288        """Gets the workspace_base_url of this Workspace.  # noqa: E501
289
290        The relative URL that may be used to access the workspace.  # noqa: E501
291
292        :return: The workspace_base_url of this Workspace.  # noqa: E501
293        :rtype: str
294        """
295        return self._workspace_base_url
296
297    @workspace_base_url.setter
298    def workspace_base_url(self, workspace_base_url):
299        """Sets the workspace_base_url of this Workspace.
300
301        The relative URL that may be used to access the workspace.  # noqa: E501
302
303        :param workspace_base_url: The workspace_base_url of this Workspace.  # noqa: E501
304        :type: str
305        """
306
307        self._workspace_base_url = workspace_base_url
308
309    @property
310    def workspace_description(self):
311        """Gets the workspace_description of this Workspace.  # noqa: E501
312
313        Text describing the purpose of the workspace.  # noqa: E501
314
315        :return: The workspace_description of this Workspace.  # noqa: E501
316        :rtype: str
317        """
318        return self._workspace_description
319
320    @workspace_description.setter
321    def workspace_description(self, workspace_description):
322        """Sets the workspace_description of this Workspace.
323
324        Text describing the purpose of the workspace.  # noqa: E501
325
326        :param workspace_description: The workspace_description of this Workspace.  # noqa: E501
327        :type: str
328        """
329
330        self._workspace_description = workspace_description
331
332    @property
333    def workspace_id(self):
334        """Gets the workspace_id of this Workspace.  # noqa: E501
335
336        The id of the workspace, always populated.  # noqa: E501
337
338        :return: The workspace_id of this Workspace.  # noqa: E501
339        :rtype: str
340        """
341        return self._workspace_id
342
343    @workspace_id.setter
344    def workspace_id(self, workspace_id):
345        """Sets the workspace_id of this Workspace.
346
347        The id of the workspace, always populated.  # noqa: E501
348
349        :param workspace_id: The workspace_id of this Workspace.  # noqa: E501
350        :type: str
351        """
352
353        self._workspace_id = workspace_id
354
355    @property
356    def workspace_name(self):
357        """Gets the workspace_name of this Workspace.  # noqa: E501
358
359        The name of the workspace.  # noqa: E501
360
361        :return: The workspace_name of this Workspace.  # noqa: E501
362        :rtype: str
363        """
364        return self._workspace_name
365
366    @workspace_name.setter
367    def workspace_name(self, workspace_name):
368        """Sets the workspace_name of this Workspace.
369
370        The name of the workspace.  # noqa: E501
371
372        :param workspace_name: The workspace_name of this Workspace.  # noqa: E501
373        :type: str
374        """
375
376        self._workspace_name = workspace_name
377
378    @property
379    def workspace_uri(self):
380        """Gets the workspace_uri of this Workspace.  # noqa: E501
381
382        The relative URI that may be used to access the workspace.  # noqa: E501
383
384        :return: The workspace_uri of this Workspace.  # noqa: E501
385        :rtype: str
386        """
387        return self._workspace_uri
388
389    @workspace_uri.setter
390    def workspace_uri(self, workspace_uri):
391        """Sets the workspace_uri of this Workspace.
392
393        The relative URI that may be used to access the workspace.  # noqa: E501
394
395        :param workspace_uri: The workspace_uri of this Workspace.  # noqa: E501
396        :type: str
397        """
398
399        self._workspace_uri = workspace_uri
400
401    def to_dict(self):
402        """Returns the model properties as a dict"""
403        result = {}
404
405        for attr, _ in six.iteritems(self.swagger_types):
406            value = getattr(self, attr)
407            if isinstance(value, list):
408                result[attr] = list(map(
409                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
410                    value
411                ))
412            elif hasattr(value, "to_dict"):
413                result[attr] = value.to_dict()
414            elif isinstance(value, dict):
415                result[attr] = dict(map(
416                    lambda item: (item[0], item[1].to_dict())
417                    if hasattr(item[1], "to_dict") else item,
418                    value.items()
419                ))
420            else:
421                result[attr] = value
422        if issubclass(Workspace, dict):
423            for key, value in self.items():
424                result[key] = value
425
426        return result
427
428    def to_str(self):
429        """Returns the string representation of the model"""
430        return pprint.pformat(self.to_dict())
431
432    def __repr__(self):
433        """For `print` and `pprint`"""
434        return self.to_str()
435
436    def __eq__(self, other):
437        """Returns true if both objects are equal"""
438        if not isinstance(other, Workspace):
439            return False
440
441        return self.to_dict() == other.to_dict()
442
443    def __ne__(self, other):
444        """Returns true if both objects are not equal"""
445        if not isinstance(other, Workspace):
446            return True
447
448        return self.to_dict() != other.to_dict()
class Workspace:
 23class Workspace(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        'billable_account_id': 'str',
 38        'caller_information': 'WorkspaceUser',
 39        'created': 'str',
 40        'created_by_information': 'WorkspaceUser',
 41        'last_modified': 'str',
 42        'last_modified_by_information': 'WorkspaceUser',
 43        'settings': 'WorkspaceSettings',
 44        'status': 'str',
 45        'workspace_base_url': 'str',
 46        'workspace_description': 'str',
 47        'workspace_id': 'str',
 48        'workspace_name': 'str',
 49        'workspace_uri': 'str'
 50    }
 51
 52    attribute_map = {
 53        'billable_account_id': 'billableAccountId',
 54        'caller_information': 'callerInformation',
 55        'created': 'created',
 56        'created_by_information': 'createdByInformation',
 57        'last_modified': 'lastModified',
 58        'last_modified_by_information': 'lastModifiedByInformation',
 59        'settings': 'settings',
 60        'status': 'status',
 61        'workspace_base_url': 'workspaceBaseUrl',
 62        'workspace_description': 'workspaceDescription',
 63        'workspace_id': 'workspaceId',
 64        'workspace_name': 'workspaceName',
 65        'workspace_uri': 'workspaceUri'
 66    }
 67
 68    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 69        """Workspace - a model defined in Swagger"""  # noqa: E501
 70        if _configuration is None:
 71            _configuration = Configuration()
 72        self._configuration = _configuration
 73
 74        self._billable_account_id = None
 75        self._caller_information = None
 76        self._created = None
 77        self._created_by_information = None
 78        self._last_modified = None
 79        self._last_modified_by_information = None
 80        self._settings = None
 81        self._status = None
 82        self._workspace_base_url = None
 83        self._workspace_description = None
 84        self._workspace_id = None
 85        self._workspace_name = None
 86        self._workspace_uri = None
 87        self.discriminator = None
 88
 89        setattr(self, "_{}".format('billable_account_id'), kwargs.get('billable_account_id', None))
 90        setattr(self, "_{}".format('caller_information'), kwargs.get('caller_information', None))
 91        setattr(self, "_{}".format('created'), kwargs.get('created', None))
 92        setattr(self, "_{}".format('created_by_information'), kwargs.get('created_by_information', None))
 93        setattr(self, "_{}".format('last_modified'), kwargs.get('last_modified', None))
 94        setattr(self, "_{}".format('last_modified_by_information'), kwargs.get('last_modified_by_information', None))
 95        setattr(self, "_{}".format('settings'), kwargs.get('settings', None))
 96        setattr(self, "_{}".format('status'), kwargs.get('status', None))
 97        setattr(self, "_{}".format('workspace_base_url'), kwargs.get('workspace_base_url', None))
 98        setattr(self, "_{}".format('workspace_description'), kwargs.get('workspace_description', None))
 99        setattr(self, "_{}".format('workspace_id'), kwargs.get('workspace_id', None))
100        setattr(self, "_{}".format('workspace_name'), kwargs.get('workspace_name', None))
101        setattr(self, "_{}".format('workspace_uri'), kwargs.get('workspace_uri', None))
102
103    @property
104    def billable_account_id(self):
105        """Gets the billable_account_id of this Workspace.  # noqa: E501
106
107          # noqa: E501
108
109        :return: The billable_account_id of this Workspace.  # noqa: E501
110        :rtype: str
111        """
112        return self._billable_account_id
113
114    @billable_account_id.setter
115    def billable_account_id(self, billable_account_id):
116        """Sets the billable_account_id of this Workspace.
117
118          # noqa: E501
119
120        :param billable_account_id: The billable_account_id of this Workspace.  # noqa: E501
121        :type: str
122        """
123
124        self._billable_account_id = billable_account_id
125
126    @property
127    def caller_information(self):
128        """Gets the caller_information of this Workspace.  # noqa: E501
129
130          # noqa: E501
131
132        :return: The caller_information of this Workspace.  # noqa: E501
133        :rtype: WorkspaceUser
134        """
135        return self._caller_information
136
137    @caller_information.setter
138    def caller_information(self, caller_information):
139        """Sets the caller_information of this Workspace.
140
141          # noqa: E501
142
143        :param caller_information: The caller_information of this Workspace.  # noqa: E501
144        :type: WorkspaceUser
145        """
146
147        self._caller_information = caller_information
148
149    @property
150    def created(self):
151        """Gets the created of this Workspace.  # noqa: E501
152
153          # noqa: E501
154
155        :return: The created of this Workspace.  # noqa: E501
156        :rtype: str
157        """
158        return self._created
159
160    @created.setter
161    def created(self, created):
162        """Sets the created of this Workspace.
163
164          # noqa: E501
165
166        :param created: The created of this Workspace.  # noqa: E501
167        :type: str
168        """
169
170        self._created = created
171
172    @property
173    def created_by_information(self):
174        """Gets the created_by_information of this Workspace.  # noqa: E501
175
176        Details about the user who created the workspace.  # noqa: E501
177
178        :return: The created_by_information of this Workspace.  # noqa: E501
179        :rtype: WorkspaceUser
180        """
181        return self._created_by_information
182
183    @created_by_information.setter
184    def created_by_information(self, created_by_information):
185        """Sets the created_by_information of this Workspace.
186
187        Details about the user who created the workspace.  # noqa: E501
188
189        :param created_by_information: The created_by_information of this Workspace.  # noqa: E501
190        :type: WorkspaceUser
191        """
192
193        self._created_by_information = created_by_information
194
195    @property
196    def last_modified(self):
197        """Gets the last_modified of this Workspace.  # noqa: E501
198
199        Utc date and time the comment was last updated (can only be done by creator.)  # noqa: E501
200
201        :return: The last_modified of this Workspace.  # noqa: E501
202        :rtype: str
203        """
204        return self._last_modified
205
206    @last_modified.setter
207    def last_modified(self, last_modified):
208        """Sets the last_modified of this Workspace.
209
210        Utc date and time the comment was last updated (can only be done by creator.)  # noqa: E501
211
212        :param last_modified: The last_modified of this Workspace.  # noqa: E501
213        :type: str
214        """
215
216        self._last_modified = last_modified
217
218    @property
219    def last_modified_by_information(self):
220        """Gets the last_modified_by_information of this Workspace.  # noqa: E501
221
222        Details about the user who last modified the workspace.  # noqa: E501
223
224        :return: The last_modified_by_information of this Workspace.  # noqa: E501
225        :rtype: WorkspaceUser
226        """
227        return self._last_modified_by_information
228
229    @last_modified_by_information.setter
230    def last_modified_by_information(self, last_modified_by_information):
231        """Sets the last_modified_by_information of this Workspace.
232
233        Details about the user who last modified the workspace.  # noqa: E501
234
235        :param last_modified_by_information: The last_modified_by_information of this Workspace.  # noqa: E501
236        :type: WorkspaceUser
237        """
238
239        self._last_modified_by_information = last_modified_by_information
240
241    @property
242    def settings(self):
243        """Gets the settings of this Workspace.  # noqa: E501
244
245        Information about the settings for the workspace.  # noqa: E501
246
247        :return: The settings of this Workspace.  # noqa: E501
248        :rtype: WorkspaceSettings
249        """
250        return self._settings
251
252    @settings.setter
253    def settings(self, settings):
254        """Sets the settings of this Workspace.
255
256        Information about the settings for the workspace.  # noqa: E501
257
258        :param settings: The settings of this Workspace.  # noqa: E501
259        :type: WorkspaceSettings
260        """
261
262        self._settings = settings
263
264    @property
265    def status(self):
266        """Gets the status of this Workspace.  # noqa: E501
267
268        Indicates the envelope status. Valid values are:  * sent - The envelope is sent to the recipients.  * created - The envelope is saved as a draft and can be modified and sent later.  # noqa: E501
269
270        :return: The status of this Workspace.  # noqa: E501
271        :rtype: str
272        """
273        return self._status
274
275    @status.setter
276    def status(self, status):
277        """Sets the status of this Workspace.
278
279        Indicates the envelope status. Valid values are:  * sent - The envelope is sent to the recipients.  * created - The envelope is saved as a draft and can be modified and sent later.  # noqa: E501
280
281        :param status: The status of this Workspace.  # noqa: E501
282        :type: str
283        """
284
285        self._status = status
286
287    @property
288    def workspace_base_url(self):
289        """Gets the workspace_base_url of this Workspace.  # noqa: E501
290
291        The relative URL that may be used to access the workspace.  # noqa: E501
292
293        :return: The workspace_base_url of this Workspace.  # noqa: E501
294        :rtype: str
295        """
296        return self._workspace_base_url
297
298    @workspace_base_url.setter
299    def workspace_base_url(self, workspace_base_url):
300        """Sets the workspace_base_url of this Workspace.
301
302        The relative URL that may be used to access the workspace.  # noqa: E501
303
304        :param workspace_base_url: The workspace_base_url of this Workspace.  # noqa: E501
305        :type: str
306        """
307
308        self._workspace_base_url = workspace_base_url
309
310    @property
311    def workspace_description(self):
312        """Gets the workspace_description of this Workspace.  # noqa: E501
313
314        Text describing the purpose of the workspace.  # noqa: E501
315
316        :return: The workspace_description of this Workspace.  # noqa: E501
317        :rtype: str
318        """
319        return self._workspace_description
320
321    @workspace_description.setter
322    def workspace_description(self, workspace_description):
323        """Sets the workspace_description of this Workspace.
324
325        Text describing the purpose of the workspace.  # noqa: E501
326
327        :param workspace_description: The workspace_description of this Workspace.  # noqa: E501
328        :type: str
329        """
330
331        self._workspace_description = workspace_description
332
333    @property
334    def workspace_id(self):
335        """Gets the workspace_id of this Workspace.  # noqa: E501
336
337        The id of the workspace, always populated.  # noqa: E501
338
339        :return: The workspace_id of this Workspace.  # noqa: E501
340        :rtype: str
341        """
342        return self._workspace_id
343
344    @workspace_id.setter
345    def workspace_id(self, workspace_id):
346        """Sets the workspace_id of this Workspace.
347
348        The id of the workspace, always populated.  # noqa: E501
349
350        :param workspace_id: The workspace_id of this Workspace.  # noqa: E501
351        :type: str
352        """
353
354        self._workspace_id = workspace_id
355
356    @property
357    def workspace_name(self):
358        """Gets the workspace_name of this Workspace.  # noqa: E501
359
360        The name of the workspace.  # noqa: E501
361
362        :return: The workspace_name of this Workspace.  # noqa: E501
363        :rtype: str
364        """
365        return self._workspace_name
366
367    @workspace_name.setter
368    def workspace_name(self, workspace_name):
369        """Sets the workspace_name of this Workspace.
370
371        The name of the workspace.  # noqa: E501
372
373        :param workspace_name: The workspace_name of this Workspace.  # noqa: E501
374        :type: str
375        """
376
377        self._workspace_name = workspace_name
378
379    @property
380    def workspace_uri(self):
381        """Gets the workspace_uri of this Workspace.  # noqa: E501
382
383        The relative URI that may be used to access the workspace.  # noqa: E501
384
385        :return: The workspace_uri of this Workspace.  # noqa: E501
386        :rtype: str
387        """
388        return self._workspace_uri
389
390    @workspace_uri.setter
391    def workspace_uri(self, workspace_uri):
392        """Sets the workspace_uri of this Workspace.
393
394        The relative URI that may be used to access the workspace.  # noqa: E501
395
396        :param workspace_uri: The workspace_uri of this Workspace.  # noqa: E501
397        :type: str
398        """
399
400        self._workspace_uri = workspace_uri
401
402    def to_dict(self):
403        """Returns the model properties as a dict"""
404        result = {}
405
406        for attr, _ in six.iteritems(self.swagger_types):
407            value = getattr(self, attr)
408            if isinstance(value, list):
409                result[attr] = list(map(
410                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
411                    value
412                ))
413            elif hasattr(value, "to_dict"):
414                result[attr] = value.to_dict()
415            elif isinstance(value, dict):
416                result[attr] = dict(map(
417                    lambda item: (item[0], item[1].to_dict())
418                    if hasattr(item[1], "to_dict") else item,
419                    value.items()
420                ))
421            else:
422                result[attr] = value
423        if issubclass(Workspace, dict):
424            for key, value in self.items():
425                result[key] = value
426
427        return result
428
429    def to_str(self):
430        """Returns the string representation of the model"""
431        return pprint.pformat(self.to_dict())
432
433    def __repr__(self):
434        """For `print` and `pprint`"""
435        return self.to_str()
436
437    def __eq__(self, other):
438        """Returns true if both objects are equal"""
439        if not isinstance(other, Workspace):
440            return False
441
442        return self.to_dict() == other.to_dict()
443
444    def __ne__(self, other):
445        """Returns true if both objects are not equal"""
446        if not isinstance(other, Workspace):
447            return True
448
449        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.

Workspace(_configuration=None, **kwargs)
 68    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 69        """Workspace - a model defined in Swagger"""  # noqa: E501
 70        if _configuration is None:
 71            _configuration = Configuration()
 72        self._configuration = _configuration
 73
 74        self._billable_account_id = None
 75        self._caller_information = None
 76        self._created = None
 77        self._created_by_information = None
 78        self._last_modified = None
 79        self._last_modified_by_information = None
 80        self._settings = None
 81        self._status = None
 82        self._workspace_base_url = None
 83        self._workspace_description = None
 84        self._workspace_id = None
 85        self._workspace_name = None
 86        self._workspace_uri = None
 87        self.discriminator = None
 88
 89        setattr(self, "_{}".format('billable_account_id'), kwargs.get('billable_account_id', None))
 90        setattr(self, "_{}".format('caller_information'), kwargs.get('caller_information', None))
 91        setattr(self, "_{}".format('created'), kwargs.get('created', None))
 92        setattr(self, "_{}".format('created_by_information'), kwargs.get('created_by_information', None))
 93        setattr(self, "_{}".format('last_modified'), kwargs.get('last_modified', None))
 94        setattr(self, "_{}".format('last_modified_by_information'), kwargs.get('last_modified_by_information', None))
 95        setattr(self, "_{}".format('settings'), kwargs.get('settings', None))
 96        setattr(self, "_{}".format('status'), kwargs.get('status', None))
 97        setattr(self, "_{}".format('workspace_base_url'), kwargs.get('workspace_base_url', None))
 98        setattr(self, "_{}".format('workspace_description'), kwargs.get('workspace_description', None))
 99        setattr(self, "_{}".format('workspace_id'), kwargs.get('workspace_id', None))
100        setattr(self, "_{}".format('workspace_name'), kwargs.get('workspace_name', None))
101        setattr(self, "_{}".format('workspace_uri'), kwargs.get('workspace_uri', None))

Workspace - a model defined in Swagger

swagger_types = {'billable_account_id': 'str', 'caller_information': 'WorkspaceUser', 'created': 'str', 'created_by_information': 'WorkspaceUser', 'last_modified': 'str', 'last_modified_by_information': 'WorkspaceUser', 'settings': 'WorkspaceSettings', 'status': 'str', 'workspace_base_url': 'str', 'workspace_description': 'str', 'workspace_id': 'str', 'workspace_name': 'str', 'workspace_uri': 'str'}
attribute_map = {'billable_account_id': 'billableAccountId', 'caller_information': 'callerInformation', 'created': 'created', 'created_by_information': 'createdByInformation', 'last_modified': 'lastModified', 'last_modified_by_information': 'lastModifiedByInformation', 'settings': 'settings', 'status': 'status', 'workspace_base_url': 'workspaceBaseUrl', 'workspace_description': 'workspaceDescription', 'workspace_id': 'workspaceId', 'workspace_name': 'workspaceName', 'workspace_uri': 'workspaceUri'}
billable_account_id

Gets the billable_account_id of this Workspace. # noqa: E501

# noqa: E501

Returns

The billable_account_id of this Workspace. # noqa: E501

caller_information

Gets the caller_information of this Workspace. # noqa: E501

# noqa: E501

Returns

The caller_information of this Workspace. # noqa: E501

created

Gets the created of this Workspace. # noqa: E501

# noqa: E501

Returns

The created of this Workspace. # noqa: E501

created_by_information

Gets the created_by_information of this Workspace. # noqa: E501

Details about the user who created the workspace. # noqa: E501

Returns

The created_by_information of this Workspace. # noqa: E501

last_modified

Gets the last_modified of this Workspace. # noqa: E501

Utc date and time the comment was last updated (can only be done by creator.) # noqa: E501

Returns

The last_modified of this Workspace. # noqa: E501

last_modified_by_information

Gets the last_modified_by_information of this Workspace. # noqa: E501

Details about the user who last modified the workspace. # noqa: E501

Returns

The last_modified_by_information of this Workspace. # noqa: E501

settings

Gets the settings of this Workspace. # noqa: E501

Information about the settings for the workspace. # noqa: E501

Returns

The settings of this Workspace. # noqa: E501

status

Gets the status of this Workspace. # noqa: E501

Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. # noqa: E501

Returns

The status of this Workspace. # noqa: E501

workspace_base_url

Gets the workspace_base_url of this Workspace. # noqa: E501

The relative URL that may be used to access the workspace. # noqa: E501

Returns

The workspace_base_url of this Workspace. # noqa: E501

workspace_description

Gets the workspace_description of this Workspace. # noqa: E501

Text describing the purpose of the workspace. # noqa: E501

Returns

The workspace_description of this Workspace. # noqa: E501

workspace_id

Gets the workspace_id of this Workspace. # noqa: E501

The id of the workspace, always populated. # noqa: E501

Returns

The workspace_id of this Workspace. # noqa: E501

workspace_name

Gets the workspace_name of this Workspace. # noqa: E501

The name of the workspace. # noqa: E501

Returns

The workspace_name of this Workspace. # noqa: E501

workspace_uri

Gets the workspace_uri of this Workspace. # noqa: E501

The relative URI that may be used to access the workspace. # noqa: E501

Returns

The workspace_uri of this Workspace. # noqa: E501

def to_dict(self)
402    def to_dict(self):
403        """Returns the model properties as a dict"""
404        result = {}
405
406        for attr, _ in six.iteritems(self.swagger_types):
407            value = getattr(self, attr)
408            if isinstance(value, list):
409                result[attr] = list(map(
410                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
411                    value
412                ))
413            elif hasattr(value, "to_dict"):
414                result[attr] = value.to_dict()
415            elif isinstance(value, dict):
416                result[attr] = dict(map(
417                    lambda item: (item[0], item[1].to_dict())
418                    if hasattr(item[1], "to_dict") else item,
419                    value.items()
420                ))
421            else:
422                result[attr] = value
423        if issubclass(Workspace, dict):
424            for key, value in self.items():
425                result[key] = value
426
427        return result

Returns the model properties as a dict

def to_str(self)
429    def to_str(self):
430        """Returns the string representation of the model"""
431        return pprint.pformat(self.to_dict())

Returns the string representation of the model