toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PolicyType.inline:
      return 'INLINE';
    case PolicyType.managed:
      return 'MANAGED';
  }
}