// Generated by Create API
// https://github.com/CreateAPI/CreateAPI

import Foundation

public struct SearchRankingEnum: RawRepresentable, Codable, Equatable {
    public let rawValue: String

    public init(rawValue: String) {
        self.rawValue = rawValue
    }

    public static let upvoteCount = Self(rawValue: "upvote_count")
    public static let playCount = Self(rawValue: "play_count")
    public static let dislikeCount = Self(rawValue: "dislike_count")
    public static let trending = Self(rawValue: "trending")
    public static let mostRecent = Self(rawValue: "most_recent")
    public static let mostRelevant = Self(rawValue: "most_relevant")
    public static let byHour = Self(rawValue: "by_hour")
    public static let byFirstPublishedHour = Self(rawValue: "by_first_published_hour")
    public static let byDay = Self(rawValue: "by_day")
    public static let byWeek = Self(rawValue: "by_week")
    public static let byMonth = Self(rawValue: "by_month")
    public static let allTime = Self(rawValue: "all_time")
    public static let `default` = Self(rawValue: "default")
}
