toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AutoRegistrationStatus.enable:
      return 'ENABLE';
    case AutoRegistrationStatus.disable:
      return 'DISABLE';
  }
}