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,16 +1,21 @@
|
||||
namespace PS.IPAM;
|
||||
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Represents sub-controllers/endpoints within main API controllers.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public enum subcontrollers {
|
||||
nameservers,
|
||||
tags,
|
||||
devices,
|
||||
device_types,
|
||||
vlans,
|
||||
vrfs,
|
||||
scanagents,
|
||||
locations,
|
||||
nat,
|
||||
racks
|
||||
}
|
||||
public enum ApiSubController
|
||||
{
|
||||
Nameservers,
|
||||
Tags,
|
||||
Devices,
|
||||
DeviceTypes,
|
||||
Vlans,
|
||||
Vrfs,
|
||||
ScanAgents,
|
||||
Locations,
|
||||
Nat,
|
||||
Racks
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user