toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ContributorInsightsStatus.enabling:
      return 'ENABLING';
    case ContributorInsightsStatus.enabled:
      return 'ENABLED';
    case ContributorInsightsStatus.disabling:
      return 'DISABLING';
    case ContributorInsightsStatus.disabled:
      return 'DISABLED';
    case ContributorInsightsStatus.failed:
      return 'FAILED';
  }
}