toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReplicationRuleStatus.enabled:
      return 'Enabled';
    case ReplicationRuleStatus.disabled:
      return 'Disabled';
  }
}