KeyList

KeyList

new KeyList()

Version:
  • 1.0

The KeyList model module.

Members

items :Array.<KeyListItems>

List of keys

Type:

cursor :String

Last cursor record

Type:
  • String

Methods

(static) constructFromObject(data, obj) → {KeyList}

Constructs a KeyList 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 KeyList

Optional instance to populate.

Returns:

The populated KeyList instance.

Type
KeyList

KeyList

new KeyList(items, cursor)

Constructs a new KeyList. List of keys

Parameters:
Name Type Description
items Array.<KeyListItems>

List of keys

cursor String

Last cursor record

Members

items :Array.<KeyListItems>

List of keys

Type:

cursor :String

Last cursor record

Type:
  • String

Methods

(static) constructFromObject(data, obj) → {KeyList}

Constructs a KeyList 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 KeyList

Optional instance to populate.

Returns:

The populated KeyList instance.

Type
KeyList