VideoCard.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 VideoCard
18  {
22  public VideoCard() { }
23 
27  public VideoCard(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?), string aspect = default(string))
28  {
29  Aspect = aspect;
30  Title = title;
31  Subtitle = subtitle;
32  Text = text;
33  Image = image;
34  Media = media;
35  Buttons = buttons;
36  Shareable = shareable;
37  Autoloop = autoloop;
38  Autostart = autostart;
39  }
40 
44  [JsonProperty(PropertyName = "aspect")]
45  public string Aspect { get; set; }
46 
50  [JsonProperty(PropertyName = "title")]
51  public string Title { get; set; }
52 
56  [JsonProperty(PropertyName = "subtitle")]
57  public string Subtitle { get; set; }
58 
62  [JsonProperty(PropertyName = "text")]
63  public string Text { get; set; }
64 
68  [JsonProperty(PropertyName = "image")]
69  public ThumbnailUrl Image { get; set; }
70 
74  [JsonProperty(PropertyName = "media")]
75  public IList<MediaUrl> Media { get; set; }
76 
80  [JsonProperty(PropertyName = "buttons")]
81  public IList<CardAction> Buttons { get; set; }
82 
87  [JsonProperty(PropertyName = "shareable")]
88  public bool? Shareable { get; set; }
89 
93  [JsonProperty(PropertyName = "autoloop")]
94  public bool? Autoloop { get; set; }
95 
100  [JsonProperty(PropertyName = "autostart")]
101  public bool? Autostart { get; set; }
102 
103  }
104 }
Object describing a media thumbnail
Definition: ThumbnailUrl.cs:17
VideoCard()
Initializes a new instance of the VideoCard class.
Definition: VideoCard.cs:22
VideoCard(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?), string aspect=default(string))
Initializes a new instance of the VideoCard class.
Definition: VideoCard.cs:27