Share via


MediaJobInputFile Class

Definition

An InputDefinition for a single file. TrackSelections are scoped to the file specified.

public class MediaJobInputFile : Azure.ResourceManager.Media.Models.MediaJobInputDefinition, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Media.Models.MediaJobInputFile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Media.Models.MediaJobInputFile>
type MediaJobInputFile = class
    inherit MediaJobInputDefinition
    interface IJsonModel<MediaJobInputFile>
    interface IPersistableModel<MediaJobInputFile>
Public Class MediaJobInputFile
Inherits MediaJobInputDefinition
Implements IJsonModel(Of MediaJobInputFile), IPersistableModel(Of MediaJobInputFile)
Inheritance
System.Object
MediaJobInputFile
Implements
System.ClientModel.Primitives.IJsonModel<MediaJobInputFile> System.ClientModel.Primitives.IPersistableModel<MediaJobInputFile> System.ClientModel.Primitives.IPersistableModel<T>

Constructors

MediaJobInputFile()

Initializes a new instance of MediaJobInputFile.

Properties

Filename

Name of the file that this input definition applies to.

IncludedTracks

The list of TrackDescriptors which define the metadata and selection of tracks in the input. Please note TrackDescriptor is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AudioTrackDescriptor, SelectAudioTrackByAttribute, SelectAudioTrackById, SelectVideoTrackByAttribute, SelectVideoTrackById and VideoTrackDescriptor.

(Inherited from MediaJobInputDefinition)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MediaJobInputDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from MediaJobInputDefinition)
IJsonModel<MediaJobInputDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided System.Text.Json.Utf8JsonWriter.

(Inherited from MediaJobInputDefinition)
IJsonModel<MediaJobInputFile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MediaJobInputFile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided System.Text.Json.Utf8JsonWriter.

IPersistableModel<MediaJobInputDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.BinaryData into a model.

(Inherited from MediaJobInputDefinition)
IPersistableModel<MediaJobInputDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from MediaJobInputDefinition)
IPersistableModel<MediaJobInputDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a System.BinaryData.

(Inherited from MediaJobInputDefinition)
IPersistableModel<MediaJobInputFile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.BinaryData into a model.

IPersistableModel<MediaJobInputFile>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MediaJobInputFile>.Write(ModelReaderWriterOptions)

Writes the model into a System.BinaryData.

Applies to