toValue method
Implementation
String toValue() {
switch (this) {
case ServerType.github:
return 'GITHUB';
case ServerType.bitbucket:
return 'BITBUCKET';
case ServerType.githubEnterprise:
return 'GITHUB_ENTERPRISE';
}
}