using System.Runtime.Serialization; using Newtonsoft.Json; namespace ShareeBike.Repository.Response { /// /// Holds the information about a booking request (reserve, cancel reservation, book or cancel booking) and is used for deserialization of copri answer. /// [DataContract] [JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)] public class BookingActionResponse : ResponseBase { /// /// Id of the bike which was target of the booking request. /// [DataMember] public string bike { get; private set; } } }