-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
MsTeamsChannelProperties.cs
50 lines (45 loc) · 2.51 KB
/
MsTeamsChannelProperties.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.BotService.Models
{
/// <summary> The parameters to provide for the Microsoft Teams channel. </summary>
public partial class MsTeamsChannelProperties
{
/// <summary> Initializes a new instance of MsTeamsChannelProperties. </summary>
/// <param name="isEnabled"> Whether this channel is enabled for the bot. </param>
public MsTeamsChannelProperties(bool isEnabled)
{
IsEnabled = isEnabled;
}
/// <summary> Initializes a new instance of MsTeamsChannelProperties. </summary>
/// <param name="isCallingEnabled"> Enable calling for Microsoft Teams channel. </param>
/// <param name="callingWebhook"> Webhook for Microsoft Teams channel calls. </param>
/// <param name="isEnabled"> Whether this channel is enabled for the bot. </param>
/// <param name="incomingCallRoute"> Webhook for Microsoft Teams channel calls. </param>
/// <param name="deploymentEnvironment"> Deployment environment for Microsoft Teams channel calls. </param>
/// <param name="acceptedTerms"> Whether this channel accepted terms. </param>
internal MsTeamsChannelProperties(bool? isCallingEnabled, string callingWebhook, bool isEnabled, string incomingCallRoute, string deploymentEnvironment, bool? acceptedTerms)
{
IsCallingEnabled = isCallingEnabled;
CallingWebhook = callingWebhook;
IsEnabled = isEnabled;
IncomingCallRoute = incomingCallRoute;
DeploymentEnvironment = deploymentEnvironment;
AcceptedTerms = acceptedTerms;
}
/// <summary> Enable calling for Microsoft Teams channel. </summary>
public bool? IsCallingEnabled { get; set; }
/// <summary> Webhook for Microsoft Teams channel calls. </summary>
public string CallingWebhook { get; set; }
/// <summary> Whether this channel is enabled for the bot. </summary>
public bool IsEnabled { get; set; }
/// <summary> Webhook for Microsoft Teams channel calls. </summary>
public string IncomingCallRoute { get; set; }
/// <summary> Deployment environment for Microsoft Teams channel calls. </summary>
public string DeploymentEnvironment { get; set; }
/// <summary> Whether this channel accepted terms. </summary>
public bool? AcceptedTerms { get; set; }
}
}