Udostępnij za pośrednictwem


RestoreFileSpec Class

Definition

Restore file spec.

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

Constructors

RestoreFileSpec()

Initializes a new instance of RestoreFileSpec.

Properties

IsDirectory

Restore file spec isdir.

Path

Restore file spec path.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RestoreFileSpec>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RestoreFileSpec>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RestoreFileSpec>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RestoreFileSpec>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RestoreFileSpec>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to