using System.Runtime.Serialization; using Newtonsoft.Json; namespace ShareeBike.Repository.Response { /// Holds information about map area to display. [DataContract] [JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)] public class MapSpan { /// Center position of the map. [DataMember] public Position center { get; private set; } /// Radius to the map area. [DataMember] public string radius { get; private set; } } }