lib / com.kirkbushman.araw.models.base / Sorting

Sorting

interface Sorting

Base interface to group all sorting options in the Reddit Api

Properties

requiresTimePeriod

If this sorting option needs to be combined also with a TimePeriod, to be sent to the Api. e.g. Top / Last Month

abstract val requiresTimePeriod: Boolean

sortingStr

raw string as seen by the Api.

abstract val sortingStr: String

Inheritors

CommentsSorting

enum class CommentsSorting : Sorting

ContributionsSorting

enum class ContributionsSorting : Sorting

RedditorSearchSorting

enum class RedditorSearchSorting : Sorting

SearchSorting

enum class SearchSorting : Sorting

SubmissionsSorting

enum class SubmissionsSorting : Sorting

SubredditSearchSorting

enum class SubredditSearchSorting : Sorting