PBCycleJoinCode

An object that represents the code to join a PB Cycle. Contains public data and metadata of the join code. In a client application this code should become a link to click for the user.

type PBCycleJoinCode {
code: String
expiresAt: ISO8601DateTime
pbCycle: PBCycle
roleTypes: [PossibleRole!]
}

Fields#

code (String)#

Code used to join a PB Cycle with the specified role.

expiresAt (ISO8601DateTime)#

Expiration date time. Nullity represents a join code that doesn't expire.

pbCycle (PBCycle)#

PB Cycle linked to the code.

roleTypes ([PossibleRole!])#

Role types that the user will get after joining the PB Cycle.