toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case NfsVersion.automatic:
      return 'AUTOMATIC';
    case NfsVersion.nfs3:
      return 'NFS3';
    case NfsVersion.nfs4_0:
      return 'NFS4_0';
    case NfsVersion.nfs4_1:
      return 'NFS4_1';
  }
}