Class: module:model/BucketsItems

module:model/BucketsItems(bucketKey, createdDate, policyKey, theData, obj)

new module:model/BucketsItems(bucketKey, createdDate, policyKey, theData, obj)

Constructs a new BucketsItems.

Parameters:
Name Type Description
bucketKey String

Bucket key

createdDate Integer

Timestamp in epoch time

policyKey module:model/BucketsItems.PolicyKeyEnum

Policy values: transient, temporary or persistent

theData Object

The plain JavaScript object bearing properties of interest.

obj module:model/BucketsItems

Optional instance to populate.

Source:

Members

(static) constructFromObject

Constructs a BucketsItems 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.

Source:

(static, readonly) PolicyKeyEnum :String

Allowed values for the policyKey property.

Type:
  • String
Properties:
Name Type Description
transient String

value: "transient"

temporary String

value: "temporary"

persistent String

value: "persistent"

Source:

(inner) bucketKey :String

Bucket key

Type:
  • String
Source:

(inner) createdDate :Integer

Timestamp in epoch time

Type:
  • Integer
Source:

(inner) policyKey :module:model/BucketsItems.PolicyKeyEnum

Policy values: transient, temporary or persistent

Type:
Source: