Class: module:models/SuggestedTerms

module:models/SuggestedTerms()

new module:models/SuggestedTerms()

Constructs a new SuggestedTerms. Document representing a list of suggested terms for each term of a search phrase.

Source:

Members

(inner) original_term :String

Returns the original term that the suggested terms relates to.

Type:
  • String
Source:

(inner) terms :Array.<module:models/SuggestedTerm>

Returns the suggested terms.

Type:
Source:

Methods

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

Constructs a SuggestedTerms 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/SuggestedTerms

Optional instance to populate.

Source:
Returns:

The populated SuggestedTerms instance.

Type
module:models/SuggestedTerms