Package com.apollographql.apollo3.compiler.codegen.kotlin.helpers
Functions
Link copied to clipboard
fun TypeSpec.Builder.makeDataClass(parameters: List<ParameterSpec>, addJvmOverloads: Boolean = false): TypeSpec.Builder
Content copied to clipboard
Makes this TypeSpec.Builder a data class and add a primary constructor using the given parameter spec as well as the corresponding properties
Link copied to clipboard
fun TypeSpec.Builder.makeDataClassFromProperties(properties: List<PropertySpec>): TypeSpec.Builder
Content copied to clipboard