-
Notifications
You must be signed in to change notification settings - Fork 25
/
O365ConnectorCardMultichoiceInput.cs
87 lines (79 loc) · 3.61 KB
/
O365ConnectorCardMultichoiceInput.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Microsoft.Bot.Schema.Teams
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// O365 connector card multiple choice input
/// </summary>
public partial class O365ConnectorCardMultichoiceInput : O365ConnectorCardInputBase
{
/// <summary>
/// Initializes a new instance of the O365ConnectorCardMultichoiceInput
/// class.
/// </summary>
public O365ConnectorCardMultichoiceInput()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the O365ConnectorCardMultichoiceInput
/// class.
/// </summary>
/// <param name="type">Input type name. Possible values include:
/// 'textInput', 'dateInput', 'multichoiceInput'</param>
/// <param name="id">Input Id. It must be unique per entire O365
/// connector card.</param>
/// <param name="isRequired">Define if this input is a required field.
/// Default value is false.</param>
/// <param name="title">Input title that will be shown as the
/// placeholder</param>
/// <param name="value">Default value for this input field</param>
/// <param name="choices">Set of choices whose each item can be in any
/// subtype of O365ConnectorCardMultichoiceInputChoice.</param>
/// <param name="style">Choice item rendering style. Default value is
/// 'compact'. Possible values include: 'compact', 'expanded'</param>
/// <param name="isMultiSelect">Define if this input field allows
/// multiple selections. Default value is false.</param>
public O365ConnectorCardMultichoiceInput(string type = default(string), string id = default(string), bool? isRequired = default(bool?), string title = default(string), string value = default(string), IList<O365ConnectorCardMultichoiceInputChoice> choices = default(IList<O365ConnectorCardMultichoiceInputChoice>), string style = default(string), bool? isMultiSelect = default(bool?))
: base(type, id, isRequired, title, value)
{
Choices = choices;
Style = style;
IsMultiSelect = isMultiSelect;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// Gets or sets set of choices whose each item can be in any subtype
/// of O365ConnectorCardMultichoiceInputChoice.
/// </summary>
[JsonProperty(PropertyName = "choices")]
public IList<O365ConnectorCardMultichoiceInputChoice> Choices { get; set; }
/// <summary>
/// Gets or sets choice item rendering style. Default value is
/// 'compact'. Possible values include: 'compact', 'expanded'
/// </summary>
[JsonProperty(PropertyName = "style")]
public string Style { get; set; }
/// <summary>
/// Gets or sets define if this input field allows multiple selections.
/// Default value is false.
/// </summary>
[JsonProperty(PropertyName = "isMultiSelect")]
public bool? IsMultiSelect { get; set; }
}
}