Method: AsposeCellsCloud::GoogleDriveStorageFile#valid?

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

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



128
129
130
131
132
133
134
135
136
# File 'lib/aspose_cells_cloud/models/google_drive_storage_file.rb', line 128

def valid?
  return false if @mime_type.nil?
  return false if @name.nil?
  return false if @is_folder.nil?
  return false if @modified_date.nil?
  return false if @size.nil?
  return false if @path.nil?
  return true
end