toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case UsageLimitBreachAction.log:
      return 'log';
    case UsageLimitBreachAction.emitMetric:
      return 'emit-metric';
    case UsageLimitBreachAction.disable:
      return 'disable';
  }
}