UNPKG

cloud-ide-lms-model

Version:

Package for Model management of Cloud IDEsys LMS

41 lines (40 loc) 1.2 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MAppDeploymentInsertUpdatePayload = exports.MAppDeploymentGetByIdPayload = exports.MAppDeployment = void 0; const common_1 = require("../../common-types/common"); /* INTERFACE END */ /* MODEL START */ class MAppDeployment extends common_1.MTableQueries { constructor(init) { super(init); Object.assign(this, init); } Validate() { let errorLogger = {}; return errorLogger; } } exports.MAppDeployment = MAppDeployment; class MAppDeploymentGetByIdPayload { constructor(init) { Object.assign(this, init); } Validate() { let errorLogger = {}; if (!this.appdep_id && !this._id) { errorLogger.appdep_id = "App Deployment ID is Required!"; } return errorLogger; } } exports.MAppDeploymentGetByIdPayload = MAppDeploymentGetByIdPayload; class MAppDeploymentInsertUpdatePayload { constructor(init) { Object.assign(this, init); } Validate() { let errorLogger = {}; return errorLogger; } } exports.MAppDeploymentInsertUpdatePayload = MAppDeploymentInsertUpdatePayload;