toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PolicyType.ruleBased:
      return 'RuleBased';
    case PolicyType.targetBased:
      return 'TargetBased';
  }
}