Show / Hide Table of Contents

Class DeleteMediaAssetRequest

Inheritance
object
DeleteMediaAssetRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.MediaservicesService.Requests
Assembly: OCI.DotNetSDK.Mediaservices.dll
Syntax
public class DeleteMediaAssetRequest : IOciRequest
Examples

Click here to see an example of how to use DeleteMediaAsset request.

Properties

DeleteMode

Declaration
[HttpConverter(TargetEnum.Query, "deleteMode")]
public DeleteMode? DeleteMode { get; set; }
Property Value
Type Description
DeleteMode?

DeleteMode decides whether to delete all the immediate children or all assets with the asset's ID as their masterMediaAssetId.

IfMatch

Declaration
[HttpConverter(TargetEnum.Header, "if-match")]
public string IfMatch { get; set; }
Property Value
Type Description
string

For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

IsLockOverride

Declaration
[HttpConverter(TargetEnum.Query, "isLockOverride")]
public bool? IsLockOverride { get; set; }
Property Value
Type Description
bool?

Whether to override locks (if any exist).

MediaAssetId

Declaration
[Required(ErrorMessage = "MediaAssetId is required.")]
[HttpConverter(TargetEnum.Path, "mediaAssetId")]
public string MediaAssetId { get; set; }
Property Value
Type Description
string

Unique MediaAsset identifier

Remarks

Required

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

The client request ID for tracing.

Implements

IOciRequest
In this article
Back to top