toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CACertificateStatus.active:
      return 'ACTIVE';
    case CACertificateStatus.inactive:
      return 'INACTIVE';
  }
}