Partilhar via


UploadFileContent Class

Definition

File content associated with the file under a workspace.

public class UploadFileContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Support.Models.UploadFileContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Support.Models.UploadFileContent>
type UploadFileContent = class
    interface IJsonModel<UploadFileContent>
    interface IPersistableModel<UploadFileContent>
Public Class UploadFileContent
Implements IJsonModel(Of UploadFileContent), IPersistableModel(Of UploadFileContent)
Inheritance
UploadFileContent
Implements

Constructors

UploadFileContent()

Initializes a new instance of UploadFileContent.

Properties

ChunkIndex

Index of the uploaded chunk (Index starts at 0).

Content

File Content in base64 encoded format.

Explicit Interface Implementations

IJsonModel<UploadFileContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<UploadFileContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UploadFileContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UploadFileContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<UploadFileContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to