> ## 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.

# Resource

> One object an entitlement gives access to.

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

**Implements:** `IEquatable<Resource>`

## Constructors

```csharp
public Resource(string Id, string Label)
```

One object an entitlement gives access to.

### Parameters

**Id** `string` *required*

The vendor's stable id for it.

**Label** `string` *required*

The resource's display name.

## Properties

**Description** `string`

A line describing the resource.

**ExternalLink** `string`

Where it opens in the vendor's console.

**Id** `string` *required*

The vendor's stable id for it.

**Label** `string` *required*

The resource's display name.

**Parent** `Resource`

The resource it sits in.

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out string Id, out string Label)
```

#### Parameters

**Id** `string` *required*

**Label** `string` *required*

### Equals()

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

#### Parameters

**other** `Resource` *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 !=(Resource? left, Resource? right)
```

#### Parameters

**left** `Resource` *required*

**right** `Resource` *required*

#### Returns

`bool`

### operator ==()

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

#### Parameters

**left** `Resource` *required*

**right** `Resource` *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.