---
title: ObjRefType enum | Wartiva GraphQL API
description: Type of object reference in an nftables ObjRefExpression. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/obj-ref-type.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL enum

# `ObjRefType` enum

Type of object reference in an nftables ObjRefExpression.

## Values

| Enum Value | Description |
|---|---|
| `IMM_TYPE` | Immediate reference, specifying the object type directly. |
| `IMM_NAME` | Immediate reference, specifying the object name directly. |
| `SET_SREG` | Reference to a set, with the key coming from a source register. |
| `SET_NAME` | Reference to a set, identified by its name. |
| `SET_ID` | Reference to a set, identified by its internal ID in the current transaction. |

## Used by

- [`ObjRefExpression`](https://wartiva.com/api-docs/types/obj-ref-expression.html) type: ObjRefExpression represents an nftables expression for referencing other objects (like sets, maps, or other named entities) within the nftables…

## Example

### Example

```json
"IMM_TYPE"

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
