All Downloads are FREE. Search and download functionalities are using the official Maven repository.

perutils.utils-code.1.5.0.source-code.thrift.ftl Maven / Gradle / Ivy

The newest version!

namespace java ${thriftServicePackage}

<#list enumList as thriftEnum>
enum ${thriftEnum.name} {
	<#list thriftEnum.fields as field>
		${field.name} = ${field.value}<#if field_has_next>,
	
}


<#list structList as struct>
struct ${struct.name} {
	<#list struct.fields as field>
		${field_index + 1}:${field.genericType.toThriftString()} ${field.name}<#if field_has_next>,
	
}


<#list serviceList as service>
service ${service.name} {
	 <#list service.methods as method>
	 	${method.returnGenericType.toThriftString()} ${method.name}(<#list method.methodArgs as arg>${arg_index + 1}:${arg.genericType.toThriftString()} ${arg.name}<#if arg_has_next>,)<#if method_has_next>,
	 
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy