toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PermissionModels.serviceManaged:
      return 'SERVICE_MANAGED';
    case PermissionModels.selfManaged:
      return 'SELF_MANAGED';
  }
}