Class: AsposeCellsCloud::PivotTable

Inherits:
Object
  • Object
show all
Defined in:
lib/aspose_cells_cloud/models/pivot_table.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ PivotTable

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 325

def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

  # convert string to symbol for hash key
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}

  if attributes.has_key?(:'AltTextDescription')
      self.alt_text_description = attributes[:'AltTextDescription']
  end
  if attributes.has_key?(:'AltTextTitle')
      self.alt_text_title = attributes[:'AltTextTitle']
  end
  if attributes.has_key?(:'AutoFormatType')
      self.auto_format_type = attributes[:'AutoFormatType']
  end
  if attributes.has_key?(:'BaseFields')
      self.base_fields = attributes[:'BaseFields']
  end
  if attributes.has_key?(:'ColumnFields')
      self.column_fields = attributes[:'ColumnFields']
  end
  if attributes.has_key?(:'ColumnGrand')
      self.column_grand = attributes[:'ColumnGrand']
  end
  if attributes.has_key?(:'ColumnHeaderCaption')
      self.column_header_caption = attributes[:'ColumnHeaderCaption']
  end
  if attributes.has_key?(:'ColumnRange')
      self.column_range = attributes[:'ColumnRange']
  end
  if attributes.has_key?(:'CustomListSort')
      self.custom_list_sort = attributes[:'CustomListSort']
  end
  if attributes.has_key?(:'DataBodyRange')
      self.data_body_range = attributes[:'DataBodyRange']
  end
  if attributes.has_key?(:'DataField')
      self.data_field = attributes[:'DataField']
  end
  if attributes.has_key?(:'DataFields')
      self.data_fields = attributes[:'DataFields']
  end
  if attributes.has_key?(:'DataSource')
      self.data_source = attributes[:'DataSource']
  end
  if attributes.has_key?(:'DisplayErrorString')
      self.display_error_string = attributes[:'DisplayErrorString']
  end
  if attributes.has_key?(:'DisplayImmediateItems')
      self.display_immediate_items = attributes[:'DisplayImmediateItems']
  end
  if attributes.has_key?(:'DisplayNullString')
      self.display_null_string = attributes[:'DisplayNullString']
  end
  if attributes.has_key?(:'EnableDataValueEditing')
      self.enable_data_value_editing = attributes[:'EnableDataValueEditing']
  end
  if attributes.has_key?(:'EnableDrilldown')
      self.enable_drilldown = attributes[:'EnableDrilldown']
  end
  if attributes.has_key?(:'EnableFieldDialog')
      self.enable_field_dialog = attributes[:'EnableFieldDialog']
  end
  if attributes.has_key?(:'EnableFieldList')
      self.enable_field_list = attributes[:'EnableFieldList']
  end
  if attributes.has_key?(:'EnableWizard')
      self.enable_wizard = attributes[:'EnableWizard']
  end
  if attributes.has_key?(:'ErrorString')
      self.error_string = attributes[:'ErrorString']
  end
  if attributes.has_key?(:'FieldListSortAscending')
      self.field_list_sort_ascending = attributes[:'FieldListSortAscending']
  end
  if attributes.has_key?(:'GrandTotalName')
      self.grand_total_name = attributes[:'GrandTotalName']
  end
  if attributes.has_key?(:'HasBlankRows')
      self.has_blank_rows = attributes[:'HasBlankRows']
  end
  if attributes.has_key?(:'Indent')
      self.indent = attributes[:'Indent']
  end
  if attributes.has_key?(:'IsAutoFormat')
      self.is_auto_format = attributes[:'IsAutoFormat']
  end
  if attributes.has_key?(:'IsGridDropZones')
      self.is_grid_drop_zones = attributes[:'IsGridDropZones']
  end
  if attributes.has_key?(:'IsMultipleFieldFilters')
      self.is_multiple_field_filters = attributes[:'IsMultipleFieldFilters']
  end
  if attributes.has_key?(:'IsSelected')
      self.is_selected = attributes[:'IsSelected']
  end
  if attributes.has_key?(:'ItemPrintTitles')
      self.item_print_titles = attributes[:'ItemPrintTitles']
  end
  if attributes.has_key?(:'ManualUpdate')
      self.manual_update = attributes[:'ManualUpdate']
  end
  if attributes.has_key?(:'MergeLabels')
      self.merge_labels = attributes[:'MergeLabels']
  end
  if attributes.has_key?(:'MissingItemsLimit')
      self.missing_items_limit = attributes[:'MissingItemsLimit']
  end
  if attributes.has_key?(:'Name')
      self.name = attributes[:'Name']
  end
  if attributes.has_key?(:'NullString')
      self.null_string = attributes[:'NullString']
  end
  if attributes.has_key?(:'PageFieldOrder')
      self.page_field_order = attributes[:'PageFieldOrder']
  end
  if attributes.has_key?(:'PageFields')
      self.page_fields = attributes[:'PageFields']
  end
  if attributes.has_key?(:'PageFieldWrapCount')
      self.page_field_wrap_count = attributes[:'PageFieldWrapCount']
  end
  if attributes.has_key?(:'PivotFilters')
      self.pivot_filters = attributes[:'PivotFilters']
  end
  if attributes.has_key?(:'PivotTableStyleName')
      self.pivot_table_style_name = attributes[:'PivotTableStyleName']
  end
  if attributes.has_key?(:'PivotTableStyleType')
      self.pivot_table_style_type = attributes[:'PivotTableStyleType']
  end
  if attributes.has_key?(:'PreserveFormatting')
      self.preserve_formatting = attributes[:'PreserveFormatting']
  end
  if attributes.has_key?(:'PrintDrill')
      self.print_drill = attributes[:'PrintDrill']
  end
  if attributes.has_key?(:'PrintTitles')
      self.print_titles = attributes[:'PrintTitles']
  end
  if attributes.has_key?(:'RefreshDataFlag')
      self.refresh_data_flag = attributes[:'RefreshDataFlag']
  end
  if attributes.has_key?(:'RefreshDataOnOpeningFile')
      self.refresh_data_on_opening_file = attributes[:'RefreshDataOnOpeningFile']
  end
  if attributes.has_key?(:'RowFields')
      self.row_fields = attributes[:'RowFields']
  end
  if attributes.has_key?(:'RowGrand')
      self.row_grand = attributes[:'RowGrand']
  end
  if attributes.has_key?(:'RowHeaderCaption')
      self.row_header_caption = attributes[:'RowHeaderCaption']
  end
  if attributes.has_key?(:'RowRange')
      self.row_range = attributes[:'RowRange']
  end
  if attributes.has_key?(:'SaveData')
      self.save_data = attributes[:'SaveData']
  end
  if attributes.has_key?(:'ShowDataTips')
      self.show_data_tips = attributes[:'ShowDataTips']
  end
  if attributes.has_key?(:'ShowDrill')
      self.show_drill = attributes[:'ShowDrill']
  end
  if attributes.has_key?(:'ShowEmptyCol')
      self.show_empty_col = attributes[:'ShowEmptyCol']
  end
  if attributes.has_key?(:'ShowEmptyRow')
      self.show_empty_row = attributes[:'ShowEmptyRow']
  end
  if attributes.has_key?(:'ShowMemberPropertyTips')
      self.show_member_property_tips = attributes[:'ShowMemberPropertyTips']
  end
  if attributes.has_key?(:'ShowPivotStyleColumnHeader')
      self.show_pivot_style_column_header = attributes[:'ShowPivotStyleColumnHeader']
  end
  if attributes.has_key?(:'ShowPivotStyleColumnStripes')
      self.show_pivot_style_column_stripes = attributes[:'ShowPivotStyleColumnStripes']
  end
  if attributes.has_key?(:'ShowPivotStyleLastColumn')
      self.show_pivot_style_last_column = attributes[:'ShowPivotStyleLastColumn']
  end
  if attributes.has_key?(:'ShowPivotStyleRowHeader')
      self.show_pivot_style_row_header = attributes[:'ShowPivotStyleRowHeader']
  end
  if attributes.has_key?(:'ShowPivotStyleRowStripes')
      self.show_pivot_style_row_stripes = attributes[:'ShowPivotStyleRowStripes']
  end
  if attributes.has_key?(:'ShowRowHeaderCaption')
      self.show_row_header_caption = attributes[:'ShowRowHeaderCaption']
  end
  if attributes.has_key?(:'ShowValuesRow')
      self.show_values_row = attributes[:'ShowValuesRow']
  end
  if attributes.has_key?(:'SubtotalHiddenPageItems')
      self.subtotal_hidden_page_items = attributes[:'SubtotalHiddenPageItems']
  end
  if attributes.has_key?(:'TableRange1')
      self.table_range1 = attributes[:'TableRange1']
  end
  if attributes.has_key?(:'TableRange2')
      self.table_range2 = attributes[:'TableRange2']
  end
  if attributes.has_key?(:'Tag')
      self.tag = attributes[:'Tag']
  end
  if attributes.has_key?(:'link')
      self.link = attributes[:'link']
  end

end

Instance Attribute Details

#alt_text_descriptionObject

Returns the value of attribute alt_text_description.



35
36
37
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 35

def alt_text_description
  @alt_text_description
end

#alt_text_titleObject

Returns the value of attribute alt_text_title.



37
38
39
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 37

def alt_text_title
  @alt_text_title
end

#auto_format_typeObject

Returns the value of attribute auto_format_type.



39
40
41
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 39

def auto_format_type
  @auto_format_type
end

#base_fieldsObject

Returns the value of attribute base_fields.



41
42
43
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 41

def base_fields
  @base_fields
end

#column_fieldsObject

Returns the value of attribute column_fields.



43
44
45
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 43

def column_fields
  @column_fields
end

#column_grandObject

Returns the value of attribute column_grand.



45
46
47
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 45

def column_grand
  @column_grand
end

#column_header_captionObject

Returns the value of attribute column_header_caption.



47
48
49
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 47

def column_header_caption
  @column_header_caption
end

#column_rangeObject

Returns the value of attribute column_range.



49
50
51
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 49

def column_range
  @column_range
end

#custom_list_sortObject

Returns the value of attribute custom_list_sort.



51
52
53
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 51

def custom_list_sort
  @custom_list_sort
end

#data_body_rangeObject

Returns the value of attribute data_body_range.



53
54
55
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 53

def data_body_range
  @data_body_range
end

#data_fieldObject

Returns the value of attribute data_field.



55
56
57
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 55

def data_field
  @data_field
end

#data_fieldsObject

Returns the value of attribute data_fields.



57
58
59
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 57

def data_fields
  @data_fields
end

#data_sourceObject

Returns the value of attribute data_source.



59
60
61
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 59

def data_source
  @data_source
end

#display_error_stringObject

Returns the value of attribute display_error_string.



61
62
63
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 61

def display_error_string
  @display_error_string
end

#display_immediate_itemsObject

Returns the value of attribute display_immediate_items.



63
64
65
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 63

def display_immediate_items
  @display_immediate_items
end

#display_null_stringObject

Returns the value of attribute display_null_string.



65
66
67
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 65

def display_null_string
  @display_null_string
end

#enable_data_value_editingObject

Returns the value of attribute enable_data_value_editing.



67
68
69
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 67

def enable_data_value_editing
  @enable_data_value_editing
end

#enable_drilldownObject

Returns the value of attribute enable_drilldown.



69
70
71
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 69

def enable_drilldown
  @enable_drilldown
end

#enable_field_dialogObject

Returns the value of attribute enable_field_dialog.



71
72
73
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 71

def enable_field_dialog
  @enable_field_dialog
end

#enable_field_listObject

Returns the value of attribute enable_field_list.



73
74
75
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 73

def enable_field_list
  @enable_field_list
end

#enable_wizardObject

Returns the value of attribute enable_wizard.



75
76
77
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 75

def enable_wizard
  @enable_wizard
end

#error_stringObject

Returns the value of attribute error_string.



77
78
79
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 77

def error_string
  @error_string
end

#field_list_sort_ascendingObject

Returns the value of attribute field_list_sort_ascending.



79
80
81
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 79

def field_list_sort_ascending
  @field_list_sort_ascending
end

#grand_total_nameObject

Returns the value of attribute grand_total_name.



81
82
83
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 81

def grand_total_name
  @grand_total_name
end

#has_blank_rowsObject

Returns the value of attribute has_blank_rows.



83
84
85
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 83

def has_blank_rows
  @has_blank_rows
end

#indentObject

Returns the value of attribute indent.



85
86
87
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 85

def indent
  @indent
end

#is_auto_formatObject

Returns the value of attribute is_auto_format.



87
88
89
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 87

def is_auto_format
  @is_auto_format
end

#is_grid_drop_zonesObject

Returns the value of attribute is_grid_drop_zones.



89
90
91
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 89

def is_grid_drop_zones
  @is_grid_drop_zones
end

#is_multiple_field_filtersObject

Returns the value of attribute is_multiple_field_filters.



91
92
93
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 91

def is_multiple_field_filters
  @is_multiple_field_filters
end

#is_selectedObject

Returns the value of attribute is_selected.



93
94
95
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 93

def is_selected
  @is_selected
end

#item_print_titlesObject

Returns the value of attribute item_print_titles.



95
96
97
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 95

def item_print_titles
  @item_print_titles
end

Returns the value of attribute link.



171
172
173
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 171

def link
  @link
end

#manual_updateObject

Returns the value of attribute manual_update.



97
98
99
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 97

def manual_update
  @manual_update
end

#merge_labelsObject

Returns the value of attribute merge_labels.



99
100
101
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 99

def merge_labels
  @merge_labels
end

#missing_items_limitObject

Returns the value of attribute missing_items_limit.



101
102
103
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 101

def missing_items_limit
  @missing_items_limit
end

#nameObject

Represents pivot table name.



103
104
105
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 103

def name
  @name
end

#null_stringObject

Returns the value of attribute null_string.



105
106
107
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 105

def null_string
  @null_string
end

#page_field_orderObject

Returns the value of attribute page_field_order.



107
108
109
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 107

def page_field_order
  @page_field_order
end

#page_field_wrap_countObject

Returns the value of attribute page_field_wrap_count.



111
112
113
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 111

def page_field_wrap_count
  @page_field_wrap_count
end

#page_fieldsObject

Returns the value of attribute page_fields.



109
110
111
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 109

def page_fields
  @page_fields
end

#pivot_filtersObject

Returns the value of attribute pivot_filters.



113
114
115
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 113

def pivot_filters
  @pivot_filters
end

#pivot_table_style_nameObject

Returns the value of attribute pivot_table_style_name.



115
116
117
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 115

def pivot_table_style_name
  @pivot_table_style_name
end

#pivot_table_style_typeObject

Returns the value of attribute pivot_table_style_type.



117
118
119
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 117

def pivot_table_style_type
  @pivot_table_style_type
end

#preserve_formattingObject

Returns the value of attribute preserve_formatting.



119
120
121
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 119

def preserve_formatting
  @preserve_formatting
end

Returns the value of attribute print_drill.



121
122
123
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 121

def print_drill
  @print_drill
end

Returns the value of attribute print_titles.



123
124
125
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 123

def print_titles
  @print_titles
end

#refresh_data_flagObject

Returns the value of attribute refresh_data_flag.



125
126
127
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 125

def refresh_data_flag
  @refresh_data_flag
end

#refresh_data_on_opening_fileObject

Returns the value of attribute refresh_data_on_opening_file.



127
128
129
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 127

def refresh_data_on_opening_file
  @refresh_data_on_opening_file
end

#row_fieldsObject

Returns the value of attribute row_fields.



129
130
131
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 129

def row_fields
  @row_fields
end

#row_grandObject

Returns the value of attribute row_grand.



131
132
133
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 131

def row_grand
  @row_grand
end

#row_header_captionObject

Returns the value of attribute row_header_caption.



133
134
135
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 133

def row_header_caption
  @row_header_caption
end

#row_rangeObject

Returns the value of attribute row_range.



135
136
137
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 135

def row_range
  @row_range
end

#save_dataObject

Returns the value of attribute save_data.



137
138
139
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 137

def save_data
  @save_data
end

#show_data_tipsObject

Returns the value of attribute show_data_tips.



139
140
141
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 139

def show_data_tips
  @show_data_tips
end

#show_drillObject

Returns the value of attribute show_drill.



141
142
143
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 141

def show_drill
  @show_drill
end

#show_empty_colObject

Returns the value of attribute show_empty_col.



143
144
145
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 143

def show_empty_col
  @show_empty_col
end

#show_empty_rowObject

Returns the value of attribute show_empty_row.



145
146
147
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 145

def show_empty_row
  @show_empty_row
end

#show_member_property_tipsObject

Returns the value of attribute show_member_property_tips.



147
148
149
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 147

def show_member_property_tips
  @show_member_property_tips
end

#show_pivot_style_column_headerObject

Returns the value of attribute show_pivot_style_column_header.



149
150
151
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 149

def show_pivot_style_column_header
  @show_pivot_style_column_header
end

#show_pivot_style_column_stripesObject

Returns the value of attribute show_pivot_style_column_stripes.



151
152
153
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 151

def show_pivot_style_column_stripes
  @show_pivot_style_column_stripes
end

#show_pivot_style_last_columnObject

Returns the value of attribute show_pivot_style_last_column.



153
154
155
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 153

def show_pivot_style_last_column
  @show_pivot_style_last_column
end

#show_pivot_style_row_headerObject

Returns the value of attribute show_pivot_style_row_header.



155
156
157
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 155

def show_pivot_style_row_header
  @show_pivot_style_row_header
end

#show_pivot_style_row_stripesObject

Returns the value of attribute show_pivot_style_row_stripes.



157
158
159
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 157

def show_pivot_style_row_stripes
  @show_pivot_style_row_stripes
end

#show_row_header_captionObject

Returns the value of attribute show_row_header_caption.



159
160
161
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 159

def show_row_header_caption
  @show_row_header_caption
end

#show_values_rowObject

Returns the value of attribute show_values_row.



161
162
163
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 161

def show_values_row
  @show_values_row
end

#subtotal_hidden_page_itemsObject

Returns the value of attribute subtotal_hidden_page_items.



163
164
165
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 163

def subtotal_hidden_page_items
  @subtotal_hidden_page_items
end

#table_range1Object

Returns the value of attribute table_range1.



165
166
167
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 165

def table_range1
  @table_range1
end

#table_range2Object

Returns the value of attribute table_range2.



167
168
169
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 167

def table_range2
  @table_range2
end

#tagObject

Returns the value of attribute tag.



169
170
171
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 169

def tag
  @tag
end

Class Method Details

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 174

def self.attribute_map
  {
    :'alt_text_description' => :'AltTextDescription',
    :'alt_text_title' => :'AltTextTitle',
    :'auto_format_type' => :'AutoFormatType',
    :'base_fields' => :'BaseFields',
    :'column_fields' => :'ColumnFields',
    :'column_grand' => :'ColumnGrand',
    :'column_header_caption' => :'ColumnHeaderCaption',
    :'column_range' => :'ColumnRange',
    :'custom_list_sort' => :'CustomListSort',
    :'data_body_range' => :'DataBodyRange',
    :'data_field' => :'DataField',
    :'data_fields' => :'DataFields',
    :'data_source' => :'DataSource',
    :'display_error_string' => :'DisplayErrorString',
    :'display_immediate_items' => :'DisplayImmediateItems',
    :'display_null_string' => :'DisplayNullString',
    :'enable_data_value_editing' => :'EnableDataValueEditing',
    :'enable_drilldown' => :'EnableDrilldown',
    :'enable_field_dialog' => :'EnableFieldDialog',
    :'enable_field_list' => :'EnableFieldList',
    :'enable_wizard' => :'EnableWizard',
    :'error_string' => :'ErrorString',
    :'field_list_sort_ascending' => :'FieldListSortAscending',
    :'grand_total_name' => :'GrandTotalName',
    :'has_blank_rows' => :'HasBlankRows',
    :'indent' => :'Indent',
    :'is_auto_format' => :'IsAutoFormat',
    :'is_grid_drop_zones' => :'IsGridDropZones',
    :'is_multiple_field_filters' => :'IsMultipleFieldFilters',
    :'is_selected' => :'IsSelected',
    :'item_print_titles' => :'ItemPrintTitles',
    :'manual_update' => :'ManualUpdate',
    :'merge_labels' => :'MergeLabels',
    :'missing_items_limit' => :'MissingItemsLimit',
    :'name' => :'Name',
    :'null_string' => :'NullString',
    :'page_field_order' => :'PageFieldOrder',
    :'page_fields' => :'PageFields',
    :'page_field_wrap_count' => :'PageFieldWrapCount',
    :'pivot_filters' => :'PivotFilters',
    :'pivot_table_style_name' => :'PivotTableStyleName',
    :'pivot_table_style_type' => :'PivotTableStyleType',
    :'preserve_formatting' => :'PreserveFormatting',
    :'print_drill' => :'PrintDrill',
    :'print_titles' => :'PrintTitles',
    :'refresh_data_flag' => :'RefreshDataFlag',
    :'refresh_data_on_opening_file' => :'RefreshDataOnOpeningFile',
    :'row_fields' => :'RowFields',
    :'row_grand' => :'RowGrand',
    :'row_header_caption' => :'RowHeaderCaption',
    :'row_range' => :'RowRange',
    :'save_data' => :'SaveData',
    :'show_data_tips' => :'ShowDataTips',
    :'show_drill' => :'ShowDrill',
    :'show_empty_col' => :'ShowEmptyCol',
    :'show_empty_row' => :'ShowEmptyRow',
    :'show_member_property_tips' => :'ShowMemberPropertyTips',
    :'show_pivot_style_column_header' => :'ShowPivotStyleColumnHeader',
    :'show_pivot_style_column_stripes' => :'ShowPivotStyleColumnStripes',
    :'show_pivot_style_last_column' => :'ShowPivotStyleLastColumn',
    :'show_pivot_style_row_header' => :'ShowPivotStyleRowHeader',
    :'show_pivot_style_row_stripes' => :'ShowPivotStyleRowStripes',
    :'show_row_header_caption' => :'ShowRowHeaderCaption',
    :'show_values_row' => :'ShowValuesRow',
    :'subtotal_hidden_page_items' => :'SubtotalHiddenPageItems',
    :'table_range1' => :'TableRange1',
    :'table_range2' => :'TableRange2',
    :'tag' => :'Tag',
    :'link' => :'link'
  }
end

.swagger_typesObject

Attribute type mapping.



249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 249

def self.swagger_types
  {
    :'alt_text_description' => :'String',
    :'alt_text_title' => :'String',
    :'auto_format_type' => :'String',
    :'base_fields' => :'Array<PivotField>',
    :'column_fields' => :'Array<PivotField>',
    :'column_grand' => :'BOOLEAN',
    :'column_header_caption' => :'String',
    :'column_range' => :'CellArea',
    :'custom_list_sort' => :'BOOLEAN',
    :'data_body_range' => :'CellArea',
    :'data_field' => :'PivotField',
    :'data_fields' => :'Array<PivotField>',
    :'data_source' => :'Array<String>',
    :'display_error_string' => :'BOOLEAN',
    :'display_immediate_items' => :'BOOLEAN',
    :'display_null_string' => :'BOOLEAN',
    :'enable_data_value_editing' => :'BOOLEAN',
    :'enable_drilldown' => :'BOOLEAN',
    :'enable_field_dialog' => :'BOOLEAN',
    :'enable_field_list' => :'BOOLEAN',
    :'enable_wizard' => :'BOOLEAN',
    :'error_string' => :'String',
    :'field_list_sort_ascending' => :'BOOLEAN',
    :'grand_total_name' => :'String',
    :'has_blank_rows' => :'BOOLEAN',
    :'indent' => :'Integer',
    :'is_auto_format' => :'BOOLEAN',
    :'is_grid_drop_zones' => :'BOOLEAN',
    :'is_multiple_field_filters' => :'BOOLEAN',
    :'is_selected' => :'BOOLEAN',
    :'item_print_titles' => :'BOOLEAN',
    :'manual_update' => :'BOOLEAN',
    :'merge_labels' => :'BOOLEAN',
    :'missing_items_limit' => :'String',
    :'name' => :'String',
    :'null_string' => :'String',
    :'page_field_order' => :'String',
    :'page_fields' => :'Array<PivotField>',
    :'page_field_wrap_count' => :'Integer',
    :'pivot_filters' => :'Array<PivotFilter>',
    :'pivot_table_style_name' => :'String',
    :'pivot_table_style_type' => :'String',
    :'preserve_formatting' => :'BOOLEAN',
    :'print_drill' => :'BOOLEAN',
    :'print_titles' => :'BOOLEAN',
    :'refresh_data_flag' => :'BOOLEAN',
    :'refresh_data_on_opening_file' => :'BOOLEAN',
    :'row_fields' => :'Array<PivotField>',
    :'row_grand' => :'BOOLEAN',
    :'row_header_caption' => :'String',
    :'row_range' => :'CellArea',
    :'save_data' => :'BOOLEAN',
    :'show_data_tips' => :'BOOLEAN',
    :'show_drill' => :'BOOLEAN',
    :'show_empty_col' => :'BOOLEAN',
    :'show_empty_row' => :'BOOLEAN',
    :'show_member_property_tips' => :'BOOLEAN',
    :'show_pivot_style_column_header' => :'BOOLEAN',
    :'show_pivot_style_column_stripes' => :'BOOLEAN',
    :'show_pivot_style_last_column' => :'BOOLEAN',
    :'show_pivot_style_row_header' => :'BOOLEAN',
    :'show_pivot_style_row_stripes' => :'BOOLEAN',
    :'show_row_header_caption' => :'BOOLEAN',
    :'show_values_row' => :'BOOLEAN',
    :'subtotal_hidden_page_items' => :'BOOLEAN',
    :'table_range1' => :'CellArea',
    :'table_range2' => :'CellArea',
    :'tag' => :'String',
    :'link' => :'Link'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 833

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      alt_text_description == o.alt_text_description &&
      alt_text_title == o.alt_text_title &&
      auto_format_type == o.auto_format_type &&
      base_fields == o.base_fields &&
      column_fields == o.column_fields &&
      column_grand == o.column_grand &&
      column_header_caption == o.column_header_caption &&
      column_range == o.column_range &&
      custom_list_sort == o.custom_list_sort &&
      data_body_range == o.data_body_range &&
      data_field == o.data_field &&
      data_fields == o.data_fields &&
      data_source == o.data_source &&
      display_error_string == o.display_error_string &&
      display_immediate_items == o.display_immediate_items &&
      display_null_string == o.display_null_string &&
      enable_data_value_editing == o.enable_data_value_editing &&
      enable_drilldown == o.enable_drilldown &&
      enable_field_dialog == o.enable_field_dialog &&
      enable_field_list == o.enable_field_list &&
      enable_wizard == o.enable_wizard &&
      error_string == o.error_string &&
      field_list_sort_ascending == o.field_list_sort_ascending &&
      grand_total_name == o.grand_total_name &&
      has_blank_rows == o.has_blank_rows &&
      indent == o.indent &&
      is_auto_format == o.is_auto_format &&
      is_grid_drop_zones == o.is_grid_drop_zones &&
      is_multiple_field_filters == o.is_multiple_field_filters &&
      is_selected == o.is_selected &&
      item_print_titles == o.item_print_titles &&
      manual_update == o.manual_update &&
      merge_labels == o.merge_labels &&
      missing_items_limit == o.missing_items_limit &&
      name == o.name &&
      null_string == o.null_string &&
      page_field_order == o.page_field_order &&
      page_fields == o.page_fields &&
      page_field_wrap_count == o.page_field_wrap_count &&
      pivot_filters == o.pivot_filters &&
      pivot_table_style_name == o.pivot_table_style_name &&
      pivot_table_style_type == o.pivot_table_style_type &&
      preserve_formatting == o.preserve_formatting &&
      print_drill == o.print_drill &&
      print_titles == o.print_titles &&
      refresh_data_flag == o.refresh_data_flag &&
      refresh_data_on_opening_file == o.refresh_data_on_opening_file &&
      row_fields == o.row_fields &&
      row_grand == o.row_grand &&
      row_header_caption == o.row_header_caption &&
      row_range == o.row_range &&
      save_data == o.save_data &&
      show_data_tips == o.show_data_tips &&
      show_drill == o.show_drill &&
      show_empty_col == o.show_empty_col &&
      show_empty_row == o.show_empty_row &&
      show_member_property_tips == o.show_member_property_tips &&
      show_pivot_style_column_header == o.show_pivot_style_column_header &&
      show_pivot_style_column_stripes == o.show_pivot_style_column_stripes &&
      show_pivot_style_last_column == o.show_pivot_style_last_column &&
      show_pivot_style_row_header == o.show_pivot_style_row_header &&
      show_pivot_style_row_stripes == o.show_pivot_style_row_stripes &&
      show_row_header_caption == o.show_row_header_caption &&
      show_values_row == o.show_values_row &&
      subtotal_hidden_page_items == o.subtotal_hidden_page_items &&
      table_range1 == o.table_range1 &&
      table_range2 == o.table_range2 &&
      tag == o.tag &&
      link == o.link 
      std_dev == o.std_dev
end

#_deserialize(type, value) ⇒ Object

Deserializes the data based on type

Parameters:

  • string

    type Data type

  • string

    value Value to be deserialized

Returns:

  • (Object)

    Deserialized data



944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 944

def _deserialize(type, value)
  case type.to_sym
  when :DateTime
    DateTime.parse(value)
  when :Date
    Date.parse(value)
  when :String
    value.to_s
  when :Integer
    value.to_i
  when :Float
    value.to_f
  when :BOOLEAN
    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
      true
    else
      false
    end
  when :Object
    # generic object (usually a Hash), return directly
    value
  when /\AArray<(?<inner_type>.+)>\z/
    inner_type = Regexp.last_match[:inner_type]
    value.map { |v| _deserialize(inner_type, v) }
  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    k_type = Regexp.last_match[:k_type]
    v_type = Regexp.last_match[:v_type]
    {}.tap do |hash|
      value.each do |k, v|
        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
      end
    end
  else # model
    temp_model = AsposeCellsCloud.const_get(type).new
    temp_model.build_from_hash(value)
  end
end

#_to_hash(value) ⇒ Hash

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

Parameters:

  • value (Object)

    Any valid value

Returns:

  • (Hash)

    Returns the value in the form of hash



1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 1010

def _to_hash(value)
  if value.is_a?(Array)
    value.compact.map{ |v| _to_hash(v) }
  elsif value.is_a?(Hash)
    {}.tap do |hash|
      value.each { |k, v| hash[k] = _to_hash(v) }
    end
  elsif value.respond_to? :to_hash
    value.to_hash
  else
    value
  end
end

#build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 923

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)
  self.class.swagger_types.each_pair do |key, type|
    if type =~ /\AArray<(.*)>/i
      # check to ensure the input is an array given that the the attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
    end # or else data not found in attributes(hash), not an issue as the data can be optional
  end

  self
end

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


910
911
912
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 910

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



916
917
918
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 916

def hash
  [ alt_text_description , alt_text_title , auto_format_type , base_fields , column_fields , column_grand , column_header_caption , column_range , custom_list_sort , data_body_range , data_field , data_fields , data_source , display_error_string , display_immediate_items , display_null_string , enable_data_value_editing , enable_drilldown , enable_field_dialog , enable_field_list , enable_wizard , error_string , field_list_sort_ascending , grand_total_name , has_blank_rows , indent , is_auto_format , is_grid_drop_zones , is_multiple_field_filters , is_selected , item_print_titles , manual_update , merge_labels , missing_items_limit , name , null_string , page_field_order , page_fields , page_field_wrap_count , pivot_filters , pivot_table_style_name , pivot_table_style_type , preserve_formatting , print_drill , print_titles , refresh_data_flag , refresh_data_on_opening_file , row_fields , row_grand , row_header_caption , row_range , save_data , show_data_tips , show_drill , show_empty_col , show_empty_row , show_member_property_tips , show_pivot_style_column_header , show_pivot_style_column_stripes , show_pivot_style_last_column , show_pivot_style_row_header , show_pivot_style_row_stripes , show_row_header_caption , show_values_row , subtotal_hidden_page_items , table_range1 , table_range2 , tag , link ].hash
end

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properies with the reasons



543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 543

def list_invalid_properties
  invalid_properties = Array.new
  if @alt_text_description.nil?
      invalid_properties.push("invalid value for 'alt_text_description', alt_text_description cannot be nil.")
  end
  if @alt_text_title.nil?
      invalid_properties.push("invalid value for 'alt_text_title', alt_text_title cannot be nil.")
  end
  if @auto_format_type.nil?
      invalid_properties.push("invalid value for 'auto_format_type', auto_format_type cannot be nil.")
  end
  if @base_fields.nil?
      invalid_properties.push("invalid value for 'base_fields', base_fields cannot be nil.")
  end
  if @column_fields.nil?
      invalid_properties.push("invalid value for 'column_fields', column_fields cannot be nil.")
  end
  if @column_grand.nil?
      invalid_properties.push("invalid value for 'column_grand', column_grand cannot be nil.")
  end
  if @column_header_caption.nil?
      invalid_properties.push("invalid value for 'column_header_caption', column_header_caption cannot be nil.")
  end
  if @column_range.nil?
      invalid_properties.push("invalid value for 'column_range', column_range cannot be nil.")
  end
  if @custom_list_sort.nil?
      invalid_properties.push("invalid value for 'custom_list_sort', custom_list_sort cannot be nil.")
  end
  if @data_body_range.nil?
      invalid_properties.push("invalid value for 'data_body_range', data_body_range cannot be nil.")
  end
  if @data_field.nil?
      invalid_properties.push("invalid value for 'data_field', data_field cannot be nil.")
  end
  if @data_fields.nil?
      invalid_properties.push("invalid value for 'data_fields', data_fields cannot be nil.")
  end
  if @data_source.nil?
      invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
  end
  if @display_error_string.nil?
      invalid_properties.push("invalid value for 'display_error_string', display_error_string cannot be nil.")
  end
  if @display_immediate_items.nil?
      invalid_properties.push("invalid value for 'display_immediate_items', display_immediate_items cannot be nil.")
  end
  if @display_null_string.nil?
      invalid_properties.push("invalid value for 'display_null_string', display_null_string cannot be nil.")
  end
  if @enable_data_value_editing.nil?
      invalid_properties.push("invalid value for 'enable_data_value_editing', enable_data_value_editing cannot be nil.")
  end
  if @enable_drilldown.nil?
      invalid_properties.push("invalid value for 'enable_drilldown', enable_drilldown cannot be nil.")
  end
  if @enable_field_dialog.nil?
      invalid_properties.push("invalid value for 'enable_field_dialog', enable_field_dialog cannot be nil.")
  end
  if @enable_field_list.nil?
      invalid_properties.push("invalid value for 'enable_field_list', enable_field_list cannot be nil.")
  end
  if @enable_wizard.nil?
      invalid_properties.push("invalid value for 'enable_wizard', enable_wizard cannot be nil.")
  end
  if @error_string.nil?
      invalid_properties.push("invalid value for 'error_string', error_string cannot be nil.")
  end
  if @field_list_sort_ascending.nil?
      invalid_properties.push("invalid value for 'field_list_sort_ascending', field_list_sort_ascending cannot be nil.")
  end
  if @grand_total_name.nil?
      invalid_properties.push("invalid value for 'grand_total_name', grand_total_name cannot be nil.")
  end
  if @has_blank_rows.nil?
      invalid_properties.push("invalid value for 'has_blank_rows', has_blank_rows cannot be nil.")
  end
  if @indent.nil?
      invalid_properties.push("invalid value for 'indent', indent cannot be nil.")
  end
  if @is_auto_format.nil?
      invalid_properties.push("invalid value for 'is_auto_format', is_auto_format cannot be nil.")
  end
  if @is_grid_drop_zones.nil?
      invalid_properties.push("invalid value for 'is_grid_drop_zones', is_grid_drop_zones cannot be nil.")
  end
  if @is_multiple_field_filters.nil?
      invalid_properties.push("invalid value for 'is_multiple_field_filters', is_multiple_field_filters cannot be nil.")
  end
  if @is_selected.nil?
      invalid_properties.push("invalid value for 'is_selected', is_selected cannot be nil.")
  end
  if @item_print_titles.nil?
      invalid_properties.push("invalid value for 'item_print_titles', item_print_titles cannot be nil.")
  end
  if @manual_update.nil?
      invalid_properties.push("invalid value for 'manual_update', manual_update cannot be nil.")
  end
  if @merge_labels.nil?
      invalid_properties.push("invalid value for 'merge_labels', merge_labels cannot be nil.")
  end
  if @missing_items_limit.nil?
      invalid_properties.push("invalid value for 'missing_items_limit', missing_items_limit cannot be nil.")
  end
  if @name.nil?
      invalid_properties.push("invalid value for 'name', name cannot be nil.")
  end
  if @null_string.nil?
      invalid_properties.push("invalid value for 'null_string', null_string cannot be nil.")
  end
  if @page_field_order.nil?
      invalid_properties.push("invalid value for 'page_field_order', page_field_order cannot be nil.")
  end
  if @page_fields.nil?
      invalid_properties.push("invalid value for 'page_fields', page_fields cannot be nil.")
  end
  if @page_field_wrap_count.nil?
      invalid_properties.push("invalid value for 'page_field_wrap_count', page_field_wrap_count cannot be nil.")
  end
  if @pivot_filters.nil?
      invalid_properties.push("invalid value for 'pivot_filters', pivot_filters cannot be nil.")
  end
  if @pivot_table_style_name.nil?
      invalid_properties.push("invalid value for 'pivot_table_style_name', pivot_table_style_name cannot be nil.")
  end
  if @pivot_table_style_type.nil?
      invalid_properties.push("invalid value for 'pivot_table_style_type', pivot_table_style_type cannot be nil.")
  end
  if @preserve_formatting.nil?
      invalid_properties.push("invalid value for 'preserve_formatting', preserve_formatting cannot be nil.")
  end
  if @print_drill.nil?
      invalid_properties.push("invalid value for 'print_drill', print_drill cannot be nil.")
  end
  if @print_titles.nil?
      invalid_properties.push("invalid value for 'print_titles', print_titles cannot be nil.")
  end
  if @refresh_data_flag.nil?
      invalid_properties.push("invalid value for 'refresh_data_flag', refresh_data_flag cannot be nil.")
  end
  if @refresh_data_on_opening_file.nil?
      invalid_properties.push("invalid value for 'refresh_data_on_opening_file', refresh_data_on_opening_file cannot be nil.")
  end
  if @row_fields.nil?
      invalid_properties.push("invalid value for 'row_fields', row_fields cannot be nil.")
  end
  if @row_grand.nil?
      invalid_properties.push("invalid value for 'row_grand', row_grand cannot be nil.")
  end
  if @row_header_caption.nil?
      invalid_properties.push("invalid value for 'row_header_caption', row_header_caption cannot be nil.")
  end
  if @row_range.nil?
      invalid_properties.push("invalid value for 'row_range', row_range cannot be nil.")
  end
  if @save_data.nil?
      invalid_properties.push("invalid value for 'save_data', save_data cannot be nil.")
  end
  if @show_data_tips.nil?
      invalid_properties.push("invalid value for 'show_data_tips', show_data_tips cannot be nil.")
  end
  if @show_drill.nil?
      invalid_properties.push("invalid value for 'show_drill', show_drill cannot be nil.")
  end
  if @show_empty_col.nil?
      invalid_properties.push("invalid value for 'show_empty_col', show_empty_col cannot be nil.")
  end
  if @show_empty_row.nil?
      invalid_properties.push("invalid value for 'show_empty_row', show_empty_row cannot be nil.")
  end
  if @show_member_property_tips.nil?
      invalid_properties.push("invalid value for 'show_member_property_tips', show_member_property_tips cannot be nil.")
  end
  if @show_pivot_style_column_header.nil?
      invalid_properties.push("invalid value for 'show_pivot_style_column_header', show_pivot_style_column_header cannot be nil.")
  end
  if @show_pivot_style_column_stripes.nil?
      invalid_properties.push("invalid value for 'show_pivot_style_column_stripes', show_pivot_style_column_stripes cannot be nil.")
  end
  if @show_pivot_style_last_column.nil?
      invalid_properties.push("invalid value for 'show_pivot_style_last_column', show_pivot_style_last_column cannot be nil.")
  end
  if @show_pivot_style_row_header.nil?
      invalid_properties.push("invalid value for 'show_pivot_style_row_header', show_pivot_style_row_header cannot be nil.")
  end
  if @show_pivot_style_row_stripes.nil?
      invalid_properties.push("invalid value for 'show_pivot_style_row_stripes', show_pivot_style_row_stripes cannot be nil.")
  end
  if @show_row_header_caption.nil?
      invalid_properties.push("invalid value for 'show_row_header_caption', show_row_header_caption cannot be nil.")
  end
  if @show_values_row.nil?
      invalid_properties.push("invalid value for 'show_values_row', show_values_row cannot be nil.")
  end
  if @subtotal_hidden_page_items.nil?
      invalid_properties.push("invalid value for 'subtotal_hidden_page_items', subtotal_hidden_page_items cannot be nil.")
  end
  if @table_range1.nil?
      invalid_properties.push("invalid value for 'table_range1', table_range1 cannot be nil.")
  end
  if @table_range2.nil?
      invalid_properties.push("invalid value for 'table_range2', table_range2 cannot be nil.")
  end
  if @tag.nil?
      invalid_properties.push("invalid value for 'tag', tag cannot be nil.")
  end
  if @link.nil?
      invalid_properties.push("invalid value for 'link', link cannot be nil.")
  end

  return invalid_properties
end

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



990
991
992
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 990

def to_body
  to_hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



996
997
998
999
1000
1001
1002
1003
1004
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 996

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    next if value.nil?
    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



984
985
986
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 984

def to_s
  to_hash.to_s
end

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 758

def valid?
  return false if @alt_text_description.nil?
  return false if @alt_text_title.nil?
  return false if @auto_format_type.nil?
  return false if @base_fields.nil?
  return false if @column_fields.nil?
  return false if @column_grand.nil?
  return false if @column_header_caption.nil?
  return false if @column_range.nil?
  return false if @custom_list_sort.nil?
  return false if @data_body_range.nil?
  return false if @data_field.nil?
  return false if @data_fields.nil?
  return false if @data_source.nil?
  return false if @display_error_string.nil?
  return false if @display_immediate_items.nil?
  return false if @display_null_string.nil?
  return false if @enable_data_value_editing.nil?
  return false if @enable_drilldown.nil?
  return false if @enable_field_dialog.nil?
  return false if @enable_field_list.nil?
  return false if @enable_wizard.nil?
  return false if @error_string.nil?
  return false if @field_list_sort_ascending.nil?
  return false if @grand_total_name.nil?
  return false if @has_blank_rows.nil?
  return false if @indent.nil?
  return false if @is_auto_format.nil?
  return false if @is_grid_drop_zones.nil?
  return false if @is_multiple_field_filters.nil?
  return false if @is_selected.nil?
  return false if @item_print_titles.nil?
  return false if @manual_update.nil?
  return false if @merge_labels.nil?
  return false if @missing_items_limit.nil?
  return false if @name.nil?
  return false if @null_string.nil?
  return false if @page_field_order.nil?
  return false if @page_fields.nil?
  return false if @page_field_wrap_count.nil?
  return false if @pivot_filters.nil?
  return false if @pivot_table_style_name.nil?
  return false if @pivot_table_style_type.nil?
  return false if @preserve_formatting.nil?
  return false if @print_drill.nil?
  return false if @print_titles.nil?
  return false if @refresh_data_flag.nil?
  return false if @refresh_data_on_opening_file.nil?
  return false if @row_fields.nil?
  return false if @row_grand.nil?
  return false if @row_header_caption.nil?
  return false if @row_range.nil?
  return false if @save_data.nil?
  return false if @show_data_tips.nil?
  return false if @show_drill.nil?
  return false if @show_empty_col.nil?
  return false if @show_empty_row.nil?
  return false if @show_member_property_tips.nil?
  return false if @show_pivot_style_column_header.nil?
  return false if @show_pivot_style_column_stripes.nil?
  return false if @show_pivot_style_last_column.nil?
  return false if @show_pivot_style_row_header.nil?
  return false if @show_pivot_style_row_stripes.nil?
  return false if @show_row_header_caption.nil?
  return false if @show_values_row.nil?
  return false if @subtotal_hidden_page_items.nil?
  return false if @table_range1.nil?
  return false if @table_range2.nil?
  return false if @tag.nil?
  return false if @link.nil?
  return true
end