MDGroup
public struct MDGroup
extension MDGroup: Decodable
extension MDGroup: Encodable
Structure representing a group returned by MangaDex
This is passed in the data property of an MDObject
-
The group’s name
Declaration
Swift
public let name: String -
The date at which this group was created on MangaDex
Declaration
Swift
public let createdDate: Date -
The date of the last update made to this group’s information on MangaDex
Note
This property will benilif the group was never modified after being createdDeclaration
Swift
public let updatedDate: Date? -
The version of this type of object in the MangaDex API
Declaration
Swift
public let version: Int -
Convenience
initused for create/update endpointsDeclaration
Swift
public init(name: String, leaderId: String, memberIds: [String]) -
Custom
encodeimplementation to convert this structure to a JSON objectDeclaration
Swift
public func encode(to encoder: Encoder) throws
View on GitHub
MDGroup Structure Reference