module NluAdapterIntent
Class represents Intent in an IntentCollection
Attributes
name[RW]
utterences[RW]
Public Instance Methods
to_h()
click to toggle source
Convert self to Hash @return [Hash] ruby hash
# File lib/nlu_adapter/intent.rb, line 10 def to_h { :name => @name, :utterences => @utterences } end
to_json()
click to toggle source
Convert self to Json @return [Json] json
# File lib/nlu_adapter/intent.rb, line 20 def to_json to_h.to_json end