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,20 @@
|
||||
namespace PS.IPAM;
|
||||
|
||||
using System;
|
||||
|
||||
/// <summary>
|
||||
/// Specifies the authentication method for phpIPAM API.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public enum AuthType {
|
||||
credentials,
|
||||
token
|
||||
}
|
||||
public enum AuthType
|
||||
{
|
||||
/// <summary>
|
||||
/// Authentication using username and password credentials.
|
||||
/// </summary>
|
||||
Credentials,
|
||||
|
||||
/// <summary>
|
||||
/// Authentication using a static API token.
|
||||
/// </summary>
|
||||
Token
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user