mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-19 09:01:32 -07:00
* replace assetdelivery with thumbnails for rpc * update GetThumbnailUrlAsync logging * fix build error
36 lines
959 B
C#
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!;
|
|
}
|
|
}
|