Class GleSYSTypeAdapters.ServerStateAdapter
- java.lang.Object
-
- com.google.gson.TypeAdapter<Server.State>
-
- org.jclouds.glesys.functions.internal.GleSYSTypeAdapters.ServerStateAdapter
-
- Enclosing class:
- GleSYSTypeAdapters
public static class GleSYSTypeAdapters.ServerStateAdapter extends com.google.gson.TypeAdapter<Server.State>
-
-
Constructor Summary
Constructors Constructor Description ServerStateAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Server.State
read(com.google.gson.stream.JsonReader reader)
void
write(com.google.gson.stream.JsonWriter writer, Server.State value)
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter writer, Server.State value) throws IOException
- Specified by:
write
in classcom.google.gson.TypeAdapter<Server.State>
- Throws:
IOException
-
read
public Server.State read(com.google.gson.stream.JsonReader reader) throws IOException
- Specified by:
read
in classcom.google.gson.TypeAdapter<Server.State>
- Throws:
IOException
-
-