toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RowLevelPermissionPolicy.grantAccess:
      return 'GRANT_ACCESS';
    case RowLevelPermissionPolicy.denyAccess:
      return 'DENY_ACCESS';
  }
}