Method: AsposeCellsCloud::ConvertWorkbookOptions#list_invalid_properties

Defined in:
lib/aspose_cells_cloud/models/convert_workbook_options.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properies with the reasons



109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# File 'lib/aspose_cells_cloud/models/convert_workbook_options.rb', line 109

def list_invalid_properties
  invalid_properties = Array.new
  if @name.nil?
      invalid_properties.push("invalid value for 'name', name cannot be nil.")
  end
  if @data_source.nil?
      invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
  end
  if @file_info.nil?
      invalid_properties.push("invalid value for 'file_info', file_info cannot be nil.")
  end
  if @page_setup.nil?
      invalid_properties.push("invalid value for 'page_setup', page_setup cannot be nil.")
  end
  if @save_options.nil?
      invalid_properties.push("invalid value for 'save_options', save_options cannot be nil.")
  end
  if @convert_format.nil?
      invalid_properties.push("invalid value for 'convert_format', convert_format cannot be nil.")
  end
  if @check_excel_restriction.nil?
      invalid_properties.push("invalid value for 'check_excel_restriction', check_excel_restriction cannot be nil.")
  end

  return invalid_properties
end