toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ContainerServicePowerName.nano:
      return 'nano';
    case ContainerServicePowerName.micro:
      return 'micro';
    case ContainerServicePowerName.small:
      return 'small';
    case ContainerServicePowerName.medium:
      return 'medium';
    case ContainerServicePowerName.large:
      return 'large';
    case ContainerServicePowerName.xlarge:
      return 'xlarge';
  }
}