mirror of
https://github.com/lantean-code/qbtmud.git
synced 2025-10-24 08:33:36 +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; }
|
|
}
|
|
} |