19 lines
556 B
C#
19 lines
556 B
C#
|
|
namespace BotSharp.Abstraction.Files.Models;
|
||
|
|
|
||
|
|
public class InstructFileModel : FileBase
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// File extension without dot
|
||
|
|
/// </summary>
|
||
|
|
[JsonPropertyName("file_extension")]
|
||
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||
|
|
public string? FileExtension { get; set; } = string.Empty;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// External file url
|
||
|
|
/// </summary>
|
||
|
|
[JsonPropertyName("file_url")]
|
||
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||
|
|
public string? FileUrl { get; set; } = string.Empty;
|
||
|
|
}
|