# RelationshipGroup

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.RelationshipGroup/

Struct for list of related objects.

- **Full name:** `MFiles.RelationshipGroup`
- **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-object_type"></a>`object_type` | `int32` | 1 | The object type whose relationships belong to this group, or -1 if the group contains relationships from all object types. |
| <a id="f-related_objects"></a>`related_objects` | repeated [`RelationshipData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.RelationshipData/index.md) | 2 | List of related objects. |
| <a id="f-has_more_related_objects"></a>`has_more_related_objects` | `bool` | 3 | True if not all relationships belonging to this group could be retrieved. |

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

## Used in fields

- [`ObjectVersionData.relationships`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjectVersionData/index.md#f-relationships): List of related objects(From and To) and collection members. Null pointer, if data was not requested.
