using System; using Newtonsoft.Json; using VkNet.Enums.StringEnums; namespace VkNet.Model; /// /// Данные о сервере /// [Serializable] public class CallbackServerItem { /// /// Идентификатор сервера /// [JsonProperty(propertyName: "id")] public long Id { get; set; } /// /// Название сервера /// [JsonProperty(propertyName: "title")] public string Title { get; set; } /// /// Идентификатор пользователя, который добавил сервер (может содержать 0) /// [JsonProperty(propertyName: "creator_id")] public long CreatorId { get; set; } /// /// URL сервера /// [JsonProperty(propertyName: "url")] public string Url { get; set; } /// /// Секретный ключ /// [JsonProperty(propertyName: "secret_key")] public string SecretKey { get; set; } /// /// Статус сервера /// [JsonProperty(propertyName: "status")] public CallbackServerStatus? Status { get; set; } }