Class CreateMediaAssetDetails
The information about new MediaAsset.
Inherited Members
Namespace: Oci.MediaservicesService.Models
Assembly: OCI.DotNetSDK.Mediaservices.dll
Syntax
public class CreateMediaAssetDetails
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 asset is located. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Compartment Identifier. |
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 | Display name for the Media Asset. Does not have to be unique. 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"} |
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 for 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. |
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(StringEnumConverter))]
public AssetType? Type { get; set; }
Property Value
Type | Description |
---|---|
AssetType? | The type of the media asset. |
Remarks
Required