-
-
Notifications
You must be signed in to change notification settings - Fork 524
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6553455
commit 88f4be9
Showing
1 changed file
with
12 additions
and
18 deletions.
There are no files selected for viewing
30 changes: 12 additions & 18 deletions
30
OpenAI.SDK/ObjectModels/ResponseModels/MessageListResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,16 @@ | ||
using OpenAI.ObjectModels.SharedModels; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Text.Json.Serialization; | ||
using System.Threading.Tasks; | ||
using System.Text.Json.Serialization; | ||
using OpenAI.ObjectModels.SharedModels; | ||
|
||
namespace OpenAI.ObjectModels.ResponseModels | ||
namespace OpenAI.ObjectModels.ResponseModels; | ||
|
||
public record MessageListResponse : DataBaseResponse<List<MessageResponse>> | ||
{ | ||
public record MessageListResponse : DataBaseResponse<List<MessageResponse>> | ||
{ | ||
[JsonPropertyName("first_id")] | ||
public string FirstId { get; set; } | ||
[JsonPropertyName("first_id")] | ||
public string FirstId { get; set; } | ||
|
||
[JsonPropertyName("last_id")] | ||
public string LastId { get; set; } | ||
[JsonPropertyName("last_id")] | ||
public string LastId { get; set; } | ||
|
||
[JsonPropertyName("has_more")] | ||
public bool IsHasMore { get; set; } | ||
} | ||
} | ||
[JsonPropertyName("has_more")] | ||
public bool IsHasMore { get; set; } | ||
} |