Package com.dropbox.core.v2.auth
Class RateLimitError.Serializer
- java.lang.Object
-
- com.dropbox.core.stone.StoneSerializer<T>
-
- com.dropbox.core.stone.CompositeSerializer<T>
-
- com.dropbox.core.stone.StructSerializer<RateLimitError>
-
- com.dropbox.core.v2.auth.RateLimitError.Serializer
-
- Enclosing class:
- RateLimitError
public static class RateLimitError.Serializer extends StructSerializer<RateLimitError>
For internal use only.
-
-
Field Summary
Fields Modifier and Type Field Description static RateLimitError.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 RateLimitError
deserialize(com.fasterxml.jackson.core.JsonParser p, boolean collapsed)
void
serialize(RateLimitError value, com.fasterxml.jackson.core.JsonGenerator g, boolean collapse)
-
Methods inherited from class com.dropbox.core.stone.StructSerializer
deserialize, serialize
-
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 RateLimitError.Serializer INSTANCE
-
-
Method Detail
-
serialize
public void serialize(RateLimitError value, com.fasterxml.jackson.core.JsonGenerator g, boolean collapse) throws java.io.IOException, com.fasterxml.jackson.core.JsonGenerationException
- Specified by:
serialize
in classStructSerializer<RateLimitError>
- Throws:
java.io.IOException
com.fasterxml.jackson.core.JsonGenerationException
-
deserialize
public RateLimitError deserialize(com.fasterxml.jackson.core.JsonParser p, boolean collapsed) throws java.io.IOException, com.fasterxml.jackson.core.JsonParseException
- Specified by:
deserialize
in classStructSerializer<RateLimitError>
- Throws:
java.io.IOException
com.fasterxml.jackson.core.JsonParseException
-
-