cloud-ide-model-schema
Version:
Pachage for schema management of Cloud IDEsys LMS
23 lines (22 loc) • 706 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MResetPassword = void 0;
/* INTERFACE END */
/* MODEL START */
var MResetPassword = /** @class */ (function () {
function MResetPassword(init) {
Object.assign(this, init);
}
MResetPassword.prototype.Validate = function () {
var errorLogger = {};
if (!this.sylog_config_data) {
errorLogger.sylog_config_data = "Configuration Data is Required!";
}
if (!this.user_password) {
errorLogger.user_password = "Password is Required!";
}
return errorLogger;
};
return MResetPassword;
}());
exports.MResetPassword = MResetPassword;