@@ -20,7 +20,6 @@ public struct PlanInfoV2ResponsePlansInner: Content, Hashable {
2020 public var priceYearly : String ?
2121 public var currency : String
2222 public var logo : String ?
23- public var interval : String
2423 public var featured : Bool
2524 public var allowGrandfatheredAccess : Bool ?
2625 public var discordServers : [ DiscordServerModel ]
@@ -35,15 +34,14 @@ public struct PlanInfoV2ResponsePlansInner: Content, Hashable {
3534 public var userIsGrandfathered : Bool ?
3635 public var enabledGlobal : Bool
3736
38- public init ( id: String , title: String , description: String , price: String ? , priceYearly: String ? = nil , currency: String , logo: String ? , interval : String , featured: Bool , allowGrandfatheredAccess: Bool ? = nil , discordServers: [ DiscordServerModel ] , discordRoles: [ DiscordRoleModel ] , createdAt: Date , updatedAt: Date ? , enabled: Bool , paymentID: Int ? , trialPeriod: Double , creator: String , userIsSubscribed: Bool , userIsGrandfathered: Bool ? = nil , enabledGlobal: Bool ) {
37+ public init ( id: String , title: String , description: String , price: String ? , priceYearly: String ? = nil , currency: String , logo: String ? , featured: Bool , allowGrandfatheredAccess: Bool ? = nil , discordServers: [ DiscordServerModel ] , discordRoles: [ DiscordRoleModel ] , createdAt: Date , updatedAt: Date ? , enabled: Bool , paymentID: Int ? , trialPeriod: Double , creator: String , userIsSubscribed: Bool , userIsGrandfathered: Bool ? = nil , enabledGlobal: Bool ) {
3938 self . id = id
4039 self . title = title
4140 self . description = description
4241 self . price = price
4342 self . priceYearly = priceYearly
4443 self . currency = currency
4544 self . logo = logo
46- self . interval = interval
4745 self . featured = featured
4846 self . allowGrandfatheredAccess = allowGrandfatheredAccess
4947 self . discordServers = discordServers
@@ -67,7 +65,6 @@ public struct PlanInfoV2ResponsePlansInner: Content, Hashable {
6765 case priceYearly
6866 case currency
6967 case logo
70- case interval
7168 case featured
7269 case allowGrandfatheredAccess
7370 case discordServers
@@ -94,7 +91,6 @@ public struct PlanInfoV2ResponsePlansInner: Content, Hashable {
9491 try container. encodeIfPresent ( priceYearly, forKey: . priceYearly)
9592 try container. encode ( currency, forKey: . currency)
9693 try container. encode ( logo, forKey: . logo)
97- try container. encode ( interval, forKey: . interval)
9894 try container. encode ( featured, forKey: . featured)
9995 try container. encodeIfPresent ( allowGrandfatheredAccess, forKey: . allowGrandfatheredAccess)
10096 try container. encode ( discordServers, forKey: . discordServers)
0 commit comments