public interface RESTMessage
void
validate()
void validate()
This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.