Class: module:models/SpellingSuggestion

module:models/SpellingSuggestion()

new module:models/SpellingSuggestion()

Constructs a new SpellingSuggestion.

Source:

Members

(inner) query :String

Type:
  • String
Source:

(inner) suggestion :String

Type:
  • String
Source:

Methods

(static) constructFromObject(data, obj) → {module:models/SpellingSuggestion}

Constructs a SpellingSuggestion from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj module:models/SpellingSuggestion

Optional instance to populate.

Source:
Returns:

The populated SpellingSuggestion instance.

Type
module:models/SpellingSuggestion