Method: AsposePdfCloud::DiscUsage#list_invalid_properties

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

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properies with the reasons



71
72
73
74
75
76
77
78
79
80
81
82
# File 'lib/aspose_pdf_cloud/models/disc_usage.rb', line 71

def list_invalid_properties
  invalid_properties = Array.new
  if @used_size.nil?
    invalid_properties.push("invalid value for 'used_size', used_size cannot be nil.")
  end

  if @total_size.nil?
    invalid_properties.push("invalid value for 'total_size', total_size cannot be nil.")
  end

  return invalid_properties
end