> ## Documentation Index
> Fetch the complete documentation index at: https://klef.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# EntitlementRef

> A relation to one object of a target, such as member of a group.

```csharp
public sealed record EntitlementRef : IEquatable<EntitlementRef>
```

**Implements:** `IEquatable<EntitlementRef>`

## Constructors

```csharp
public EntitlementRef(string Kind, string Id, string Relation)
```

A relation to one object of a target, such as member of a group.

### Parameters

**Kind** `string` *required*

The manifest object or resource it is on.

**Id** `string` *required*

The vendor's stable id for that object.

**Relation** `string` *required*

How the holder relates to the object, such as member, push or eligible.

## Properties

**Id** `string` *required*

The vendor's stable id for that object.

**Kind** `string` *required*

The manifest object or resource it is on.

**Relation** `string` *required*

How the holder relates to the object, such as member, push or eligible.

**Scope** `ObjectRef`

Where a role applies, or [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) when it is not a role at a scope.

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out string Kind, out string Id, out string Relation)
```

#### Parameters

**Kind** `string` *required*

**Id** `string` *required*

**Relation** `string` *required*

### Equals()

```csharp
public bool Equals(EntitlementRef? other)
```

#### Parameters

**other** `EntitlementRef` *required*

#### Returns

`bool`

```csharp
public override bool Equals(object? obj)
```

#### Parameters

**obj** `object` *required*

#### Returns

`bool`

### GetHashCode()

```csharp
public override int GetHashCode()
```

#### Returns

`int`

### operator !=()

```csharp
public static bool operator !=(EntitlementRef? left, EntitlementRef? right)
```

#### Parameters

**left** `EntitlementRef` *required*

**right** `EntitlementRef` *required*

#### Returns

`bool`

### operator ==()

```csharp
public static bool operator ==(EntitlementRef? left, EntitlementRef? right)
```

#### Parameters

**left** `EntitlementRef` *required*

**right** `EntitlementRef` *required*

#### Returns

`bool`

### ToString()

```csharp
public override string ToString()
```

#### Returns

`string`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.