Method: AsposeCellsCloud::GoogleDriveStorageFile#list_invalid_properties

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

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properies with the reasons



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# File 'lib/aspose_cells_cloud/models/google_drive_storage_file.rb', line 102

def list_invalid_properties
  invalid_properties = Array.new
  if @mime_type.nil?
      invalid_properties.push("invalid value for 'mime_type', mime_type cannot be nil.")
  end
  if @name.nil?
      invalid_properties.push("invalid value for 'name', name cannot be nil.")
  end
  if @is_folder.nil?
      invalid_properties.push("invalid value for 'is_folder', is_folder cannot be nil.")
  end
  if @modified_date.nil?
      invalid_properties.push("invalid value for 'modified_date', modified_date cannot be nil.")
  end
  if @size.nil?
      invalid_properties.push("invalid value for 'size', size cannot be nil.")
  end
  if @path.nil?
      invalid_properties.push("invalid value for 'path', path cannot be nil.")
  end

  return invalid_properties
end