Class ODataBooleanAdapter

java.lang.Object
com.google.gson.TypeAdapter<Boolean>
com.sap.cloud.sdk.s4hana.datamodel.odata.adapter.ODataBooleanAdapter

public class ODataBooleanAdapter extends com.google.gson.TypeAdapter<Boolean>
For internal use only by data model classes
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    read(com.google.gson.stream.JsonReader in)
    For internal use only by data model classes
    void
    write(com.google.gson.stream.JsonWriter out, Boolean entityValue)
    For internal use only by data model classes

    Methods inherited from class com.google.gson.TypeAdapter

    fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ODataBooleanAdapter

      public ODataBooleanAdapter()
  • Method Details

    • write

      public void write(@Nonnull com.google.gson.stream.JsonWriter out, @Nullable Boolean entityValue) throws IOException
      For internal use only by data model classes
      Specified by:
      write in class com.google.gson.TypeAdapter<Boolean>
      Throws:
      IOException
    • read

      @Nonnull public Boolean read(@Nonnull com.google.gson.stream.JsonReader in) throws IOException
      For internal use only by data model classes
      Specified by:
      read in class com.google.gson.TypeAdapter<Boolean>
      Throws:
      IOException