Schema

@JsonClass(generateAdapter = true)
data class Schema(    val queryType: IntrospectionSchema.Schema.QueryType,     val mutationType: IntrospectionSchema.Schema.MutationType?,     val subscriptionType: IntrospectionSchema.Schema.SubscriptionType?,     val types: List<IntrospectionSchema.Schema.Type>)

Constructors

Link copied to clipboard
fun Schema(    queryType: IntrospectionSchema.Schema.QueryType,     mutationType: IntrospectionSchema.Schema.MutationType?,     subscriptionType: IntrospectionSchema.Schema.SubscriptionType?,     types: List<IntrospectionSchema.Schema.Type>)

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Field(    val name: String,     val description: String?,     val isDeprecated: Boolean = false,     val deprecationReason: String?,     val type: IntrospectionSchema.Schema.TypeRef,     val args: List<IntrospectionSchema.Schema.Field.Argument> = emptyList())
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class InputField(    val name: String,     val description: String?,     val isDeprecated: Boolean = false,     val deprecationReason: String?,     val type: IntrospectionSchema.Schema.TypeRef,     val defaultValue: Any?)
Link copied to clipboard
enum Kind : Enum<IntrospectionSchema.Schema.Kind>
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class MutationType(val name: String)
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class QueryType(val name: String)
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class SubscriptionType(val name: String)
Link copied to clipboard
@JsonClass(generateAdapter = true, generator = "sealed:kind")
sealed class Type
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class TypeRef(    val kind: IntrospectionSchema.Schema.Kind,     val name: String? = "",     val ofType: IntrospectionSchema.Schema.TypeRef? = null)

An introspection TypeRef

Properties

Link copied to clipboard
val mutationType: IntrospectionSchema.Schema.MutationType?
Link copied to clipboard
val queryType: IntrospectionSchema.Schema.QueryType
Link copied to clipboard
Link copied to clipboard
val types: List<IntrospectionSchema.Schema.Type>

Extensions

Link copied to clipboard