Method: AsposeCellsCloud::WorksheetOperateParameter#list_invalid_properties

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

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properies with the reasons



95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# File 'lib/aspose_cells_cloud/models/worksheet_operate_parameter.rb', line 95

def list_invalid_properties
  invalid_properties = Array.new
  if @name.nil?
      invalid_properties.push("invalid value for 'name', name cannot be nil.")
  end
  if @sheet_type.nil?
      invalid_properties.push("invalid value for 'sheet_type', sheet_type cannot be nil.")
  end
  if @new_name.nil?
      invalid_properties.push("invalid value for 'new_name', new_name cannot be nil.")
  end
  if @moving_request.nil?
      invalid_properties.push("invalid value for 'moving_request', moving_request cannot be nil.")
  end
  if @operate_type.nil?
      invalid_properties.push("invalid value for 'operate_type', operate_type cannot be nil.")
  end

  return invalid_properties
end