Method: GongAPI::ExternalCrmCallObject#valid?
- Defined in:
- lib/gong_api/models/external_crm_call_object.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
119 120 121 122 123 124 125 |
# File 'lib/gong_api/models/external_crm_call_object.rb', line 119 def valid? return false if @object_id.nil? return false if @object_type.nil? object_type_validator = EnumAttributeValidator.new('Object', ['Account', 'Opportunity']) return false unless object_type_validator.valid?(@object_type) true end |