pschelpdesk/HetznerServer/Models/Server.cs
2024-11-08 18:50:58 +01:00

27 lines
642 B
C#

using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace PSCHelpdesk.Plugins.HetznerServer.Models;
public class Server
{
public long Id { get; set; }
public string Name { get; set; }
public string Status { get; set; }
public string Type { get; set; }
public string Ipv4 { get; set; }
public string Ipv6 { get; set; }
public Server(long id, string name, string type, string status, string ipv4, string ipv6)
{
Id = id;
Name = name;
Type = type;
Status = status;
Ipv4 = ipv4;
Ipv6 = ipv6;
}
}