Option

public struct Option : Codable, Equatable

Struct representing Survey Option related values.

  • id

    Value representing the entity id

    Declaration

    Swift

    public var id: Int
  • Image url of the option.

    Declaration

    Swift

    public var imageUrl: String
  • Returns if options contains fields.

    Declaration

    Swift

    public var isOther: Bool
  • Label of the option.

    Declaration

    Swift

    public var label: String
  • Url of the option’s original image.

    Declaration

    Swift

    public var originalImageUrl: String
  • Url of the option’s thumbnail.

    Declaration

    Swift

    public var thumbImageUrl: String
  • Undocumented

    Declaration

    Swift

    public init(id: Int, imageUrl: String, isOther: Bool,
                label: String, originalImageUrl: String, thumbImageUrl: String)

MultipleChoiceSurvey.Option

  • Undocumented

    Declaration

    Swift

    public init(dictionary: [String : Any])
  • Declaration

    Swift

    public init(from decoder: Decoder) throws