Files
AI/참고/firecrawl-main/apps/dot-net-sdk/Firecrawl/Models/BatchScrapeJob.cs

40 lines
986 B
C#
Raw Normal View History

2026-05-12 19:40:31 +09:00
using System.Text.Json.Serialization;
namespace Firecrawl.Models;
/// <summary>
/// Status and results of a batch scrape job.
/// </summary>
public class BatchScrapeJob
{
[JsonPropertyName("id")]
public string? Id { get; set; }
[JsonPropertyName("status")]
public string? Status { get; set; }
[JsonPropertyName("completed")]
public int? Completed { get; set; }
[JsonPropertyName("total")]
public int? Total { get; set; }
[JsonPropertyName("creditsUsed")]
public int? CreditsUsed { get; set; }
[JsonPropertyName("expiresAt")]
public string? ExpiresAt { get; set; }
[JsonPropertyName("next")]
public string? Next { get; set; }
[JsonPropertyName("data")]
public List<Document>? Data { get; set; }
/// <summary>
/// Returns true if the batch scrape job has reached a terminal state.
/// </summary>
public bool IsDone =>
Status == "completed" || Status == "cancelled" || Status == "failed";
}