Class PhoneNumber.TypeEnum.Adapter

java.lang.Object
com.google.gson.TypeAdapter<PhoneNumber.TypeEnum>
com.plaid.client.model.PhoneNumber.TypeEnum.Adapter
Enclosing class:
PhoneNumber.TypeEnum

public static class PhoneNumber.TypeEnum.Adapter
extends com.google.gson.TypeAdapter<PhoneNumber.TypeEnum>
  • Constructor Summary

    Constructors 
    Constructor Description
    Adapter()  
  • Method Summary

    Modifier and Type Method Description
    PhoneNumber.TypeEnum read​(com.google.gson.stream.JsonReader jsonReader)  
    void write​(com.google.gson.stream.JsonWriter jsonWriter, PhoneNumber.TypeEnum enumeration)  

    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

  • Method Details

    • write

      public void write​(com.google.gson.stream.JsonWriter jsonWriter, PhoneNumber.TypeEnum enumeration) throws java.io.IOException
      Specified by:
      write in class com.google.gson.TypeAdapter<PhoneNumber.TypeEnum>
      Throws:
      java.io.IOException
    • read

      public PhoneNumber.TypeEnum read​(com.google.gson.stream.JsonReader jsonReader) throws java.io.IOException
      Specified by:
      read in class com.google.gson.TypeAdapter<PhoneNumber.TypeEnum>
      Throws:
      java.io.IOException