docusign_esign.models.folder_shared_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 FolderSharedItem(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        'error_details': 'ErrorDetails',
 37        'folder_id': 'str',
 38        'name': 'str',
 39        'owner': 'UserInfo',
 40        'parent_folder_id': 'str',
 41        'parent_folder_uri': 'str',
 42        'shared': 'str',
 43        'shared_groups': 'list[MemberGroupSharedItem]',
 44        'shared_users': 'list[UserSharedItem]',
 45        'uri': 'str',
 46        'user': 'UserInfo'
 47    }
 48
 49    attribute_map = {
 50        'error_details': 'errorDetails',
 51        'folder_id': 'folderId',
 52        'name': 'name',
 53        'owner': 'owner',
 54        'parent_folder_id': 'parentFolderId',
 55        'parent_folder_uri': 'parentFolderUri',
 56        'shared': 'shared',
 57        'shared_groups': 'sharedGroups',
 58        'shared_users': 'sharedUsers',
 59        'uri': 'uri',
 60        'user': 'user'
 61    }
 62
 63    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 64        """FolderSharedItem - a model defined in Swagger"""  # noqa: E501
 65        if _configuration is None:
 66            _configuration = Configuration()
 67        self._configuration = _configuration
 68
 69        self._error_details = None
 70        self._folder_id = None
 71        self._name = None
 72        self._owner = None
 73        self._parent_folder_id = None
 74        self._parent_folder_uri = None
 75        self._shared = None
 76        self._shared_groups = None
 77        self._shared_users = None
 78        self._uri = None
 79        self._user = None
 80        self.discriminator = None
 81
 82        setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None))
 83        setattr(self, "_{}".format('folder_id'), kwargs.get('folder_id', None))
 84        setattr(self, "_{}".format('name'), kwargs.get('name', None))
 85        setattr(self, "_{}".format('owner'), kwargs.get('owner', None))
 86        setattr(self, "_{}".format('parent_folder_id'), kwargs.get('parent_folder_id', None))
 87        setattr(self, "_{}".format('parent_folder_uri'), kwargs.get('parent_folder_uri', None))
 88        setattr(self, "_{}".format('shared'), kwargs.get('shared', None))
 89        setattr(self, "_{}".format('shared_groups'), kwargs.get('shared_groups', None))
 90        setattr(self, "_{}".format('shared_users'), kwargs.get('shared_users', None))
 91        setattr(self, "_{}".format('uri'), kwargs.get('uri', None))
 92        setattr(self, "_{}".format('user'), kwargs.get('user', None))
 93
 94    @property
 95    def error_details(self):
 96        """Gets the error_details of this FolderSharedItem.  # noqa: E501
 97
 98        Array or errors.  # noqa: E501
 99
100        :return: The error_details of this FolderSharedItem.  # noqa: E501
101        :rtype: ErrorDetails
102        """
103        return self._error_details
104
105    @error_details.setter
106    def error_details(self, error_details):
107        """Sets the error_details of this FolderSharedItem.
108
109        Array or errors.  # noqa: E501
110
111        :param error_details: The error_details of this FolderSharedItem.  # noqa: E501
112        :type: ErrorDetails
113        """
114
115        self._error_details = error_details
116
117    @property
118    def folder_id(self):
119        """Gets the folder_id of this FolderSharedItem.  # noqa: E501
120
121          # noqa: E501
122
123        :return: The folder_id of this FolderSharedItem.  # noqa: E501
124        :rtype: str
125        """
126        return self._folder_id
127
128    @folder_id.setter
129    def folder_id(self, folder_id):
130        """Sets the folder_id of this FolderSharedItem.
131
132          # noqa: E501
133
134        :param folder_id: The folder_id of this FolderSharedItem.  # noqa: E501
135        :type: str
136        """
137
138        self._folder_id = folder_id
139
140    @property
141    def name(self):
142        """Gets the name of this FolderSharedItem.  # noqa: E501
143
144          # noqa: E501
145
146        :return: The name of this FolderSharedItem.  # noqa: E501
147        :rtype: str
148        """
149        return self._name
150
151    @name.setter
152    def name(self, name):
153        """Sets the name of this FolderSharedItem.
154
155          # noqa: E501
156
157        :param name: The name of this FolderSharedItem.  # noqa: E501
158        :type: str
159        """
160
161        self._name = name
162
163    @property
164    def owner(self):
165        """Gets the owner of this FolderSharedItem.  # noqa: E501
166
167        Information about the user who owns the folder.  # noqa: E501
168
169        :return: The owner of this FolderSharedItem.  # noqa: E501
170        :rtype: UserInfo
171        """
172        return self._owner
173
174    @owner.setter
175    def owner(self, owner):
176        """Sets the owner of this FolderSharedItem.
177
178        Information about the user who owns the folder.  # noqa: E501
179
180        :param owner: The owner of this FolderSharedItem.  # noqa: E501
181        :type: UserInfo
182        """
183
184        self._owner = owner
185
186    @property
187    def parent_folder_id(self):
188        """Gets the parent_folder_id of this FolderSharedItem.  # noqa: E501
189
190          # noqa: E501
191
192        :return: The parent_folder_id of this FolderSharedItem.  # noqa: E501
193        :rtype: str
194        """
195        return self._parent_folder_id
196
197    @parent_folder_id.setter
198    def parent_folder_id(self, parent_folder_id):
199        """Sets the parent_folder_id of this FolderSharedItem.
200
201          # noqa: E501
202
203        :param parent_folder_id: The parent_folder_id of this FolderSharedItem.  # noqa: E501
204        :type: str
205        """
206
207        self._parent_folder_id = parent_folder_id
208
209    @property
210    def parent_folder_uri(self):
211        """Gets the parent_folder_uri of this FolderSharedItem.  # noqa: E501
212
213          # noqa: E501
214
215        :return: The parent_folder_uri of this FolderSharedItem.  # noqa: E501
216        :rtype: str
217        """
218        return self._parent_folder_uri
219
220    @parent_folder_uri.setter
221    def parent_folder_uri(self, parent_folder_uri):
222        """Sets the parent_folder_uri of this FolderSharedItem.
223
224          # noqa: E501
225
226        :param parent_folder_uri: The parent_folder_uri of this FolderSharedItem.  # noqa: E501
227        :type: str
228        """
229
230        self._parent_folder_uri = parent_folder_uri
231
232    @property
233    def shared(self):
234        """Gets the shared of this FolderSharedItem.  # noqa: E501
235
236        When set to **true**, this custom tab is shared.  # noqa: E501
237
238        :return: The shared of this FolderSharedItem.  # noqa: E501
239        :rtype: str
240        """
241        return self._shared
242
243    @shared.setter
244    def shared(self, shared):
245        """Sets the shared of this FolderSharedItem.
246
247        When set to **true**, this custom tab is shared.  # noqa: E501
248
249        :param shared: The shared of this FolderSharedItem.  # noqa: E501
250        :type: str
251        """
252
253        self._shared = shared
254
255    @property
256    def shared_groups(self):
257        """Gets the shared_groups of this FolderSharedItem.  # noqa: E501
258
259          # noqa: E501
260
261        :return: The shared_groups of this FolderSharedItem.  # noqa: E501
262        :rtype: list[MemberGroupSharedItem]
263        """
264        return self._shared_groups
265
266    @shared_groups.setter
267    def shared_groups(self, shared_groups):
268        """Sets the shared_groups of this FolderSharedItem.
269
270          # noqa: E501
271
272        :param shared_groups: The shared_groups of this FolderSharedItem.  # noqa: E501
273        :type: list[MemberGroupSharedItem]
274        """
275
276        self._shared_groups = shared_groups
277
278    @property
279    def shared_users(self):
280        """Gets the shared_users of this FolderSharedItem.  # noqa: E501
281
282          # noqa: E501
283
284        :return: The shared_users of this FolderSharedItem.  # noqa: E501
285        :rtype: list[UserSharedItem]
286        """
287        return self._shared_users
288
289    @shared_users.setter
290    def shared_users(self, shared_users):
291        """Sets the shared_users of this FolderSharedItem.
292
293          # noqa: E501
294
295        :param shared_users: The shared_users of this FolderSharedItem.  # noqa: E501
296        :type: list[UserSharedItem]
297        """
298
299        self._shared_users = shared_users
300
301    @property
302    def uri(self):
303        """Gets the uri of this FolderSharedItem.  # noqa: E501
304
305          # noqa: E501
306
307        :return: The uri of this FolderSharedItem.  # noqa: E501
308        :rtype: str
309        """
310        return self._uri
311
312    @uri.setter
313    def uri(self, uri):
314        """Sets the uri of this FolderSharedItem.
315
316          # noqa: E501
317
318        :param uri: The uri of this FolderSharedItem.  # noqa: E501
319        :type: str
320        """
321
322        self._uri = uri
323
324    @property
325    def user(self):
326        """Gets the user of this FolderSharedItem.  # noqa: E501
327
328        Information about the user associated with the folder.  # noqa: E501
329
330        :return: The user of this FolderSharedItem.  # noqa: E501
331        :rtype: UserInfo
332        """
333        return self._user
334
335    @user.setter
336    def user(self, user):
337        """Sets the user of this FolderSharedItem.
338
339        Information about the user associated with the folder.  # noqa: E501
340
341        :param user: The user of this FolderSharedItem.  # noqa: E501
342        :type: UserInfo
343        """
344
345        self._user = user
346
347    def to_dict(self):
348        """Returns the model properties as a dict"""
349        result = {}
350
351        for attr, _ in six.iteritems(self.swagger_types):
352            value = getattr(self, attr)
353            if isinstance(value, list):
354                result[attr] = list(map(
355                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
356                    value
357                ))
358            elif hasattr(value, "to_dict"):
359                result[attr] = value.to_dict()
360            elif isinstance(value, dict):
361                result[attr] = dict(map(
362                    lambda item: (item[0], item[1].to_dict())
363                    if hasattr(item[1], "to_dict") else item,
364                    value.items()
365                ))
366            else:
367                result[attr] = value
368        if issubclass(FolderSharedItem, dict):
369            for key, value in self.items():
370                result[key] = value
371
372        return result
373
374    def to_str(self):
375        """Returns the string representation of the model"""
376        return pprint.pformat(self.to_dict())
377
378    def __repr__(self):
379        """For `print` and `pprint`"""
380        return self.to_str()
381
382    def __eq__(self, other):
383        """Returns true if both objects are equal"""
384        if not isinstance(other, FolderSharedItem):
385            return False
386
387        return self.to_dict() == other.to_dict()
388
389    def __ne__(self, other):
390        """Returns true if both objects are not equal"""
391        if not isinstance(other, FolderSharedItem):
392            return True
393
394        return self.to_dict() != other.to_dict()
class FolderSharedItem:
 23class FolderSharedItem(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        'error_details': 'ErrorDetails',
 38        'folder_id': 'str',
 39        'name': 'str',
 40        'owner': 'UserInfo',
 41        'parent_folder_id': 'str',
 42        'parent_folder_uri': 'str',
 43        'shared': 'str',
 44        'shared_groups': 'list[MemberGroupSharedItem]',
 45        'shared_users': 'list[UserSharedItem]',
 46        'uri': 'str',
 47        'user': 'UserInfo'
 48    }
 49
 50    attribute_map = {
 51        'error_details': 'errorDetails',
 52        'folder_id': 'folderId',
 53        'name': 'name',
 54        'owner': 'owner',
 55        'parent_folder_id': 'parentFolderId',
 56        'parent_folder_uri': 'parentFolderUri',
 57        'shared': 'shared',
 58        'shared_groups': 'sharedGroups',
 59        'shared_users': 'sharedUsers',
 60        'uri': 'uri',
 61        'user': 'user'
 62    }
 63
 64    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 65        """FolderSharedItem - a model defined in Swagger"""  # noqa: E501
 66        if _configuration is None:
 67            _configuration = Configuration()
 68        self._configuration = _configuration
 69
 70        self._error_details = None
 71        self._folder_id = None
 72        self._name = None
 73        self._owner = None
 74        self._parent_folder_id = None
 75        self._parent_folder_uri = None
 76        self._shared = None
 77        self._shared_groups = None
 78        self._shared_users = None
 79        self._uri = None
 80        self._user = None
 81        self.discriminator = None
 82
 83        setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None))
 84        setattr(self, "_{}".format('folder_id'), kwargs.get('folder_id', None))
 85        setattr(self, "_{}".format('name'), kwargs.get('name', None))
 86        setattr(self, "_{}".format('owner'), kwargs.get('owner', None))
 87        setattr(self, "_{}".format('parent_folder_id'), kwargs.get('parent_folder_id', None))
 88        setattr(self, "_{}".format('parent_folder_uri'), kwargs.get('parent_folder_uri', None))
 89        setattr(self, "_{}".format('shared'), kwargs.get('shared', None))
 90        setattr(self, "_{}".format('shared_groups'), kwargs.get('shared_groups', None))
 91        setattr(self, "_{}".format('shared_users'), kwargs.get('shared_users', None))
 92        setattr(self, "_{}".format('uri'), kwargs.get('uri', None))
 93        setattr(self, "_{}".format('user'), kwargs.get('user', None))
 94
 95    @property
 96    def error_details(self):
 97        """Gets the error_details of this FolderSharedItem.  # noqa: E501
 98
 99        Array or errors.  # noqa: E501
100
101        :return: The error_details of this FolderSharedItem.  # noqa: E501
102        :rtype: ErrorDetails
103        """
104        return self._error_details
105
106    @error_details.setter
107    def error_details(self, error_details):
108        """Sets the error_details of this FolderSharedItem.
109
110        Array or errors.  # noqa: E501
111
112        :param error_details: The error_details of this FolderSharedItem.  # noqa: E501
113        :type: ErrorDetails
114        """
115
116        self._error_details = error_details
117
118    @property
119    def folder_id(self):
120        """Gets the folder_id of this FolderSharedItem.  # noqa: E501
121
122          # noqa: E501
123
124        :return: The folder_id of this FolderSharedItem.  # noqa: E501
125        :rtype: str
126        """
127        return self._folder_id
128
129    @folder_id.setter
130    def folder_id(self, folder_id):
131        """Sets the folder_id of this FolderSharedItem.
132
133          # noqa: E501
134
135        :param folder_id: The folder_id of this FolderSharedItem.  # noqa: E501
136        :type: str
137        """
138
139        self._folder_id = folder_id
140
141    @property
142    def name(self):
143        """Gets the name of this FolderSharedItem.  # noqa: E501
144
145          # noqa: E501
146
147        :return: The name of this FolderSharedItem.  # noqa: E501
148        :rtype: str
149        """
150        return self._name
151
152    @name.setter
153    def name(self, name):
154        """Sets the name of this FolderSharedItem.
155
156          # noqa: E501
157
158        :param name: The name of this FolderSharedItem.  # noqa: E501
159        :type: str
160        """
161
162        self._name = name
163
164    @property
165    def owner(self):
166        """Gets the owner of this FolderSharedItem.  # noqa: E501
167
168        Information about the user who owns the folder.  # noqa: E501
169
170        :return: The owner of this FolderSharedItem.  # noqa: E501
171        :rtype: UserInfo
172        """
173        return self._owner
174
175    @owner.setter
176    def owner(self, owner):
177        """Sets the owner of this FolderSharedItem.
178
179        Information about the user who owns the folder.  # noqa: E501
180
181        :param owner: The owner of this FolderSharedItem.  # noqa: E501
182        :type: UserInfo
183        """
184
185        self._owner = owner
186
187    @property
188    def parent_folder_id(self):
189        """Gets the parent_folder_id of this FolderSharedItem.  # noqa: E501
190
191          # noqa: E501
192
193        :return: The parent_folder_id of this FolderSharedItem.  # noqa: E501
194        :rtype: str
195        """
196        return self._parent_folder_id
197
198    @parent_folder_id.setter
199    def parent_folder_id(self, parent_folder_id):
200        """Sets the parent_folder_id of this FolderSharedItem.
201
202          # noqa: E501
203
204        :param parent_folder_id: The parent_folder_id of this FolderSharedItem.  # noqa: E501
205        :type: str
206        """
207
208        self._parent_folder_id = parent_folder_id
209
210    @property
211    def parent_folder_uri(self):
212        """Gets the parent_folder_uri of this FolderSharedItem.  # noqa: E501
213
214          # noqa: E501
215
216        :return: The parent_folder_uri of this FolderSharedItem.  # noqa: E501
217        :rtype: str
218        """
219        return self._parent_folder_uri
220
221    @parent_folder_uri.setter
222    def parent_folder_uri(self, parent_folder_uri):
223        """Sets the parent_folder_uri of this FolderSharedItem.
224
225          # noqa: E501
226
227        :param parent_folder_uri: The parent_folder_uri of this FolderSharedItem.  # noqa: E501
228        :type: str
229        """
230
231        self._parent_folder_uri = parent_folder_uri
232
233    @property
234    def shared(self):
235        """Gets the shared of this FolderSharedItem.  # noqa: E501
236
237        When set to **true**, this custom tab is shared.  # noqa: E501
238
239        :return: The shared of this FolderSharedItem.  # noqa: E501
240        :rtype: str
241        """
242        return self._shared
243
244    @shared.setter
245    def shared(self, shared):
246        """Sets the shared of this FolderSharedItem.
247
248        When set to **true**, this custom tab is shared.  # noqa: E501
249
250        :param shared: The shared of this FolderSharedItem.  # noqa: E501
251        :type: str
252        """
253
254        self._shared = shared
255
256    @property
257    def shared_groups(self):
258        """Gets the shared_groups of this FolderSharedItem.  # noqa: E501
259
260          # noqa: E501
261
262        :return: The shared_groups of this FolderSharedItem.  # noqa: E501
263        :rtype: list[MemberGroupSharedItem]
264        """
265        return self._shared_groups
266
267    @shared_groups.setter
268    def shared_groups(self, shared_groups):
269        """Sets the shared_groups of this FolderSharedItem.
270
271          # noqa: E501
272
273        :param shared_groups: The shared_groups of this FolderSharedItem.  # noqa: E501
274        :type: list[MemberGroupSharedItem]
275        """
276
277        self._shared_groups = shared_groups
278
279    @property
280    def shared_users(self):
281        """Gets the shared_users of this FolderSharedItem.  # noqa: E501
282
283          # noqa: E501
284
285        :return: The shared_users of this FolderSharedItem.  # noqa: E501
286        :rtype: list[UserSharedItem]
287        """
288        return self._shared_users
289
290    @shared_users.setter
291    def shared_users(self, shared_users):
292        """Sets the shared_users of this FolderSharedItem.
293
294          # noqa: E501
295
296        :param shared_users: The shared_users of this FolderSharedItem.  # noqa: E501
297        :type: list[UserSharedItem]
298        """
299
300        self._shared_users = shared_users
301
302    @property
303    def uri(self):
304        """Gets the uri of this FolderSharedItem.  # noqa: E501
305
306          # noqa: E501
307
308        :return: The uri of this FolderSharedItem.  # noqa: E501
309        :rtype: str
310        """
311        return self._uri
312
313    @uri.setter
314    def uri(self, uri):
315        """Sets the uri of this FolderSharedItem.
316
317          # noqa: E501
318
319        :param uri: The uri of this FolderSharedItem.  # noqa: E501
320        :type: str
321        """
322
323        self._uri = uri
324
325    @property
326    def user(self):
327        """Gets the user of this FolderSharedItem.  # noqa: E501
328
329        Information about the user associated with the folder.  # noqa: E501
330
331        :return: The user of this FolderSharedItem.  # noqa: E501
332        :rtype: UserInfo
333        """
334        return self._user
335
336    @user.setter
337    def user(self, user):
338        """Sets the user of this FolderSharedItem.
339
340        Information about the user associated with the folder.  # noqa: E501
341
342        :param user: The user of this FolderSharedItem.  # noqa: E501
343        :type: UserInfo
344        """
345
346        self._user = user
347
348    def to_dict(self):
349        """Returns the model properties as a dict"""
350        result = {}
351
352        for attr, _ in six.iteritems(self.swagger_types):
353            value = getattr(self, attr)
354            if isinstance(value, list):
355                result[attr] = list(map(
356                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
357                    value
358                ))
359            elif hasattr(value, "to_dict"):
360                result[attr] = value.to_dict()
361            elif isinstance(value, dict):
362                result[attr] = dict(map(
363                    lambda item: (item[0], item[1].to_dict())
364                    if hasattr(item[1], "to_dict") else item,
365                    value.items()
366                ))
367            else:
368                result[attr] = value
369        if issubclass(FolderSharedItem, dict):
370            for key, value in self.items():
371                result[key] = value
372
373        return result
374
375    def to_str(self):
376        """Returns the string representation of the model"""
377        return pprint.pformat(self.to_dict())
378
379    def __repr__(self):
380        """For `print` and `pprint`"""
381        return self.to_str()
382
383    def __eq__(self, other):
384        """Returns true if both objects are equal"""
385        if not isinstance(other, FolderSharedItem):
386            return False
387
388        return self.to_dict() == other.to_dict()
389
390    def __ne__(self, other):
391        """Returns true if both objects are not equal"""
392        if not isinstance(other, FolderSharedItem):
393            return True
394
395        return self.to_dict() != other.to_dict()

NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.

FolderSharedItem(_configuration=None, **kwargs)
64    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
65        """FolderSharedItem - a model defined in Swagger"""  # noqa: E501
66        if _configuration is None:
67            _configuration = Configuration()
68        self._configuration = _configuration
69
70        self._error_details = None
71        self._folder_id = None
72        self._name = None
73        self._owner = None
74        self._parent_folder_id = None
75        self._parent_folder_uri = None
76        self._shared = None
77        self._shared_groups = None
78        self._shared_users = None
79        self._uri = None
80        self._user = None
81        self.discriminator = None
82
83        setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None))
84        setattr(self, "_{}".format('folder_id'), kwargs.get('folder_id', None))
85        setattr(self, "_{}".format('name'), kwargs.get('name', None))
86        setattr(self, "_{}".format('owner'), kwargs.get('owner', None))
87        setattr(self, "_{}".format('parent_folder_id'), kwargs.get('parent_folder_id', None))
88        setattr(self, "_{}".format('parent_folder_uri'), kwargs.get('parent_folder_uri', None))
89        setattr(self, "_{}".format('shared'), kwargs.get('shared', None))
90        setattr(self, "_{}".format('shared_groups'), kwargs.get('shared_groups', None))
91        setattr(self, "_{}".format('shared_users'), kwargs.get('shared_users', None))
92        setattr(self, "_{}".format('uri'), kwargs.get('uri', None))
93        setattr(self, "_{}".format('user'), kwargs.get('user', None))

FolderSharedItem - a model defined in Swagger

swagger_types = {'error_details': 'ErrorDetails', 'folder_id': 'str', 'name': 'str', 'owner': 'UserInfo', 'parent_folder_id': 'str', 'parent_folder_uri': 'str', 'shared': 'str', 'shared_groups': 'list[MemberGroupSharedItem]', 'shared_users': 'list[UserSharedItem]', 'uri': 'str', 'user': 'UserInfo'}
attribute_map = {'error_details': 'errorDetails', 'folder_id': 'folderId', 'name': 'name', 'owner': 'owner', 'parent_folder_id': 'parentFolderId', 'parent_folder_uri': 'parentFolderUri', 'shared': 'shared', 'shared_groups': 'sharedGroups', 'shared_users': 'sharedUsers', 'uri': 'uri', 'user': 'user'}
error_details

Gets the error_details of this FolderSharedItem. # noqa: E501

Array or errors. # noqa: E501

Returns

The error_details of this FolderSharedItem. # noqa: E501

folder_id

Gets the folder_id of this FolderSharedItem. # noqa: E501

# noqa: E501

Returns

The folder_id of this FolderSharedItem. # noqa: E501

name

Gets the name of this FolderSharedItem. # noqa: E501

# noqa: E501

Returns

The name of this FolderSharedItem. # noqa: E501

owner

Gets the owner of this FolderSharedItem. # noqa: E501

Information about the user who owns the folder. # noqa: E501

Returns

The owner of this FolderSharedItem. # noqa: E501

parent_folder_id

Gets the parent_folder_id of this FolderSharedItem. # noqa: E501

# noqa: E501

Returns

The parent_folder_id of this FolderSharedItem. # noqa: E501

parent_folder_uri

Gets the parent_folder_uri of this FolderSharedItem. # noqa: E501

# noqa: E501

Returns

The parent_folder_uri of this FolderSharedItem. # noqa: E501

shared

Gets the shared of this FolderSharedItem. # noqa: E501

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

Returns

The shared of this FolderSharedItem. # noqa: E501

shared_groups

Gets the shared_groups of this FolderSharedItem. # noqa: E501

# noqa: E501

Returns

The shared_groups of this FolderSharedItem. # noqa: E501

shared_users

Gets the shared_users of this FolderSharedItem. # noqa: E501

# noqa: E501

Returns

The shared_users of this FolderSharedItem. # noqa: E501

uri

Gets the uri of this FolderSharedItem. # noqa: E501

# noqa: E501

Returns

The uri of this FolderSharedItem. # noqa: E501

user

Gets the user of this FolderSharedItem. # noqa: E501

Information about the user associated with the folder. # noqa: E501

Returns

The user of this FolderSharedItem. # noqa: E501

def to_dict(self)
348    def to_dict(self):
349        """Returns the model properties as a dict"""
350        result = {}
351
352        for attr, _ in six.iteritems(self.swagger_types):
353            value = getattr(self, attr)
354            if isinstance(value, list):
355                result[attr] = list(map(
356                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
357                    value
358                ))
359            elif hasattr(value, "to_dict"):
360                result[attr] = value.to_dict()
361            elif isinstance(value, dict):
362                result[attr] = dict(map(
363                    lambda item: (item[0], item[1].to_dict())
364                    if hasattr(item[1], "to_dict") else item,
365                    value.items()
366                ))
367            else:
368                result[attr] = value
369        if issubclass(FolderSharedItem, dict):
370            for key, value in self.items():
371                result[key] = value
372
373        return result

Returns the model properties as a dict

def to_str(self)
375    def to_str(self):
376        """Returns the string representation of the model"""
377        return pprint.pformat(self.to_dict())

Returns the string representation of the model