-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
LineChannelProperties.cs
46 lines (39 loc) · 1.92 KB
/
LineChannelProperties.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using Azure.Core;
namespace Azure.ResourceManager.BotService.Models
{
/// <summary> The parameters to provide for the Line channel. </summary>
public partial class LineChannelProperties
{
/// <summary> Initializes a new instance of LineChannelProperties. </summary>
/// <param name="lineRegistrations"> The list of line channel registrations. </param>
/// <exception cref="ArgumentNullException"> <paramref name="lineRegistrations"/> is null. </exception>
public LineChannelProperties(IEnumerable<LineRegistration> lineRegistrations)
{
Argument.AssertNotNull(lineRegistrations, nameof(lineRegistrations));
LineRegistrations = lineRegistrations.ToList();
}
/// <summary> Initializes a new instance of LineChannelProperties. </summary>
/// <param name="lineRegistrations"> The list of line channel registrations. </param>
/// <param name="callbackUri"> Callback Url to enter in line registration. </param>
/// <param name="isValidated"> Whether this channel is validated for the bot. </param>
internal LineChannelProperties(IList<LineRegistration> lineRegistrations, Uri callbackUri, bool? isValidated)
{
LineRegistrations = lineRegistrations;
CallbackUri = callbackUri;
IsValidated = isValidated;
}
/// <summary> The list of line channel registrations. </summary>
public IList<LineRegistration> LineRegistrations { get; }
/// <summary> Callback Url to enter in line registration. </summary>
public Uri CallbackUri { get; }
/// <summary> Whether this channel is validated for the bot. </summary>
public bool? IsValidated { get; }
}
}