in web/frontend/src/app/pages/streams/models/tab.model.ts [41:129]
constructor(obj: {} | TabModel) {
if (obj['stream']) {
this.stream = obj['stream'];
}
if (obj['isView']) {
this.isView = !!obj['isView'];
}
if (obj['streamName']) {
this.streamName = obj['streamName'];
}
if (obj['streamRange']) {
this.streamRange = obj['streamRange'];
}
if (obj['chartType']) {
this.chartType = obj['chartType'];
}
if (obj['chartTypeTitles']) {
this.chartTypeTitles = obj['chartTypeTitles'];
}
if (obj['symbol']) {
this.symbol = obj['symbol'];
}
if (obj['space'] !== undefined) {
this.space = obj['space'];
}
if (obj['id']) {
this.id = obj['id'];
}
if (obj['name']) {
this.name = obj['name'];
}
if (obj['active']) {
this.active = obj['active'];
}
if (obj['live']) {
this.live = obj['live'];
}
if (obj['monitor']) {
this.monitor = obj['monitor'];
}
if (obj['reverse']) {
this.reverse = obj['reverse'];
}
if (obj['view']) {
this.view = obj['view'];
}
if (obj['schema']) {
this.schema = obj['schema'];
}
if (obj['schemaEdit']) {
this.schemaEdit = obj['schemaEdit'];
}
if (obj['streamCreate']) {
this.streamCreate = obj['streamCreate'];
}
if (obj['chart']) {
this.chart = obj['chart'];
}
if (obj['query']) {
this.query = obj['query'];
}
if (obj['flow']) {
this.flow = obj['flow'];
}
if (obj['filter']) {
this.filter = obj['filter'];
}
if (obj['orderBook']) {
this.orderBook = obj['orderBook'];
}
if (obj['tabSettings']) {
this.tabSettings = obj['tabSettings'];
}
if (obj['queryStream']) {
this.queryStream = obj['queryStream'];
}
if (obj['querySymbol']) {
this.querySymbol = obj['querySymbol'];
}
if (obj['queryInitialQuery']) {
this.queryInitialQuery = obj['queryInitialQuery'];
}
}