docusign_esign.models.external_folder

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 ExternalFolder(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        'end_position': 'str',
 37        'error_details': 'ExternalDocServiceErrorDetails',
 38        'id': 'str',
 39        'items': 'list[ExternalFile]',
 40        'name': 'str',
 41        'next_uri': 'str',
 42        'previous_uri': 'str',
 43        'result_set_size': 'str',
 44        'sky_drive_skip_token': 'str',
 45        'start_position': 'str',
 46        'total_set_size': 'str'
 47    }
 48
 49    attribute_map = {
 50        'end_position': 'endPosition',
 51        'error_details': 'errorDetails',
 52        'id': 'id',
 53        'items': 'items',
 54        'name': 'name',
 55        'next_uri': 'nextUri',
 56        'previous_uri': 'previousUri',
 57        'result_set_size': 'resultSetSize',
 58        'sky_drive_skip_token': 'skyDriveSkipToken',
 59        'start_position': 'startPosition',
 60        'total_set_size': 'totalSetSize'
 61    }
 62
 63    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 64        """ExternalFolder - a model defined in Swagger"""  # noqa: E501
 65        if _configuration is None:
 66            _configuration = Configuration()
 67        self._configuration = _configuration
 68
 69        self._end_position = None
 70        self._error_details = None
 71        self._id = None
 72        self._items = None
 73        self._name = None
 74        self._next_uri = None
 75        self._previous_uri = None
 76        self._result_set_size = None
 77        self._sky_drive_skip_token = None
 78        self._start_position = None
 79        self._total_set_size = None
 80        self.discriminator = None
 81
 82        setattr(self, "_{}".format('end_position'), kwargs.get('end_position', None))
 83        setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None))
 84        setattr(self, "_{}".format('id'), kwargs.get('id', None))
 85        setattr(self, "_{}".format('items'), kwargs.get('items', None))
 86        setattr(self, "_{}".format('name'), kwargs.get('name', None))
 87        setattr(self, "_{}".format('next_uri'), kwargs.get('next_uri', None))
 88        setattr(self, "_{}".format('previous_uri'), kwargs.get('previous_uri', None))
 89        setattr(self, "_{}".format('result_set_size'), kwargs.get('result_set_size', None))
 90        setattr(self, "_{}".format('sky_drive_skip_token'), kwargs.get('sky_drive_skip_token', None))
 91        setattr(self, "_{}".format('start_position'), kwargs.get('start_position', None))
 92        setattr(self, "_{}".format('total_set_size'), kwargs.get('total_set_size', None))
 93
 94    @property
 95    def end_position(self):
 96        """Gets the end_position of this ExternalFolder.  # noqa: E501
 97
 98        The last position in the result set.   # noqa: E501
 99
100        :return: The end_position of this ExternalFolder.  # noqa: E501
101        :rtype: str
102        """
103        return self._end_position
104
105    @end_position.setter
106    def end_position(self, end_position):
107        """Sets the end_position of this ExternalFolder.
108
109        The last position in the result set.   # noqa: E501
110
111        :param end_position: The end_position of this ExternalFolder.  # noqa: E501
112        :type: str
113        """
114
115        self._end_position = end_position
116
117    @property
118    def error_details(self):
119        """Gets the error_details of this ExternalFolder.  # noqa: E501
120
121        Array or errors.  # noqa: E501
122
123        :return: The error_details of this ExternalFolder.  # noqa: E501
124        :rtype: ExternalDocServiceErrorDetails
125        """
126        return self._error_details
127
128    @error_details.setter
129    def error_details(self, error_details):
130        """Sets the error_details of this ExternalFolder.
131
132        Array or errors.  # noqa: E501
133
134        :param error_details: The error_details of this ExternalFolder.  # noqa: E501
135        :type: ExternalDocServiceErrorDetails
136        """
137
138        self._error_details = error_details
139
140    @property
141    def id(self):
142        """Gets the id of this ExternalFolder.  # noqa: E501
143
144          # noqa: E501
145
146        :return: The id of this ExternalFolder.  # noqa: E501
147        :rtype: str
148        """
149        return self._id
150
151    @id.setter
152    def id(self, id):
153        """Sets the id of this ExternalFolder.
154
155          # noqa: E501
156
157        :param id: The id of this ExternalFolder.  # noqa: E501
158        :type: str
159        """
160
161        self._id = id
162
163    @property
164    def items(self):
165        """Gets the items of this ExternalFolder.  # noqa: E501
166
167          # noqa: E501
168
169        :return: The items of this ExternalFolder.  # noqa: E501
170        :rtype: list[ExternalFile]
171        """
172        return self._items
173
174    @items.setter
175    def items(self, items):
176        """Sets the items of this ExternalFolder.
177
178          # noqa: E501
179
180        :param items: The items of this ExternalFolder.  # noqa: E501
181        :type: list[ExternalFile]
182        """
183
184        self._items = items
185
186    @property
187    def name(self):
188        """Gets the name of this ExternalFolder.  # noqa: E501
189
190          # noqa: E501
191
192        :return: The name of this ExternalFolder.  # noqa: E501
193        :rtype: str
194        """
195        return self._name
196
197    @name.setter
198    def name(self, name):
199        """Sets the name of this ExternalFolder.
200
201          # noqa: E501
202
203        :param name: The name of this ExternalFolder.  # noqa: E501
204        :type: str
205        """
206
207        self._name = name
208
209    @property
210    def next_uri(self):
211        """Gets the next_uri of this ExternalFolder.  # noqa: E501
212
213        The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null.   # noqa: E501
214
215        :return: The next_uri of this ExternalFolder.  # noqa: E501
216        :rtype: str
217        """
218        return self._next_uri
219
220    @next_uri.setter
221    def next_uri(self, next_uri):
222        """Sets the next_uri of this ExternalFolder.
223
224        The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null.   # noqa: E501
225
226        :param next_uri: The next_uri of this ExternalFolder.  # noqa: E501
227        :type: str
228        """
229
230        self._next_uri = next_uri
231
232    @property
233    def previous_uri(self):
234        """Gets the previous_uri of this ExternalFolder.  # noqa: E501
235
236        The postal code for the billing address.  # noqa: E501
237
238        :return: The previous_uri of this ExternalFolder.  # noqa: E501
239        :rtype: str
240        """
241        return self._previous_uri
242
243    @previous_uri.setter
244    def previous_uri(self, previous_uri):
245        """Sets the previous_uri of this ExternalFolder.
246
247        The postal code for the billing address.  # noqa: E501
248
249        :param previous_uri: The previous_uri of this ExternalFolder.  # noqa: E501
250        :type: str
251        """
252
253        self._previous_uri = previous_uri
254
255    @property
256    def result_set_size(self):
257        """Gets the result_set_size of this ExternalFolder.  # noqa: E501
258
259        The number of results returned in this response.   # noqa: E501
260
261        :return: The result_set_size of this ExternalFolder.  # noqa: E501
262        :rtype: str
263        """
264        return self._result_set_size
265
266    @result_set_size.setter
267    def result_set_size(self, result_set_size):
268        """Sets the result_set_size of this ExternalFolder.
269
270        The number of results returned in this response.   # noqa: E501
271
272        :param result_set_size: The result_set_size of this ExternalFolder.  # noqa: E501
273        :type: str
274        """
275
276        self._result_set_size = result_set_size
277
278    @property
279    def sky_drive_skip_token(self):
280        """Gets the sky_drive_skip_token of this ExternalFolder.  # noqa: E501
281
282          # noqa: E501
283
284        :return: The sky_drive_skip_token of this ExternalFolder.  # noqa: E501
285        :rtype: str
286        """
287        return self._sky_drive_skip_token
288
289    @sky_drive_skip_token.setter
290    def sky_drive_skip_token(self, sky_drive_skip_token):
291        """Sets the sky_drive_skip_token of this ExternalFolder.
292
293          # noqa: E501
294
295        :param sky_drive_skip_token: The sky_drive_skip_token of this ExternalFolder.  # noqa: E501
296        :type: str
297        """
298
299        self._sky_drive_skip_token = sky_drive_skip_token
300
301    @property
302    def start_position(self):
303        """Gets the start_position of this ExternalFolder.  # noqa: E501
304
305        Starting position of the current result set.  # noqa: E501
306
307        :return: The start_position of this ExternalFolder.  # noqa: E501
308        :rtype: str
309        """
310        return self._start_position
311
312    @start_position.setter
313    def start_position(self, start_position):
314        """Sets the start_position of this ExternalFolder.
315
316        Starting position of the current result set.  # noqa: E501
317
318        :param start_position: The start_position of this ExternalFolder.  # noqa: E501
319        :type: str
320        """
321
322        self._start_position = start_position
323
324    @property
325    def total_set_size(self):
326        """Gets the total_set_size of this ExternalFolder.  # noqa: E501
327
328        The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.  # noqa: E501
329
330        :return: The total_set_size of this ExternalFolder.  # noqa: E501
331        :rtype: str
332        """
333        return self._total_set_size
334
335    @total_set_size.setter
336    def total_set_size(self, total_set_size):
337        """Sets the total_set_size of this ExternalFolder.
338
339        The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.  # noqa: E501
340
341        :param total_set_size: The total_set_size of this ExternalFolder.  # noqa: E501
342        :type: str
343        """
344
345        self._total_set_size = total_set_size
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(ExternalFolder, 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, ExternalFolder):
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, ExternalFolder):
392            return True
393
394        return self.to_dict() != other.to_dict()
class ExternalFolder:
 23class ExternalFolder(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        'end_position': 'str',
 38        'error_details': 'ExternalDocServiceErrorDetails',
 39        'id': 'str',
 40        'items': 'list[ExternalFile]',
 41        'name': 'str',
 42        'next_uri': 'str',
 43        'previous_uri': 'str',
 44        'result_set_size': 'str',
 45        'sky_drive_skip_token': 'str',
 46        'start_position': 'str',
 47        'total_set_size': 'str'
 48    }
 49
 50    attribute_map = {
 51        'end_position': 'endPosition',
 52        'error_details': 'errorDetails',
 53        'id': 'id',
 54        'items': 'items',
 55        'name': 'name',
 56        'next_uri': 'nextUri',
 57        'previous_uri': 'previousUri',
 58        'result_set_size': 'resultSetSize',
 59        'sky_drive_skip_token': 'skyDriveSkipToken',
 60        'start_position': 'startPosition',
 61        'total_set_size': 'totalSetSize'
 62    }
 63
 64    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 65        """ExternalFolder - a model defined in Swagger"""  # noqa: E501
 66        if _configuration is None:
 67            _configuration = Configuration()
 68        self._configuration = _configuration
 69
 70        self._end_position = None
 71        self._error_details = None
 72        self._id = None
 73        self._items = None
 74        self._name = None
 75        self._next_uri = None
 76        self._previous_uri = None
 77        self._result_set_size = None
 78        self._sky_drive_skip_token = None
 79        self._start_position = None
 80        self._total_set_size = None
 81        self.discriminator = None
 82
 83        setattr(self, "_{}".format('end_position'), kwargs.get('end_position', None))
 84        setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None))
 85        setattr(self, "_{}".format('id'), kwargs.get('id', None))
 86        setattr(self, "_{}".format('items'), kwargs.get('items', None))
 87        setattr(self, "_{}".format('name'), kwargs.get('name', None))
 88        setattr(self, "_{}".format('next_uri'), kwargs.get('next_uri', None))
 89        setattr(self, "_{}".format('previous_uri'), kwargs.get('previous_uri', None))
 90        setattr(self, "_{}".format('result_set_size'), kwargs.get('result_set_size', None))
 91        setattr(self, "_{}".format('sky_drive_skip_token'), kwargs.get('sky_drive_skip_token', None))
 92        setattr(self, "_{}".format('start_position'), kwargs.get('start_position', None))
 93        setattr(self, "_{}".format('total_set_size'), kwargs.get('total_set_size', None))
 94
 95    @property
 96    def end_position(self):
 97        """Gets the end_position of this ExternalFolder.  # noqa: E501
 98
 99        The last position in the result set.   # noqa: E501
100
101        :return: The end_position of this ExternalFolder.  # noqa: E501
102        :rtype: str
103        """
104        return self._end_position
105
106    @end_position.setter
107    def end_position(self, end_position):
108        """Sets the end_position of this ExternalFolder.
109
110        The last position in the result set.   # noqa: E501
111
112        :param end_position: The end_position of this ExternalFolder.  # noqa: E501
113        :type: str
114        """
115
116        self._end_position = end_position
117
118    @property
119    def error_details(self):
120        """Gets the error_details of this ExternalFolder.  # noqa: E501
121
122        Array or errors.  # noqa: E501
123
124        :return: The error_details of this ExternalFolder.  # noqa: E501
125        :rtype: ExternalDocServiceErrorDetails
126        """
127        return self._error_details
128
129    @error_details.setter
130    def error_details(self, error_details):
131        """Sets the error_details of this ExternalFolder.
132
133        Array or errors.  # noqa: E501
134
135        :param error_details: The error_details of this ExternalFolder.  # noqa: E501
136        :type: ExternalDocServiceErrorDetails
137        """
138
139        self._error_details = error_details
140
141    @property
142    def id(self):
143        """Gets the id of this ExternalFolder.  # noqa: E501
144
145          # noqa: E501
146
147        :return: The id of this ExternalFolder.  # noqa: E501
148        :rtype: str
149        """
150        return self._id
151
152    @id.setter
153    def id(self, id):
154        """Sets the id of this ExternalFolder.
155
156          # noqa: E501
157
158        :param id: The id of this ExternalFolder.  # noqa: E501
159        :type: str
160        """
161
162        self._id = id
163
164    @property
165    def items(self):
166        """Gets the items of this ExternalFolder.  # noqa: E501
167
168          # noqa: E501
169
170        :return: The items of this ExternalFolder.  # noqa: E501
171        :rtype: list[ExternalFile]
172        """
173        return self._items
174
175    @items.setter
176    def items(self, items):
177        """Sets the items of this ExternalFolder.
178
179          # noqa: E501
180
181        :param items: The items of this ExternalFolder.  # noqa: E501
182        :type: list[ExternalFile]
183        """
184
185        self._items = items
186
187    @property
188    def name(self):
189        """Gets the name of this ExternalFolder.  # noqa: E501
190
191          # noqa: E501
192
193        :return: The name of this ExternalFolder.  # noqa: E501
194        :rtype: str
195        """
196        return self._name
197
198    @name.setter
199    def name(self, name):
200        """Sets the name of this ExternalFolder.
201
202          # noqa: E501
203
204        :param name: The name of this ExternalFolder.  # noqa: E501
205        :type: str
206        """
207
208        self._name = name
209
210    @property
211    def next_uri(self):
212        """Gets the next_uri of this ExternalFolder.  # noqa: E501
213
214        The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null.   # noqa: E501
215
216        :return: The next_uri of this ExternalFolder.  # noqa: E501
217        :rtype: str
218        """
219        return self._next_uri
220
221    @next_uri.setter
222    def next_uri(self, next_uri):
223        """Sets the next_uri of this ExternalFolder.
224
225        The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null.   # noqa: E501
226
227        :param next_uri: The next_uri of this ExternalFolder.  # noqa: E501
228        :type: str
229        """
230
231        self._next_uri = next_uri
232
233    @property
234    def previous_uri(self):
235        """Gets the previous_uri of this ExternalFolder.  # noqa: E501
236
237        The postal code for the billing address.  # noqa: E501
238
239        :return: The previous_uri of this ExternalFolder.  # noqa: E501
240        :rtype: str
241        """
242        return self._previous_uri
243
244    @previous_uri.setter
245    def previous_uri(self, previous_uri):
246        """Sets the previous_uri of this ExternalFolder.
247
248        The postal code for the billing address.  # noqa: E501
249
250        :param previous_uri: The previous_uri of this ExternalFolder.  # noqa: E501
251        :type: str
252        """
253
254        self._previous_uri = previous_uri
255
256    @property
257    def result_set_size(self):
258        """Gets the result_set_size of this ExternalFolder.  # noqa: E501
259
260        The number of results returned in this response.   # noqa: E501
261
262        :return: The result_set_size of this ExternalFolder.  # noqa: E501
263        :rtype: str
264        """
265        return self._result_set_size
266
267    @result_set_size.setter
268    def result_set_size(self, result_set_size):
269        """Sets the result_set_size of this ExternalFolder.
270
271        The number of results returned in this response.   # noqa: E501
272
273        :param result_set_size: The result_set_size of this ExternalFolder.  # noqa: E501
274        :type: str
275        """
276
277        self._result_set_size = result_set_size
278
279    @property
280    def sky_drive_skip_token(self):
281        """Gets the sky_drive_skip_token of this ExternalFolder.  # noqa: E501
282
283          # noqa: E501
284
285        :return: The sky_drive_skip_token of this ExternalFolder.  # noqa: E501
286        :rtype: str
287        """
288        return self._sky_drive_skip_token
289
290    @sky_drive_skip_token.setter
291    def sky_drive_skip_token(self, sky_drive_skip_token):
292        """Sets the sky_drive_skip_token of this ExternalFolder.
293
294          # noqa: E501
295
296        :param sky_drive_skip_token: The sky_drive_skip_token of this ExternalFolder.  # noqa: E501
297        :type: str
298        """
299
300        self._sky_drive_skip_token = sky_drive_skip_token
301
302    @property
303    def start_position(self):
304        """Gets the start_position of this ExternalFolder.  # noqa: E501
305
306        Starting position of the current result set.  # noqa: E501
307
308        :return: The start_position of this ExternalFolder.  # noqa: E501
309        :rtype: str
310        """
311        return self._start_position
312
313    @start_position.setter
314    def start_position(self, start_position):
315        """Sets the start_position of this ExternalFolder.
316
317        Starting position of the current result set.  # noqa: E501
318
319        :param start_position: The start_position of this ExternalFolder.  # noqa: E501
320        :type: str
321        """
322
323        self._start_position = start_position
324
325    @property
326    def total_set_size(self):
327        """Gets the total_set_size of this ExternalFolder.  # noqa: E501
328
329        The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.  # noqa: E501
330
331        :return: The total_set_size of this ExternalFolder.  # noqa: E501
332        :rtype: str
333        """
334        return self._total_set_size
335
336    @total_set_size.setter
337    def total_set_size(self, total_set_size):
338        """Sets the total_set_size of this ExternalFolder.
339
340        The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.  # noqa: E501
341
342        :param total_set_size: The total_set_size of this ExternalFolder.  # noqa: E501
343        :type: str
344        """
345
346        self._total_set_size = total_set_size
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(ExternalFolder, 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, ExternalFolder):
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, ExternalFolder):
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.

ExternalFolder(_configuration=None, **kwargs)
64    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
65        """ExternalFolder - a model defined in Swagger"""  # noqa: E501
66        if _configuration is None:
67            _configuration = Configuration()
68        self._configuration = _configuration
69
70        self._end_position = None
71        self._error_details = None
72        self._id = None
73        self._items = None
74        self._name = None
75        self._next_uri = None
76        self._previous_uri = None
77        self._result_set_size = None
78        self._sky_drive_skip_token = None
79        self._start_position = None
80        self._total_set_size = None
81        self.discriminator = None
82
83        setattr(self, "_{}".format('end_position'), kwargs.get('end_position', None))
84        setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None))
85        setattr(self, "_{}".format('id'), kwargs.get('id', None))
86        setattr(self, "_{}".format('items'), kwargs.get('items', None))
87        setattr(self, "_{}".format('name'), kwargs.get('name', None))
88        setattr(self, "_{}".format('next_uri'), kwargs.get('next_uri', None))
89        setattr(self, "_{}".format('previous_uri'), kwargs.get('previous_uri', None))
90        setattr(self, "_{}".format('result_set_size'), kwargs.get('result_set_size', None))
91        setattr(self, "_{}".format('sky_drive_skip_token'), kwargs.get('sky_drive_skip_token', None))
92        setattr(self, "_{}".format('start_position'), kwargs.get('start_position', None))
93        setattr(self, "_{}".format('total_set_size'), kwargs.get('total_set_size', None))

ExternalFolder - a model defined in Swagger

swagger_types = {'end_position': 'str', 'error_details': 'ExternalDocServiceErrorDetails', 'id': 'str', 'items': 'list[ExternalFile]', 'name': 'str', 'next_uri': 'str', 'previous_uri': 'str', 'result_set_size': 'str', 'sky_drive_skip_token': 'str', 'start_position': 'str', 'total_set_size': 'str'}
attribute_map = {'end_position': 'endPosition', 'error_details': 'errorDetails', 'id': 'id', 'items': 'items', 'name': 'name', 'next_uri': 'nextUri', 'previous_uri': 'previousUri', 'result_set_size': 'resultSetSize', 'sky_drive_skip_token': 'skyDriveSkipToken', 'start_position': 'startPosition', 'total_set_size': 'totalSetSize'}
end_position

Gets the end_position of this ExternalFolder. # noqa: E501

The last position in the result set. # noqa: E501

Returns

The end_position of this ExternalFolder. # noqa: E501

error_details

Gets the error_details of this ExternalFolder. # noqa: E501

Array or errors. # noqa: E501

Returns

The error_details of this ExternalFolder. # noqa: E501

id

Gets the id of this ExternalFolder. # noqa: E501

# noqa: E501

Returns

The id of this ExternalFolder. # noqa: E501

items

Gets the items of this ExternalFolder. # noqa: E501

# noqa: E501

Returns

The items of this ExternalFolder. # noqa: E501

name

Gets the name of this ExternalFolder. # noqa: E501

# noqa: E501

Returns

The name of this ExternalFolder. # noqa: E501

next_uri

Gets the next_uri of this ExternalFolder. # noqa: E501

The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. # noqa: E501

Returns

The next_uri of this ExternalFolder. # noqa: E501

previous_uri

Gets the previous_uri of this ExternalFolder. # noqa: E501

The postal code for the billing address. # noqa: E501

Returns

The previous_uri of this ExternalFolder. # noqa: E501

result_set_size

Gets the result_set_size of this ExternalFolder. # noqa: E501

The number of results returned in this response. # noqa: E501

Returns

The result_set_size of this ExternalFolder. # noqa: E501

sky_drive_skip_token

Gets the sky_drive_skip_token of this ExternalFolder. # noqa: E501

# noqa: E501

Returns

The sky_drive_skip_token of this ExternalFolder. # noqa: E501

start_position

Gets the start_position of this ExternalFolder. # noqa: E501

Starting position of the current result set. # noqa: E501

Returns

The start_position of this ExternalFolder. # noqa: E501

total_set_size

Gets the total_set_size of this ExternalFolder. # noqa: E501

The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. # noqa: E501

Returns

The total_set_size of this ExternalFolder. # 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(ExternalFolder, 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