using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace CommonObj.model { public class Response { [JsonProperty("responseCode")] public string responseCode { get; set; } [JsonProperty("responseMessage")] public string responseMessage { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } public Response() { } public Response(string _responseCode, string _responseMessage) { this.responseCode = _responseCode; this.responseMessage = _responseMessage; } } }