docusign_esign.models.document_html_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 DocumentHtmlDisplaySettings(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        'cell_style': 'str',
 37        'collapsible_settings': 'DocumentHtmlCollapsibleDisplaySettings',
 38        'display': 'str',
 39        'display_label': 'str',
 40        'display_order': 'int',
 41        'display_page_number': 'int',
 42        'hide_label_when_opened': 'bool',
 43        'inline_outer_style': 'str',
 44        'label_when_opened': 'str',
 45        'pre_label': 'str',
 46        'scroll_to_top_when_opened': 'bool',
 47        'table_style': 'str'
 48    }
 49
 50    attribute_map = {
 51        'cell_style': 'cellStyle',
 52        'collapsible_settings': 'collapsibleSettings',
 53        'display': 'display',
 54        'display_label': 'displayLabel',
 55        'display_order': 'displayOrder',
 56        'display_page_number': 'displayPageNumber',
 57        'hide_label_when_opened': 'hideLabelWhenOpened',
 58        'inline_outer_style': 'inlineOuterStyle',
 59        'label_when_opened': 'labelWhenOpened',
 60        'pre_label': 'preLabel',
 61        'scroll_to_top_when_opened': 'scrollToTopWhenOpened',
 62        'table_style': 'tableStyle'
 63    }
 64
 65    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 66        """DocumentHtmlDisplaySettings - a model defined in Swagger"""  # noqa: E501
 67        if _configuration is None:
 68            _configuration = Configuration()
 69        self._configuration = _configuration
 70
 71        self._cell_style = None
 72        self._collapsible_settings = None
 73        self._display = None
 74        self._display_label = None
 75        self._display_order = None
 76        self._display_page_number = None
 77        self._hide_label_when_opened = None
 78        self._inline_outer_style = None
 79        self._label_when_opened = None
 80        self._pre_label = None
 81        self._scroll_to_top_when_opened = None
 82        self._table_style = None
 83        self.discriminator = None
 84
 85        setattr(self, "_{}".format('cell_style'), kwargs.get('cell_style', None))
 86        setattr(self, "_{}".format('collapsible_settings'), kwargs.get('collapsible_settings', None))
 87        setattr(self, "_{}".format('display'), kwargs.get('display', None))
 88        setattr(self, "_{}".format('display_label'), kwargs.get('display_label', None))
 89        setattr(self, "_{}".format('display_order'), kwargs.get('display_order', None))
 90        setattr(self, "_{}".format('display_page_number'), kwargs.get('display_page_number', None))
 91        setattr(self, "_{}".format('hide_label_when_opened'), kwargs.get('hide_label_when_opened', None))
 92        setattr(self, "_{}".format('inline_outer_style'), kwargs.get('inline_outer_style', None))
 93        setattr(self, "_{}".format('label_when_opened'), kwargs.get('label_when_opened', None))
 94        setattr(self, "_{}".format('pre_label'), kwargs.get('pre_label', None))
 95        setattr(self, "_{}".format('scroll_to_top_when_opened'), kwargs.get('scroll_to_top_when_opened', None))
 96        setattr(self, "_{}".format('table_style'), kwargs.get('table_style', None))
 97
 98    @property
 99    def cell_style(self):
100        """Gets the cell_style of this DocumentHtmlDisplaySettings.  # noqa: E501
101
102          # noqa: E501
103
104        :return: The cell_style of this DocumentHtmlDisplaySettings.  # noqa: E501
105        :rtype: str
106        """
107        return self._cell_style
108
109    @cell_style.setter
110    def cell_style(self, cell_style):
111        """Sets the cell_style of this DocumentHtmlDisplaySettings.
112
113          # noqa: E501
114
115        :param cell_style: The cell_style of this DocumentHtmlDisplaySettings.  # noqa: E501
116        :type: str
117        """
118
119        self._cell_style = cell_style
120
121    @property
122    def collapsible_settings(self):
123        """Gets the collapsible_settings of this DocumentHtmlDisplaySettings.  # noqa: E501
124
125        This object defines the appearance and function of a collapsible section or item.  # noqa: E501
126
127        :return: The collapsible_settings of this DocumentHtmlDisplaySettings.  # noqa: E501
128        :rtype: DocumentHtmlCollapsibleDisplaySettings
129        """
130        return self._collapsible_settings
131
132    @collapsible_settings.setter
133    def collapsible_settings(self, collapsible_settings):
134        """Sets the collapsible_settings of this DocumentHtmlDisplaySettings.
135
136        This object defines the appearance and function of a collapsible section or item.  # noqa: E501
137
138        :param collapsible_settings: The collapsible_settings of this DocumentHtmlDisplaySettings.  # noqa: E501
139        :type: DocumentHtmlCollapsibleDisplaySettings
140        """
141
142        self._collapsible_settings = collapsible_settings
143
144    @property
145    def display(self):
146        """Gets the display of this DocumentHtmlDisplaySettings.  # noqa: E501
147
148          # noqa: E501
149
150        :return: The display of this DocumentHtmlDisplaySettings.  # noqa: E501
151        :rtype: str
152        """
153        return self._display
154
155    @display.setter
156    def display(self, display):
157        """Sets the display of this DocumentHtmlDisplaySettings.
158
159          # noqa: E501
160
161        :param display: The display of this DocumentHtmlDisplaySettings.  # noqa: E501
162        :type: str
163        """
164
165        self._display = display
166
167    @property
168    def display_label(self):
169        """Gets the display_label of this DocumentHtmlDisplaySettings.  # noqa: E501
170
171          # noqa: E501
172
173        :return: The display_label of this DocumentHtmlDisplaySettings.  # noqa: E501
174        :rtype: str
175        """
176        return self._display_label
177
178    @display_label.setter
179    def display_label(self, display_label):
180        """Sets the display_label of this DocumentHtmlDisplaySettings.
181
182          # noqa: E501
183
184        :param display_label: The display_label of this DocumentHtmlDisplaySettings.  # noqa: E501
185        :type: str
186        """
187
188        self._display_label = display_label
189
190    @property
191    def display_order(self):
192        """Gets the display_order of this DocumentHtmlDisplaySettings.  # noqa: E501
193
194          # noqa: E501
195
196        :return: The display_order of this DocumentHtmlDisplaySettings.  # noqa: E501
197        :rtype: int
198        """
199        return self._display_order
200
201    @display_order.setter
202    def display_order(self, display_order):
203        """Sets the display_order of this DocumentHtmlDisplaySettings.
204
205          # noqa: E501
206
207        :param display_order: The display_order of this DocumentHtmlDisplaySettings.  # noqa: E501
208        :type: int
209        """
210
211        self._display_order = display_order
212
213    @property
214    def display_page_number(self):
215        """Gets the display_page_number of this DocumentHtmlDisplaySettings.  # noqa: E501
216
217          # noqa: E501
218
219        :return: The display_page_number of this DocumentHtmlDisplaySettings.  # noqa: E501
220        :rtype: int
221        """
222        return self._display_page_number
223
224    @display_page_number.setter
225    def display_page_number(self, display_page_number):
226        """Sets the display_page_number of this DocumentHtmlDisplaySettings.
227
228          # noqa: E501
229
230        :param display_page_number: The display_page_number of this DocumentHtmlDisplaySettings.  # noqa: E501
231        :type: int
232        """
233
234        self._display_page_number = display_page_number
235
236    @property
237    def hide_label_when_opened(self):
238        """Gets the hide_label_when_opened of this DocumentHtmlDisplaySettings.  # noqa: E501
239
240          # noqa: E501
241
242        :return: The hide_label_when_opened of this DocumentHtmlDisplaySettings.  # noqa: E501
243        :rtype: bool
244        """
245        return self._hide_label_when_opened
246
247    @hide_label_when_opened.setter
248    def hide_label_when_opened(self, hide_label_when_opened):
249        """Sets the hide_label_when_opened of this DocumentHtmlDisplaySettings.
250
251          # noqa: E501
252
253        :param hide_label_when_opened: The hide_label_when_opened of this DocumentHtmlDisplaySettings.  # noqa: E501
254        :type: bool
255        """
256
257        self._hide_label_when_opened = hide_label_when_opened
258
259    @property
260    def inline_outer_style(self):
261        """Gets the inline_outer_style of this DocumentHtmlDisplaySettings.  # noqa: E501
262
263          # noqa: E501
264
265        :return: The inline_outer_style of this DocumentHtmlDisplaySettings.  # noqa: E501
266        :rtype: str
267        """
268        return self._inline_outer_style
269
270    @inline_outer_style.setter
271    def inline_outer_style(self, inline_outer_style):
272        """Sets the inline_outer_style of this DocumentHtmlDisplaySettings.
273
274          # noqa: E501
275
276        :param inline_outer_style: The inline_outer_style of this DocumentHtmlDisplaySettings.  # noqa: E501
277        :type: str
278        """
279
280        self._inline_outer_style = inline_outer_style
281
282    @property
283    def label_when_opened(self):
284        """Gets the label_when_opened of this DocumentHtmlDisplaySettings.  # noqa: E501
285
286          # noqa: E501
287
288        :return: The label_when_opened of this DocumentHtmlDisplaySettings.  # noqa: E501
289        :rtype: str
290        """
291        return self._label_when_opened
292
293    @label_when_opened.setter
294    def label_when_opened(self, label_when_opened):
295        """Sets the label_when_opened of this DocumentHtmlDisplaySettings.
296
297          # noqa: E501
298
299        :param label_when_opened: The label_when_opened of this DocumentHtmlDisplaySettings.  # noqa: E501
300        :type: str
301        """
302
303        self._label_when_opened = label_when_opened
304
305    @property
306    def pre_label(self):
307        """Gets the pre_label of this DocumentHtmlDisplaySettings.  # noqa: E501
308
309          # noqa: E501
310
311        :return: The pre_label of this DocumentHtmlDisplaySettings.  # noqa: E501
312        :rtype: str
313        """
314        return self._pre_label
315
316    @pre_label.setter
317    def pre_label(self, pre_label):
318        """Sets the pre_label of this DocumentHtmlDisplaySettings.
319
320          # noqa: E501
321
322        :param pre_label: The pre_label of this DocumentHtmlDisplaySettings.  # noqa: E501
323        :type: str
324        """
325
326        self._pre_label = pre_label
327
328    @property
329    def scroll_to_top_when_opened(self):
330        """Gets the scroll_to_top_when_opened of this DocumentHtmlDisplaySettings.  # noqa: E501
331
332          # noqa: E501
333
334        :return: The scroll_to_top_when_opened of this DocumentHtmlDisplaySettings.  # noqa: E501
335        :rtype: bool
336        """
337        return self._scroll_to_top_when_opened
338
339    @scroll_to_top_when_opened.setter
340    def scroll_to_top_when_opened(self, scroll_to_top_when_opened):
341        """Sets the scroll_to_top_when_opened of this DocumentHtmlDisplaySettings.
342
343          # noqa: E501
344
345        :param scroll_to_top_when_opened: The scroll_to_top_when_opened of this DocumentHtmlDisplaySettings.  # noqa: E501
346        :type: bool
347        """
348
349        self._scroll_to_top_when_opened = scroll_to_top_when_opened
350
351    @property
352    def table_style(self):
353        """Gets the table_style of this DocumentHtmlDisplaySettings.  # noqa: E501
354
355          # noqa: E501
356
357        :return: The table_style of this DocumentHtmlDisplaySettings.  # noqa: E501
358        :rtype: str
359        """
360        return self._table_style
361
362    @table_style.setter
363    def table_style(self, table_style):
364        """Sets the table_style of this DocumentHtmlDisplaySettings.
365
366          # noqa: E501
367
368        :param table_style: The table_style of this DocumentHtmlDisplaySettings.  # noqa: E501
369        :type: str
370        """
371
372        self._table_style = table_style
373
374    def to_dict(self):
375        """Returns the model properties as a dict"""
376        result = {}
377
378        for attr, _ in six.iteritems(self.swagger_types):
379            value = getattr(self, attr)
380            if isinstance(value, list):
381                result[attr] = list(map(
382                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
383                    value
384                ))
385            elif hasattr(value, "to_dict"):
386                result[attr] = value.to_dict()
387            elif isinstance(value, dict):
388                result[attr] = dict(map(
389                    lambda item: (item[0], item[1].to_dict())
390                    if hasattr(item[1], "to_dict") else item,
391                    value.items()
392                ))
393            else:
394                result[attr] = value
395        if issubclass(DocumentHtmlDisplaySettings, dict):
396            for key, value in self.items():
397                result[key] = value
398
399        return result
400
401    def to_str(self):
402        """Returns the string representation of the model"""
403        return pprint.pformat(self.to_dict())
404
405    def __repr__(self):
406        """For `print` and `pprint`"""
407        return self.to_str()
408
409    def __eq__(self, other):
410        """Returns true if both objects are equal"""
411        if not isinstance(other, DocumentHtmlDisplaySettings):
412            return False
413
414        return self.to_dict() == other.to_dict()
415
416    def __ne__(self, other):
417        """Returns true if both objects are not equal"""
418        if not isinstance(other, DocumentHtmlDisplaySettings):
419            return True
420
421        return self.to_dict() != other.to_dict()
class DocumentHtmlDisplaySettings:
 23class DocumentHtmlDisplaySettings(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        'cell_style': 'str',
 38        'collapsible_settings': 'DocumentHtmlCollapsibleDisplaySettings',
 39        'display': 'str',
 40        'display_label': 'str',
 41        'display_order': 'int',
 42        'display_page_number': 'int',
 43        'hide_label_when_opened': 'bool',
 44        'inline_outer_style': 'str',
 45        'label_when_opened': 'str',
 46        'pre_label': 'str',
 47        'scroll_to_top_when_opened': 'bool',
 48        'table_style': 'str'
 49    }
 50
 51    attribute_map = {
 52        'cell_style': 'cellStyle',
 53        'collapsible_settings': 'collapsibleSettings',
 54        'display': 'display',
 55        'display_label': 'displayLabel',
 56        'display_order': 'displayOrder',
 57        'display_page_number': 'displayPageNumber',
 58        'hide_label_when_opened': 'hideLabelWhenOpened',
 59        'inline_outer_style': 'inlineOuterStyle',
 60        'label_when_opened': 'labelWhenOpened',
 61        'pre_label': 'preLabel',
 62        'scroll_to_top_when_opened': 'scrollToTopWhenOpened',
 63        'table_style': 'tableStyle'
 64    }
 65
 66    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 67        """DocumentHtmlDisplaySettings - a model defined in Swagger"""  # noqa: E501
 68        if _configuration is None:
 69            _configuration = Configuration()
 70        self._configuration = _configuration
 71
 72        self._cell_style = None
 73        self._collapsible_settings = None
 74        self._display = None
 75        self._display_label = None
 76        self._display_order = None
 77        self._display_page_number = None
 78        self._hide_label_when_opened = None
 79        self._inline_outer_style = None
 80        self._label_when_opened = None
 81        self._pre_label = None
 82        self._scroll_to_top_when_opened = None
 83        self._table_style = None
 84        self.discriminator = None
 85
 86        setattr(self, "_{}".format('cell_style'), kwargs.get('cell_style', None))
 87        setattr(self, "_{}".format('collapsible_settings'), kwargs.get('collapsible_settings', None))
 88        setattr(self, "_{}".format('display'), kwargs.get('display', None))
 89        setattr(self, "_{}".format('display_label'), kwargs.get('display_label', None))
 90        setattr(self, "_{}".format('display_order'), kwargs.get('display_order', None))
 91        setattr(self, "_{}".format('display_page_number'), kwargs.get('display_page_number', None))
 92        setattr(self, "_{}".format('hide_label_when_opened'), kwargs.get('hide_label_when_opened', None))
 93        setattr(self, "_{}".format('inline_outer_style'), kwargs.get('inline_outer_style', None))
 94        setattr(self, "_{}".format('label_when_opened'), kwargs.get('label_when_opened', None))
 95        setattr(self, "_{}".format('pre_label'), kwargs.get('pre_label', None))
 96        setattr(self, "_{}".format('scroll_to_top_when_opened'), kwargs.get('scroll_to_top_when_opened', None))
 97        setattr(self, "_{}".format('table_style'), kwargs.get('table_style', None))
 98
 99    @property
100    def cell_style(self):
101        """Gets the cell_style of this DocumentHtmlDisplaySettings.  # noqa: E501
102
103          # noqa: E501
104
105        :return: The cell_style of this DocumentHtmlDisplaySettings.  # noqa: E501
106        :rtype: str
107        """
108        return self._cell_style
109
110    @cell_style.setter
111    def cell_style(self, cell_style):
112        """Sets the cell_style of this DocumentHtmlDisplaySettings.
113
114          # noqa: E501
115
116        :param cell_style: The cell_style of this DocumentHtmlDisplaySettings.  # noqa: E501
117        :type: str
118        """
119
120        self._cell_style = cell_style
121
122    @property
123    def collapsible_settings(self):
124        """Gets the collapsible_settings of this DocumentHtmlDisplaySettings.  # noqa: E501
125
126        This object defines the appearance and function of a collapsible section or item.  # noqa: E501
127
128        :return: The collapsible_settings of this DocumentHtmlDisplaySettings.  # noqa: E501
129        :rtype: DocumentHtmlCollapsibleDisplaySettings
130        """
131        return self._collapsible_settings
132
133    @collapsible_settings.setter
134    def collapsible_settings(self, collapsible_settings):
135        """Sets the collapsible_settings of this DocumentHtmlDisplaySettings.
136
137        This object defines the appearance and function of a collapsible section or item.  # noqa: E501
138
139        :param collapsible_settings: The collapsible_settings of this DocumentHtmlDisplaySettings.  # noqa: E501
140        :type: DocumentHtmlCollapsibleDisplaySettings
141        """
142
143        self._collapsible_settings = collapsible_settings
144
145    @property
146    def display(self):
147        """Gets the display of this DocumentHtmlDisplaySettings.  # noqa: E501
148
149          # noqa: E501
150
151        :return: The display of this DocumentHtmlDisplaySettings.  # noqa: E501
152        :rtype: str
153        """
154        return self._display
155
156    @display.setter
157    def display(self, display):
158        """Sets the display of this DocumentHtmlDisplaySettings.
159
160          # noqa: E501
161
162        :param display: The display of this DocumentHtmlDisplaySettings.  # noqa: E501
163        :type: str
164        """
165
166        self._display = display
167
168    @property
169    def display_label(self):
170        """Gets the display_label of this DocumentHtmlDisplaySettings.  # noqa: E501
171
172          # noqa: E501
173
174        :return: The display_label of this DocumentHtmlDisplaySettings.  # noqa: E501
175        :rtype: str
176        """
177        return self._display_label
178
179    @display_label.setter
180    def display_label(self, display_label):
181        """Sets the display_label of this DocumentHtmlDisplaySettings.
182
183          # noqa: E501
184
185        :param display_label: The display_label of this DocumentHtmlDisplaySettings.  # noqa: E501
186        :type: str
187        """
188
189        self._display_label = display_label
190
191    @property
192    def display_order(self):
193        """Gets the display_order of this DocumentHtmlDisplaySettings.  # noqa: E501
194
195          # noqa: E501
196
197        :return: The display_order of this DocumentHtmlDisplaySettings.  # noqa: E501
198        :rtype: int
199        """
200        return self._display_order
201
202    @display_order.setter
203    def display_order(self, display_order):
204        """Sets the display_order of this DocumentHtmlDisplaySettings.
205
206          # noqa: E501
207
208        :param display_order: The display_order of this DocumentHtmlDisplaySettings.  # noqa: E501
209        :type: int
210        """
211
212        self._display_order = display_order
213
214    @property
215    def display_page_number(self):
216        """Gets the display_page_number of this DocumentHtmlDisplaySettings.  # noqa: E501
217
218          # noqa: E501
219
220        :return: The display_page_number of this DocumentHtmlDisplaySettings.  # noqa: E501
221        :rtype: int
222        """
223        return self._display_page_number
224
225    @display_page_number.setter
226    def display_page_number(self, display_page_number):
227        """Sets the display_page_number of this DocumentHtmlDisplaySettings.
228
229          # noqa: E501
230
231        :param display_page_number: The display_page_number of this DocumentHtmlDisplaySettings.  # noqa: E501
232        :type: int
233        """
234
235        self._display_page_number = display_page_number
236
237    @property
238    def hide_label_when_opened(self):
239        """Gets the hide_label_when_opened of this DocumentHtmlDisplaySettings.  # noqa: E501
240
241          # noqa: E501
242
243        :return: The hide_label_when_opened of this DocumentHtmlDisplaySettings.  # noqa: E501
244        :rtype: bool
245        """
246        return self._hide_label_when_opened
247
248    @hide_label_when_opened.setter
249    def hide_label_when_opened(self, hide_label_when_opened):
250        """Sets the hide_label_when_opened of this DocumentHtmlDisplaySettings.
251
252          # noqa: E501
253
254        :param hide_label_when_opened: The hide_label_when_opened of this DocumentHtmlDisplaySettings.  # noqa: E501
255        :type: bool
256        """
257
258        self._hide_label_when_opened = hide_label_when_opened
259
260    @property
261    def inline_outer_style(self):
262        """Gets the inline_outer_style of this DocumentHtmlDisplaySettings.  # noqa: E501
263
264          # noqa: E501
265
266        :return: The inline_outer_style of this DocumentHtmlDisplaySettings.  # noqa: E501
267        :rtype: str
268        """
269        return self._inline_outer_style
270
271    @inline_outer_style.setter
272    def inline_outer_style(self, inline_outer_style):
273        """Sets the inline_outer_style of this DocumentHtmlDisplaySettings.
274
275          # noqa: E501
276
277        :param inline_outer_style: The inline_outer_style of this DocumentHtmlDisplaySettings.  # noqa: E501
278        :type: str
279        """
280
281        self._inline_outer_style = inline_outer_style
282
283    @property
284    def label_when_opened(self):
285        """Gets the label_when_opened of this DocumentHtmlDisplaySettings.  # noqa: E501
286
287          # noqa: E501
288
289        :return: The label_when_opened of this DocumentHtmlDisplaySettings.  # noqa: E501
290        :rtype: str
291        """
292        return self._label_when_opened
293
294    @label_when_opened.setter
295    def label_when_opened(self, label_when_opened):
296        """Sets the label_when_opened of this DocumentHtmlDisplaySettings.
297
298          # noqa: E501
299
300        :param label_when_opened: The label_when_opened of this DocumentHtmlDisplaySettings.  # noqa: E501
301        :type: str
302        """
303
304        self._label_when_opened = label_when_opened
305
306    @property
307    def pre_label(self):
308        """Gets the pre_label of this DocumentHtmlDisplaySettings.  # noqa: E501
309
310          # noqa: E501
311
312        :return: The pre_label of this DocumentHtmlDisplaySettings.  # noqa: E501
313        :rtype: str
314        """
315        return self._pre_label
316
317    @pre_label.setter
318    def pre_label(self, pre_label):
319        """Sets the pre_label of this DocumentHtmlDisplaySettings.
320
321          # noqa: E501
322
323        :param pre_label: The pre_label of this DocumentHtmlDisplaySettings.  # noqa: E501
324        :type: str
325        """
326
327        self._pre_label = pre_label
328
329    @property
330    def scroll_to_top_when_opened(self):
331        """Gets the scroll_to_top_when_opened of this DocumentHtmlDisplaySettings.  # noqa: E501
332
333          # noqa: E501
334
335        :return: The scroll_to_top_when_opened of this DocumentHtmlDisplaySettings.  # noqa: E501
336        :rtype: bool
337        """
338        return self._scroll_to_top_when_opened
339
340    @scroll_to_top_when_opened.setter
341    def scroll_to_top_when_opened(self, scroll_to_top_when_opened):
342        """Sets the scroll_to_top_when_opened of this DocumentHtmlDisplaySettings.
343
344          # noqa: E501
345
346        :param scroll_to_top_when_opened: The scroll_to_top_when_opened of this DocumentHtmlDisplaySettings.  # noqa: E501
347        :type: bool
348        """
349
350        self._scroll_to_top_when_opened = scroll_to_top_when_opened
351
352    @property
353    def table_style(self):
354        """Gets the table_style of this DocumentHtmlDisplaySettings.  # noqa: E501
355
356          # noqa: E501
357
358        :return: The table_style of this DocumentHtmlDisplaySettings.  # noqa: E501
359        :rtype: str
360        """
361        return self._table_style
362
363    @table_style.setter
364    def table_style(self, table_style):
365        """Sets the table_style of this DocumentHtmlDisplaySettings.
366
367          # noqa: E501
368
369        :param table_style: The table_style of this DocumentHtmlDisplaySettings.  # noqa: E501
370        :type: str
371        """
372
373        self._table_style = table_style
374
375    def to_dict(self):
376        """Returns the model properties as a dict"""
377        result = {}
378
379        for attr, _ in six.iteritems(self.swagger_types):
380            value = getattr(self, attr)
381            if isinstance(value, list):
382                result[attr] = list(map(
383                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
384                    value
385                ))
386            elif hasattr(value, "to_dict"):
387                result[attr] = value.to_dict()
388            elif isinstance(value, dict):
389                result[attr] = dict(map(
390                    lambda item: (item[0], item[1].to_dict())
391                    if hasattr(item[1], "to_dict") else item,
392                    value.items()
393                ))
394            else:
395                result[attr] = value
396        if issubclass(DocumentHtmlDisplaySettings, dict):
397            for key, value in self.items():
398                result[key] = value
399
400        return result
401
402    def to_str(self):
403        """Returns the string representation of the model"""
404        return pprint.pformat(self.to_dict())
405
406    def __repr__(self):
407        """For `print` and `pprint`"""
408        return self.to_str()
409
410    def __eq__(self, other):
411        """Returns true if both objects are equal"""
412        if not isinstance(other, DocumentHtmlDisplaySettings):
413            return False
414
415        return self.to_dict() == other.to_dict()
416
417    def __ne__(self, other):
418        """Returns true if both objects are not equal"""
419        if not isinstance(other, DocumentHtmlDisplaySettings):
420            return True
421
422        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.

DocumentHtmlDisplaySettings(_configuration=None, **kwargs)
66    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
67        """DocumentHtmlDisplaySettings - a model defined in Swagger"""  # noqa: E501
68        if _configuration is None:
69            _configuration = Configuration()
70        self._configuration = _configuration
71
72        self._cell_style = None
73        self._collapsible_settings = None
74        self._display = None
75        self._display_label = None
76        self._display_order = None
77        self._display_page_number = None
78        self._hide_label_when_opened = None
79        self._inline_outer_style = None
80        self._label_when_opened = None
81        self._pre_label = None
82        self._scroll_to_top_when_opened = None
83        self._table_style = None
84        self.discriminator = None
85
86        setattr(self, "_{}".format('cell_style'), kwargs.get('cell_style', None))
87        setattr(self, "_{}".format('collapsible_settings'), kwargs.get('collapsible_settings', None))
88        setattr(self, "_{}".format('display'), kwargs.get('display', None))
89        setattr(self, "_{}".format('display_label'), kwargs.get('display_label', None))
90        setattr(self, "_{}".format('display_order'), kwargs.get('display_order', None))
91        setattr(self, "_{}".format('display_page_number'), kwargs.get('display_page_number', None))
92        setattr(self, "_{}".format('hide_label_when_opened'), kwargs.get('hide_label_when_opened', None))
93        setattr(self, "_{}".format('inline_outer_style'), kwargs.get('inline_outer_style', None))
94        setattr(self, "_{}".format('label_when_opened'), kwargs.get('label_when_opened', None))
95        setattr(self, "_{}".format('pre_label'), kwargs.get('pre_label', None))
96        setattr(self, "_{}".format('scroll_to_top_when_opened'), kwargs.get('scroll_to_top_when_opened', None))
97        setattr(self, "_{}".format('table_style'), kwargs.get('table_style', None))

DocumentHtmlDisplaySettings - a model defined in Swagger

swagger_types = {'cell_style': 'str', 'collapsible_settings': 'DocumentHtmlCollapsibleDisplaySettings', 'display': 'str', 'display_label': 'str', 'display_order': 'int', 'display_page_number': 'int', 'hide_label_when_opened': 'bool', 'inline_outer_style': 'str', 'label_when_opened': 'str', 'pre_label': 'str', 'scroll_to_top_when_opened': 'bool', 'table_style': 'str'}
attribute_map = {'cell_style': 'cellStyle', 'collapsible_settings': 'collapsibleSettings', 'display': 'display', 'display_label': 'displayLabel', 'display_order': 'displayOrder', 'display_page_number': 'displayPageNumber', 'hide_label_when_opened': 'hideLabelWhenOpened', 'inline_outer_style': 'inlineOuterStyle', 'label_when_opened': 'labelWhenOpened', 'pre_label': 'preLabel', 'scroll_to_top_when_opened': 'scrollToTopWhenOpened', 'table_style': 'tableStyle'}
cell_style

Gets the cell_style of this DocumentHtmlDisplaySettings. # noqa: E501

# noqa: E501

Returns

The cell_style of this DocumentHtmlDisplaySettings. # noqa: E501

collapsible_settings

Gets the collapsible_settings of this DocumentHtmlDisplaySettings. # noqa: E501

This object defines the appearance and function of a collapsible section or item. # noqa: E501

Returns

The collapsible_settings of this DocumentHtmlDisplaySettings. # noqa: E501

display

Gets the display of this DocumentHtmlDisplaySettings. # noqa: E501

# noqa: E501

Returns

The display of this DocumentHtmlDisplaySettings. # noqa: E501

display_label

Gets the display_label of this DocumentHtmlDisplaySettings. # noqa: E501

# noqa: E501

Returns

The display_label of this DocumentHtmlDisplaySettings. # noqa: E501

display_order

Gets the display_order of this DocumentHtmlDisplaySettings. # noqa: E501

# noqa: E501

Returns

The display_order of this DocumentHtmlDisplaySettings. # noqa: E501

display_page_number

Gets the display_page_number of this DocumentHtmlDisplaySettings. # noqa: E501

# noqa: E501

Returns

The display_page_number of this DocumentHtmlDisplaySettings. # noqa: E501

hide_label_when_opened

Gets the hide_label_when_opened of this DocumentHtmlDisplaySettings. # noqa: E501

# noqa: E501

Returns

The hide_label_when_opened of this DocumentHtmlDisplaySettings. # noqa: E501

inline_outer_style

Gets the inline_outer_style of this DocumentHtmlDisplaySettings. # noqa: E501

# noqa: E501

Returns

The inline_outer_style of this DocumentHtmlDisplaySettings. # noqa: E501

label_when_opened

Gets the label_when_opened of this DocumentHtmlDisplaySettings. # noqa: E501

# noqa: E501

Returns

The label_when_opened of this DocumentHtmlDisplaySettings. # noqa: E501

pre_label

Gets the pre_label of this DocumentHtmlDisplaySettings. # noqa: E501

# noqa: E501

Returns

The pre_label of this DocumentHtmlDisplaySettings. # noqa: E501

scroll_to_top_when_opened

Gets the scroll_to_top_when_opened of this DocumentHtmlDisplaySettings. # noqa: E501

# noqa: E501

Returns

The scroll_to_top_when_opened of this DocumentHtmlDisplaySettings. # noqa: E501

table_style

Gets the table_style of this DocumentHtmlDisplaySettings. # noqa: E501

# noqa: E501

Returns

The table_style of this DocumentHtmlDisplaySettings. # noqa: E501

def to_dict(self)
375    def to_dict(self):
376        """Returns the model properties as a dict"""
377        result = {}
378
379        for attr, _ in six.iteritems(self.swagger_types):
380            value = getattr(self, attr)
381            if isinstance(value, list):
382                result[attr] = list(map(
383                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
384                    value
385                ))
386            elif hasattr(value, "to_dict"):
387                result[attr] = value.to_dict()
388            elif isinstance(value, dict):
389                result[attr] = dict(map(
390                    lambda item: (item[0], item[1].to_dict())
391                    if hasattr(item[1], "to_dict") else item,
392                    value.items()
393                ))
394            else:
395                result[attr] = value
396        if issubclass(DocumentHtmlDisplaySettings, dict):
397            for key, value in self.items():
398                result[key] = value
399
400        return result

Returns the model properties as a dict

def to_str(self)
402    def to_str(self):
403        """Returns the string representation of the model"""
404        return pprint.pformat(self.to_dict())

Returns the string representation of the model