Skip to main content

DigitalAsset

Description

Immutable record linking a FileRecord (physical payload) to a Product for digital delivery. Supports e-books, media, software downloads, and subscription content. Primary key for object-level ACL control.

Properties

NameTypeDescriptionNotes
productIdUUIDProduct this asset delivers (required link to canonical Product).
productProduct[optional]
fileIdUUIDFileRecord containing the actual payload (e-book, PDF, binary, etc.).
fileFileRecord[optional]
deliveryMethodDeliveryMethodEnumHow the asset is made available to the customer.
accessModelAccessModelEnumLicensing model for this digital asset.[optional]
maxDownloadsIntegerMaximum number of downloads allowed per purchase (-1 = unlimited). Enforced by DownloadAccess entity.[optional]
expiresAfterDaysIntegerDays after purchase before download link expires (-1 = never). Applied when DownloadAccess is created.[optional]
notifyCustomerOnExpiryBooleanSend reminder email when download access is about to expire.[optional]
idUUIDUnique identifier for object in the system[optional] [readonly]
ownerIdUUIDUUID of owner of the object in the system[optional] [readonly]
createdDateOffsetDateTimeDate of object creation[optional] [readonly]
keyHashStringData, including hash of the key(s) used to encrypt this record.[optional] [readonly]
lastAccessedByIdUUIDLast user to access object[optional] [readonly]
lastAccessedDateOffsetDateTimeTimestamp of last access of object[optional] [readonly]
lastModifiedByIdUUIDUnique identifier for user who last modifed the object in the system[optional] [readonly]
lastModifiedDateOffsetDateTimeDate of last object modification[optional] [readonly]

Enum: DeliveryMethodEnum

NameValue
DIRECT_DOWNLOAD"direct_download"
EMAIL_DELIVERY"email_delivery"
PORTAL_ACCESS"portal_access"
STREAMING"streaming"
API_KEY"api_key"

Enum: AccessModelEnum

NameValue
PERPETUAL"perpetual"
SUBSCRIPTION"subscription"
TRIAL"trial"
LICENSE_KEY"license_key"
ONE_TIME"one_time"

Implemented Interfaces

  • Serializable

Generated Version Details

~value
GENERATOR VERSIONcom.valkyrlabs:ValkyrAI API 1.0.1-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2025-12-03T11:13:18.492704-08:00[America/Los_Angeles]