FezContentData
public struct FezContentData : Content
extension FezContentData: RCFValidatable
Used to create or update a FriendlyFez.
Required by:
POST /api/v3/fez/createPOST /api/v3/fez/ID/update
See: FezController.createHandler(_:data:), FezController.updateHandler(_:data:).
-
The title for the FriendlyFez.
Declaration
Swift
var title: String -
A description of the fez.
Declaration
Swift
var info: String -
The starting time for the fez.
Declaration
Swift
var startTime: Date? -
The ending time for the fez.
Declaration
Swift
var endTime: Date? -
The location for the fez.
Declaration
Swift
var location: String? -
The minimum number of users needed for the fez.
Declaration
Swift
var minCapacity: Int -
The maximum number of users for the fez.
Declaration
Swift
var maxCapacity: Int -
Users to add to the fez upon creation. The creator is always added as the first user. Ignored on update.
Declaration
Swift
var initialUsers: [UUID] -
If TRUE, the Fez will be created by user @moderator instead of the current user. Current user must be a mod.
Declaration
Swift
var createdByModerator: Bool? -
If TRUE, the Fez will be created by user @TwitarrTeam instead of the current user. Current user must be a TT member.
Declaration
Swift
var createdByTwitarrTeam: Bool? -
Declaration
Swift
init(privateEvent: PersonalEventContentData) -
Declaration
Swift
func runValidations(using decoder: ValidatingDecoder) throws
View on GitHub