MDUserFilter

public class MDUserFilter : MDPaginationFilter

A class used to filter user results during search

  • Name of the user to search for

    Declaration

    Swift

    public var username: 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 search for authors by name

    Declaration

    Swift

    public init(username: String)

    Parameters

    title

    the title search string

  • Custom encode implementation

    Declaration

    Swift

    override public func encode(to encoder: Encoder) throws