toValue method

String toValue()

Implementation

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