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

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

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

import com.apollographql.apollo3.api.CompiledArgument
import com.apollographql.apollo3.api.CompiledField
import com.apollographql.apollo3.api.CompiledSelection
import com.apollographql.apollo3.api.CompiledVariable
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.NodeSurrogate
import it.unibo.alchemist.boundary.graphql.client.type.SimulationSurrogate
import kotlin.collections.List

public object ConcentrationSubscriptionSelections {
  private val __nodes: List = listOf(
        CompiledField.Builder(
          name = "getConcentration",
          type = GraphQLString.type
        ).arguments(listOf(
          CompiledArgument.Builder(NodeSurrogate.__getConcentration_molecule).value(mapOf(
            "name" to CompiledVariable("moleculeName")
          )).build()
        ))
        .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 = "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