toValue method
Implementation
String toValue() {
switch (this) {
case PermissionType.fullAccess:
return 'FULL_ACCESS';
case PermissionType.sendAs:
return 'SEND_AS';
case PermissionType.sendOnBehalf:
return 'SEND_ON_BEHALF';
}
}