toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReservationResourceType.input:
      return 'INPUT';
    case ReservationResourceType.output:
      return 'OUTPUT';
    case ReservationResourceType.multiplex:
      return 'MULTIPLEX';
    case ReservationResourceType.channel:
      return 'CHANNEL';
  }
}