Class: module:models/ContentSearchRefinementValue

module:models/ContentSearchRefinementValue()

new module:models/ContentSearchRefinementValue()

Constructs a new ContentSearchRefinementValue. Document representing a search refinement value.

Source:

Members

(inner) description :String

The localized description of the refinement value.

Type:
  • String
Source:

(inner) hit_count :Number

The number of search hits (0 or more) when selecting the refinement value.

Type:
  • Number
Source:

(inner) label :String

The localized label of the refinement value.

Type:
  • String
Source:

(inner) presentation_id :String

The optional presentation id associated with the refinement value. The presentation id can be used, for example, to associate an id with an HTML widget.

Type:
  • String
Source:

(inner) value :String

The refinement value. In the case of an attribute refinement, this is the bucket, the attribute value, or a value range. In the case of a content folder refinement, this is the folder id.

Type:
  • String
Source:

(inner) values :Array.<module:models/ContentSearchRefinementValue>

The array of hierarchical refinement values. This array can be empty.

Type:
Source:

Methods

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

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

Optional instance to populate.

Source:
Returns:

The populated ContentSearchRefinementValue instance.

Type
module:models/ContentSearchRefinementValue