PersonalEventContentData
public struct PersonalEventContentData : Content
extension PersonalEventContentData: RCFValidatable
PersonalEventContentData is used for creating and editing a PersonalEvent. Contains all of the fields that a user can modify.
-
The title for the PersonalEvent.
Declaration
Swift
var title: String -
Who besides invited participants can view and join this event. May be
.private(default; invite-only) or.unlisted(viewable and self-joinable via direct link, but never listed/searchable). Omit to leave unchanged on update, or to default to.privateon create.Declaration
Swift
var visibility: FezVisibility? -
A description of the PersonalEvent.
Declaration
Swift
var description: String? -
The starting time for the PersonalEvent.
Declaration
Swift
var startTime: Date -
The ending time for the PersonalEvent.
Declaration
Swift
var endTime: Date -
The location for the PersonalEvent.
Declaration
Swift
var location: String? -
Users that have been invited to this PersonalEvent. Should not contain the owner.
Declaration
Swift
var participants: [UUID]
-
Declaration
Swift
func runValidations(using decoder: ValidatingDecoder) throws
View on GitHub