MDMangaFilter

public class MDMangaFilter : MDPaginationFilter

A class used to filter manga results during search

  • Title search string

    Declaration

    Swift

    public var title: String?
  • List of author UUIDs

    Declaration

    Swift

    public var authors: [String]?
  • List of artist UUIDs

    Declaration

    Swift

    public var artists: [String]?
  • Year of publication

    Declaration

    Swift

    public var year: Int?
  • Tag UUIDs to include

    Declaration

    Swift

    public var includedTags: [String]?
  • Included tags filtering mode

    Note

    If nil, the API defaults to all

    Declaration

    Swift

    public var includedTagsMode: MDTagFilteringMode?
  • Tag UUIDs to exclude

    Declaration

    Swift

    public var excludedTags: [String]?
  • Excluded tags filtering mode

    Note

    If nil, the API defaults to all

    Declaration

    Swift

    public var excludedTagsMode: MDTagFilteringMode?
  • Publication statuses to include

    Declaration

    Swift

    public var statuses: [MDPublicationStatus]?
  • Original publication languages to include

    Declaration

    Swift

    public var originalLanguage: [Locale]?
  • Target demographics to include

    Declaration

    Swift

    public var publicationDemographic: [MDDemographic]?
  • Content ratings to include

    Declaration

    Swift

    public var contentRating: [MDContentRating]?
  • Only list results created after this date

    Declaration

    Swift

    public var createdAtSince: Date?
  • Only list results updated after this date

    Declaration

    Swift

    public var updatedAtSince: Date?
  • 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 search for mangas by title

    Declaration

    Swift

    public init(title: String)

    Parameters

    title

    the title search string

  • Custom encode implementation

    Declaration

    Swift

    override public func encode(to encoder: Encoder) throws