Method: GongAPI::ExternalCrmCallObject#list_invalid_properties

Defined in:
lib/gong_api/models/external_crm_call_object.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



104
105
106
107
108
109
110
111
112
113
114
115
# File 'lib/gong_api/models/external_crm_call_object.rb', line 104

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

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

  invalid_properties
end