generateMethods
Specifies which methods will be auto generated on operations, models, fragments and input objects.
Pass a list of the following:
"equalsHashCode" generates
equals
andhashCode
methods that will compare generated class properties."toString" generates a method that will print a pretty string representing the data in the class.
"copy" (Kotlin only) generates a method that will copy the class with named parameters and default values.
"dataClass" (Kotlin only and redundant with all other methods) generates the class as a data class which will automatically generate
toString
,copy
,equals
andhashCode
.
Default for kotlin: listOf("dataClass")
Default for Java: listOf("equalsHashCode", "toString")