Method: AsposePdfCloud::SignatureCustomAppearance#list_invalid_properties

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

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properies with the reasons



161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
# File 'lib/aspose_pdf_cloud/models/signature_custom_appearance.rb', line 161

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

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

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

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

  return invalid_properties
end