namespace Bloxstrap.Models.APIs.Roblox { /// /// Roblox.Games.Api.Models.Response.GameDetailResponse /// Response model for getting the game detail /// public class GameDetailResponse { /// /// The game universe id /// [JsonPropertyName("id")] public long Id { get; set; } /// /// The game root place id /// [JsonPropertyName("rootPlaceId")] public long RootPlaceId { get; set; } /// /// The game name /// [JsonPropertyName("name")] public string Name { get; set; } = null!; /// /// The game description /// [JsonPropertyName("description")] public string Description { get; set; } = null!; /// /// The game name in the source language, if different from the returned name. /// [JsonPropertyName("sourceName")] public string SourceName { get; set; } = null!; /// /// The game description in the source language, if different from the returned description. /// [JsonPropertyName("sourceDescription")] public string SourceDescription { get; set; } = null!; [JsonPropertyName("creator")] public GameCreator Creator { get; set; } = null!; /// /// The game paid access price /// [JsonPropertyName("price")] public long? Price { get; set; } /// /// The game allowed gear genres /// [JsonPropertyName("allowedGearGenres")] public IEnumerable AllowedGearGenres { get; set; } = null!; /// /// The game allowed gear categoris /// [JsonPropertyName("allowedGearCategories")] public IEnumerable AllowedGearCategories { get; set; } = null!; /// /// The game allows place to be copied /// [JsonPropertyName("isGenreEnforced")] public bool IsGenreEnforced { get; set; } /// /// The game allows place to be copied /// [JsonPropertyName("copyingAllowed")] public bool CopyingAllowed { get; set; } /// /// Current player count of the game /// [JsonPropertyName("playing")] public long Playing { get; set; } /// /// The total visits to the game /// [JsonPropertyName("visits")] public long Visits { get; set; } /// /// The game max players /// [JsonPropertyName("maxPlayers")] public int MaxPlayers { get; set; } /// /// The game created time /// [JsonPropertyName("created")] public DateTime Created { get; set; } /// /// The game updated time /// [JsonPropertyName("updated")] public DateTime Updated { get; set; } /// /// The setting of IsStudioAccessToApisAllowed of the universe /// [JsonPropertyName("studioAccessToApisAllowed")] public bool StudioAccessToApisAllowed { get; set; } /// /// Gets or sets the flag to indicate whether the create vip servers button should be allowed in game details page /// [JsonPropertyName("createVipServersAllowed")] public bool CreateVipServersAllowed { get; set; } /// /// Avatar type. Possible values are MorphToR6, MorphToR15, and PlayerChoice ['MorphToR6' = 1, 'PlayerChoice' = 2, 'MorphToR15' = 3] /// [JsonPropertyName("universeAvatarType")] public string UniverseAvatarType { get; set; } = null!; /// /// The game genre display name /// [JsonPropertyName("genre")] public string Genre { get; set; } = null!; /// /// Is this game all genre. /// [JsonPropertyName("isAllGenre")] public bool IsAllGenre { get; set; } /// /// Is this game favorited by user. /// [JsonPropertyName("isFavoritedByUser")] public bool IsFavoritedByUser { get; set; } /// /// Game number of favorites. /// [JsonPropertyName("favoritedCount")] public int FavoritedCount { get; set; } } }