mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-22 10:31:26 -07:00
* replace assetdelivery with thumbnails for rpc * update GetThumbnailUrlAsync logging * fix build error
35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
namespace Bloxstrap.Models.APIs.Roblox
|
|
{
|
|
internal class ThumbnailRequest
|
|
{
|
|
[JsonPropertyName("requestId")]
|
|
public string? RequestId { get; set; }
|
|
|
|
[JsonPropertyName("targetId")]
|
|
public ulong TargetId { get; set; }
|
|
|
|
/// <summary>
|
|
/// TODO: make this an enum
|
|
/// List of valid types can be found at https://thumbnails.roblox.com//docs/index.html
|
|
/// </summary>
|
|
[JsonPropertyName("type")]
|
|
public string Type { get; set; } = "Avatar";
|
|
|
|
/// <summary>
|
|
/// List of valid sizes can be found at https://thumbnails.roblox.com//docs/index.html
|
|
/// </summary>
|
|
[JsonPropertyName("size")]
|
|
public string Size { get; set; } = "30x30";
|
|
|
|
/// <summary>
|
|
/// TODO: make this an enum
|
|
/// List of valid types can be found at https://thumbnails.roblox.com//docs/index.html
|
|
/// </summary>
|
|
[JsonPropertyName("format")]
|
|
public string Format { get; set; } = "Png";
|
|
|
|
[JsonPropertyName("isCircular")]
|
|
public bool IsCircular { get; set; } = true;
|
|
}
|
|
}
|