GiftWithCriteria
¶
A Gift
along with the criteria
for which that can Gifts.claimGift
this
data class GiftWithCriteria(
val id: Long,
val resourcesOwnedBy: String,
val title: String,
val description: String,
val resources: List<GrantApplication.AllocationRequest>,
val renewEvery: Int,
val criteria: List<UserCriteria>,
)
Properties
id
: Long
Long
resourcesOwnedBy
: String
A reference to the project which owns these resources
String
title
: String
The title of a gift
String
Suitable for presentation in UIs
description
: String
The title of a gift
String
Suitable for presentation in UIs
resources
: List<GrantApplication.AllocationRequest>
A list of resources which will be granted to users `Gifts.claimGift` this `Gift`.
List<GrantApplication.AllocationRequest>
renewEvery
: Int
Renewal policy for the gift
Int
criteria
: List<UserCriteria>
List<UserCriteria>