Merge "[1707-OS] Updated license text according to the"
[sdc.git] / catalog-ui / src / app / models / inputs-and-properties.ts
1 /**
2  * Created by obarda on 1/11/2017.
3  */
4 'use strict';
5 import {PropertyModel} from "./properties";
6 import {InputModel} from "./inputs";
7
8 export class InputsAndProperties {
9
10     inputs:Array<InputModel>;
11     properties:Array<PropertyModel>;
12
13
14     constructor(inputs?:Array<InputModel>, properties?:Array<PropertyModel>) {
15         if (inputs && inputs.length > 0) {
16             this.inputs = inputs;
17         }
18         if (properties && properties.length > 0) {
19             this.properties = properties;
20         }
21     }
22 }