Package com.dropbox.core.v2.teampolicies
Class TwoStepVerificationPolicy.Serializer
- java.lang.Object
-
- com.dropbox.core.stone.StoneSerializer<T>
-
- com.dropbox.core.stone.CompositeSerializer<T>
-
- com.dropbox.core.stone.UnionSerializer<TwoStepVerificationPolicy>
-
- com.dropbox.core.v2.teampolicies.TwoStepVerificationPolicy.Serializer
-
- Enclosing class:
- TwoStepVerificationPolicy
public static class TwoStepVerificationPolicy.Serializer extends UnionSerializer<TwoStepVerificationPolicy>
For internal use only.
-
-
Field Summary
Fields Modifier and Type Field Description static TwoStepVerificationPolicy.Serializer
INSTANCE
-
Fields inherited from class com.dropbox.core.stone.CompositeSerializer
TAG_FIELD
-
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TwoStepVerificationPolicy
deserialize(com.fasterxml.jackson.core.JsonParser p)
void
serialize(TwoStepVerificationPolicy value, com.fasterxml.jackson.core.JsonGenerator g)
-
Methods inherited from class com.dropbox.core.stone.CompositeSerializer
hasTag, readTag, writeTag
-
Methods inherited from class com.dropbox.core.stone.StoneSerializer
deserialize, deserialize, expectEndArray, expectEndObject, expectField, expectStartArray, expectStartObject, getStringValue, serialize, serialize, serialize, serialize, skipFields, skipValue
-
-
-
-
Field Detail
-
INSTANCE
public static final TwoStepVerificationPolicy.Serializer INSTANCE
-
-
Method Detail
-
serialize
public void serialize(TwoStepVerificationPolicy value, com.fasterxml.jackson.core.JsonGenerator g) throws java.io.IOException, com.fasterxml.jackson.core.JsonGenerationException
- Specified by:
serialize
in classStoneSerializer<TwoStepVerificationPolicy>
- Throws:
java.io.IOException
com.fasterxml.jackson.core.JsonGenerationException
-
deserialize
public TwoStepVerificationPolicy deserialize(com.fasterxml.jackson.core.JsonParser p) throws java.io.IOException, com.fasterxml.jackson.core.JsonParseException
- Specified by:
deserialize
in classStoneSerializer<TwoStepVerificationPolicy>
- Throws:
java.io.IOException
com.fasterxml.jackson.core.JsonParseException
-
-