toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case MaximumExecutionFrequency.oneHour:
      return 'One_Hour';
    case MaximumExecutionFrequency.threeHours:
      return 'Three_Hours';
    case MaximumExecutionFrequency.sixHours:
      return 'Six_Hours';
    case MaximumExecutionFrequency.twelveHours:
      return 'Twelve_Hours';
    case MaximumExecutionFrequency.twentyFourHours:
      return 'TwentyFour_Hours';
  }
}