User
open class User : UserProtocol
extension User: Equatable
An User class with basic properties of UserProtocol.
You can inherit this class with extra properties on your own User type.
Note
Please, check theUserProtocol documentation to implement your User subclass properly.
-
Coding keys for extra user properties.
See moreDeclaration
Swift
public enum DataCodingKeys : String, CodingKey -
A user id.
Declaration
Swift
public let id: String -
An user created date.
Declaration
Swift
public var created: Date -
An user updated date.
Declaration
Swift
public var updated: Date -
A number of followers.
Declaration
Swift
public var followersCount: Int? -
A number of followings.
Declaration
Swift
public var followingCount: Int? -
Create a user with a given id.
Declaration
Swift
required public init(id: String)Parameters
ida user id.
-
Declaration
Swift
required public init(from decoder: Decoder) throws -
Declaration
Swift
open func encode(to encoder: Encoder) throws -
Declaration
Swift
public static func missed() -> Self -
Declaration
Swift
public var isMissedReference: Bool { get } -
Declaration
Swift
public static func == (lhs: User, rhs: User) -> Bool
View on GitHub
User Class Reference