toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CertificateAuthorityStatus.creating:
      return 'CREATING';
    case CertificateAuthorityStatus.pendingCertificate:
      return 'PENDING_CERTIFICATE';
    case CertificateAuthorityStatus.active:
      return 'ACTIVE';
    case CertificateAuthorityStatus.deleted:
      return 'DELETED';
    case CertificateAuthorityStatus.disabled:
      return 'DISABLED';
    case CertificateAuthorityStatus.expired:
      return 'EXPIRED';
    case CertificateAuthorityStatus.failed:
      return 'FAILED';
  }
}