toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PolicyComplianceStatusType.compliant:
      return 'COMPLIANT';
    case PolicyComplianceStatusType.nonCompliant:
      return 'NON_COMPLIANT';
  }
}