namespace MaksIT.PodmanClientDotNet.Dtos.Network;
///
/// Deserialized Podman libpod API payload (Network List Entry).
///
public sealed class NetworkListEntryDto {
public string? Name { get; set; }
public string? Id { get; set; }
public string? Driver { get; set; }
public DateTime Created { get; set; }
public Dictionary? Labels { get; set; }
public Dictionary? Options { get; set; }
public bool? IPv6Enabled { get; set; }
public bool? Internal { get; set; }
public bool? DNSEnabled { get; set; }
}
///
/// Deserialized Podman libpod API payload (Network Inspect).
///
public sealed class NetworkInspectDto {
public string? Name { get; set; }
public string? Id { get; set; }
public string? Driver { get; set; }
public DateTime Created { get; set; }
public Dictionary? Labels { get; set; }
public Dictionary? Options { get; set; }
public bool? IPv6Enabled { get; set; }
public bool? Internal { get; set; }
public bool? DNSEnabled { get; set; }
public Dictionary? Containers { get; set; }
}
///
/// Deserialized Podman libpod API payload (Network Inspect Container).
///
public sealed class NetworkInspectContainerDto {
public string? Name { get; set; }
public string? EndpointID { get; set; }
public string? MacAddress { get; set; }
public string? IPv4Address { get; set; }
public string? IPv6Address { get; set; }
}