Refactor IPAM model classes to use records for Address, Subnetwork, Vlan, Vrf, Section, Tag, Domain, Nameserver, and Session; enhance documentation and implement value equality for records.
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
namespace PS.IPAM;
|
||||
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the model types returned by the phpIPAM API.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public enum types {
|
||||
public enum ModelType
|
||||
{
|
||||
Address,
|
||||
Domain,
|
||||
Section,
|
||||
@@ -11,4 +16,4 @@ public enum types {
|
||||
Tag,
|
||||
Vlan,
|
||||
Vrf
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user