docusign_esign.models.filter

DocuSign REST API

The DocuSign 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 REST API
  5
  6    The DocuSign 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 Filter(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        'action_required': 'str',
 37        'expires': 'str',
 38        'folder_ids': 'str',
 39        'from_date_time': 'str',
 40        'is_template': 'str',
 41        'order': 'str',
 42        'order_by': 'str',
 43        'search_target': 'str',
 44        'search_text': 'str',
 45        'status': 'str',
 46        'to_date_time': 'str'
 47    }
 48
 49    attribute_map = {
 50        'action_required': 'actionRequired',
 51        'expires': 'expires',
 52        'folder_ids': 'folderIds',
 53        'from_date_time': 'fromDateTime',
 54        'is_template': 'isTemplate',
 55        'order': 'order',
 56        'order_by': 'orderBy',
 57        'search_target': 'searchTarget',
 58        'search_text': 'searchText',
 59        'status': 'status',
 60        'to_date_time': 'toDateTime'
 61    }
 62
 63    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 64        """Filter - a model defined in Swagger"""  # noqa: E501
 65        if _configuration is None:
 66            _configuration = Configuration()
 67        self._configuration = _configuration
 68
 69        self._action_required = None
 70        self._expires = None
 71        self._folder_ids = None
 72        self._from_date_time = None
 73        self._is_template = None
 74        self._order = None
 75        self._order_by = None
 76        self._search_target = None
 77        self._search_text = None
 78        self._status = None
 79        self._to_date_time = None
 80        self.discriminator = None
 81
 82        setattr(self, "_{}".format('action_required'), kwargs.get('action_required', None))
 83        setattr(self, "_{}".format('expires'), kwargs.get('expires', None))
 84        setattr(self, "_{}".format('folder_ids'), kwargs.get('folder_ids', None))
 85        setattr(self, "_{}".format('from_date_time'), kwargs.get('from_date_time', None))
 86        setattr(self, "_{}".format('is_template'), kwargs.get('is_template', None))
 87        setattr(self, "_{}".format('order'), kwargs.get('order', None))
 88        setattr(self, "_{}".format('order_by'), kwargs.get('order_by', None))
 89        setattr(self, "_{}".format('search_target'), kwargs.get('search_target', None))
 90        setattr(self, "_{}".format('search_text'), kwargs.get('search_text', None))
 91        setattr(self, "_{}".format('status'), kwargs.get('status', None))
 92        setattr(self, "_{}".format('to_date_time'), kwargs.get('to_date_time', None))
 93
 94    @property
 95    def action_required(self):
 96        """Gets the action_required of this Filter.  # noqa: E501
 97
 98        Access token information.  # noqa: E501
 99
100        :return: The action_required of this Filter.  # noqa: E501
101        :rtype: str
102        """
103        return self._action_required
104
105    @action_required.setter
106    def action_required(self, action_required):
107        """Sets the action_required of this Filter.
108
109        Access token information.  # noqa: E501
110
111        :param action_required: The action_required of this Filter.  # noqa: E501
112        :type: str
113        """
114
115        self._action_required = action_required
116
117    @property
118    def expires(self):
119        """Gets the expires of this Filter.  # noqa: E501
120
121          # noqa: E501
122
123        :return: The expires of this Filter.  # noqa: E501
124        :rtype: str
125        """
126        return self._expires
127
128    @expires.setter
129    def expires(self, expires):
130        """Sets the expires of this Filter.
131
132          # noqa: E501
133
134        :param expires: The expires of this Filter.  # noqa: E501
135        :type: str
136        """
137
138        self._expires = expires
139
140    @property
141    def folder_ids(self):
142        """Gets the folder_ids of this Filter.  # noqa: E501
143
144          # noqa: E501
145
146        :return: The folder_ids of this Filter.  # noqa: E501
147        :rtype: str
148        """
149        return self._folder_ids
150
151    @folder_ids.setter
152    def folder_ids(self, folder_ids):
153        """Sets the folder_ids of this Filter.
154
155          # noqa: E501
156
157        :param folder_ids: The folder_ids of this Filter.  # noqa: E501
158        :type: str
159        """
160
161        self._folder_ids = folder_ids
162
163    @property
164    def from_date_time(self):
165        """Gets the from_date_time of this Filter.  # noqa: E501
166
167          # noqa: E501
168
169        :return: The from_date_time of this Filter.  # noqa: E501
170        :rtype: str
171        """
172        return self._from_date_time
173
174    @from_date_time.setter
175    def from_date_time(self, from_date_time):
176        """Sets the from_date_time of this Filter.
177
178          # noqa: E501
179
180        :param from_date_time: The from_date_time of this Filter.  # noqa: E501
181        :type: str
182        """
183
184        self._from_date_time = from_date_time
185
186    @property
187    def is_template(self):
188        """Gets the is_template of this Filter.  # noqa: E501
189
190          # noqa: E501
191
192        :return: The is_template of this Filter.  # noqa: E501
193        :rtype: str
194        """
195        return self._is_template
196
197    @is_template.setter
198    def is_template(self, is_template):
199        """Sets the is_template of this Filter.
200
201          # noqa: E501
202
203        :param is_template: The is_template of this Filter.  # noqa: E501
204        :type: str
205        """
206
207        self._is_template = is_template
208
209    @property
210    def order(self):
211        """Gets the order of this Filter.  # noqa: E501
212
213          # noqa: E501
214
215        :return: The order of this Filter.  # noqa: E501
216        :rtype: str
217        """
218        return self._order
219
220    @order.setter
221    def order(self, order):
222        """Sets the order of this Filter.
223
224          # noqa: E501
225
226        :param order: The order of this Filter.  # noqa: E501
227        :type: str
228        """
229
230        self._order = order
231
232    @property
233    def order_by(self):
234        """Gets the order_by of this Filter.  # noqa: E501
235
236          # noqa: E501
237
238        :return: The order_by of this Filter.  # noqa: E501
239        :rtype: str
240        """
241        return self._order_by
242
243    @order_by.setter
244    def order_by(self, order_by):
245        """Sets the order_by of this Filter.
246
247          # noqa: E501
248
249        :param order_by: The order_by of this Filter.  # noqa: E501
250        :type: str
251        """
252
253        self._order_by = order_by
254
255    @property
256    def search_target(self):
257        """Gets the search_target of this Filter.  # noqa: E501
258
259          # noqa: E501
260
261        :return: The search_target of this Filter.  # noqa: E501
262        :rtype: str
263        """
264        return self._search_target
265
266    @search_target.setter
267    def search_target(self, search_target):
268        """Sets the search_target of this Filter.
269
270          # noqa: E501
271
272        :param search_target: The search_target of this Filter.  # noqa: E501
273        :type: str
274        """
275
276        self._search_target = search_target
277
278    @property
279    def search_text(self):
280        """Gets the search_text of this Filter.  # noqa: E501
281
282          # noqa: E501
283
284        :return: The search_text of this Filter.  # noqa: E501
285        :rtype: str
286        """
287        return self._search_text
288
289    @search_text.setter
290    def search_text(self, search_text):
291        """Sets the search_text of this Filter.
292
293          # noqa: E501
294
295        :param search_text: The search_text of this Filter.  # noqa: E501
296        :type: str
297        """
298
299        self._search_text = search_text
300
301    @property
302    def status(self):
303        """Gets the status of this Filter.  # noqa: E501
304
305        Indicates the envelope status. Valid values are:  * sent - The envelope is sent to the recipients.  * created - The envelope is saved as a draft and can be modified and sent later.  # noqa: E501
306
307        :return: The status of this Filter.  # noqa: E501
308        :rtype: str
309        """
310        return self._status
311
312    @status.setter
313    def status(self, status):
314        """Sets the status of this Filter.
315
316        Indicates the envelope status. Valid values are:  * sent - The envelope is sent to the recipients.  * created - The envelope is saved as a draft and can be modified and sent later.  # noqa: E501
317
318        :param status: The status of this Filter.  # noqa: E501
319        :type: str
320        """
321
322        self._status = status
323
324    @property
325    def to_date_time(self):
326        """Gets the to_date_time of this Filter.  # noqa: E501
327
328        Must be set to \"bearer\".  # noqa: E501
329
330        :return: The to_date_time of this Filter.  # noqa: E501
331        :rtype: str
332        """
333        return self._to_date_time
334
335    @to_date_time.setter
336    def to_date_time(self, to_date_time):
337        """Sets the to_date_time of this Filter.
338
339        Must be set to \"bearer\".  # noqa: E501
340
341        :param to_date_time: The to_date_time of this Filter.  # noqa: E501
342        :type: str
343        """
344
345        self._to_date_time = to_date_time
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(Filter, 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, Filter):
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, Filter):
392            return True
393
394        return self.to_dict() != other.to_dict()
class Filter:
 23class Filter(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        'action_required': 'str',
 38        'expires': 'str',
 39        'folder_ids': 'str',
 40        'from_date_time': 'str',
 41        'is_template': 'str',
 42        'order': 'str',
 43        'order_by': 'str',
 44        'search_target': 'str',
 45        'search_text': 'str',
 46        'status': 'str',
 47        'to_date_time': 'str'
 48    }
 49
 50    attribute_map = {
 51        'action_required': 'actionRequired',
 52        'expires': 'expires',
 53        'folder_ids': 'folderIds',
 54        'from_date_time': 'fromDateTime',
 55        'is_template': 'isTemplate',
 56        'order': 'order',
 57        'order_by': 'orderBy',
 58        'search_target': 'searchTarget',
 59        'search_text': 'searchText',
 60        'status': 'status',
 61        'to_date_time': 'toDateTime'
 62    }
 63
 64    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 65        """Filter - a model defined in Swagger"""  # noqa: E501
 66        if _configuration is None:
 67            _configuration = Configuration()
 68        self._configuration = _configuration
 69
 70        self._action_required = None
 71        self._expires = None
 72        self._folder_ids = None
 73        self._from_date_time = None
 74        self._is_template = None
 75        self._order = None
 76        self._order_by = None
 77        self._search_target = None
 78        self._search_text = None
 79        self._status = None
 80        self._to_date_time = None
 81        self.discriminator = None
 82
 83        setattr(self, "_{}".format('action_required'), kwargs.get('action_required', None))
 84        setattr(self, "_{}".format('expires'), kwargs.get('expires', None))
 85        setattr(self, "_{}".format('folder_ids'), kwargs.get('folder_ids', None))
 86        setattr(self, "_{}".format('from_date_time'), kwargs.get('from_date_time', None))
 87        setattr(self, "_{}".format('is_template'), kwargs.get('is_template', None))
 88        setattr(self, "_{}".format('order'), kwargs.get('order', None))
 89        setattr(self, "_{}".format('order_by'), kwargs.get('order_by', None))
 90        setattr(self, "_{}".format('search_target'), kwargs.get('search_target', None))
 91        setattr(self, "_{}".format('search_text'), kwargs.get('search_text', None))
 92        setattr(self, "_{}".format('status'), kwargs.get('status', None))
 93        setattr(self, "_{}".format('to_date_time'), kwargs.get('to_date_time', None))
 94
 95    @property
 96    def action_required(self):
 97        """Gets the action_required of this Filter.  # noqa: E501
 98
 99        Access token information.  # noqa: E501
100
101        :return: The action_required of this Filter.  # noqa: E501
102        :rtype: str
103        """
104        return self._action_required
105
106    @action_required.setter
107    def action_required(self, action_required):
108        """Sets the action_required of this Filter.
109
110        Access token information.  # noqa: E501
111
112        :param action_required: The action_required of this Filter.  # noqa: E501
113        :type: str
114        """
115
116        self._action_required = action_required
117
118    @property
119    def expires(self):
120        """Gets the expires of this Filter.  # noqa: E501
121
122          # noqa: E501
123
124        :return: The expires of this Filter.  # noqa: E501
125        :rtype: str
126        """
127        return self._expires
128
129    @expires.setter
130    def expires(self, expires):
131        """Sets the expires of this Filter.
132
133          # noqa: E501
134
135        :param expires: The expires of this Filter.  # noqa: E501
136        :type: str
137        """
138
139        self._expires = expires
140
141    @property
142    def folder_ids(self):
143        """Gets the folder_ids of this Filter.  # noqa: E501
144
145          # noqa: E501
146
147        :return: The folder_ids of this Filter.  # noqa: E501
148        :rtype: str
149        """
150        return self._folder_ids
151
152    @folder_ids.setter
153    def folder_ids(self, folder_ids):
154        """Sets the folder_ids of this Filter.
155
156          # noqa: E501
157
158        :param folder_ids: The folder_ids of this Filter.  # noqa: E501
159        :type: str
160        """
161
162        self._folder_ids = folder_ids
163
164    @property
165    def from_date_time(self):
166        """Gets the from_date_time of this Filter.  # noqa: E501
167
168          # noqa: E501
169
170        :return: The from_date_time of this Filter.  # noqa: E501
171        :rtype: str
172        """
173        return self._from_date_time
174
175    @from_date_time.setter
176    def from_date_time(self, from_date_time):
177        """Sets the from_date_time of this Filter.
178
179          # noqa: E501
180
181        :param from_date_time: The from_date_time of this Filter.  # noqa: E501
182        :type: str
183        """
184
185        self._from_date_time = from_date_time
186
187    @property
188    def is_template(self):
189        """Gets the is_template of this Filter.  # noqa: E501
190
191          # noqa: E501
192
193        :return: The is_template of this Filter.  # noqa: E501
194        :rtype: str
195        """
196        return self._is_template
197
198    @is_template.setter
199    def is_template(self, is_template):
200        """Sets the is_template of this Filter.
201
202          # noqa: E501
203
204        :param is_template: The is_template of this Filter.  # noqa: E501
205        :type: str
206        """
207
208        self._is_template = is_template
209
210    @property
211    def order(self):
212        """Gets the order of this Filter.  # noqa: E501
213
214          # noqa: E501
215
216        :return: The order of this Filter.  # noqa: E501
217        :rtype: str
218        """
219        return self._order
220
221    @order.setter
222    def order(self, order):
223        """Sets the order of this Filter.
224
225          # noqa: E501
226
227        :param order: The order of this Filter.  # noqa: E501
228        :type: str
229        """
230
231        self._order = order
232
233    @property
234    def order_by(self):
235        """Gets the order_by of this Filter.  # noqa: E501
236
237          # noqa: E501
238
239        :return: The order_by of this Filter.  # noqa: E501
240        :rtype: str
241        """
242        return self._order_by
243
244    @order_by.setter
245    def order_by(self, order_by):
246        """Sets the order_by of this Filter.
247
248          # noqa: E501
249
250        :param order_by: The order_by of this Filter.  # noqa: E501
251        :type: str
252        """
253
254        self._order_by = order_by
255
256    @property
257    def search_target(self):
258        """Gets the search_target of this Filter.  # noqa: E501
259
260          # noqa: E501
261
262        :return: The search_target of this Filter.  # noqa: E501
263        :rtype: str
264        """
265        return self._search_target
266
267    @search_target.setter
268    def search_target(self, search_target):
269        """Sets the search_target of this Filter.
270
271          # noqa: E501
272
273        :param search_target: The search_target of this Filter.  # noqa: E501
274        :type: str
275        """
276
277        self._search_target = search_target
278
279    @property
280    def search_text(self):
281        """Gets the search_text of this Filter.  # noqa: E501
282
283          # noqa: E501
284
285        :return: The search_text of this Filter.  # noqa: E501
286        :rtype: str
287        """
288        return self._search_text
289
290    @search_text.setter
291    def search_text(self, search_text):
292        """Sets the search_text of this Filter.
293
294          # noqa: E501
295
296        :param search_text: The search_text of this Filter.  # noqa: E501
297        :type: str
298        """
299
300        self._search_text = search_text
301
302    @property
303    def status(self):
304        """Gets the status of this Filter.  # noqa: E501
305
306        Indicates the envelope status. Valid values are:  * sent - The envelope is sent to the recipients.  * created - The envelope is saved as a draft and can be modified and sent later.  # noqa: E501
307
308        :return: The status of this Filter.  # noqa: E501
309        :rtype: str
310        """
311        return self._status
312
313    @status.setter
314    def status(self, status):
315        """Sets the status of this Filter.
316
317        Indicates the envelope status. Valid values are:  * sent - The envelope is sent to the recipients.  * created - The envelope is saved as a draft and can be modified and sent later.  # noqa: E501
318
319        :param status: The status of this Filter.  # noqa: E501
320        :type: str
321        """
322
323        self._status = status
324
325    @property
326    def to_date_time(self):
327        """Gets the to_date_time of this Filter.  # noqa: E501
328
329        Must be set to \"bearer\".  # noqa: E501
330
331        :return: The to_date_time of this Filter.  # noqa: E501
332        :rtype: str
333        """
334        return self._to_date_time
335
336    @to_date_time.setter
337    def to_date_time(self, to_date_time):
338        """Sets the to_date_time of this Filter.
339
340        Must be set to \"bearer\".  # noqa: E501
341
342        :param to_date_time: The to_date_time of this Filter.  # noqa: E501
343        :type: str
344        """
345
346        self._to_date_time = to_date_time
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(Filter, 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, Filter):
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, Filter):
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.

Filter(_configuration=None, **kwargs)
64    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
65        """Filter - a model defined in Swagger"""  # noqa: E501
66        if _configuration is None:
67            _configuration = Configuration()
68        self._configuration = _configuration
69
70        self._action_required = None
71        self._expires = None
72        self._folder_ids = None
73        self._from_date_time = None
74        self._is_template = None
75        self._order = None
76        self._order_by = None
77        self._search_target = None
78        self._search_text = None
79        self._status = None
80        self._to_date_time = None
81        self.discriminator = None
82
83        setattr(self, "_{}".format('action_required'), kwargs.get('action_required', None))
84        setattr(self, "_{}".format('expires'), kwargs.get('expires', None))
85        setattr(self, "_{}".format('folder_ids'), kwargs.get('folder_ids', None))
86        setattr(self, "_{}".format('from_date_time'), kwargs.get('from_date_time', None))
87        setattr(self, "_{}".format('is_template'), kwargs.get('is_template', None))
88        setattr(self, "_{}".format('order'), kwargs.get('order', None))
89        setattr(self, "_{}".format('order_by'), kwargs.get('order_by', None))
90        setattr(self, "_{}".format('search_target'), kwargs.get('search_target', None))
91        setattr(self, "_{}".format('search_text'), kwargs.get('search_text', None))
92        setattr(self, "_{}".format('status'), kwargs.get('status', None))
93        setattr(self, "_{}".format('to_date_time'), kwargs.get('to_date_time', None))

Filter - a model defined in Swagger

swagger_types = {'action_required': 'str', 'expires': 'str', 'folder_ids': 'str', 'from_date_time': 'str', 'is_template': 'str', 'order': 'str', 'order_by': 'str', 'search_target': 'str', 'search_text': 'str', 'status': 'str', 'to_date_time': 'str'}
attribute_map = {'action_required': 'actionRequired', 'expires': 'expires', 'folder_ids': 'folderIds', 'from_date_time': 'fromDateTime', 'is_template': 'isTemplate', 'order': 'order', 'order_by': 'orderBy', 'search_target': 'searchTarget', 'search_text': 'searchText', 'status': 'status', 'to_date_time': 'toDateTime'}
action_required

Gets the action_required of this Filter. # noqa: E501

Access token information. # noqa: E501

Returns

The action_required of this Filter. # noqa: E501

expires

Gets the expires of this Filter. # noqa: E501

# noqa: E501

Returns

The expires of this Filter. # noqa: E501

folder_ids

Gets the folder_ids of this Filter. # noqa: E501

# noqa: E501

Returns

The folder_ids of this Filter. # noqa: E501

from_date_time

Gets the from_date_time of this Filter. # noqa: E501

# noqa: E501

Returns

The from_date_time of this Filter. # noqa: E501

is_template

Gets the is_template of this Filter. # noqa: E501

# noqa: E501

Returns

The is_template of this Filter. # noqa: E501

order

Gets the order of this Filter. # noqa: E501

# noqa: E501

Returns

The order of this Filter. # noqa: E501

order_by

Gets the order_by of this Filter. # noqa: E501

# noqa: E501

Returns

The order_by of this Filter. # noqa: E501

search_target

Gets the search_target of this Filter. # noqa: E501

# noqa: E501

Returns

The search_target of this Filter. # noqa: E501

search_text

Gets the search_text of this Filter. # noqa: E501

# noqa: E501

Returns

The search_text of this Filter. # noqa: E501

status

Gets the status of this Filter. # noqa: E501

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

Returns

The status of this Filter. # noqa: E501

to_date_time

Gets the to_date_time of this Filter. # noqa: E501

Must be set to "bearer". # noqa: E501

Returns

The to_date_time of this Filter. # 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(Filter, 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