Properties

Link copied to clipboard
abstract val connector: Connector

The connector the operation belongs to.

Link copied to clipboard
abstract val dataDeserializer: DeserializationStrategy<Data>

Decodes the data the operation returns.

Link copied to clipboard
abstract val operationName: String

The name of the operation.

Link copied to clipboard
abstract val variablesSerializer: SerializationStrategy<Variables>

Encodes the operation's variables.

Functions

Link copied to clipboard
abstract override fun copy(connector: Connector = this.connector, operationName: String = this.operationName, dataDeserializer: DeserializationStrategy<Data> = this.dataDeserializer, variablesSerializer: SerializationStrategy<Variables> = this.variablesSerializer): GeneratedMutation<Connector, Data, Variables>

A copy of this operation with the given values replaced.

Link copied to clipboard
abstract operator override fun equals(other: Any?): Boolean
Link copied to clipboard
abstract override fun hashCode(): Int
Link copied to clipboard
open override fun ref(variables: Variables): MutationRef<Data, Variables>

A reference to the operation with the given variables.

Link copied to clipboard
abstract override fun toString(): String
Link copied to clipboard
abstract override fun <NewData> withDataDeserializer(dataDeserializer: DeserializationStrategy<NewData>): GeneratedMutation<Connector, NewData, Variables>

A copy of this operation with another data deserializer.

Link copied to clipboard
abstract override fun <NewVariables> withVariablesSerializer(variablesSerializer: SerializationStrategy<NewVariables>): GeneratedMutation<Connector, Data, NewVariables>

A copy of this operation with another variables serializer.