namespace MaksIT.PodmanClientDotNet.Dtos.Pod;
///
/// Deserialized Podman libpod API payload (Pod List Entry).
///
public sealed class PodListEntryDto {
public string? Id { get; set; }
public string? Name { get; set; }
public string? Status { get; set; }
public string? CgroupParent { get; set; }
public DateTime Created { get; set; }
public Dictionary? Labels { get; set; }
public string? Namespace { get; set; }
public string? RestartPolicy { get; set; }
public ulong? StopTimeout { get; set; }
}
///
/// Deserialized Podman libpod API payload (Pod Kill Report).
///
public sealed class PodKillReportDto {
public string[]? Ids { get; set; }
}
///
/// Deserialized Podman libpod API payload (Pod Inspect).
///
public sealed class PodInspectDto {
public string? Id { get; set; }
public string? Name { get; set; }
public string? Status { get; set; }
public string? CgroupParent { get; set; }
public DateTime Created { get; set; }
public Dictionary? Labels { get; set; }
public string? Namespace { get; set; }
public string? RestartPolicy { get; set; }
public ulong? StopTimeout { get; set; }
public string[]? Containers { get; set; }
public string? InfraContainerId { get; set; }
}
///
/// Deserialized Podman libpod API payload (Pod Top).
///
public sealed class PodTopDto {
public string[]? Titles { get; set; }
public List? Processes { get; set; }
}
///
/// Deserialized Podman libpod API payload (Pod Stats).
///
public sealed class PodStatsDto {
public string? Id { get; set; }
public string? Name { get; set; }
public string? CPU { get; set; }
public string? MemUsage { get; set; }
public string? MemLimit { get; set; }
public string? MemPercent { get; set; }
public string? NetIO { get; set; }
public string? BlockIO { get; set; }
public string? PIDs { get; set; }
}
///
/// Deserialized Podman libpod API payload (Pod Stats response).
///
public sealed class PodStatsResponseDto {
public Dictionary? Stats { get; set; }
}