toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RecommendationTarget.sameInstanceFamily:
      return 'SAME_INSTANCE_FAMILY';
    case RecommendationTarget.crossInstanceFamily:
      return 'CROSS_INSTANCE_FAMILY';
  }
}