toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case FleetType.alwaysOn:
      return 'ALWAYS_ON';
    case FleetType.onDemand:
      return 'ON_DEMAND';
  }
}