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,14 +1,19 @@
|
||||
namespace PS.IPAM;
|
||||
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the main API controllers in phpIPAM.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public enum controllers {
|
||||
user,
|
||||
vlan,
|
||||
subnets,
|
||||
addresses,
|
||||
sections,
|
||||
vrf,
|
||||
l2domains,
|
||||
tools
|
||||
}
|
||||
public enum ApiController
|
||||
{
|
||||
User,
|
||||
Vlan,
|
||||
Subnets,
|
||||
Addresses,
|
||||
Sections,
|
||||
Vrf,
|
||||
L2Domains,
|
||||
Tools
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user