Udostępnij za pośrednictwem


TimePeriod Class

Definition

A duration of time during which an event is happening.

public class TimePeriod : System.ClientModel.Primitives.IJsonModel<Azure.Health.Insights.RadiologyInsights.TimePeriod>, System.ClientModel.Primitives.IPersistableModel<Azure.Health.Insights.RadiologyInsights.TimePeriod>
type TimePeriod = class
    interface IJsonModel<TimePeriod>
    interface IPersistableModel<TimePeriod>
Public Class TimePeriod
Implements IJsonModel(Of TimePeriod), IPersistableModel(Of TimePeriod)
Inheritance
TimePeriod
Implements

Constructors

TimePeriod()

Initializes a new instance of TimePeriod.

Properties

End

End time with inclusive boundary, if not ongoing.

Start

Starting time with inclusive boundary.

Explicit Interface Implementations

IJsonModel<TimePeriod>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TimePeriod>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TimePeriod>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TimePeriod>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TimePeriod>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to