Method: GongAPI::ContentSelector#valid?

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

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



110
111
112
113
114
# File 'lib/gong_api/models/content_selector.rb', line 110

def valid?
  context_validator = EnumAttributeValidator.new('Object', ['Basic', 'Extended', 'None'])
  return false unless context_validator.valid?(@context)
  true
end