IncentivesQuery

public struct IncentivesQuery : Sendable

Incentives query model.

  • The number of items per page.

    Declaration

    Swift

    public let limit: Int?
  • Start after offset amount of items.

    Declaration

    Swift

    public let offset: Int?
  • Filter by scope.

    Declaration

    Swift

    public let scope: IncentiveScope?
  • Filter by type.

    Declaration

    Swift

    public let type: IncentiveType?
  • Incentives query model constructor.

    Declaration

    Swift

    public init(
        limit: Int? = nil,
        offset: Int? = nil,
        scope: IncentiveScope? = nil,
        type: IncentiveType? = nil)

    Parameters

    limit

    The number of items per page.

    offset

    Start after offset amount of items.

    scope

    Filter by scope.

    type

    Filter by type.