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

io.stigg.api.operations.adapter.GetEntitlementQuery_VariablesAdapter Maven / Gradle / Ivy

There is a newer version: 2.129.0
Show newest version
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '3.8.2'.
//
package io.stigg.api.operations.adapter;

import com.apollographql.apollo3.api.Adapter;
import com.apollographql.apollo3.api.CustomScalarAdapters;
import com.apollographql.apollo3.api.ObjectAdapter;
import com.apollographql.apollo3.api.json.JsonReader;
import com.apollographql.apollo3.api.json.JsonWriter;
import io.stigg.api.operations.GetEntitlementQuery;
import io.stigg.api.operations.type.FetchEntitlementQuery;
import io.stigg.api.operations.type.adapter.FetchEntitlementQuery_InputAdapter;
import java.io.IOException;
import java.lang.IllegalStateException;
import java.lang.Override;

public enum GetEntitlementQuery_VariablesAdapter implements Adapter {
  INSTANCE;

  @Override
  public GetEntitlementQuery fromJson(JsonReader reader, CustomScalarAdapters customScalarAdapters)
      throws IOException {
    throw new IllegalStateException("Input type used in output position");
  }

  @Override
  public void toJson(JsonWriter writer, CustomScalarAdapters customScalarAdapters,
      GetEntitlementQuery value) throws IOException {
    writer.name("query");
    new ObjectAdapter(FetchEntitlementQuery_InputAdapter.INSTANCE, false).toJson(writer, customScalarAdapters, value.query);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy