19 lines
550 B
C#
19 lines
550 B
C#
|
|
using System.Text.Json.Serialization;
|
||
|
|
|
||
|
|
namespace BotSharp.OpenAPI.ViewModels.Instructs;
|
||
|
|
|
||
|
|
public class ImageGenerationViewModel
|
||
|
|
{
|
||
|
|
[JsonPropertyName("content")]
|
||
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||
|
|
public string? Content { get; set; }
|
||
|
|
|
||
|
|
[JsonPropertyName("data")]
|
||
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||
|
|
public object? Data { get; set; }
|
||
|
|
|
||
|
|
[JsonPropertyName("message")]
|
||
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||
|
|
public string? Message { get; set; }
|
||
|
|
}
|