EnumModel

class EnumModel : ContentType

represents an enum content type

  • represents an enum case content type

    See more

    Declaration

    Swift

    class Case : ContentType
  • Undocumented

    Declaration

    Swift

    internal init(enumName: String, cases: [Case] = [Case]())
  • enum identifier

    Declaration

    Swift

    var enumName: String
  • enum primitive type (e.g. String)

    Declaration

    Swift

    var type: String?
  • list of enum cases

    Declaration

    Swift

    var cases: [Case]
  • Undocumented

    Declaration

    Swift

    required init(from decoder: Decoder) throws