using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiAlitripBtripFlightCitySuggestResponse. /// public class OapiAlitripBtripFlightCitySuggestResponse : DingTalkResponse { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 结果对象 /// [XmlElement("result")] public SuggestRsDomain Result { get; set; } /// /// 成功标识 /// [XmlElement("success")] public bool Success { get; set; } /// /// CityVoDomain Data Structure. /// [Serializable] public class CityVoDomain : TopObject { /// /// 三字码 /// [XmlElement("code")] public string Code { get; set; } /// /// 与搜索城市距离,单位千米,只在邻近机场推荐有值 /// [XmlElement("distance")] public long Distance { get; set; } /// /// 城市名称 /// [XmlElement("name")] public string Name { get; set; } /// /// 邻近机场城市,只在邻近机场推荐有值 /// [XmlElement("travel_name")] public string TravelName { get; set; } } /// /// SuggestRsDomain Data Structure. /// [Serializable] public class SuggestRsDomain : TopObject { /// /// 城市列表 /// [XmlArray("cities")] [XmlArrayItem("city_vo")] public List Cities { get; set; } /// /// 是否为邻近城市 /// [XmlElement("nearby")] public bool Nearby { get; set; } } } }