Attachment.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 Attachment
18  {
22  public Attachment() { }
23 
27  public Attachment(string contentType = default(string), string contentUrl = default(string), object content = default(object), string name = default(string), string thumbnailUrl = default(string))
28  {
29  ContentType = contentType;
30  ContentUrl = contentUrl;
31  Content = content;
32  Name = name;
33  ThumbnailUrl = thumbnailUrl;
34  }
35 
39  [JsonProperty(PropertyName = "contentType")]
40  public string ContentType { get; set; }
41 
45  [JsonProperty(PropertyName = "contentUrl")]
46  public string ContentUrl { get; set; }
47 
51  [JsonProperty(PropertyName = "content")]
52  public object Content { get; set; }
53 
57  [JsonProperty(PropertyName = "name")]
58  public string Name { get; set; }
59 
63  [JsonProperty(PropertyName = "thumbnailUrl")]
64  public string ThumbnailUrl { get; set; }
65 
66  }
67 }
Attachment(string contentType=default(string), string contentUrl=default(string), object content=default(object), string name=default(string), string thumbnailUrl=default(string))
Initializes a new instance of the Attachment class.
Definition: Attachment.cs:27
Attachment()
Initializes a new instance of the Attachment class.
Definition: Attachment.cs:22
Object describing a media thumbnail
Definition: ThumbnailUrl.cs:17
An attachment within an activity
Definition: Attachment.cs:17