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
limitThe number of items per page.
offsetStart after offset amount of items.
scopeFilter by scope.
typeFilter by type.
View on GitHub