validate method
dynamic
validate()
Implementation
validate() {
// check for required fields
// check that fields of type enum have valid values
if (isSetModule() && !ConfigModule.VALID_VALUES.contains(module)) {
throw new TProtocolError(TProtocolErrorType.UNKNOWN,
"The field 'module' has been assigned the invalid value $module");
}
}