Partager via


NotificationPreference Class

Definition

Notification preference for a job stage.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.NotificationPreferenceTypeConverter))]
public class NotificationPreference : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.INotificationPreference
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.NotificationPreferenceTypeConverter))>]
type NotificationPreference = class
    interface INotificationPreference
    interface IJsonSerializable
Public Class NotificationPreference
Implements INotificationPreference
Inheritance
NotificationPreference
Attributes
Implements

Constructors

NotificationPreference()

Creates an new NotificationPreference instance.

Properties

SendNotification

Notification is required or not.

StageName

Name of the stage.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NotificationPreference.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NotificationPreference.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.INotificationPreference.

FromJsonString(String)

Creates a new instance of NotificationPreference, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of NotificationPreference into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to