using System.Text.Json.Serialization; namespace Clawdforge.Models; /// /// Response body from POST /files. /// /// /// The class is named FileToken for consistency with the other SDKs. /// The actual opaque token string is on ; the property /// can't share the type's name in C#. /// public sealed class FileToken { /// /// The opaque file token (prefix ff_). Pass via /// on subsequent /run calls. /// Wire field: file_token. /// [JsonPropertyName("file_token")] public string Token { get; init; } = string.Empty; /// /// TTL the server registered (clamped to 60..86400). /// Wire field: ttl_secs. /// [JsonPropertyName("ttl_secs")] public int TtlSecs { get; init; } /// Bytes written to the server's staging dir. [JsonPropertyName("size")] public long Size { get; init; } }