swift4.modelEnum.mustache Maven / Gradle / Ivy
public enum {{classname}}: {{dataType}}, Codable {
{{#allowableValues}}
{{#enumVars}}
case {{name}} = {{{value}}}
{{/enumVars}}
{{/allowableValues}}
}
public enum {{classname}}: {{dataType}}, Codable {
{{#allowableValues}}
{{#enumVars}}
case {{name}} = {{{value}}}
{{/enumVars}}
{{/allowableValues}}
}