All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.it.unibo.alchemist.boundary.graphql.client.selections.NodesSubscriptionSelections.kt Maven / Gradle / Ivy

There is a newer version: 35.0.3
Show newest version
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '4.0.0-beta.6'.
//
package it.unibo.alchemist.boundary.graphql.client.selections

import com.apollographql.apollo3.api.CompiledField
import com.apollographql.apollo3.api.CompiledSelection
import com.apollographql.apollo3.api.list
import com.apollographql.apollo3.api.notNull
import it.unibo.alchemist.boundary.graphql.client.type.EnvironmentSurrogate
import it.unibo.alchemist.boundary.graphql.client.type.GraphQLFloat
import it.unibo.alchemist.boundary.graphql.client.type.GraphQLString
import it.unibo.alchemist.boundary.graphql.client.type.MoleculeSurrogate
import it.unibo.alchemist.boundary.graphql.client.type.MoleculeToConcentrationEntry
import it.unibo.alchemist.boundary.graphql.client.type.MoleculeToConcentrationMap
import it.unibo.alchemist.boundary.graphql.client.type.NodeSurrogate
import it.unibo.alchemist.boundary.graphql.client.type.SimulationSurrogate
import kotlin.collections.List

public object NodesSubscriptionSelections {
  private val __molecule: List = listOf(
        CompiledField.Builder(
          name = "name",
          type = GraphQLString.type.notNull()
        ).build()
      )

  private val __entries: List = listOf(
        CompiledField.Builder(
          name = "molecule",
          type = MoleculeSurrogate.type.notNull()
        ).selections(__molecule)
        .build(),
        CompiledField.Builder(
          name = "concentration",
          type = GraphQLString.type.notNull()
        ).build()
      )

  private val __contents: List = listOf(
        CompiledField.Builder(
          name = "entries",
          type = MoleculeToConcentrationEntry.type.notNull().list().notNull()
        ).selections(__entries)
        .build()
      )

  private val __nodes: List = listOf(
        CompiledField.Builder(
          name = "contents",
          type = MoleculeToConcentrationMap.type.notNull()
        ).selections(__contents)
        .build()
      )

  private val __environment: List = listOf(
        CompiledField.Builder(
          name = "nodes",
          type = NodeSurrogate.type.notNull().list().notNull()
        ).selections(__nodes)
        .build()
      )

  private val __simulation: List = listOf(
        CompiledField.Builder(
          name = "status",
          type = GraphQLString.type.notNull()
        ).build(),
        CompiledField.Builder(
          name = "time",
          type = GraphQLFloat.type.notNull()
        ).build(),
        CompiledField.Builder(
          name = "environment",
          type = EnvironmentSurrogate.type.notNull()
        ).selections(__environment)
        .build()
      )

  public val __root: List = listOf(
        CompiledField.Builder(
          name = "simulation",
          type = SimulationSurrogate.type.notNull()
        ).selections(__simulation)
        .build()
      )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy