Error.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 Error
18  {
22  public Error() { }
23 
27  public Error(string code = default(string), string message = default(string))
28  {
29  Code = code;
30  Message = message;
31  }
32 
36  [JsonProperty(PropertyName = "code")]
37  public string Code { get; set; }
38 
42  [JsonProperty(PropertyName = "message")]
43  public string Message { get; set; }
44 
45  }
46 }
Object representing error information
Definition: Error.cs:17
Error(string code=default(string), string message=default(string))
Initializes a new instance of the Error class.
Definition: Error.cs:27
Error()
Initializes a new instance of the Error class.
Definition: Error.cs:22