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

# ObjectRef

> One object of a target.

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

**Implements:** `IEquatable<ObjectRef>`

## Constructors

```csharp
public ObjectRef(string Kind, string Id)
```

One object of a target.

### Parameters

**Kind** `string` *required*

The manifest object or resource kind.

**Id** `string` *required*

The vendor's stable id for it.

## Properties

**Id** `string` *required*

The vendor's stable id for it.

**Kind** `string` *required*

The manifest object or resource kind.

## Methods

### Deconstruct()

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

#### Parameters

**Kind** `string` *required*

**Id** `string` *required*

### Equals()

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

#### Parameters

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

#### Parameters

**left** `ObjectRef` *required*

**right** `ObjectRef` *required*

#### Returns

`bool`

### operator ==()

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

#### Parameters

**left** `ObjectRef` *required*

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