AudioCard.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 AudioCard
18  {
22  public AudioCard() { }
23 
27  public AudioCard(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 
45  [JsonProperty(PropertyName = "aspect")]
46  public string Aspect { get; set; }
47 
51  [JsonProperty(PropertyName = "title")]
52  public string Title { get; set; }
53 
57  [JsonProperty(PropertyName = "subtitle")]
58  public string Subtitle { get; set; }
59 
63  [JsonProperty(PropertyName = "text")]
64  public string Text { get; set; }
65 
69  [JsonProperty(PropertyName = "image")]
70  public ThumbnailUrl Image { get; set; }
71 
75  [JsonProperty(PropertyName = "media")]
76  public IList<MediaUrl> Media { get; set; }
77 
81  [JsonProperty(PropertyName = "buttons")]
82  public IList<CardAction> Buttons { get; set; }
83 
88  [JsonProperty(PropertyName = "shareable")]
89  public bool? Shareable { get; set; }
90 
94  [JsonProperty(PropertyName = "autoloop")]
95  public bool? Autoloop { get; set; }
96 
101  [JsonProperty(PropertyName = "autostart")]
102  public bool? Autostart { get; set; }
103 
104  }
105 }
AudioCard()
Initializes a new instance of the AudioCard class.
Definition: AudioCard.cs:22
AudioCard(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 AudioCard class.
Definition: AudioCard.cs:27
Object describing a media thumbnail
Definition: ThumbnailUrl.cs:17