JavaNullable

enum JavaNullable : Enum<JavaNullable>

Entries

Link copied to clipboard

Fields will be generated with the same type and no annotations whether they are nullable or not. This is the default value.

Link copied to clipboard

Fields will be generated as Apollo's com.apollographql.apollo3.api.Optional<Type> if nullable, or Type if not.

Link copied to clipboard

Fields will be generated as Java's java.util.Optional<Type> if nullable, or Type if not.

Link copied to clipboard

Fields will be generated as Guava's com.google.common.base.Optional<Type> if nullable, or Type if not.

Link copied to clipboard

Fields will be generated with Jetbrain's org.jetbrains.annotations.Nullable annotation if nullable, or org.jetbrains.annotations.NotNull if not.

Link copied to clipboard

Fields will be generated with Android's androidx.annotation.Nullable annotation if nullable, or androidx.annotation.NonNull if not.

Link copied to clipboard

Fields will be generated with JSR 305's javax.annotation.Nullable annotation if nullable, or javax.annotation.Nonnull if not.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int