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

import Foundation

public struct PaginatedVotesResponse: Codable, Equatable {
    public var hasNext: Bool
    public var hasPrevious: Bool
    public var page: Int
    public var pageSize: Int
    public var totalCount: Int
    public var votes: [VoteSchema]

    public init(hasNext: Bool, hasPrevious: Bool, page: Int, pageSize: Int, totalCount: Int, votes: [VoteSchema]) {
        self.hasNext = hasNext
        self.hasPrevious = hasPrevious
        self.page = page
        self.pageSize = pageSize
        self.totalCount = totalCount
        self.votes = votes
    }
}
