Class: module:model/PostBucketsPayload

module:model/PostBucketsPayload(bucketKey, policyKey, theData, obj)

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

Constructs a new PostBucketsPayload. Bucket Payload Body Structure

Parameters:
Name Type Description
bucketKey String

Bucket key

policyKey module:model/PostBucketsPayload.PolicyKeyEnum

Data retention policy Acceptable values: transient, temporary or persistent

theData Object

The plain JavaScript object bearing properties of interest.

obj module:model/PostBucketsPayload

Optional instance to populate.

Source:

Members

(static) constructFromObject

Constructs a PostBucketsPayload 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) allow :Array.<module:model/PostBucketsPayloadAllow>

Type:
Source:

(inner) bucketKey :String

Bucket key

Type:
  • String
Source:

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

Data retention policy Acceptable values: transient, temporary or persistent

Type:
Source: