1
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
625 B

import { OptionsVariableBuilder } from './optionsVariableBuilder';
import { IntervalVariableModel, VariableRefresh } from 'app/features/variables/types';
export class IntervalVariableBuilder extends OptionsVariableBuilder<IntervalVariableModel> {
withRefresh(refresh: VariableRefresh) {
this.variable.refresh = refresh;
return this;
}
withAuto(auto: boolean) {
this.variable.auto = auto;
return this;
}
withAutoCount(autoCount: number) {
this.variable.auto_count = autoCount;
return this;
}
withAutoMin(autoMin: string) {
this.variable.auto_min = autoMin;
return this;
}
}