docusign_esign.models.workspace_item

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 WorkspaceItem(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        'caller_authorization': 'WorkspaceUserAuthorization',
 37        'content_type': 'str',
 38        'created': 'str',
 39        'created_by_id': 'str',
 40        'created_by_information': 'WorkspaceUser',
 41        'extension': 'str',
 42        'file_size': 'str',
 43        'file_uri': 'str',
 44        'id': 'str',
 45        'is_public': 'str',
 46        'last_modified': 'str',
 47        'last_modified_by_id': 'str',
 48        'last_modified_by_information': 'WorkspaceUser',
 49        'name': 'str',
 50        'page_count': 'str',
 51        'parent_folder_id': 'str',
 52        'parent_folder_uri': 'str',
 53        'sha256': 'str',
 54        'thumb_height': 'str',
 55        'thumbnail': 'Page',
 56        'thumb_width': 'str',
 57        'type': 'str',
 58        'uri': 'str',
 59        'user_authorization': 'WorkspaceUserAuthorization'
 60    }
 61
 62    attribute_map = {
 63        'caller_authorization': 'callerAuthorization',
 64        'content_type': 'contentType',
 65        'created': 'created',
 66        'created_by_id': 'createdById',
 67        'created_by_information': 'createdByInformation',
 68        'extension': 'extension',
 69        'file_size': 'fileSize',
 70        'file_uri': 'fileUri',
 71        'id': 'id',
 72        'is_public': 'isPublic',
 73        'last_modified': 'lastModified',
 74        'last_modified_by_id': 'lastModifiedById',
 75        'last_modified_by_information': 'lastModifiedByInformation',
 76        'name': 'name',
 77        'page_count': 'pageCount',
 78        'parent_folder_id': 'parentFolderId',
 79        'parent_folder_uri': 'parentFolderUri',
 80        'sha256': 'sha256',
 81        'thumb_height': 'thumbHeight',
 82        'thumbnail': 'thumbnail',
 83        'thumb_width': 'thumbWidth',
 84        'type': 'type',
 85        'uri': 'uri',
 86        'user_authorization': 'userAuthorization'
 87    }
 88
 89    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 90        """WorkspaceItem - a model defined in Swagger"""  # noqa: E501
 91        if _configuration is None:
 92            _configuration = Configuration()
 93        self._configuration = _configuration
 94
 95        self._caller_authorization = None
 96        self._content_type = None
 97        self._created = None
 98        self._created_by_id = None
 99        self._created_by_information = None
100        self._extension = None
101        self._file_size = None
102        self._file_uri = None
103        self._id = None
104        self._is_public = None
105        self._last_modified = None
106        self._last_modified_by_id = None
107        self._last_modified_by_information = None
108        self._name = None
109        self._page_count = None
110        self._parent_folder_id = None
111        self._parent_folder_uri = None
112        self._sha256 = None
113        self._thumb_height = None
114        self._thumbnail = None
115        self._thumb_width = None
116        self._type = None
117        self._uri = None
118        self._user_authorization = None
119        self.discriminator = None
120
121        setattr(self, "_{}".format('caller_authorization'), kwargs.get('caller_authorization', None))
122        setattr(self, "_{}".format('content_type'), kwargs.get('content_type', None))
123        setattr(self, "_{}".format('created'), kwargs.get('created', None))
124        setattr(self, "_{}".format('created_by_id'), kwargs.get('created_by_id', None))
125        setattr(self, "_{}".format('created_by_information'), kwargs.get('created_by_information', None))
126        setattr(self, "_{}".format('extension'), kwargs.get('extension', None))
127        setattr(self, "_{}".format('file_size'), kwargs.get('file_size', None))
128        setattr(self, "_{}".format('file_uri'), kwargs.get('file_uri', None))
129        setattr(self, "_{}".format('id'), kwargs.get('id', None))
130        setattr(self, "_{}".format('is_public'), kwargs.get('is_public', None))
131        setattr(self, "_{}".format('last_modified'), kwargs.get('last_modified', None))
132        setattr(self, "_{}".format('last_modified_by_id'), kwargs.get('last_modified_by_id', None))
133        setattr(self, "_{}".format('last_modified_by_information'), kwargs.get('last_modified_by_information', None))
134        setattr(self, "_{}".format('name'), kwargs.get('name', None))
135        setattr(self, "_{}".format('page_count'), kwargs.get('page_count', None))
136        setattr(self, "_{}".format('parent_folder_id'), kwargs.get('parent_folder_id', None))
137        setattr(self, "_{}".format('parent_folder_uri'), kwargs.get('parent_folder_uri', None))
138        setattr(self, "_{}".format('sha256'), kwargs.get('sha256', None))
139        setattr(self, "_{}".format('thumb_height'), kwargs.get('thumb_height', None))
140        setattr(self, "_{}".format('thumbnail'), kwargs.get('thumbnail', None))
141        setattr(self, "_{}".format('thumb_width'), kwargs.get('thumb_width', None))
142        setattr(self, "_{}".format('type'), kwargs.get('type', None))
143        setattr(self, "_{}".format('uri'), kwargs.get('uri', None))
144        setattr(self, "_{}".format('user_authorization'), kwargs.get('user_authorization', None))
145
146    @property
147    def caller_authorization(self):
148        """Gets the caller_authorization of this WorkspaceItem.  # noqa: E501
149
150          # noqa: E501
151
152        :return: The caller_authorization of this WorkspaceItem.  # noqa: E501
153        :rtype: WorkspaceUserAuthorization
154        """
155        return self._caller_authorization
156
157    @caller_authorization.setter
158    def caller_authorization(self, caller_authorization):
159        """Sets the caller_authorization of this WorkspaceItem.
160
161          # noqa: E501
162
163        :param caller_authorization: The caller_authorization of this WorkspaceItem.  # noqa: E501
164        :type: WorkspaceUserAuthorization
165        """
166
167        self._caller_authorization = caller_authorization
168
169    @property
170    def content_type(self):
171        """Gets the content_type of this WorkspaceItem.  # noqa: E501
172
173          # noqa: E501
174
175        :return: The content_type of this WorkspaceItem.  # noqa: E501
176        :rtype: str
177        """
178        return self._content_type
179
180    @content_type.setter
181    def content_type(self, content_type):
182        """Sets the content_type of this WorkspaceItem.
183
184          # noqa: E501
185
186        :param content_type: The content_type of this WorkspaceItem.  # noqa: E501
187        :type: str
188        """
189
190        self._content_type = content_type
191
192    @property
193    def created(self):
194        """Gets the created of this WorkspaceItem.  # noqa: E501
195
196        The UTC DateTime when the workspace item was created.  # noqa: E501
197
198        :return: The created of this WorkspaceItem.  # noqa: E501
199        :rtype: str
200        """
201        return self._created
202
203    @created.setter
204    def created(self, created):
205        """Sets the created of this WorkspaceItem.
206
207        The UTC DateTime when the workspace item was created.  # noqa: E501
208
209        :param created: The created of this WorkspaceItem.  # noqa: E501
210        :type: str
211        """
212
213        self._created = created
214
215    @property
216    def created_by_id(self):
217        """Gets the created_by_id of this WorkspaceItem.  # noqa: E501
218
219          # noqa: E501
220
221        :return: The created_by_id of this WorkspaceItem.  # noqa: E501
222        :rtype: str
223        """
224        return self._created_by_id
225
226    @created_by_id.setter
227    def created_by_id(self, created_by_id):
228        """Sets the created_by_id of this WorkspaceItem.
229
230          # noqa: E501
231
232        :param created_by_id: The created_by_id of this WorkspaceItem.  # noqa: E501
233        :type: str
234        """
235
236        self._created_by_id = created_by_id
237
238    @property
239    def created_by_information(self):
240        """Gets the created_by_information of this WorkspaceItem.  # noqa: E501
241
242        Details about the user who created the workspace item.  # noqa: E501
243
244        :return: The created_by_information of this WorkspaceItem.  # noqa: E501
245        :rtype: WorkspaceUser
246        """
247        return self._created_by_information
248
249    @created_by_information.setter
250    def created_by_information(self, created_by_information):
251        """Sets the created_by_information of this WorkspaceItem.
252
253        Details about the user who created the workspace item.  # noqa: E501
254
255        :param created_by_information: The created_by_information of this WorkspaceItem.  # noqa: E501
256        :type: WorkspaceUser
257        """
258
259        self._created_by_information = created_by_information
260
261    @property
262    def extension(self):
263        """Gets the extension of this WorkspaceItem.  # noqa: E501
264
265          # noqa: E501
266
267        :return: The extension of this WorkspaceItem.  # noqa: E501
268        :rtype: str
269        """
270        return self._extension
271
272    @extension.setter
273    def extension(self, extension):
274        """Sets the extension of this WorkspaceItem.
275
276          # noqa: E501
277
278        :param extension: The extension of this WorkspaceItem.  # noqa: E501
279        :type: str
280        """
281
282        self._extension = extension
283
284    @property
285    def file_size(self):
286        """Gets the file_size of this WorkspaceItem.  # noqa: E501
287
288          # noqa: E501
289
290        :return: The file_size of this WorkspaceItem.  # noqa: E501
291        :rtype: str
292        """
293        return self._file_size
294
295    @file_size.setter
296    def file_size(self, file_size):
297        """Sets the file_size of this WorkspaceItem.
298
299          # noqa: E501
300
301        :param file_size: The file_size of this WorkspaceItem.  # noqa: E501
302        :type: str
303        """
304
305        self._file_size = file_size
306
307    @property
308    def file_uri(self):
309        """Gets the file_uri of this WorkspaceItem.  # noqa: E501
310
311          # noqa: E501
312
313        :return: The file_uri of this WorkspaceItem.  # noqa: E501
314        :rtype: str
315        """
316        return self._file_uri
317
318    @file_uri.setter
319    def file_uri(self, file_uri):
320        """Sets the file_uri of this WorkspaceItem.
321
322          # noqa: E501
323
324        :param file_uri: The file_uri of this WorkspaceItem.  # noqa: E501
325        :type: str
326        """
327
328        self._file_uri = file_uri
329
330    @property
331    def id(self):
332        """Gets the id of this WorkspaceItem.  # noqa: E501
333
334          # noqa: E501
335
336        :return: The id of this WorkspaceItem.  # noqa: E501
337        :rtype: str
338        """
339        return self._id
340
341    @id.setter
342    def id(self, id):
343        """Sets the id of this WorkspaceItem.
344
345          # noqa: E501
346
347        :param id: The id of this WorkspaceItem.  # noqa: E501
348        :type: str
349        """
350
351        self._id = id
352
353    @property
354    def is_public(self):
355        """Gets the is_public of this WorkspaceItem.  # noqa: E501
356
357         If true, this supersedes need for bit mask permission with workspaceUserAuthorization  # noqa: E501
358
359        :return: The is_public of this WorkspaceItem.  # noqa: E501
360        :rtype: str
361        """
362        return self._is_public
363
364    @is_public.setter
365    def is_public(self, is_public):
366        """Sets the is_public of this WorkspaceItem.
367
368         If true, this supersedes need for bit mask permission with workspaceUserAuthorization  # noqa: E501
369
370        :param is_public: The is_public of this WorkspaceItem.  # noqa: E501
371        :type: str
372        """
373
374        self._is_public = is_public
375
376    @property
377    def last_modified(self):
378        """Gets the last_modified of this WorkspaceItem.  # noqa: E501
379
380          # noqa: E501
381
382        :return: The last_modified of this WorkspaceItem.  # noqa: E501
383        :rtype: str
384        """
385        return self._last_modified
386
387    @last_modified.setter
388    def last_modified(self, last_modified):
389        """Sets the last_modified of this WorkspaceItem.
390
391          # noqa: E501
392
393        :param last_modified: The last_modified of this WorkspaceItem.  # noqa: E501
394        :type: str
395        """
396
397        self._last_modified = last_modified
398
399    @property
400    def last_modified_by_id(self):
401        """Gets the last_modified_by_id of this WorkspaceItem.  # noqa: E501
402
403        Utc date and time the comment was last updated (can only be done by creator)  # noqa: E501
404
405        :return: The last_modified_by_id of this WorkspaceItem.  # noqa: E501
406        :rtype: str
407        """
408        return self._last_modified_by_id
409
410    @last_modified_by_id.setter
411    def last_modified_by_id(self, last_modified_by_id):
412        """Sets the last_modified_by_id of this WorkspaceItem.
413
414        Utc date and time the comment was last updated (can only be done by creator)  # noqa: E501
415
416        :param last_modified_by_id: The last_modified_by_id of this WorkspaceItem.  # noqa: E501
417        :type: str
418        """
419
420        self._last_modified_by_id = last_modified_by_id
421
422    @property
423    def last_modified_by_information(self):
424        """Gets the last_modified_by_information of this WorkspaceItem.  # noqa: E501
425
426        Details about the user who last modified the workspace item.  # noqa: E501
427
428        :return: The last_modified_by_information of this WorkspaceItem.  # noqa: E501
429        :rtype: WorkspaceUser
430        """
431        return self._last_modified_by_information
432
433    @last_modified_by_information.setter
434    def last_modified_by_information(self, last_modified_by_information):
435        """Sets the last_modified_by_information of this WorkspaceItem.
436
437        Details about the user who last modified the workspace item.  # noqa: E501
438
439        :param last_modified_by_information: The last_modified_by_information of this WorkspaceItem.  # noqa: E501
440        :type: WorkspaceUser
441        """
442
443        self._last_modified_by_information = last_modified_by_information
444
445    @property
446    def name(self):
447        """Gets the name of this WorkspaceItem.  # noqa: E501
448
449        A simple string description of the item, such as a file name or a folder name.  # noqa: E501
450
451        :return: The name of this WorkspaceItem.  # noqa: E501
452        :rtype: str
453        """
454        return self._name
455
456    @name.setter
457    def name(self, name):
458        """Sets the name of this WorkspaceItem.
459
460        A simple string description of the item, such as a file name or a folder name.  # noqa: E501
461
462        :param name: The name of this WorkspaceItem.  # noqa: E501
463        :type: str
464        """
465
466        self._name = name
467
468    @property
469    def page_count(self):
470        """Gets the page_count of this WorkspaceItem.  # noqa: E501
471
472          # noqa: E501
473
474        :return: The page_count of this WorkspaceItem.  # noqa: E501
475        :rtype: str
476        """
477        return self._page_count
478
479    @page_count.setter
480    def page_count(self, page_count):
481        """Sets the page_count of this WorkspaceItem.
482
483          # noqa: E501
484
485        :param page_count: The page_count of this WorkspaceItem.  # noqa: E501
486        :type: str
487        """
488
489        self._page_count = page_count
490
491    @property
492    def parent_folder_id(self):
493        """Gets the parent_folder_id of this WorkspaceItem.  # noqa: E501
494
495        The ID of the parent folder. This is the GUID of the parent folder, or the special value 'root' for the root folder.  # noqa: E501
496
497        :return: The parent_folder_id of this WorkspaceItem.  # noqa: E501
498        :rtype: str
499        """
500        return self._parent_folder_id
501
502    @parent_folder_id.setter
503    def parent_folder_id(self, parent_folder_id):
504        """Sets the parent_folder_id of this WorkspaceItem.
505
506        The ID of the parent folder. This is the GUID of the parent folder, or the special value 'root' for the root folder.  # noqa: E501
507
508        :param parent_folder_id: The parent_folder_id of this WorkspaceItem.  # noqa: E501
509        :type: str
510        """
511
512        self._parent_folder_id = parent_folder_id
513
514    @property
515    def parent_folder_uri(self):
516        """Gets the parent_folder_uri of this WorkspaceItem.  # noqa: E501
517
518          # noqa: E501
519
520        :return: The parent_folder_uri of this WorkspaceItem.  # noqa: E501
521        :rtype: str
522        """
523        return self._parent_folder_uri
524
525    @parent_folder_uri.setter
526    def parent_folder_uri(self, parent_folder_uri):
527        """Sets the parent_folder_uri of this WorkspaceItem.
528
529          # noqa: E501
530
531        :param parent_folder_uri: The parent_folder_uri of this WorkspaceItem.  # noqa: E501
532        :type: str
533        """
534
535        self._parent_folder_uri = parent_folder_uri
536
537    @property
538    def sha256(self):
539        """Gets the sha256 of this WorkspaceItem.  # noqa: E501
540
541          # noqa: E501
542
543        :return: The sha256 of this WorkspaceItem.  # noqa: E501
544        :rtype: str
545        """
546        return self._sha256
547
548    @sha256.setter
549    def sha256(self, sha256):
550        """Sets the sha256 of this WorkspaceItem.
551
552          # noqa: E501
553
554        :param sha256: The sha256 of this WorkspaceItem.  # noqa: E501
555        :type: str
556        """
557
558        self._sha256 = sha256
559
560    @property
561    def thumb_height(self):
562        """Gets the thumb_height of this WorkspaceItem.  # noqa: E501
563
564          # noqa: E501
565
566        :return: The thumb_height of this WorkspaceItem.  # noqa: E501
567        :rtype: str
568        """
569        return self._thumb_height
570
571    @thumb_height.setter
572    def thumb_height(self, thumb_height):
573        """Sets the thumb_height of this WorkspaceItem.
574
575          # noqa: E501
576
577        :param thumb_height: The thumb_height of this WorkspaceItem.  # noqa: E501
578        :type: str
579        """
580
581        self._thumb_height = thumb_height
582
583    @property
584    def thumbnail(self):
585        """Gets the thumbnail of this WorkspaceItem.  # noqa: E501
586
587          # noqa: E501
588
589        :return: The thumbnail of this WorkspaceItem.  # noqa: E501
590        :rtype: Page
591        """
592        return self._thumbnail
593
594    @thumbnail.setter
595    def thumbnail(self, thumbnail):
596        """Sets the thumbnail of this WorkspaceItem.
597
598          # noqa: E501
599
600        :param thumbnail: The thumbnail of this WorkspaceItem.  # noqa: E501
601        :type: Page
602        """
603
604        self._thumbnail = thumbnail
605
606    @property
607    def thumb_width(self):
608        """Gets the thumb_width of this WorkspaceItem.  # noqa: E501
609
610          # noqa: E501
611
612        :return: The thumb_width of this WorkspaceItem.  # noqa: E501
613        :rtype: str
614        """
615        return self._thumb_width
616
617    @thumb_width.setter
618    def thumb_width(self, thumb_width):
619        """Sets the thumb_width of this WorkspaceItem.
620
621          # noqa: E501
622
623        :param thumb_width: The thumb_width of this WorkspaceItem.  # noqa: E501
624        :type: str
625        """
626
627        self._thumb_width = thumb_width
628
629    @property
630    def type(self):
631        """Gets the type of this WorkspaceItem.  # noqa: E501
632
633        The type of the workspace item. Valid values are file, folder.  # noqa: E501
634
635        :return: The type of this WorkspaceItem.  # noqa: E501
636        :rtype: str
637        """
638        return self._type
639
640    @type.setter
641    def type(self, type):
642        """Sets the type of this WorkspaceItem.
643
644        The type of the workspace item. Valid values are file, folder.  # noqa: E501
645
646        :param type: The type of this WorkspaceItem.  # noqa: E501
647        :type: str
648        """
649
650        self._type = type
651
652    @property
653    def uri(self):
654        """Gets the uri of this WorkspaceItem.  # noqa: E501
655
656          # noqa: E501
657
658        :return: The uri of this WorkspaceItem.  # noqa: E501
659        :rtype: str
660        """
661        return self._uri
662
663    @uri.setter
664    def uri(self, uri):
665        """Sets the uri of this WorkspaceItem.
666
667          # noqa: E501
668
669        :param uri: The uri of this WorkspaceItem.  # noqa: E501
670        :type: str
671        """
672
673        self._uri = uri
674
675    @property
676    def user_authorization(self):
677        """Gets the user_authorization of this WorkspaceItem.  # noqa: E501
678
679          # noqa: E501
680
681        :return: The user_authorization of this WorkspaceItem.  # noqa: E501
682        :rtype: WorkspaceUserAuthorization
683        """
684        return self._user_authorization
685
686    @user_authorization.setter
687    def user_authorization(self, user_authorization):
688        """Sets the user_authorization of this WorkspaceItem.
689
690          # noqa: E501
691
692        :param user_authorization: The user_authorization of this WorkspaceItem.  # noqa: E501
693        :type: WorkspaceUserAuthorization
694        """
695
696        self._user_authorization = user_authorization
697
698    def to_dict(self):
699        """Returns the model properties as a dict"""
700        result = {}
701
702        for attr, _ in six.iteritems(self.swagger_types):
703            value = getattr(self, attr)
704            if isinstance(value, list):
705                result[attr] = list(map(
706                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
707                    value
708                ))
709            elif hasattr(value, "to_dict"):
710                result[attr] = value.to_dict()
711            elif isinstance(value, dict):
712                result[attr] = dict(map(
713                    lambda item: (item[0], item[1].to_dict())
714                    if hasattr(item[1], "to_dict") else item,
715                    value.items()
716                ))
717            else:
718                result[attr] = value
719        if issubclass(WorkspaceItem, dict):
720            for key, value in self.items():
721                result[key] = value
722
723        return result
724
725    def to_str(self):
726        """Returns the string representation of the model"""
727        return pprint.pformat(self.to_dict())
728
729    def __repr__(self):
730        """For `print` and `pprint`"""
731        return self.to_str()
732
733    def __eq__(self, other):
734        """Returns true if both objects are equal"""
735        if not isinstance(other, WorkspaceItem):
736            return False
737
738        return self.to_dict() == other.to_dict()
739
740    def __ne__(self, other):
741        """Returns true if both objects are not equal"""
742        if not isinstance(other, WorkspaceItem):
743            return True
744
745        return self.to_dict() != other.to_dict()
class WorkspaceItem:
 23class WorkspaceItem(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        'caller_authorization': 'WorkspaceUserAuthorization',
 38        'content_type': 'str',
 39        'created': 'str',
 40        'created_by_id': 'str',
 41        'created_by_information': 'WorkspaceUser',
 42        'extension': 'str',
 43        'file_size': 'str',
 44        'file_uri': 'str',
 45        'id': 'str',
 46        'is_public': 'str',
 47        'last_modified': 'str',
 48        'last_modified_by_id': 'str',
 49        'last_modified_by_information': 'WorkspaceUser',
 50        'name': 'str',
 51        'page_count': 'str',
 52        'parent_folder_id': 'str',
 53        'parent_folder_uri': 'str',
 54        'sha256': 'str',
 55        'thumb_height': 'str',
 56        'thumbnail': 'Page',
 57        'thumb_width': 'str',
 58        'type': 'str',
 59        'uri': 'str',
 60        'user_authorization': 'WorkspaceUserAuthorization'
 61    }
 62
 63    attribute_map = {
 64        'caller_authorization': 'callerAuthorization',
 65        'content_type': 'contentType',
 66        'created': 'created',
 67        'created_by_id': 'createdById',
 68        'created_by_information': 'createdByInformation',
 69        'extension': 'extension',
 70        'file_size': 'fileSize',
 71        'file_uri': 'fileUri',
 72        'id': 'id',
 73        'is_public': 'isPublic',
 74        'last_modified': 'lastModified',
 75        'last_modified_by_id': 'lastModifiedById',
 76        'last_modified_by_information': 'lastModifiedByInformation',
 77        'name': 'name',
 78        'page_count': 'pageCount',
 79        'parent_folder_id': 'parentFolderId',
 80        'parent_folder_uri': 'parentFolderUri',
 81        'sha256': 'sha256',
 82        'thumb_height': 'thumbHeight',
 83        'thumbnail': 'thumbnail',
 84        'thumb_width': 'thumbWidth',
 85        'type': 'type',
 86        'uri': 'uri',
 87        'user_authorization': 'userAuthorization'
 88    }
 89
 90    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 91        """WorkspaceItem - a model defined in Swagger"""  # noqa: E501
 92        if _configuration is None:
 93            _configuration = Configuration()
 94        self._configuration = _configuration
 95
 96        self._caller_authorization = None
 97        self._content_type = None
 98        self._created = None
 99        self._created_by_id = None
100        self._created_by_information = None
101        self._extension = None
102        self._file_size = None
103        self._file_uri = None
104        self._id = None
105        self._is_public = None
106        self._last_modified = None
107        self._last_modified_by_id = None
108        self._last_modified_by_information = None
109        self._name = None
110        self._page_count = None
111        self._parent_folder_id = None
112        self._parent_folder_uri = None
113        self._sha256 = None
114        self._thumb_height = None
115        self._thumbnail = None
116        self._thumb_width = None
117        self._type = None
118        self._uri = None
119        self._user_authorization = None
120        self.discriminator = None
121
122        setattr(self, "_{}".format('caller_authorization'), kwargs.get('caller_authorization', None))
123        setattr(self, "_{}".format('content_type'), kwargs.get('content_type', None))
124        setattr(self, "_{}".format('created'), kwargs.get('created', None))
125        setattr(self, "_{}".format('created_by_id'), kwargs.get('created_by_id', None))
126        setattr(self, "_{}".format('created_by_information'), kwargs.get('created_by_information', None))
127        setattr(self, "_{}".format('extension'), kwargs.get('extension', None))
128        setattr(self, "_{}".format('file_size'), kwargs.get('file_size', None))
129        setattr(self, "_{}".format('file_uri'), kwargs.get('file_uri', None))
130        setattr(self, "_{}".format('id'), kwargs.get('id', None))
131        setattr(self, "_{}".format('is_public'), kwargs.get('is_public', None))
132        setattr(self, "_{}".format('last_modified'), kwargs.get('last_modified', None))
133        setattr(self, "_{}".format('last_modified_by_id'), kwargs.get('last_modified_by_id', None))
134        setattr(self, "_{}".format('last_modified_by_information'), kwargs.get('last_modified_by_information', None))
135        setattr(self, "_{}".format('name'), kwargs.get('name', None))
136        setattr(self, "_{}".format('page_count'), kwargs.get('page_count', None))
137        setattr(self, "_{}".format('parent_folder_id'), kwargs.get('parent_folder_id', None))
138        setattr(self, "_{}".format('parent_folder_uri'), kwargs.get('parent_folder_uri', None))
139        setattr(self, "_{}".format('sha256'), kwargs.get('sha256', None))
140        setattr(self, "_{}".format('thumb_height'), kwargs.get('thumb_height', None))
141        setattr(self, "_{}".format('thumbnail'), kwargs.get('thumbnail', None))
142        setattr(self, "_{}".format('thumb_width'), kwargs.get('thumb_width', None))
143        setattr(self, "_{}".format('type'), kwargs.get('type', None))
144        setattr(self, "_{}".format('uri'), kwargs.get('uri', None))
145        setattr(self, "_{}".format('user_authorization'), kwargs.get('user_authorization', None))
146
147    @property
148    def caller_authorization(self):
149        """Gets the caller_authorization of this WorkspaceItem.  # noqa: E501
150
151          # noqa: E501
152
153        :return: The caller_authorization of this WorkspaceItem.  # noqa: E501
154        :rtype: WorkspaceUserAuthorization
155        """
156        return self._caller_authorization
157
158    @caller_authorization.setter
159    def caller_authorization(self, caller_authorization):
160        """Sets the caller_authorization of this WorkspaceItem.
161
162          # noqa: E501
163
164        :param caller_authorization: The caller_authorization of this WorkspaceItem.  # noqa: E501
165        :type: WorkspaceUserAuthorization
166        """
167
168        self._caller_authorization = caller_authorization
169
170    @property
171    def content_type(self):
172        """Gets the content_type of this WorkspaceItem.  # noqa: E501
173
174          # noqa: E501
175
176        :return: The content_type of this WorkspaceItem.  # noqa: E501
177        :rtype: str
178        """
179        return self._content_type
180
181    @content_type.setter
182    def content_type(self, content_type):
183        """Sets the content_type of this WorkspaceItem.
184
185          # noqa: E501
186
187        :param content_type: The content_type of this WorkspaceItem.  # noqa: E501
188        :type: str
189        """
190
191        self._content_type = content_type
192
193    @property
194    def created(self):
195        """Gets the created of this WorkspaceItem.  # noqa: E501
196
197        The UTC DateTime when the workspace item was created.  # noqa: E501
198
199        :return: The created of this WorkspaceItem.  # noqa: E501
200        :rtype: str
201        """
202        return self._created
203
204    @created.setter
205    def created(self, created):
206        """Sets the created of this WorkspaceItem.
207
208        The UTC DateTime when the workspace item was created.  # noqa: E501
209
210        :param created: The created of this WorkspaceItem.  # noqa: E501
211        :type: str
212        """
213
214        self._created = created
215
216    @property
217    def created_by_id(self):
218        """Gets the created_by_id of this WorkspaceItem.  # noqa: E501
219
220          # noqa: E501
221
222        :return: The created_by_id of this WorkspaceItem.  # noqa: E501
223        :rtype: str
224        """
225        return self._created_by_id
226
227    @created_by_id.setter
228    def created_by_id(self, created_by_id):
229        """Sets the created_by_id of this WorkspaceItem.
230
231          # noqa: E501
232
233        :param created_by_id: The created_by_id of this WorkspaceItem.  # noqa: E501
234        :type: str
235        """
236
237        self._created_by_id = created_by_id
238
239    @property
240    def created_by_information(self):
241        """Gets the created_by_information of this WorkspaceItem.  # noqa: E501
242
243        Details about the user who created the workspace item.  # noqa: E501
244
245        :return: The created_by_information of this WorkspaceItem.  # noqa: E501
246        :rtype: WorkspaceUser
247        """
248        return self._created_by_information
249
250    @created_by_information.setter
251    def created_by_information(self, created_by_information):
252        """Sets the created_by_information of this WorkspaceItem.
253
254        Details about the user who created the workspace item.  # noqa: E501
255
256        :param created_by_information: The created_by_information of this WorkspaceItem.  # noqa: E501
257        :type: WorkspaceUser
258        """
259
260        self._created_by_information = created_by_information
261
262    @property
263    def extension(self):
264        """Gets the extension of this WorkspaceItem.  # noqa: E501
265
266          # noqa: E501
267
268        :return: The extension of this WorkspaceItem.  # noqa: E501
269        :rtype: str
270        """
271        return self._extension
272
273    @extension.setter
274    def extension(self, extension):
275        """Sets the extension of this WorkspaceItem.
276
277          # noqa: E501
278
279        :param extension: The extension of this WorkspaceItem.  # noqa: E501
280        :type: str
281        """
282
283        self._extension = extension
284
285    @property
286    def file_size(self):
287        """Gets the file_size of this WorkspaceItem.  # noqa: E501
288
289          # noqa: E501
290
291        :return: The file_size of this WorkspaceItem.  # noqa: E501
292        :rtype: str
293        """
294        return self._file_size
295
296    @file_size.setter
297    def file_size(self, file_size):
298        """Sets the file_size of this WorkspaceItem.
299
300          # noqa: E501
301
302        :param file_size: The file_size of this WorkspaceItem.  # noqa: E501
303        :type: str
304        """
305
306        self._file_size = file_size
307
308    @property
309    def file_uri(self):
310        """Gets the file_uri of this WorkspaceItem.  # noqa: E501
311
312          # noqa: E501
313
314        :return: The file_uri of this WorkspaceItem.  # noqa: E501
315        :rtype: str
316        """
317        return self._file_uri
318
319    @file_uri.setter
320    def file_uri(self, file_uri):
321        """Sets the file_uri of this WorkspaceItem.
322
323          # noqa: E501
324
325        :param file_uri: The file_uri of this WorkspaceItem.  # noqa: E501
326        :type: str
327        """
328
329        self._file_uri = file_uri
330
331    @property
332    def id(self):
333        """Gets the id of this WorkspaceItem.  # noqa: E501
334
335          # noqa: E501
336
337        :return: The id of this WorkspaceItem.  # noqa: E501
338        :rtype: str
339        """
340        return self._id
341
342    @id.setter
343    def id(self, id):
344        """Sets the id of this WorkspaceItem.
345
346          # noqa: E501
347
348        :param id: The id of this WorkspaceItem.  # noqa: E501
349        :type: str
350        """
351
352        self._id = id
353
354    @property
355    def is_public(self):
356        """Gets the is_public of this WorkspaceItem.  # noqa: E501
357
358         If true, this supersedes need for bit mask permission with workspaceUserAuthorization  # noqa: E501
359
360        :return: The is_public of this WorkspaceItem.  # noqa: E501
361        :rtype: str
362        """
363        return self._is_public
364
365    @is_public.setter
366    def is_public(self, is_public):
367        """Sets the is_public of this WorkspaceItem.
368
369         If true, this supersedes need for bit mask permission with workspaceUserAuthorization  # noqa: E501
370
371        :param is_public: The is_public of this WorkspaceItem.  # noqa: E501
372        :type: str
373        """
374
375        self._is_public = is_public
376
377    @property
378    def last_modified(self):
379        """Gets the last_modified of this WorkspaceItem.  # noqa: E501
380
381          # noqa: E501
382
383        :return: The last_modified of this WorkspaceItem.  # noqa: E501
384        :rtype: str
385        """
386        return self._last_modified
387
388    @last_modified.setter
389    def last_modified(self, last_modified):
390        """Sets the last_modified of this WorkspaceItem.
391
392          # noqa: E501
393
394        :param last_modified: The last_modified of this WorkspaceItem.  # noqa: E501
395        :type: str
396        """
397
398        self._last_modified = last_modified
399
400    @property
401    def last_modified_by_id(self):
402        """Gets the last_modified_by_id of this WorkspaceItem.  # noqa: E501
403
404        Utc date and time the comment was last updated (can only be done by creator)  # noqa: E501
405
406        :return: The last_modified_by_id of this WorkspaceItem.  # noqa: E501
407        :rtype: str
408        """
409        return self._last_modified_by_id
410
411    @last_modified_by_id.setter
412    def last_modified_by_id(self, last_modified_by_id):
413        """Sets the last_modified_by_id of this WorkspaceItem.
414
415        Utc date and time the comment was last updated (can only be done by creator)  # noqa: E501
416
417        :param last_modified_by_id: The last_modified_by_id of this WorkspaceItem.  # noqa: E501
418        :type: str
419        """
420
421        self._last_modified_by_id = last_modified_by_id
422
423    @property
424    def last_modified_by_information(self):
425        """Gets the last_modified_by_information of this WorkspaceItem.  # noqa: E501
426
427        Details about the user who last modified the workspace item.  # noqa: E501
428
429        :return: The last_modified_by_information of this WorkspaceItem.  # noqa: E501
430        :rtype: WorkspaceUser
431        """
432        return self._last_modified_by_information
433
434    @last_modified_by_information.setter
435    def last_modified_by_information(self, last_modified_by_information):
436        """Sets the last_modified_by_information of this WorkspaceItem.
437
438        Details about the user who last modified the workspace item.  # noqa: E501
439
440        :param last_modified_by_information: The last_modified_by_information of this WorkspaceItem.  # noqa: E501
441        :type: WorkspaceUser
442        """
443
444        self._last_modified_by_information = last_modified_by_information
445
446    @property
447    def name(self):
448        """Gets the name of this WorkspaceItem.  # noqa: E501
449
450        A simple string description of the item, such as a file name or a folder name.  # noqa: E501
451
452        :return: The name of this WorkspaceItem.  # noqa: E501
453        :rtype: str
454        """
455        return self._name
456
457    @name.setter
458    def name(self, name):
459        """Sets the name of this WorkspaceItem.
460
461        A simple string description of the item, such as a file name or a folder name.  # noqa: E501
462
463        :param name: The name of this WorkspaceItem.  # noqa: E501
464        :type: str
465        """
466
467        self._name = name
468
469    @property
470    def page_count(self):
471        """Gets the page_count of this WorkspaceItem.  # noqa: E501
472
473          # noqa: E501
474
475        :return: The page_count of this WorkspaceItem.  # noqa: E501
476        :rtype: str
477        """
478        return self._page_count
479
480    @page_count.setter
481    def page_count(self, page_count):
482        """Sets the page_count of this WorkspaceItem.
483
484          # noqa: E501
485
486        :param page_count: The page_count of this WorkspaceItem.  # noqa: E501
487        :type: str
488        """
489
490        self._page_count = page_count
491
492    @property
493    def parent_folder_id(self):
494        """Gets the parent_folder_id of this WorkspaceItem.  # noqa: E501
495
496        The ID of the parent folder. This is the GUID of the parent folder, or the special value 'root' for the root folder.  # noqa: E501
497
498        :return: The parent_folder_id of this WorkspaceItem.  # noqa: E501
499        :rtype: str
500        """
501        return self._parent_folder_id
502
503    @parent_folder_id.setter
504    def parent_folder_id(self, parent_folder_id):
505        """Sets the parent_folder_id of this WorkspaceItem.
506
507        The ID of the parent folder. This is the GUID of the parent folder, or the special value 'root' for the root folder.  # noqa: E501
508
509        :param parent_folder_id: The parent_folder_id of this WorkspaceItem.  # noqa: E501
510        :type: str
511        """
512
513        self._parent_folder_id = parent_folder_id
514
515    @property
516    def parent_folder_uri(self):
517        """Gets the parent_folder_uri of this WorkspaceItem.  # noqa: E501
518
519          # noqa: E501
520
521        :return: The parent_folder_uri of this WorkspaceItem.  # noqa: E501
522        :rtype: str
523        """
524        return self._parent_folder_uri
525
526    @parent_folder_uri.setter
527    def parent_folder_uri(self, parent_folder_uri):
528        """Sets the parent_folder_uri of this WorkspaceItem.
529
530          # noqa: E501
531
532        :param parent_folder_uri: The parent_folder_uri of this WorkspaceItem.  # noqa: E501
533        :type: str
534        """
535
536        self._parent_folder_uri = parent_folder_uri
537
538    @property
539    def sha256(self):
540        """Gets the sha256 of this WorkspaceItem.  # noqa: E501
541
542          # noqa: E501
543
544        :return: The sha256 of this WorkspaceItem.  # noqa: E501
545        :rtype: str
546        """
547        return self._sha256
548
549    @sha256.setter
550    def sha256(self, sha256):
551        """Sets the sha256 of this WorkspaceItem.
552
553          # noqa: E501
554
555        :param sha256: The sha256 of this WorkspaceItem.  # noqa: E501
556        :type: str
557        """
558
559        self._sha256 = sha256
560
561    @property
562    def thumb_height(self):
563        """Gets the thumb_height of this WorkspaceItem.  # noqa: E501
564
565          # noqa: E501
566
567        :return: The thumb_height of this WorkspaceItem.  # noqa: E501
568        :rtype: str
569        """
570        return self._thumb_height
571
572    @thumb_height.setter
573    def thumb_height(self, thumb_height):
574        """Sets the thumb_height of this WorkspaceItem.
575
576          # noqa: E501
577
578        :param thumb_height: The thumb_height of this WorkspaceItem.  # noqa: E501
579        :type: str
580        """
581
582        self._thumb_height = thumb_height
583
584    @property
585    def thumbnail(self):
586        """Gets the thumbnail of this WorkspaceItem.  # noqa: E501
587
588          # noqa: E501
589
590        :return: The thumbnail of this WorkspaceItem.  # noqa: E501
591        :rtype: Page
592        """
593        return self._thumbnail
594
595    @thumbnail.setter
596    def thumbnail(self, thumbnail):
597        """Sets the thumbnail of this WorkspaceItem.
598
599          # noqa: E501
600
601        :param thumbnail: The thumbnail of this WorkspaceItem.  # noqa: E501
602        :type: Page
603        """
604
605        self._thumbnail = thumbnail
606
607    @property
608    def thumb_width(self):
609        """Gets the thumb_width of this WorkspaceItem.  # noqa: E501
610
611          # noqa: E501
612
613        :return: The thumb_width of this WorkspaceItem.  # noqa: E501
614        :rtype: str
615        """
616        return self._thumb_width
617
618    @thumb_width.setter
619    def thumb_width(self, thumb_width):
620        """Sets the thumb_width of this WorkspaceItem.
621
622          # noqa: E501
623
624        :param thumb_width: The thumb_width of this WorkspaceItem.  # noqa: E501
625        :type: str
626        """
627
628        self._thumb_width = thumb_width
629
630    @property
631    def type(self):
632        """Gets the type of this WorkspaceItem.  # noqa: E501
633
634        The type of the workspace item. Valid values are file, folder.  # noqa: E501
635
636        :return: The type of this WorkspaceItem.  # noqa: E501
637        :rtype: str
638        """
639        return self._type
640
641    @type.setter
642    def type(self, type):
643        """Sets the type of this WorkspaceItem.
644
645        The type of the workspace item. Valid values are file, folder.  # noqa: E501
646
647        :param type: The type of this WorkspaceItem.  # noqa: E501
648        :type: str
649        """
650
651        self._type = type
652
653    @property
654    def uri(self):
655        """Gets the uri of this WorkspaceItem.  # noqa: E501
656
657          # noqa: E501
658
659        :return: The uri of this WorkspaceItem.  # noqa: E501
660        :rtype: str
661        """
662        return self._uri
663
664    @uri.setter
665    def uri(self, uri):
666        """Sets the uri of this WorkspaceItem.
667
668          # noqa: E501
669
670        :param uri: The uri of this WorkspaceItem.  # noqa: E501
671        :type: str
672        """
673
674        self._uri = uri
675
676    @property
677    def user_authorization(self):
678        """Gets the user_authorization of this WorkspaceItem.  # noqa: E501
679
680          # noqa: E501
681
682        :return: The user_authorization of this WorkspaceItem.  # noqa: E501
683        :rtype: WorkspaceUserAuthorization
684        """
685        return self._user_authorization
686
687    @user_authorization.setter
688    def user_authorization(self, user_authorization):
689        """Sets the user_authorization of this WorkspaceItem.
690
691          # noqa: E501
692
693        :param user_authorization: The user_authorization of this WorkspaceItem.  # noqa: E501
694        :type: WorkspaceUserAuthorization
695        """
696
697        self._user_authorization = user_authorization
698
699    def to_dict(self):
700        """Returns the model properties as a dict"""
701        result = {}
702
703        for attr, _ in six.iteritems(self.swagger_types):
704            value = getattr(self, attr)
705            if isinstance(value, list):
706                result[attr] = list(map(
707                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
708                    value
709                ))
710            elif hasattr(value, "to_dict"):
711                result[attr] = value.to_dict()
712            elif isinstance(value, dict):
713                result[attr] = dict(map(
714                    lambda item: (item[0], item[1].to_dict())
715                    if hasattr(item[1], "to_dict") else item,
716                    value.items()
717                ))
718            else:
719                result[attr] = value
720        if issubclass(WorkspaceItem, dict):
721            for key, value in self.items():
722                result[key] = value
723
724        return result
725
726    def to_str(self):
727        """Returns the string representation of the model"""
728        return pprint.pformat(self.to_dict())
729
730    def __repr__(self):
731        """For `print` and `pprint`"""
732        return self.to_str()
733
734    def __eq__(self, other):
735        """Returns true if both objects are equal"""
736        if not isinstance(other, WorkspaceItem):
737            return False
738
739        return self.to_dict() == other.to_dict()
740
741    def __ne__(self, other):
742        """Returns true if both objects are not equal"""
743        if not isinstance(other, WorkspaceItem):
744            return True
745
746        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.

WorkspaceItem(_configuration=None, **kwargs)
 90    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 91        """WorkspaceItem - a model defined in Swagger"""  # noqa: E501
 92        if _configuration is None:
 93            _configuration = Configuration()
 94        self._configuration = _configuration
 95
 96        self._caller_authorization = None
 97        self._content_type = None
 98        self._created = None
 99        self._created_by_id = None
100        self._created_by_information = None
101        self._extension = None
102        self._file_size = None
103        self._file_uri = None
104        self._id = None
105        self._is_public = None
106        self._last_modified = None
107        self._last_modified_by_id = None
108        self._last_modified_by_information = None
109        self._name = None
110        self._page_count = None
111        self._parent_folder_id = None
112        self._parent_folder_uri = None
113        self._sha256 = None
114        self._thumb_height = None
115        self._thumbnail = None
116        self._thumb_width = None
117        self._type = None
118        self._uri = None
119        self._user_authorization = None
120        self.discriminator = None
121
122        setattr(self, "_{}".format('caller_authorization'), kwargs.get('caller_authorization', None))
123        setattr(self, "_{}".format('content_type'), kwargs.get('content_type', None))
124        setattr(self, "_{}".format('created'), kwargs.get('created', None))
125        setattr(self, "_{}".format('created_by_id'), kwargs.get('created_by_id', None))
126        setattr(self, "_{}".format('created_by_information'), kwargs.get('created_by_information', None))
127        setattr(self, "_{}".format('extension'), kwargs.get('extension', None))
128        setattr(self, "_{}".format('file_size'), kwargs.get('file_size', None))
129        setattr(self, "_{}".format('file_uri'), kwargs.get('file_uri', None))
130        setattr(self, "_{}".format('id'), kwargs.get('id', None))
131        setattr(self, "_{}".format('is_public'), kwargs.get('is_public', None))
132        setattr(self, "_{}".format('last_modified'), kwargs.get('last_modified', None))
133        setattr(self, "_{}".format('last_modified_by_id'), kwargs.get('last_modified_by_id', None))
134        setattr(self, "_{}".format('last_modified_by_information'), kwargs.get('last_modified_by_information', None))
135        setattr(self, "_{}".format('name'), kwargs.get('name', None))
136        setattr(self, "_{}".format('page_count'), kwargs.get('page_count', None))
137        setattr(self, "_{}".format('parent_folder_id'), kwargs.get('parent_folder_id', None))
138        setattr(self, "_{}".format('parent_folder_uri'), kwargs.get('parent_folder_uri', None))
139        setattr(self, "_{}".format('sha256'), kwargs.get('sha256', None))
140        setattr(self, "_{}".format('thumb_height'), kwargs.get('thumb_height', None))
141        setattr(self, "_{}".format('thumbnail'), kwargs.get('thumbnail', None))
142        setattr(self, "_{}".format('thumb_width'), kwargs.get('thumb_width', None))
143        setattr(self, "_{}".format('type'), kwargs.get('type', None))
144        setattr(self, "_{}".format('uri'), kwargs.get('uri', None))
145        setattr(self, "_{}".format('user_authorization'), kwargs.get('user_authorization', None))

WorkspaceItem - a model defined in Swagger

swagger_types = {'caller_authorization': 'WorkspaceUserAuthorization', 'content_type': 'str', 'created': 'str', 'created_by_id': 'str', 'created_by_information': 'WorkspaceUser', 'extension': 'str', 'file_size': 'str', 'file_uri': 'str', 'id': 'str', 'is_public': 'str', 'last_modified': 'str', 'last_modified_by_id': 'str', 'last_modified_by_information': 'WorkspaceUser', 'name': 'str', 'page_count': 'str', 'parent_folder_id': 'str', 'parent_folder_uri': 'str', 'sha256': 'str', 'thumb_height': 'str', 'thumbnail': 'Page', 'thumb_width': 'str', 'type': 'str', 'uri': 'str', 'user_authorization': 'WorkspaceUserAuthorization'}
attribute_map = {'caller_authorization': 'callerAuthorization', 'content_type': 'contentType', 'created': 'created', 'created_by_id': 'createdById', 'created_by_information': 'createdByInformation', 'extension': 'extension', 'file_size': 'fileSize', 'file_uri': 'fileUri', 'id': 'id', 'is_public': 'isPublic', 'last_modified': 'lastModified', 'last_modified_by_id': 'lastModifiedById', 'last_modified_by_information': 'lastModifiedByInformation', 'name': 'name', 'page_count': 'pageCount', 'parent_folder_id': 'parentFolderId', 'parent_folder_uri': 'parentFolderUri', 'sha256': 'sha256', 'thumb_height': 'thumbHeight', 'thumbnail': 'thumbnail', 'thumb_width': 'thumbWidth', 'type': 'type', 'uri': 'uri', 'user_authorization': 'userAuthorization'}
caller_authorization

Gets the caller_authorization of this WorkspaceItem. # noqa: E501

# noqa: E501

Returns

The caller_authorization of this WorkspaceItem. # noqa: E501

content_type

Gets the content_type of this WorkspaceItem. # noqa: E501

# noqa: E501

Returns

The content_type of this WorkspaceItem. # noqa: E501

created

Gets the created of this WorkspaceItem. # noqa: E501

The UTC DateTime when the workspace item was created. # noqa: E501

Returns

The created of this WorkspaceItem. # noqa: E501

created_by_id

Gets the created_by_id of this WorkspaceItem. # noqa: E501

# noqa: E501

Returns

The created_by_id of this WorkspaceItem. # noqa: E501

created_by_information

Gets the created_by_information of this WorkspaceItem. # noqa: E501

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

Returns

The created_by_information of this WorkspaceItem. # noqa: E501

extension

Gets the extension of this WorkspaceItem. # noqa: E501

# noqa: E501

Returns

The extension of this WorkspaceItem. # noqa: E501

file_size

Gets the file_size of this WorkspaceItem. # noqa: E501

# noqa: E501

Returns

The file_size of this WorkspaceItem. # noqa: E501

file_uri

Gets the file_uri of this WorkspaceItem. # noqa: E501

# noqa: E501

Returns

The file_uri of this WorkspaceItem. # noqa: E501

id

Gets the id of this WorkspaceItem. # noqa: E501

# noqa: E501

Returns

The id of this WorkspaceItem. # noqa: E501

is_public

Gets the is_public of this WorkspaceItem. # noqa: E501

If true, this supersedes need for bit mask permission with workspaceUserAuthorization # noqa: E501

Returns

The is_public of this WorkspaceItem. # noqa: E501

last_modified

Gets the last_modified of this WorkspaceItem. # noqa: E501

# noqa: E501

Returns

The last_modified of this WorkspaceItem. # noqa: E501

last_modified_by_id

Gets the last_modified_by_id of this WorkspaceItem. # noqa: E501

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

Returns

The last_modified_by_id of this WorkspaceItem. # noqa: E501

last_modified_by_information

Gets the last_modified_by_information of this WorkspaceItem. # noqa: E501

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

Returns

The last_modified_by_information of this WorkspaceItem. # noqa: E501

name

Gets the name of this WorkspaceItem. # noqa: E501

A simple string description of the item, such as a file name or a folder name. # noqa: E501

Returns

The name of this WorkspaceItem. # noqa: E501

page_count

Gets the page_count of this WorkspaceItem. # noqa: E501

# noqa: E501

Returns

The page_count of this WorkspaceItem. # noqa: E501

parent_folder_id

Gets the parent_folder_id of this WorkspaceItem. # noqa: E501

The ID of the parent folder. This is the GUID of the parent folder, or the special value 'root' for the root folder. # noqa: E501

Returns

The parent_folder_id of this WorkspaceItem. # noqa: E501

parent_folder_uri

Gets the parent_folder_uri of this WorkspaceItem. # noqa: E501

# noqa: E501

Returns

The parent_folder_uri of this WorkspaceItem. # noqa: E501

sha256

Gets the sha256 of this WorkspaceItem. # noqa: E501

# noqa: E501

Returns

The sha256 of this WorkspaceItem. # noqa: E501

thumb_height

Gets the thumb_height of this WorkspaceItem. # noqa: E501

# noqa: E501

Returns

The thumb_height of this WorkspaceItem. # noqa: E501

thumbnail

Gets the thumbnail of this WorkspaceItem. # noqa: E501

# noqa: E501

Returns

The thumbnail of this WorkspaceItem. # noqa: E501

thumb_width

Gets the thumb_width of this WorkspaceItem. # noqa: E501

# noqa: E501

Returns

The thumb_width of this WorkspaceItem. # noqa: E501

type

Gets the type of this WorkspaceItem. # noqa: E501

The type of the workspace item. Valid values are file, folder. # noqa: E501

Returns

The type of this WorkspaceItem. # noqa: E501

uri

Gets the uri of this WorkspaceItem. # noqa: E501

# noqa: E501

Returns

The uri of this WorkspaceItem. # noqa: E501

user_authorization

Gets the user_authorization of this WorkspaceItem. # noqa: E501

# noqa: E501

Returns

The user_authorization of this WorkspaceItem. # noqa: E501

def to_dict(self)
699    def to_dict(self):
700        """Returns the model properties as a dict"""
701        result = {}
702
703        for attr, _ in six.iteritems(self.swagger_types):
704            value = getattr(self, attr)
705            if isinstance(value, list):
706                result[attr] = list(map(
707                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
708                    value
709                ))
710            elif hasattr(value, "to_dict"):
711                result[attr] = value.to_dict()
712            elif isinstance(value, dict):
713                result[attr] = dict(map(
714                    lambda item: (item[0], item[1].to_dict())
715                    if hasattr(item[1], "to_dict") else item,
716                    value.items()
717                ))
718            else:
719                result[attr] = value
720        if issubclass(WorkspaceItem, dict):
721            for key, value in self.items():
722                result[key] = value
723
724        return result

Returns the model properties as a dict

def to_str(self)
726    def to_str(self):
727        """Returns the string representation of the model"""
728        return pprint.pformat(self.to_dict())

Returns the string representation of the model