Class ThrottlingPolicyDTO.PolicyLevelEnum.Adapter
- java.lang.Object
-
- com.google.gson.TypeAdapter<ThrottlingPolicyDTO.PolicyLevelEnum>
-
- org.wso2.am.integration.clients.store.api.v1.dto.ThrottlingPolicyDTO.PolicyLevelEnum.Adapter
-
- Enclosing class:
- ThrottlingPolicyDTO.PolicyLevelEnum
public static class ThrottlingPolicyDTO.PolicyLevelEnum.Adapter extends com.google.gson.TypeAdapter<ThrottlingPolicyDTO.PolicyLevelEnum>
-
-
Constructor Summary
Constructors Constructor Description Adapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrottlingPolicyDTO.PolicyLevelEnumread(com.google.gson.stream.JsonReader jsonReader)voidwrite(com.google.gson.stream.JsonWriter jsonWriter, ThrottlingPolicyDTO.PolicyLevelEnum enumeration)
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, ThrottlingPolicyDTO.PolicyLevelEnum enumeration) throws IOException- Specified by:
writein classcom.google.gson.TypeAdapter<ThrottlingPolicyDTO.PolicyLevelEnum>- Throws:
IOException
-
read
public ThrottlingPolicyDTO.PolicyLevelEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException
- Specified by:
readin classcom.google.gson.TypeAdapter<ThrottlingPolicyDTO.PolicyLevelEnum>- Throws:
IOException
-
-