ThumbnailCard.cs
1 // Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2 // Changes may cause incorrect behavior and will be lost if the code is
3 // regenerated.
4 
5 namespace Microsoft.Bot.Connector
6 {
7  using System;
8  using System.Linq;
9  using System.Collections.Generic;
10  using Newtonsoft.Json;
11  using Microsoft.Rest;
12  using Microsoft.Rest.Serialization;
13 
17  public partial class ThumbnailCard
18  {
22  public ThumbnailCard() { }
23 
27  public ThumbnailCard(string title = default(string), string subtitle = default(string), string text = default(string), IList<CardImage> images = default(IList<CardImage>), IList<CardAction> buttons = default(IList<CardAction>), CardAction tap = default(CardAction))
28  {
29  Title = title;
30  Subtitle = subtitle;
31  Text = text;
32  Images = images;
33  Buttons = buttons;
34  Tap = tap;
35  }
36 
40  [JsonProperty(PropertyName = "title")]
41  public string Title { get; set; }
42 
46  [JsonProperty(PropertyName = "subtitle")]
47  public string Subtitle { get; set; }
48 
52  [JsonProperty(PropertyName = "text")]
53  public string Text { get; set; }
54 
58  [JsonProperty(PropertyName = "images")]
59  public IList<CardImage> Images { get; set; }
60 
64  [JsonProperty(PropertyName = "buttons")]
65  public IList<CardAction> Buttons { get; set; }
66 
70  [JsonProperty(PropertyName = "tap")]
71  public CardAction Tap { get; set; }
72 
73  }
74 }
ThumbnailCard(string title=default(string), string subtitle=default(string), string text=default(string), IList< CardImage > images=default(IList< CardImage >), IList< CardAction > buttons=default(IList< CardAction >), CardAction tap=default(CardAction))
Initializes a new instance of the ThumbnailCard class.
ThumbnailCard()
Initializes a new instance of the ThumbnailCard class.