Event

public struct Event : Codable, Equatable

Struct representing Event related values.

  • id

    Value representing the entity id.

    Declaration

    Swift

    public var id: Int
  • Label of the event.

    Declaration

    Swift

    public var label: String
  • Name of the event.

    Declaration

    Swift

    public var name: String
  • Metric Value of the event.

    Declaration

    Swift

    public var metricAmount: String
  • Used Metric Name of the event.

    Declaration

    Swift

    public var metricName: String
  • Description of the event.

    Declaration

    Swift

    public var description: String
  • Location object of the event.

    Declaration

    Swift

    public var place: Place?
  • Location of the event.

    Declaration

    Swift

    public var location: String
  • Start Date of the event.

    Declaration

    Swift

    public var startAt: String
  • End Date of the event.

    Declaration

    Swift

    public var endAt: String
  • Timezone of the event.

    Declaration

    Swift

    public var timezone: String
  • Returns boolean value if the event is recurring.

    Declaration

    Swift

    public var isRecurring: Bool
  • Recurring Schedule of the event.

    Declaration

    Swift

    public var recurringSchedule: String
  • Response Start Date of the event.

    Declaration

    Swift

    public var responseStartDate: String
  • Response End Date of the event.

    Declaration

    Swift

    public var responseEndDate: String
  • Returns boolean value if the event is favorited or not.

    Declaration

    Swift

    public var favorited: Bool
  • Heading Label of the event.

    Declaration

    Swift

    public var heading: String
  • Subheading Label of the event.

    Declaration

    Swift

    public var subHeading: String
  • Body Label of the event.

    Declaration

    Swift

    public var body: String
  • Details Label of the event.

    Declaration

    Swift

    public var details: String
  • Image url attached in the event.

    Declaration

    Swift

    public var imageUrl: String
  • Thumb Image url attached in the event.

    Declaration

    Swift

    public var thumbImageUrl: String
  • Orignal Image url of the event.

    Declaration

    Swift

    public var originalImageUrl: String
  • Subject of the event.

    Declaration

    Swift

    public var subject: String
  • Action of the event.

    Declaration

    Swift

    public var action: String
  • Heading Color of the event.

    Declaration

    Swift

    public var headingColor: String
  • Primary color of the event.

    Declaration

    Swift

    public var color: String
  • Background color of the event.

    Declaration

    Swift

    public var bgColor: String
  • Heading background color of the event.

    Declaration

    Swift

    public var headingBgColor: String
  • Layout Id of the event.

    Declaration

    Swift

    public var layoutId: String
  • Date when the event was created.

    Declaration

    Swift

    public var createdAt: String
  • Date when the event was updated.

    Declaration

    Swift

    public var updatedAt: String
  • Survey id of the event.

    Declaration

    Swift

    public var surveyId: Int
  • Returns boolean value if the event is respondable.

    Declaration

    Swift

    public var isRespondable: Bool
  • Respondable Info of the event.

    Declaration

    Swift

    public var respondableInfo: RespondableInfo?
  • List of Host of the event.

    Declaration

    Swift

    public var hosts: [Host]
  • Undocumented

    Declaration

    Swift

    public init(id: Int, label: String, name: String, metricAmount: String, metricName: String, description: String, place: Place?,
                location: String, startAt: String, endAt: String, timezone: String, isRecurring: Bool,
                recurringSchedule: String, responseStartDate: String, responseEndDate: String, favorited: Bool,
                heading: String, subHeading: String, body: String, details: String, imageUrl: String,
                thumbImageUrl: String, originalImageUrl: String, subject: String, action: String,
                headingColor: String, color: String, bgColor: String, headingBgColor: String,
                layoutId: String, createdAt: String, updatedAt: String, surveyId: Int,
                isRespondable: Bool, respondableInfo: RespondableInfo?, hosts: [Host])
  • Struct representing Event Category related values.

    See more

    Declaration

    Swift

    public struct Category : Codable, Equatable
  • Struct representing Event Date related values.

    See more

    Declaration

    Swift

    public struct Date : Codable, Equatable
  • Struct representing Event Response related values.

    See more

    Declaration

    Swift

    public struct Response : Codable, Equatable
  • Declaration

    Swift

    public init(from decoder: Decoder) throws