mirror of
				https://github.com/lantean-code/qbtmud.git
				synced 2025-11-04 05:53:22 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			429 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			429 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System.Text.Json.Serialization;
 | 
						|
 | 
						|
namespace Lantean.QBitTorrentClient.Models
 | 
						|
{
 | 
						|
    public record SearchCategory
 | 
						|
    {
 | 
						|
        [JsonConstructor]
 | 
						|
        public SearchCategory(string id, string name)
 | 
						|
        {
 | 
						|
            Id = id;
 | 
						|
            Name = name;
 | 
						|
        }
 | 
						|
 | 
						|
        [JsonPropertyName("id")]
 | 
						|
        public string Id { get; set; }
 | 
						|
 | 
						|
        [JsonPropertyName("name")]
 | 
						|
        public string Name { get; set; }
 | 
						|
    }
 | 
						|
} |