private void writeOutRequestParams(List<String> elements, Writer out) throws IOException {
		if (elements != null && elements.size() > 0) {
			for (String param : elements) {
				out.write("\n\t\t\"" + param + "\": ");
				if (param.equalsIgnoreCase("boolean")) {
					addImports = true;
					out.write("strconv.FormatBool(boolean)");
				} else if (param.equalsIgnoreCase("integer")) {
					addImports = true;
					out.write("strconv.Itoa(i)");
				} else if (param.equalsIgnoreCase("string")) {
					out.write("str");
				} else if (param.equalsIgnoreCase("type")) {
					out.write("t");
				} else {
					out.write(param.toLowerCase());
				}
				out.write(",");
			}
		}
	}
private void writeOutRequestParams ( List < String > elements , Writer out ) throws IOException { if ( elements != null && elements . size ( ) > 0 ) { for ( String param : elements ) { out . write ( "\n\t\t\"" + param + "\": " ) ; if ( param . equalsIgnoreCase ( "boolean" ) ) { addImports = true ; out . write ( "strconv.FormatBool(boolean)" ) ; } else if ( param . equalsIgnoreCase ( "integer" ) ) { addImports = true ; out . write ( "strconv.Itoa(i)" ) ; } else if ( param . equalsIgnoreCase ( "string" ) ) { out . write ( "str" ) ; } else if ( param . equalsIgnoreCase ( "type" ) ) { out . write ( "t" ) ; } else { out . write ( param . toLowerCase ( ) ) ; } out . write ( "," ) ; } } }
Writes the request parameters