다음을 통해 공유


EmailChannel Class

Definition

Email channel definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.EmailChannelTypeConverter))]
public class EmailChannel : Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.IEmailChannel, Microsoft.Azure.PowerShell.Cmdlets.BotService.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BotService.Models.Api20220615Preview.EmailChannelTypeConverter))>]
type EmailChannel = class
    interface IEmailChannel
    interface IJsonSerializable
    interface IChannel
    interface IValidates
Public Class EmailChannel
Implements IEmailChannel, IValidates
Inheritance
EmailChannel
Attributes
Implements

Constructors

EmailChannel()

Creates an new EmailChannel instance.

Properties

AuthMethod

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

EmailAddress

The email address

Etag

Entity Tag of the resource

IsEnabled

Whether this channel is enabled for the bot

Location

Specifies the location of the resource.

MagicCode

The magic code for setting up the modern authentication.

Name

The channel name

Password

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

ProvisioningState

Provisioning state of the resource

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EmailChannel.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EmailChannel.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EmailChannel into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to