MutationRef
A reference to a mutation, see FirebaseDataConnect.mutation.
Properties
Link copied to clipboard
Which SDK created this reference.
Link copied to clipboard
The instance this reference belongs to.
Link copied to clipboard
Decodes the data the operation returns.
Link copied to clipboard
The module dataDeserializer resolves contextual serializers from, if any.
Link copied to clipboard
The name of the operation in the connector.
Link copied to clipboard
Encodes variables.
Link copied to clipboard
The module variablesSerializer resolves contextual serializers from, if any.
Functions
Link copied to clipboard
abstract override fun copy(operationName: String = this.operationName, variables: Variables = this.variables, dataDeserializer: DeserializationStrategy<Data> = this.dataDeserializer, variablesSerializer: SerializationStrategy<Variables> = this.variablesSerializer, callerSdkType: FirebaseDataConnect.CallerSdkType = this.callerSdkType, dataSerializersModule: SerializersModule? = this.dataSerializersModule, variablesSerializersModule: SerializersModule? = this.variablesSerializersModule): MutationRef<Data, Variables>
A copy of this reference with the given values replaced.
Link copied to clipboard
Executes the operation; throws DataConnectOperationException when the server reports errors.
Link copied to clipboard
abstract override fun <NewData> withDataDeserializer(dataDeserializer: DeserializationStrategy<NewData>, dataSerializersModule: SerializersModule? = this.dataSerializersModule): MutationRef<NewData, Variables>
A copy of this reference decoding its data with another deserializer.
Link copied to clipboard
abstract override fun <NewVariables> withVariablesSerializer(variables: NewVariables, variablesSerializer: SerializationStrategy<NewVariables>, variablesSerializersModule: SerializersModule? = this.variablesSerializersModule): MutationRef<Data, NewVariables>
A copy of this reference with other variables, and their serializer.