Package com.jakewharton.domainr.enumerations

All Domainr-defined enumerations which are used both in request responses as well as building remote requests.

See:
          Description

Enum Summary
Availability Represents domain availability.
 

Package com.jakewharton.domainr.enumerations Description

All Domainr-defined enumerations which are used both in request responses as well as building remote requests.

Serialization of these enumerations is handled by overriding the toString() method. Additionally, all enumerations must implement the DomainrEnumeration interface in order to be properly serialized.

Deserialization of an enumerable value requires registration with the GSON builder in the DomainrApiService.getGsonBuilder() method. An appropriate method of deserialization should be handled by a static method defined within the type, by convention, fromString(String).



Copyright © 2011 Jake Wharton. All Rights Reserved.