Method: AsposePdfCloud::DiscUsage#valid?

Defined in:
lib/aspose_pdf_cloud/models/disc_usage.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



86
87
88
89
90
# File 'lib/aspose_pdf_cloud/models/disc_usage.rb', line 86

def valid?
  return false if @used_size.nil?
  return false if @total_size.nil?
  return true
end