using Newtonsoft.Json; using System; namespace Discord.API { internal class Invite { [JsonProperty("code")] public string Code { get; set; } [JsonProperty("guild")] public Optional Guild { get; set; } [JsonProperty("channel")] public InviteChannel Channel { get; set; } [JsonProperty("inviter")] public Optional Inviter { get; set; } [JsonProperty("approximate_presence_count")] public Optional PresenceCount { get; set; } [JsonProperty("approximate_member_count")] public Optional MemberCount { get; set; } [JsonProperty("target_user")] public Optional TargetUser { get; set; } [JsonProperty("target_type")] public Optional TargetUserType { get; set; } [JsonProperty("target_application")] public Optional Application { get; set; } [JsonProperty("expires_at")] public Optional ExpiresAt { get; set; } [JsonProperty("guild_scheduled_event")] public Optional ScheduledEvent { get; set; } } }