# ChatCompletionChunk
Namespace: LLama.OldVersion
```csharp
public class ChatCompletionChunk : System.IEquatable`1[[LLama.OldVersion.ChatCompletionChunk, LLamaSharp, Version=0.4.0.0, Culture=neutral, PublicKeyToken=null]]
```
Inheritance [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object) → [ChatCompletionChunk](./llama.oldversion.chatcompletionchunk.md)
Implements [IEquatable<ChatCompletionChunk>](https://docs.microsoft.com/en-us/dotnet/api/system.iequatable-1)
## Properties
### **Id**
```csharp
public string Id { get; set; }
```
#### Property Value
[String](https://docs.microsoft.com/en-us/dotnet/api/system.string)
### **Model**
```csharp
public string Model { get; set; }
```
#### Property Value
[String](https://docs.microsoft.com/en-us/dotnet/api/system.string)
### **Object**
```csharp
public string Object { get; set; }
```
#### Property Value
[String](https://docs.microsoft.com/en-us/dotnet/api/system.string)
### **Created**
```csharp
public int Created { get; set; }
```
#### Property Value
[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)
### **Choices**
```csharp
public ChatCompletionChunkChoice[] Choices { get; set; }
```
#### Property Value
[ChatCompletionChunkChoice[]](./llama.oldversion.chatcompletionchunkchoice.md)
## Constructors
### **ChatCompletionChunk(String, String, String, Int32, ChatCompletionChunkChoice[])**
```csharp
public ChatCompletionChunk(string Id, string Model, string Object, int Created, ChatCompletionChunkChoice[] Choices)
```
#### Parameters
`Id` [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)
`Model` [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)
`Object` [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)
`Created` [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)
`Choices` [ChatCompletionChunkChoice[]](./llama.oldversion.chatcompletionchunkchoice.md)
## Methods
### **ToString()**
```csharp
public string ToString()
```
#### Returns
[String](https://docs.microsoft.com/en-us/dotnet/api/system.string)
### **PrintMembers(StringBuilder)**
```csharp
protected bool PrintMembers(StringBuilder builder)
```
#### Parameters
`builder` [StringBuilder](https://docs.microsoft.com/en-us/dotnet/api/system.text.stringbuilder)
#### Returns
[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)
### **GetHashCode()**
```csharp
public int GetHashCode()
```
#### Returns
[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)
### **Equals(Object)**
```csharp
public bool Equals(object obj)
```
#### Parameters
`obj` [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object)
#### Returns
[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)
### **Equals(ChatCompletionChunk)**
```csharp
public bool Equals(ChatCompletionChunk other)
```
#### Parameters
`other` [ChatCompletionChunk](./llama.oldversion.chatcompletionchunk.md)
#### Returns
[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)
### **<Clone>$()**
```csharp
public ChatCompletionChunk $()
```
#### Returns
[ChatCompletionChunk](./llama.oldversion.chatcompletionchunk.md)
### **Deconstruct(String&, String&, String&, Int32&, ChatCompletionChunkChoice[]&)**
```csharp
public void Deconstruct(String& Id, String& Model, String& Object, Int32& Created, ChatCompletionChunkChoice[]& Choices)
```
#### Parameters
`Id` [String&](https://docs.microsoft.com/en-us/dotnet/api/system.string&)
`Model` [String&](https://docs.microsoft.com/en-us/dotnet/api/system.string&)
`Object` [String&](https://docs.microsoft.com/en-us/dotnet/api/system.string&)
`Created` [Int32&](https://docs.microsoft.com/en-us/dotnet/api/system.int32&)
`Choices` [ChatCompletionChunkChoice[]&](./llama.oldversion.chatcompletionchunkchoice&.md)