PersonalEventData
public struct PersonalEventData : Content
Used to return a PersonalEvent‘s data.
-
The PersonalEvent’s ID. This is the Swiftarr database record for this event.
Declaration
Swift
var personalEventID: UUID -
The personal event’s title.
Declaration
Swift
var title: String -
A description of the personal event.
Declaration
Swift
var description: String? -
Starting time of the personal event
Declaration
Swift
var startTime: Date -
Ending time of the personal event. No more than 24 hours after the startTime since per Chall that makes iCal export get weird.
Declaration
Swift
var endTime: Date -
The timezone that the ship is going to be in when the personal event occurs. Delivered as an abbreviation e.g. “EST”.
Declaration
Swift
var timeZone: String -
The timezone ID that the ship is going to be in when the personal event occurs. Example: “America/New_York”.
Declaration
Swift
var timeZoneID: String -
The location of the personal event.
Declaration
Swift
var location: String? -
The last time data for this personal event was modified.
Declaration
Swift
var lastUpdateTime: Date -
The owning user of this personal event.
Declaration
Swift
var owner: UserHeader -
Users that the owner has invited to join this personal event. Should not contain the owner itself (see PersonalEvent.owner above)
Declaration
Swift
var participants: [UserHeader]
-
Declaration
Swift
init(_ personalEvent: FriendlyFez, ownerHeader: UserHeader, participantHeaders: [UserHeader]) throws -
Declaration
Swift
init(_ lfg: FezData, request: Request) throws
View on GitHub