Method: Hubspot::Crm::Objects::PostalMail::BatchInputSimplePublicObjectInputForCreate#list_invalid_properties

Defined in:
lib/hubspot/codegen/crm/objects/postal_mail/models/batch_input_simple_public_object_input_for_create.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons


72
73
74
75
76
77
78
79
# File 'lib/hubspot/codegen/crm/objects/postal_mail/models/batch_input_simple_public_object_input_for_create.rb', line 72

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

  invalid_properties
end