docusign_esign.models.document_html_collapsible_display_settings

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

DocumentHtmlCollapsibleDisplaySettings(_configuration=None, **kwargs)
62    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
63        """DocumentHtmlCollapsibleDisplaySettings - a model defined in Swagger"""  # noqa: E501
64        if _configuration is None:
65            _configuration = Configuration()
66        self._configuration = _configuration
67
68        self._arrow_closed = None
69        self._arrow_color = None
70        self._arrow_location = None
71        self._arrow_open = None
72        self._arrow_size = None
73        self._arrow_style = None
74        self._container_style = None
75        self._label_style = None
76        self._only_arrow_is_clickable = None
77        self._outer_label_and_arrow_style = None
78        self.discriminator = None
79
80        setattr(self, "_{}".format('arrow_closed'), kwargs.get('arrow_closed', None))
81        setattr(self, "_{}".format('arrow_color'), kwargs.get('arrow_color', None))
82        setattr(self, "_{}".format('arrow_location'), kwargs.get('arrow_location', None))
83        setattr(self, "_{}".format('arrow_open'), kwargs.get('arrow_open', None))
84        setattr(self, "_{}".format('arrow_size'), kwargs.get('arrow_size', None))
85        setattr(self, "_{}".format('arrow_style'), kwargs.get('arrow_style', None))
86        setattr(self, "_{}".format('container_style'), kwargs.get('container_style', None))
87        setattr(self, "_{}".format('label_style'), kwargs.get('label_style', None))
88        setattr(self, "_{}".format('only_arrow_is_clickable'), kwargs.get('only_arrow_is_clickable', None))
89        setattr(self, "_{}".format('outer_label_and_arrow_style'), kwargs.get('outer_label_and_arrow_style', None))

DocumentHtmlCollapsibleDisplaySettings - a model defined in Swagger

swagger_types = {'arrow_closed': 'str', 'arrow_color': 'str', 'arrow_location': 'str', 'arrow_open': 'str', 'arrow_size': 'str', 'arrow_style': 'str', 'container_style': 'str', 'label_style': 'str', 'only_arrow_is_clickable': 'bool', 'outer_label_and_arrow_style': 'str'}
attribute_map = {'arrow_closed': 'arrowClosed', 'arrow_color': 'arrowColor', 'arrow_location': 'arrowLocation', 'arrow_open': 'arrowOpen', 'arrow_size': 'arrowSize', 'arrow_style': 'arrowStyle', 'container_style': 'containerStyle', 'label_style': 'labelStyle', 'only_arrow_is_clickable': 'onlyArrowIsClickable', 'outer_label_and_arrow_style': 'outerLabelAndArrowStyle'}
arrow_closed

Gets the arrow_closed of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

# noqa: E501

Returns

The arrow_closed of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

arrow_color

Gets the arrow_color of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

# noqa: E501

Returns

The arrow_color of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

arrow_location

Gets the arrow_location of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

# noqa: E501

Returns

The arrow_location of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

arrow_open

Gets the arrow_open of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

# noqa: E501

Returns

The arrow_open of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

arrow_size

Gets the arrow_size of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

# noqa: E501

Returns

The arrow_size of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

arrow_style

Gets the arrow_style of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

# noqa: E501

Returns

The arrow_style of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

container_style

Gets the container_style of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

# noqa: E501

Returns

The container_style of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

label_style

Gets the label_style of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

# noqa: E501

Returns

The label_style of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

only_arrow_is_clickable

Gets the only_arrow_is_clickable of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

# noqa: E501

Returns

The only_arrow_is_clickable of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

outer_label_and_arrow_style

Gets the outer_label_and_arrow_style of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

# noqa: E501

Returns

The outer_label_and_arrow_style of this DocumentHtmlCollapsibleDisplaySettings. # noqa: E501

def to_dict(self)
321    def to_dict(self):
322        """Returns the model properties as a dict"""
323        result = {}
324
325        for attr, _ in six.iteritems(self.swagger_types):
326            value = getattr(self, attr)
327            if isinstance(value, list):
328                result[attr] = list(map(
329                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
330                    value
331                ))
332            elif hasattr(value, "to_dict"):
333                result[attr] = value.to_dict()
334            elif isinstance(value, dict):
335                result[attr] = dict(map(
336                    lambda item: (item[0], item[1].to_dict())
337                    if hasattr(item[1], "to_dict") else item,
338                    value.items()
339                ))
340            else:
341                result[attr] = value
342        if issubclass(DocumentHtmlCollapsibleDisplaySettings, dict):
343            for key, value in self.items():
344                result[key] = value
345
346        return result

Returns the model properties as a dict

def to_str(self)
348    def to_str(self):
349        """Returns the string representation of the model"""
350        return pprint.pformat(self.to_dict())

Returns the string representation of the model