bloxstrap/Bloxstrap/Models/APIs/Roblox/ThumbnailResponse.cs
Matt c1842c0443
Replace AssetDelivery API with Thumbnails API for Discord RPC images (#4947)
* replace assetdelivery with thumbnails for rpc

* update GetThumbnailUrlAsync logging

* fix build error
2025-03-28 19:33:51 +00:00

36 lines
959 B
C#

namespace Bloxstrap.Models.APIs.Roblox
{
/// <summary>
/// Roblox.Web.Responses.Thumbnails.ThumbnailResponse
/// </summary>
public class ThumbnailResponse
{
[JsonPropertyName("requestId")]
public string RequestId { get; set; } = null!;
[JsonPropertyName("errorCode")]
public int ErrorCode { get; set; } = 0;
[JsonPropertyName("errorMessage")]
public string? ErrorMessage { get; set; } = null;
[JsonPropertyName("targetId")]
public long TargetId { get; set; }
/// <summary>
/// Valid states:
/// - Error
/// - Completed
/// - InReview
/// - Pending
/// - Blocked
/// - TemporarilyUnavailable
/// </summary>
[JsonPropertyName("state")]
public string State { get; set; } = null!;
[JsonPropertyName("imageUrl")]
public string? ImageUrl { get; set; } = null!;
}
}