flash.modelList.mustache Maven / Gradle / Ivy
package {{package}} {
import org.openapitools.common.ListWrapper;
{{#imports}}import {{import}};
{{/imports}}
{{#models}}
{{#model}}
public class {{classname}}List implements ListWrapper {
// This declaration below of _{{name}}_obj_class is to force flash compiler to include this class
private var _{{classVarName}}_obj_class: {{package}}.{{classname}} = null;
[XmlElements(name="{{classVarName}}", type="{{package}}.{{classname}}")]
public var {{classVarName}}: Array = new Array();
public function getList(): Array{
return {{classVarName}};
}
}
{{/model}}
{{/models}}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy