CollectionAddAssetsRequest

data class CollectionAddAssetsRequest(val collectionId: String, val assetIds: List<String>, val mode: String, val groupName: String, val streamName: String = "astream")

Request to associate existing asset identifiers with a collection.

Constructors

Link copied to clipboard
constructor(collectionId: String, assetIds: List<String>, mode: String, groupName: String, streamName: String = "astream")

Properties

Link copied to clipboard

asset identifiers to associate

Link copied to clipboard

target collection identifier

Link copied to clipboard

collection group name

Link copied to clipboard

collection mode

Link copied to clipboard

stream name

Functions

Link copied to clipboard
fun toMap(): Map<String, Any?>

Converts this request to its wire-field map.

Link copied to clipboard
fun validate()

Validates required identifiers and the non-empty asset list.