toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Type.pullRequest:
      return 'PullRequest';
    case Type.repositoryAnalysis:
      return 'RepositoryAnalysis';
  }
}