thrifty-kotlin-codegen
Module Contents
alltypes
Module Contents
class
KotlinCodeGenerator
Module Contents
KotlinCodeGenerator
(
fieldNamingPolicy
:
FieldNamingPolicy
=
FieldNamingPolicy.DEFAULT
)
enum
class
OutputStyle
Module Contents
FILE_PER_NAMESPACE
FILE_PER_TYPE
fun
builderlessDataClasses
(
)
:
KotlinCodeGenerator
fun
coroutineServiceClients
(
)
:
KotlinCodeGenerator
fun
emitGeneratedAnnotations
(
type
:
String
?
)
:
KotlinCodeGenerator
fun
filePerNamespace
(
)
:
KotlinCodeGenerator
fun
filePerType
(
)
:
KotlinCodeGenerator
fun
generate
(
schema
:
Schema
)
:
List
<
FileSpec
>
var
generatedAnnotationType
:
ClassName
?
fun
listClassName
(
name
:
String
)
:
KotlinCodeGenerator
fun
mapClassName
(
name
:
String
)
:
KotlinCodeGenerator
var
outputStyle
:
OutputStyle
fun
parcelize
(
)
:
KotlinCodeGenerator
var
processor
:
KotlinTypeProcessor
fun
setClassName
(
name
:
String
)
:
KotlinCodeGenerator
package
com.microsoft.thrifty.kgen
Module Contents
class
KotlinCodeGenerator
Module Contents
KotlinCodeGenerator
(
fieldNamingPolicy
:
FieldNamingPolicy
=
FieldNamingPolicy.DEFAULT
)
enum
class
OutputStyle
Module Contents
FILE_PER_NAMESPACE
FILE_PER_TYPE
fun
builderlessDataClasses
(
)
:
KotlinCodeGenerator
fun
coroutineServiceClients
(
)
:
KotlinCodeGenerator
fun
emitGeneratedAnnotations
(
type
:
String
?
)
:
KotlinCodeGenerator
fun
filePerNamespace
(
)
:
KotlinCodeGenerator
fun
filePerType
(
)
:
KotlinCodeGenerator
fun
generate
(
schema
:
Schema
)
:
List
<
FileSpec
>
var
generatedAnnotationType
:
ClassName
?
fun
listClassName
(
name
:
String
)
:
KotlinCodeGenerator
fun
mapClassName
(
name
:
String
)
:
KotlinCodeGenerator
var
outputStyle
:
OutputStyle
fun
parcelize
(
)
:
KotlinCodeGenerator
var
processor
:
KotlinTypeProcessor
fun
setClassName
(
name
:
String
)
:
KotlinCodeGenerator