AttachmentData.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 AttachmentData
18  {
22  public AttachmentData() { }
23 
27  public AttachmentData(string type = default(string), string name = default(string), byte[] originalBase64 = default(byte[]), byte[] thumbnailBase64 = default(byte[]))
28  {
29  Type = type;
30  Name = name;
31  OriginalBase64 = originalBase64;
32  ThumbnailBase64 = thumbnailBase64;
33  }
34 
38  [JsonProperty(PropertyName = "type")]
39  public string Type { get; set; }
40 
44  [JsonProperty(PropertyName = "name")]
45  public string Name { get; set; }
46 
50  [JsonProperty(PropertyName = "originalBase64")]
51  public byte[] OriginalBase64 { get; set; }
52 
56  [JsonProperty(PropertyName = "thumbnailBase64")]
57  public byte[] ThumbnailBase64 { get; set; }
58 
59  }
60 }
AttachmentData()
Initializes a new instance of the AttachmentData class.
AttachmentData(string type=default(string), string name=default(string), byte[] originalBase64=default(byte[]), byte[] thumbnailBase64=default(byte[]))
Initializes a new instance of the AttachmentData class.