Package 

Class KobbyKotlinDtoExtension

    • Constructor Detail

      • KobbyKotlinDtoExtension

        KobbyKotlinDtoExtension()
    • Method Detail

      • getPackageName

         final String getPackageName()

        Package name for DTO classes. Relative to root package name.

        Default: "dto"

      • setPackageName

         final Unit setPackageName(String packageName)

        Package name for DTO classes. Relative to root package name.

        Default: "dto"

      • getPrefix

         final String getPrefix()

        Prefix of DTO classes generated from GraphQL objects, interfaces and unions

      • setPrefix

         final Unit setPrefix(String prefix)

        Prefix of DTO classes generated from GraphQL objects, interfaces and unions

      • getPostfix

         final String getPostfix()

        Postfix of DTO classes generated from GraphQL objects, interfaces and unions.

        Default: "Dto"

      • setPostfix

         final Unit setPostfix(String postfix)

        Postfix of DTO classes generated from GraphQL objects, interfaces and unions.

        Default: "Dto"

      • getEnumPrefix

         final String getEnumPrefix()

        Prefix of DTO classes generated from GraphQL enums

      • getApplyPrimaryKeys

         final Boolean getApplyPrimaryKeys()

        Kobby can generate "equals" and "hashCode" functions for entities classes based on fields marked with "@primaryKey" directive. This parameter provides an ability to apply the same generation logic to DTO classes.

        Default: false

      • setApplyPrimaryKeys

         final Unit setApplyPrimaryKeys(Boolean applyPrimaryKeys)

        Kobby can generate "equals" and "hashCode" functions for entities classes based on fields marked with "@primaryKey" directive. This parameter provides an ability to apply the same generation logic to DTO classes.

        Default: false