DhcpServerSpec
Desired MikroTik DHCP server enable/disable (/ip/dhcp-server).
public sealed record DhcpServerSpec : IEquatable<DhcpServerSpec>
1. Constructors
1.1. DhcpServerSpec(string, bool)
Desired MikroTik DHCP server enable/disable (/ip/dhcp-server).
public DhcpServerSpec(string Name, bool Disabled)
| Name | Type | Description |
|---|---|---|
Name |
string |
|
Disabled |
bool |
2. Properties
2.1. Disabled
public bool Disabled { get; init; }
2.2. Name
public string Name { get; init; }
3. Operators
3.1. operator !=(DhcpServerSpec, DhcpServerSpec)
public static bool operator !=(DhcpServerSpec left, DhcpServerSpec right)
| Name | Type | Description |
|---|---|---|
left |
DhcpServerSpec |
|
right |
DhcpServerSpec |
Returns: bool
3.2. operator ==(DhcpServerSpec, DhcpServerSpec)
public static bool operator ==(DhcpServerSpec left, DhcpServerSpec right)
| Name | Type | Description |
|---|---|---|
left |
DhcpServerSpec |
|
right |
DhcpServerSpec |
Returns: bool