Package com.force.api

Class ExtendedApiVersion

java.lang.Object
com.force.api.ExtendedApiVersion
All Implemented Interfaces:
Comparable<ExtendedApiVersion>

public class ExtendedApiVersion
extends Object
implements Comparable<ExtendedApiVersion>
represents a single supported API version as reported by the /services/data resource for the instance endpoint returned on authentication. com.frejo.api.ApiVersion was originally used to set the current API version and manage the complete list of versions as an enum. It will likely be phased out in favor of using plain version strings along with this class for more extended version information. This is a tweak to an original proposal by @cswendrowski.