Event

public class Event : Item

Any kind of event, for instance a music festival or a business meeting.

  • Intended group that would consume or receive this Item.

    Declaration

    Swift

    @objc
    dynamic var audience: String?
  • The startTime of something. For a reserved event or service, the time that it is expected to start. For actions that span a period of time, when the action was performed. e.g. John wrote a book from January to December. For media, including audio and video, it’s the time offset of the start of a clip within a larger file.

    Declaration

    Swift

    @objc
    dynamic var startTime: Date?
  • The endTime of something. For a reserved event or service, the time that it is expected to end. For actions that span a period of time, when the action was performed. e.g. John wrote a book from January to December. For media, including audio and video, it’s the time offset of the end of a clip within a larger file.

    Declaration

    Swift

    @objc
    dynamic var endTime: Date?
  • The duration of an Item, for instance an event or an Audio file.

    Declaration

    Swift

    let duration: RealmOptional<Int>
  • The status of an event, for instance cancelled.

    Declaration

    Swift

    @objc
    dynamic var eventStatus: String?
  • The location of for example where the event is happening, an organization is located, or where an action takes place.

    Declaration

    Swift

    var location: Results<Location>? { get }
  • A review of the Item.

    Declaration

    Swift

    var review: Results<Review>? { get }
  • Another (smaller) organization that is part of this Organization.

    Declaration

    Swift

    var subEvent: Results<Organization>? { get }
  • The capacity of an Item, for instance the maximum number of attendees of an Event.

    Declaration

    Swift

    var capacity: Results<Measure>? { get }
  • Undocumented

    Declaration

    Swift

    public required convenience init(from decoder: Decoder) throws