toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DirectoryType.saml:
      return 'SAML';
    case DirectoryType.connectManaged:
      return 'CONNECT_MANAGED';
    case DirectoryType.existingDirectory:
      return 'EXISTING_DIRECTORY';
  }
}