toValue method
Implementation
String toValue() {
switch (this) {
case DataSourceType.s3:
return 'S3';
case DataSourceType.sharepoint:
return 'SHAREPOINT';
case DataSourceType.database:
return 'DATABASE';
case DataSourceType.salesforce:
return 'SALESFORCE';
case DataSourceType.onedrive:
return 'ONEDRIVE';
case DataSourceType.servicenow:
return 'SERVICENOW';
case DataSourceType.custom:
return 'CUSTOM';
case DataSourceType.confluence:
return 'CONFLUENCE';
case DataSourceType.googledrive:
return 'GOOGLEDRIVE';
}
}