DailyThemeData

public struct DailyThemeData : Content

Used to return the day’s theme.

Returned by: GET /api/v3/notifications/dailythemes

  • The theme’s ID Probably only useful for admins in order to edit or delete themes.

    Declaration

    Swift

    var themeID: UUID
  • A short string describing the day’s theme. e.g. “Cosplay Day”, or “Pajamas Day”, or “Science Day”.

    Declaration

    Swift

    var title: String
  • A longer string describing the theme, possibly with a call to action for users to participate.

    Declaration

    Swift

    var info: String
  • An image that relates to the theme.

    Declaration

    Swift

    var image: String?
  • Day of cruise, counted from Settings.shared.cruiseStartDate. 0 is embarkation day. Values could be negative (e.g. Day -1 is “Anticipation Day”)

    Declaration

    Swift

    var cruiseDay: Int32
  • Declaration

    Swift

    init(_ theme: DailyTheme) throws