toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case StateMachineStatus.active:
      return 'ACTIVE';
    case StateMachineStatus.deleting:
      return 'DELETING';
  }
}