Share via


RestorableTimeRange Class

Definition

The RestorableTimeRange.

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

Constructors

RestorableTimeRange(DateTimeOffset, DateTimeOffset)

Initializes a new instance of RestorableTimeRange.

Properties

EndOn

End time for the available restore range.

ObjectType

Gets or sets the object type.

StartOn

Start time for the available restore range.

Explicit Interface Implementations

IJsonModel<RestorableTimeRange>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RestorableTimeRange>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RestorableTimeRange>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RestorableTimeRange>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RestorableTimeRange>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to