Person
public struct Person : IdentityResource, Hashable
A root object that stores information about a person resource.
-
Declaration
Swift
public let id: String
-
Declaration
Swift
public let type: String
-
Declaration
Swift
public let href: String
-
The attributes belonging to the person.
Declaration
Swift
public let attributes: Person.Attributes
-
The relationships belonging to the person.
Declaration
Swift
public let relationships: Person.Relationships?
-
Declaration
Swift
public static func == (lhs: Person, rhs: Person) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
A root object that stores information about a single person, such as the person’s name, role, and image.
See moreDeclaration
Swift
public struct Attributes : Codable
-
A root object that stores information about person relationships, such as the shows, and characters that belong to it.
See moreDeclaration
Swift
public struct Relationships : Codable