toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ApplyMethod.immediate:
      return 'immediate';
    case ApplyMethod.pendingReboot:
      return 'pending-reboot';
  }
}