toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AdjustmentType.changeInCapacity:
      return 'CHANGE_IN_CAPACITY';
    case AdjustmentType.percentChangeInCapacity:
      return 'PERCENT_CHANGE_IN_CAPACITY';
    case AdjustmentType.exactCapacity:
      return 'EXACT_CAPACITY';
  }
}