# IndirectPropertyIDLevelRef

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.IndirectPropertyIDLevelRef/

Indirect property ID level reference.

- **Full name:** `MFiles.IndirectPropertyIDLevelRef`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-type"></a>`type` | [`IndirectPropertyIDLevelType`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.IndirectPropertyIDLevelType/index.md) | 1 | Reference type selector. Values: `INDIRECT_PROPERTY_IDLEVEL_TYPE_PROPERTY_DEF` (0), `INDIRECT_PROPERTY_IDLEVEL_TYPE_OBJECT_TYPE` (1), `INDIRECT_PROPERTY_IDLEVEL_TYPE_WORKFLOW_STATE` (2). |
| <a id="f-id"></a>`id` | `int32` | 2 | ID. Semantics depend on the type selector. For eipidltPropertyDef, this is the ID of a property definition. For eipidltObjectType, this is the ID of an object type. For eipidltStateChanger, this is the ID of a workflow state (a state ID uniquely identifies the state, states of different workflows always have different IDs). |
| <a id="f-reference_direction"></a>`reference_direction` | [`ReferenceDirection`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.ReferenceDirection/index.md) | 3 | Reference direction. Either From (Forward) or To (Reverse). Values: `REFERENCE_DIRECTION_FROM` (0), `REFERENCE_DIRECTION_TO` (1). |
| <a id="f-to_object_type"></a>`to_object_type` | `int32` | 4 | The object type whose objects establish the To direction. Ignored if the reference direction is From. |

<a id="used-in-fields"></a>

## Used in fields

- [`IndirectPropertyIDLevel.level_ref`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.IndirectPropertyIDLevel/index.md#f-level_ref): ID reference part of this level.
