AnimationCard.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 AnimationCard
18  {
22  public AnimationCard() { }
23 
27  public AnimationCard(string title = default(string), string subtitle = default(string), string text = default(string), ThumbnailUrl image = default(ThumbnailUrl), IList<MediaUrl> media = default(IList<MediaUrl>), IList<CardAction> buttons = default(IList<CardAction>), bool? shareable = default(bool?), bool? autoloop = default(bool?), bool? autostart = default(bool?))
28  {
29  Title = title;
30  Subtitle = subtitle;
31  Text = text;
32  Image = image;
33  Media = media;
34  Buttons = buttons;
35  Shareable = shareable;
36  Autoloop = autoloop;
37  Autostart = autostart;
38  }
39 
43  [JsonProperty(PropertyName = "title")]
44  public string Title { get; set; }
45 
49  [JsonProperty(PropertyName = "subtitle")]
50  public string Subtitle { get; set; }
51 
55  [JsonProperty(PropertyName = "text")]
56  public string Text { get; set; }
57 
61  [JsonProperty(PropertyName = "image")]
62  public ThumbnailUrl Image { get; set; }
63 
67  [JsonProperty(PropertyName = "media")]
68  public IList<MediaUrl> Media { get; set; }
69 
73  [JsonProperty(PropertyName = "buttons")]
74  public IList<CardAction> Buttons { get; set; }
75 
80  [JsonProperty(PropertyName = "shareable")]
81  public bool? Shareable { get; set; }
82 
86  [JsonProperty(PropertyName = "autoloop")]
87  public bool? Autoloop { get; set; }
88 
93  [JsonProperty(PropertyName = "autostart")]
94  public bool? Autostart { get; set; }
95 
96  }
97 }
AnimationCard()
Initializes a new instance of the AnimationCard class.
Object describing a media thumbnail
Definition: ThumbnailUrl.cs:17
AnimationCard(string title=default(string), string subtitle=default(string), string text=default(string), ThumbnailUrl image=default(ThumbnailUrl), IList< MediaUrl > media=default(IList< MediaUrl >), IList< CardAction > buttons=default(IList< CardAction >), bool?shareable=default(bool?), bool?autoloop=default(bool?), bool?autostart=default(bool?))
Initializes a new instance of the AnimationCard class.