toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case BudgetType.usage:
      return 'USAGE';
    case BudgetType.cost:
      return 'COST';
    case BudgetType.riUtilization:
      return 'RI_UTILIZATION';
    case BudgetType.riCoverage:
      return 'RI_COVERAGE';
    case BudgetType.savingsPlansUtilization:
      return 'SAVINGS_PLANS_UTILIZATION';
    case BudgetType.savingsPlansCoverage:
      return 'SAVINGS_PLANS_COVERAGE';
  }
}