using System.Collections.Generic;
using System.Runtime.Serialization;
namespace TINK.Repository.Response
{
///
/// Holds the information about all stations and is used for deserialization of copri answer.
///
[DataContract]
public class StationsAvailableResponse : ResponseBase
{
///
/// Holds info about a single station.
///
[DataContract]
public class StationInfo
{
///
/// Holds info about opertor data.
///
[DataContract]
public class OperatorData
{
[DataMember]
public string operator_name { get; private set; }
[DataMember]
public string operator_phone { get; private set; }
[DataMember]
public string operator_hours { get; private set; }
[DataMember]
public string operator_email { get; private set; }
[DataMember]
public string operator_color { get; private set; }
}
///
/// Unique id of the station.
///
[DataMember]
public string station { get; private set; }
[DataMember]
public string[] station_group { get; private set; }
[DataMember]
public string description { get; private set; }
///
/// Position of the station.
///
[DataMember]
public GpsInfo gps { get; private set; }
[DataMember]
public OperatorData operator_data { get; private set; }
}
///
/// Dictionary of bikes.
///
[DataMember]
public Dictionary stations { get; private set; }
}
}