toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ProviderType.codeCommit:
      return 'CodeCommit';
    case ProviderType.gitHub:
      return 'GitHub';
    case ProviderType.bitbucket:
      return 'Bitbucket';
    case ProviderType.gitHubEnterpriseServer:
      return 'GitHubEnterpriseServer';
  }
}