Package com.twitter.clientlib.model
Class UserWithheld.ScopeEnum.Adapter
- java.lang.Object
-
- com.google.gson.TypeAdapter<UserWithheld.ScopeEnum>
-
- com.twitter.clientlib.model.UserWithheld.ScopeEnum.Adapter
-
- Enclosing class:
- UserWithheld.ScopeEnum
public static class UserWithheld.ScopeEnum.Adapter extends com.google.gson.TypeAdapter<UserWithheld.ScopeEnum>
-
-
Constructor Summary
Constructors Constructor Description Adapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserWithheld.ScopeEnum
read(com.google.gson.stream.JsonReader jsonReader)
void
write(com.google.gson.stream.JsonWriter jsonWriter, UserWithheld.ScopeEnum enumeration)
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, UserWithheld.ScopeEnum enumeration) throws IOException
- Specified by:
write
in classcom.google.gson.TypeAdapter<UserWithheld.ScopeEnum>
- Throws:
IOException
-
read
public UserWithheld.ScopeEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException
- Specified by:
read
in classcom.google.gson.TypeAdapter<UserWithheld.ScopeEnum>
- Throws:
IOException
-
-