toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case UpdateTargetsOperatingSystem.ubuntu:
      return 'ubuntu';
    case UpdateTargetsOperatingSystem.raspbian:
      return 'raspbian';
    case UpdateTargetsOperatingSystem.amazonLinux:
      return 'amazon_linux';
    case UpdateTargetsOperatingSystem.openwrt:
      return 'openwrt';
  }
}