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