UserJSON
struct UserJSON : Codable, Equatable, ServiceProvider
extension UserJSON: CustomStringConvertible
extension UserJSON: CustomDebugStringConvertible
extension UserJSON: UserInfo
Reply from user information endpoints
-
airport
Declaration
Swift
let airport: String?
-
bio
Declaration
Swift
let bio: String?
-
birthday
Declaration
Swift
let birthday: Date?
-
country
Declaration
Swift
let country: PlaceLocation?
-
countryId
Declaration
Swift
let countryId: Int?
-
createdAt
Declaration
Swift
let createdAt: Date?
-
email
Declaration
Swift
let email: String?
-
facebookEmail
Declaration
Swift
let facebookEmail: String?
-
facebookId
Declaration
Swift
let facebookId: Int?
-
facebookUserToken
Declaration
Swift
let facebookUserToken: String?
-
firstName
Declaration
Swift
let firstName: String
-
fullName
Declaration
Swift
let fullName: String?
-
gender
Declaration
Swift
let gender: String?
-
id
Declaration
Swift
let id: Int
-
lastLogIn
Declaration
Swift
let lastLogIn: String?
-
lastName
Declaration
Swift
let lastName: String
-
links
Declaration
Swift
let links: [Link]?
-
location
Declaration
Swift
let location: PlaceLocation?
-
locationId
Declaration
Swift
let locationId: Int?
-
picture
Declaration
Swift
let picture: String?
-
rankBeaches
Declaration
Swift
let rankBeaches: Int?
-
rankDivesites
Declaration
Swift
let rankDivesites: Int?
-
rankGolfcourses
Declaration
Swift
let rankGolfcourses: Int?
-
rankHotels
Declaration
Swift
let rankHotels: Int?
-
rankLocations
Declaration
Swift
let rankLocations: Int?
-
rankRestaurants
Declaration
Swift
let rankRestaurants: Int?
-
rankTop100Restaurants
Declaration
Swift
let rankTop100Restaurants: Int?
-
rankUncountries
Declaration
Swift
let rankUncountries: Int?
-
rankWhss
Declaration
Swift
let rankWhss: Int?
-
role
Declaration
Swift
let role: Int?
-
score
Declaration
Swift
let score: Int?
-
scoreBeaches
Declaration
Swift
let scoreBeaches: Int?
-
scoreDivesites
Declaration
Swift
let scoreDivesites: Int?
-
scoreGolfcourses
Declaration
Swift
let scoreGolfcourses: Int?
-
scoreHotels
Declaration
Swift
let scoreHotels: Int?
-
scoreLocations
Declaration
Swift
let scoreLocations: Int?
-
scoreRestaurants
Declaration
Swift
let scoreRestaurants: Int?
-
scoreTop100Restaurants
Declaration
Swift
let scoreTop100Restaurants: Int?
-
scoreUncountries
Declaration
Swift
let scoreUncountries: Int?
-
scoreWhss
Declaration
Swift
let scoreWhss: Int?
-
status
Declaration
Swift
let status: String?
-
token
Declaration
Swift
let token: String?
-
updatedAt
Declaration
Swift
let updatedAt: Date?
-
username
Declaration
Swift
let username: String?
-
Convenience status accessor
Declaration
Swift
var isWaiting: Bool { get }
-
Can rankings be displayed?
Declaration
Swift
var isComplete: Bool { get }
-
Copy and update visit counts
Declaration
Swift
func updated(visited: Checked) -> UserJSON
Parameters
visited
New visit counts
Return Value
Copy with visited applied
-
Declaration
Swift
var description: String { get }
-
Declaration
Swift
var debugDescription: String { get }
-
Declaration
Swift
var isSelf: Bool { get }
-
Declaration
Swift
var orderBeaches: Int { get }
-
Declaration
Swift
var orderDivesites: Int { get }
-
Declaration
Swift
var orderGolfcourses: Int { get }
-
Declaration
Swift
var orderHotels: Int { get }
-
Declaration
Swift
var orderLocations: Int { get }
-
Declaration
Swift
var orderRestaurants: Int { get }
-
Declaration
Swift
var orderTop100Restaurants: Int { get }
-
Declaration
Swift
var orderUncountries: Int { get }
-
Declaration
Swift
var orderWhss: Int { get }
-
Declaration
Swift
var visitBeaches: Int { get }
-
Declaration
Swift
var visitDivesites: Int { get }
-
Declaration
Swift
var visitGolfcourses: Int { get }
-
Declaration
Swift
var visitHotels: Int { get }
-
Declaration
Swift
var visitLocations: Int { get }
-
Declaration
Swift
var visitRestaurants: Int { get }
-
Declaration
Swift
var visitTop100Restaurants: Int { get }
-
Declaration
Swift
var visitUncountries: Int { get }
-
Declaration
Swift
var visitWhss: Int { get }