using System; using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using RethinkDb.Driver.Net; namespace RethinkDb.Driver.Model { /// /// A type helper that represents the result of /// and . /// public class Server { /// /// The server's id /// public string Id { get; set; } /// /// The server's name. /// public string Name { get; set; } /// /// True if the driver is connected to a proxy server. False if the driver is /// connected to a RethinkDB server. /// public bool Proxy { get; set; } /// /// Extra metadata that couldn't be parsed, if any. /// [JsonExtensionData] public IDictionary ExtraData { get; set; } } }