summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/models/serviceProxyModel.ts
diff options
context:
space:
mode:
Diffstat (limited to 'vid-webpack-master/src/app/shared/models/serviceProxyModel.ts')
-rw-r--r--vid-webpack-master/src/app/shared/models/serviceProxyModel.ts22
1 files changed, 22 insertions, 0 deletions
diff --git a/vid-webpack-master/src/app/shared/models/serviceProxyModel.ts b/vid-webpack-master/src/app/shared/models/serviceProxyModel.ts
new file mode 100644
index 000000000..31810ca72
--- /dev/null
+++ b/vid-webpack-master/src/app/shared/models/serviceProxyModel.ts
@@ -0,0 +1,22 @@
+
+import {NodeModel, NodeModelResponseInterface} from "./nodeModel";
+
+export interface ServiceProxyModelResponseInterface extends NodeModelResponseInterface{
+ sourceModelUuid: string;
+ sourceModelInvariant: string;
+ sourceModelName: string;
+}
+export class ServiceProxyModel extends NodeModel {
+ sourceModelUuid: string;
+ sourceModelInvariant: string;
+ sourceModelName: string;
+
+ constructor(serviceProxyJson?: ServiceProxyModelResponseInterface) {
+ if (serviceProxyJson) {
+ super(serviceProxyJson);
+ this.sourceModelUuid = serviceProxyJson.sourceModelUuid;
+ this.sourceModelInvariant = serviceProxyJson.sourceModelInvariant;
+ this.sourceModelName = serviceProxyJson.sourceModelName;
+ }
+ }
+}