Share via


EmailChannelProperties Class

Definition

The parameters to provide for the Email channel.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.EmailChannelPropertiesTypeConverter))]
public class EmailChannelProperties : Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IEmailChannelProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.EmailChannelPropertiesTypeConverter))>]
type EmailChannelProperties = class
    interface IEmailChannelProperties
    interface IJsonSerializable
Public Class EmailChannelProperties
Implements IEmailChannelProperties
Inheritance
EmailChannelProperties
Attributes
Implements

Constructors

EmailChannelProperties()

Creates an new EmailChannelProperties instance.

Properties

AuthMethod

Email channel auth method. 0 Password (Default); 1 Graph.

EmailAddress

The email address

IsEnabled

Whether this channel is enabled for the bot

MagicCode

The magic code for setting up the modern authentication.

Password

The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EmailChannelProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EmailChannelProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IEmailChannelProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EmailChannelProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to