Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhantolga committed Apr 15, 2024
1 parent 6553455 commit 88f4be9
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions OpenAI.SDK/ObjectModels/ResponseModels/MessageListResponse.cs
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; }
}

0 comments on commit 88f4be9

Please sign in to comment.