@@ -29,7 +29,7 @@ public class PublicProfileDto: APIModel {
29
29
30
30
public var country : String ?
31
31
32
- public var countryName : String ?
32
+ public var countryIso : String ?
33
33
34
34
public var currency : String ?
35
35
@@ -131,7 +131,7 @@ public class PublicProfileDto: APIModel {
131
131
132
132
public var zip : String ?
133
133
134
- public init ( activated: Bool ? = nil , activatedTeams: Bool ? = nil , active: Bool ? = nil , admin: Bool ? = nil , at: Bool ? = nil , basic: Bool ? = nil , business: String ? = nil , businessCustomer: Bool ? = nil , cancellationOffer: Bool ? = nil , city: String ? = nil , country: String ? = nil , countryName: String ? = nil , currency: String ? = nil , displayName: String ? = nil , email: String ? = nil , eu: Bool ? = nil , euCustomer: Bool ? = nil , expired: Bool ? = nil , expires: Int ? = nil , firstname: String ? = nil , gdprConsent: Bool ? = nil , imageUrl: String ? = nil , inactive: Bool ? = nil , includeTaxForBusiness: Bool ? = nil , initials: String ? = nil , invited: Bool ? = nil , invoicePayment: Bool ? = nil , language: String ? = nil , lastUpdate: Int ? = nil , lastname: String ? = nil , licenseHolder: Bool ? = nil , licenseQuantity: Int ? = nil , member: Bool ? = nil , members: Int ? = nil , monthly: Bool ? = nil , needsSetup: Bool ? = nil , newsletter: Bool ? = nil , payPalPayment: Bool ? = nil , paymentOption: String ? = nil , pending: Bool ? = nil , permission: Int ? = nil , plan: Int ? = nil , plus: Bool ? = nil , pro: Bool ? = nil , product: String ? = nil , referrer: String ? = nil , state: String ? = nil , status: Int ? = nil , street: String ? = nil , stripePayment: Bool ? = nil , subscriptionActive: Bool ? = nil , subscriptionCancelled: Bool ? = nil , subscriptionInactive: Bool ? = nil , taxId: String ? = nil , trial: Bool ? = nil , uk: Bool ? = nil , user: String ? = nil , valid: Bool ? = nil , validAndActivated: Bool ? = nil , validProfile: Bool ? = nil , yearly: Bool ? = nil , zip: String ? = nil ) {
134
+ public init ( activated: Bool ? = nil , activatedTeams: Bool ? = nil , active: Bool ? = nil , admin: Bool ? = nil , at: Bool ? = nil , basic: Bool ? = nil , business: String ? = nil , businessCustomer: Bool ? = nil , cancellationOffer: Bool ? = nil , city: String ? = nil , country: String ? = nil , countryIso: String ? = nil , currency: String ? = nil , displayName: String ? = nil , email: String ? = nil , eu: Bool ? = nil , euCustomer: Bool ? = nil , expired: Bool ? = nil , expires: Int ? = nil , firstname: String ? = nil , gdprConsent: Bool ? = nil , imageUrl: String ? = nil , inactive: Bool ? = nil , includeTaxForBusiness: Bool ? = nil , initials: String ? = nil , invited: Bool ? = nil , invoicePayment: Bool ? = nil , language: String ? = nil , lastUpdate: Int ? = nil , lastname: String ? = nil , licenseHolder: Bool ? = nil , licenseQuantity: Int ? = nil , member: Bool ? = nil , members: Int ? = nil , monthly: Bool ? = nil , needsSetup: Bool ? = nil , newsletter: Bool ? = nil , payPalPayment: Bool ? = nil , paymentOption: String ? = nil , pending: Bool ? = nil , permission: Int ? = nil , plan: Int ? = nil , plus: Bool ? = nil , pro: Bool ? = nil , product: String ? = nil , referrer: String ? = nil , state: String ? = nil , status: Int ? = nil , street: String ? = nil , stripePayment: Bool ? = nil , subscriptionActive: Bool ? = nil , subscriptionCancelled: Bool ? = nil , subscriptionInactive: Bool ? = nil , taxId: String ? = nil , trial: Bool ? = nil , uk: Bool ? = nil , user: String ? = nil , valid: Bool ? = nil , validAndActivated: Bool ? = nil , validProfile: Bool ? = nil , yearly: Bool ? = nil , zip: String ? = nil ) {
135
135
self . activated = activated
136
136
self . activatedTeams = activatedTeams
137
137
self . active = active
@@ -143,7 +143,7 @@ public class PublicProfileDto: APIModel {
143
143
self . cancellationOffer = cancellationOffer
144
144
self . city = city
145
145
self . country = country
146
- self . countryName = countryName
146
+ self . countryIso = countryIso
147
147
self . currency = currency
148
148
self . displayName = displayName
149
149
self . email = email
@@ -210,7 +210,7 @@ public class PublicProfileDto: APIModel {
210
210
cancellationOffer = try container. decodeIfPresent ( " cancellationOffer " )
211
211
city = try container. decodeIfPresent ( " city " )
212
212
country = try container. decodeIfPresent ( " country " )
213
- countryName = try container. decodeIfPresent ( " countryName " )
213
+ countryIso = try container. decodeIfPresent ( " countryIso " )
214
214
currency = try container. decodeIfPresent ( " currency " )
215
215
displayName = try container. decodeIfPresent ( " displayName " )
216
216
email = try container. decodeIfPresent ( " email " )
@@ -277,7 +277,7 @@ public class PublicProfileDto: APIModel {
277
277
try container. encodeIfPresent ( cancellationOffer, forKey: " cancellationOffer " )
278
278
try container. encodeIfPresent ( city, forKey: " city " )
279
279
try container. encodeIfPresent ( country, forKey: " country " )
280
- try container. encodeIfPresent ( countryName , forKey: " countryName " )
280
+ try container. encodeIfPresent ( countryIso , forKey: " countryIso " )
281
281
try container. encodeIfPresent ( currency, forKey: " currency " )
282
282
try container. encodeIfPresent ( displayName, forKey: " displayName " )
283
283
try container. encodeIfPresent ( email, forKey: " email " )
@@ -343,7 +343,7 @@ public class PublicProfileDto: APIModel {
343
343
guard self . cancellationOffer == object. cancellationOffer else { return false }
344
344
guard self . city == object. city else { return false }
345
345
guard self . country == object. country else { return false }
346
- guard self . countryName == object. countryName else { return false }
346
+ guard self . countryIso == object. countryIso else { return false }
347
347
guard self . currency == object. currency else { return false }
348
348
guard self . displayName == object. displayName else { return false }
349
349
guard self . email == object. email else { return false }
0 commit comments