Sdílet prostřednictvím


NotificationPreference Class

Definition

Notification preference for a job stage.

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

Constructors

NotificationPreference(NotificationStageName, Boolean)

Initializes a new instance of NotificationPreference.

Properties

IsNotificationRequired

Notification is required or not.

StageName

Name of the stage.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<NotificationPreference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NotificationPreference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NotificationPreference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NotificationPreference>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NotificationPreference>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to