Поделиться через


LabServicesRecurrencePattern Class

Definition

Recurrence pattern of a lab schedule.

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

Constructors

LabServicesRecurrencePattern(LabServicesRecurrenceFrequency, DateTimeOffset)

Initializes a new instance of LabServicesRecurrencePattern.

Properties

ExpireOn

When the recurrence will expire. This date is inclusive.

Frequency

The frequency of the recurrence.

Interval

The interval to invoke the schedule on. For example, interval = 2 and RecurrenceFrequency.Daily will run every 2 days. When no interval is supplied, an interval of 1 is used.

WeekDays

The week days the schedule runs. Used for when the Frequency is set to Weekly.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<LabServicesRecurrencePattern>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LabServicesRecurrencePattern>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LabServicesRecurrencePattern>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LabServicesRecurrencePattern>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LabServicesRecurrencePattern>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to