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