AnnouncementCreateData
public struct AnnouncementCreateData : Contentextension AnnouncementCreateData: RCFValidatablestructs in this file should only be used by Admin APIs, that is: API calls that require administrator access. For admins to create and edit Annoucements.
- 
                  
                  The text of the announcement DeclarationSwift var text: String
- 
                  
                  How long to display the announcement to users. User-level API route methods will only return this Announcement until this time. The given Date is interpreted as a floating time in the ship’s Port timezone. DeclarationSwift var displayUntil: Date
- 
                  
                  DeclarationSwift func runValidations(using decoder: ValidatingDecoder) throws
 View on GitHub
            View on GitHub
           AnnouncementCreateData Structure Reference
      AnnouncementCreateData Structure Reference