Class: module:models/ContentResult

module:models/ContentResult()

new module:models/ContentResult()

Constructs a new ContentResult. Result document containing an array of content assets.

Source:

Members

(inner) count :Number

The number of returned documents.

Type:
  • Number
Source:

(inner) data :Array.<module:models/Content>

The array of content assets.

Type:
Source:

(inner) total :Number

The total number of documents.

Type:
  • Number
Source:

Methods

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

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

Optional instance to populate.

Source:
Returns:

The populated ContentResult instance.

Type
module:models/ContentResult