Package io.kubernetes.client.custom
Class IntOrString.IntOrStringAdapter
java.lang.Object
com.google.gson.TypeAdapter<IntOrString>
io.kubernetes.client.custom.IntOrString.IntOrStringAdapter
- Enclosing class:
- IntOrString
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread
(com.google.gson.stream.JsonReader jsonReader) void
write
(com.google.gson.stream.JsonWriter jsonWriter, IntOrString intOrString) Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
IntOrStringAdapter
public IntOrStringAdapter()
-
-
Method Details
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, IntOrString intOrString) throws IOException - Specified by:
write
in classcom.google.gson.TypeAdapter<IntOrString>
- Throws:
IOException
-
read
- Specified by:
read
in classcom.google.gson.TypeAdapter<IntOrString>
- Throws:
IOException
-