toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReplicaMode.openReadOnly:
      return 'open-read-only';
    case ReplicaMode.mounted:
      return 'mounted';
  }
}