using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; namespace IO.Swagger.Model { /// /// /// [DataContract] public class BaseModel { /// /// Gets or Sets CreatedAt /// [DataMember(Name="created_at", EmitDefaultValue=false)] [JsonProperty(PropertyName = "created_at")] public string CreatedAt { get; set; } /// /// Gets or Sets UpdatedAt /// [DataMember(Name="updated_at", EmitDefaultValue=false)] [JsonProperty(PropertyName = "updated_at")] public string UpdatedAt { get; set; } /// /// Get the string presentation of the object /// /// String presentation of the object public override string ToString() { StringBuilder sb = new StringBuilder(); sb.Append("class BaseModel {\n"); sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); sb.Append("}\n"); return sb.ToString(); } /// /// Get the JSON string presentation of the object /// /// JSON string presentation of the object public string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } } }