![JAR search and dependency download from the Maven repository](/logo.png)
com.lahzouz.apollo.graphql.client.selections.GetBooksQuerySelections.kt Maven / Gradle / Ivy
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '3.0.0'.
//
package com.lahzouz.apollo.graphql.client.selections
import com.apollographql.apollo3.api.CompiledField
import com.apollographql.apollo3.api.CompiledSelection
import com.apollographql.apollo3.api.CompiledStringType
import com.apollographql.apollo3.api.list
import com.apollographql.apollo3.api.notNull
import com.lahzouz.apollo.graphql.client.type.Author
import com.lahzouz.apollo.graphql.client.type.Book
import com.lahzouz.apollo.graphql.client.type.Long
import kotlin.collections.List
public object GetBooksQuerySelections {
private val author: List = listOf(
CompiledField.Builder(
name = "name",
type = CompiledStringType.notNull()
).build()
)
private val books: List = listOf(
CompiledField.Builder(
name = "id",
type = Long.type.notNull()
).build(),
CompiledField.Builder(
name = "title",
type = CompiledStringType.notNull()
).build(),
CompiledField.Builder(
name = "author",
type = Author.type.notNull()
).selections(author)
.build()
)
public val root: List = listOf(
CompiledField.Builder(
name = "books",
type = Book.type.notNull().list().notNull()
).selections(books)
.build()
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy