new module:models/SuggestedTerm()
Constructs a new SuggestedTerm
.
Document representing a suggested term.
- Source:
Members
(inner) completed :Boolean
Returns whether this term value is a completion match.
Type:
- Boolean
- Source:
(inner) corrected :Boolean
Returns whether this term value is a correction match.
Type:
- Boolean
- Source:
(inner) exact_match :Boolean
Returns whether this term value is a exact match.
Type:
- Boolean
- Source:
(inner) value :String
Returns the term value.
Type:
- String
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/SuggestedTerm}
Constructs a SuggestedTerm
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/SuggestedTerm | Optional instance to populate. |
- Source:
Returns:
The populated SuggestedTerm
instance.