Session
public struct Session : Codable, Hashable
A root object that stores information about a collection of session.
-
The id of the resource.
Declaration
Swift
public let id: String
-
The type of the resource.
Declaration
Swift
public let type: String
-
The relative link to where the resource is located.
Declaration
Swift
public let href: String
-
The attributes belonging to the session.
Declaration
Swift
public let attributes: Session.Attributes
-
The relationships belonging to the session.
Declaration
Swift
public let relationships: Session.Relationships
-
Declaration
Swift
public static func == (lhs: Session, rhs: Session) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
A root object that stores information about a single session, such as the session’s ip address, and last validated date.
See moreDeclaration
Swift
public struct Attributes : Codable
-
A root object that stores information about session relationships, such as the user it belongs to, and the platform it was created on.
See moreDeclaration
Swift
public struct Relationships : Codable