MDCoverFilter

public class MDCoverFilter : MDPaginationFilter

A class used to filter covers

  • Mangas for which covers should be listed

    Declaration

    Swift

    public var mangas: [String]?
  • A list of uploader UUIDs

    Note

    Limited to 100 per request

    Declaration

    Swift

    public var uploaders: [String]?
  • Sort order for the results

    Declaration

    Swift

    public var order: [MDSortCriteria : MDSortOrder]?
  • ids

    A list of object ids to which to limit the results

    Note

    Limited to 100 per request

    Declaration

    Swift

    public var ids: [String]?
  • Convenience function to create an empty filter

    Declaration

    Swift

    override public init()
  • Convenience init to filter covers by manga

    Declaration

    Swift

    public init(mangas: [String])

    Parameters

    mangas

    the list of mangaIds for which covers should be listed

  • Custom encode implementation

    Declaration

    Swift

    override public func encode(to encoder: Encoder) throws