Show / Hide Table of Contents

Class MediaAsset

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

Inheritance
object
MediaAsset
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.MediaservicesService.Models
Assembly: OCI.DotNetSDK.Mediaservices.dll
Syntax
public class MediaAsset

Properties

BucketName

Declaration
[JsonProperty(PropertyName = "bucketName")]
public string BucketName { get; set; }
Property Value
Type Description
string

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

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The ID of the compartment containing the MediaAsset.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

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

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

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

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

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

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

Unique identifier that is immutable on creation.

Remarks

Required

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleState? LifecycleState { get; set; }
Property Value
Type Description
LifecycleState?

The current state of the MediaAsset.

Remarks

Required

Locks

Declaration
[JsonProperty(PropertyName = "locks")]
public List<ResourceLock> Locks { get; set; }
Property Value
Type Description
List<ResourceLock>

Locks associated with this resource.

MasterMediaAssetId

Declaration
[JsonProperty(PropertyName = "masterMediaAssetId")]
public string MasterMediaAssetId { get; set; }
Property Value
Type Description
string

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

MediaAssetTags

Declaration
[JsonProperty(PropertyName = "mediaAssetTags")]
public List<MediaAssetTag> MediaAssetTags { get; set; }
Property Value
Type Description
List<MediaAssetTag>

List of tags for the MediaAsset.

MediaWorkflowJobId

Declaration
[JsonProperty(PropertyName = "mediaWorkflowJobId")]
public string MediaWorkflowJobId { get; set; }
Property Value
Type Description
string

The ID of the MediaWorkflowJob used to produce this asset.

Metadata

Declaration
[JsonProperty(PropertyName = "metadata")]
public List<Metadata> Metadata { get; set; }
Property Value
Type Description
List<Metadata>

List of Metadata.

NamespaceName

Declaration
[JsonProperty(PropertyName = "namespaceName")]
public string NamespaceName { get; set; }
Property Value
Type Description
string

The object storage namespace where this asset is located.

ObjectEtag

Declaration
[JsonProperty(PropertyName = "objectEtag")]
public string ObjectEtag { get; set; }
Property Value
Type Description
string

eTag of the underlying object storage object.

ObjectName

Declaration
[JsonProperty(PropertyName = "objectName")]
public string ObjectName { get; set; }
Property Value
Type Description
string

The object storage object name that identifies this asset.

ParentMediaAssetId

Declaration
[JsonProperty(PropertyName = "parentMediaAssetId")]
public string ParentMediaAssetId { get; set; }
Property Value
Type Description
string

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

SegmentRangeEndIndex

Declaration
[JsonProperty(PropertyName = "segmentRangeEndIndex")]
public long? SegmentRangeEndIndex { get; set; }
Property Value
Type Description
long?

The end index of video segment files.

SegmentRangeStartIndex

Declaration
[JsonProperty(PropertyName = "segmentRangeStartIndex")]
public long? SegmentRangeStartIndex { get; set; }
Property Value
Type Description
long?

The start index for video segment files.

SourceMediaWorkflowId

Declaration
[JsonProperty(PropertyName = "sourceMediaWorkflowId")]
public string SourceMediaWorkflowId { get; set; }
Property Value
Type Description
string

The ID of the MediaWorkflow used to produce this asset.

SourceMediaWorkflowVersion

Declaration
[JsonProperty(PropertyName = "sourceMediaWorkflowVersion")]
public long? SourceMediaWorkflowVersion { get; set; }
Property Value
Type Description
long?

The version of the MediaWorkflow used to produce this asset.

SystemTags

Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

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

TimeCreated

Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

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

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

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

Type

Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AssetType? Type { get; set; }
Property Value
Type Description
AssetType?

The type of the media asset.

Remarks

Required

In this article
Back to top