Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace MediaAsset

Represents the metadata associated with an asset that has been either produced by or registered with Media Services.

Properties

Optional bucketName

bucketName: undefined | string

The name of the object storage bucket where this represented asset is located.

compartmentId

compartmentId: string

The ID of the compartment containing the MediaAsset.

Optional definedTags

definedTags: undefined | object

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {@code {"foo-namespace": {"bar-key": "value"}}}

Optional displayName

displayName: undefined | string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Optional freeformTags

freeformTags: undefined | object

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {@code {"bar-key": "value"}}

id

id: string

Unique identifier that is immutable on creation.

lifecycleState

lifecycleState: LifecycleState

The current state of the MediaAsset.

Optional locks

Locks associated with this resource.

Optional masterMediaAssetId

masterMediaAssetId: undefined | string

The ID of the senior most asset from which this asset is derived.

Optional mediaAssetTags

mediaAssetTags: Array<MediaAssetTag>

List of tags for the MediaAsset.

Optional mediaWorkflowJobId

mediaWorkflowJobId: undefined | string

The ID of the MediaWorkflowJob used to produce this asset.

Optional metadata

metadata: Array<Metadata>

List of Metadata.

Optional namespaceName

namespaceName: undefined | string

The object storage namespace where this asset is located.

Optional objectEtag

objectEtag: undefined | string

eTag of the underlying object storage object.

Optional objectName

objectName: undefined | string

The object storage object name that identifies this asset.

Optional parentMediaAssetId

parentMediaAssetId: undefined | string

The ID of the parent asset from which this asset is derived.

Optional segmentRangeEndIndex

segmentRangeEndIndex: undefined | number

The end index of video segment files. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional segmentRangeStartIndex

segmentRangeStartIndex: undefined | number

The start index for video segment files. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional sourceMediaWorkflowId

sourceMediaWorkflowId: undefined | string

The ID of the MediaWorkflow used to produce this asset.

Optional sourceMediaWorkflowVersion

sourceMediaWorkflowVersion: undefined | number

The version of the MediaWorkflow used to produce this asset. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional systemTags

systemTags: undefined | object

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {@code {"orcl-cloud": {"free-tier-retained": "true"}}}

Optional timeCreated

timeCreated: Date

The time when the MediaAsset was created. An RFC3339 formatted datetime string.

Optional timeUpdated

timeUpdated: Date

The time when the MediaAsset was updated. An RFC3339 formatted datetime string.

type

type: AssetType

The type of the media asset.

Functions

getDeserializedJsonObj

getJsonObj