From 2108d611af4e1c55054bf057b7d79853d863430e Mon Sep 17 00:00:00 2001 From: Andrew Stakhov Date: Mon, 19 Aug 2024 15:17:29 -0400 Subject: [PATCH] Add copyUIDGID to ContainerPathStatParameters --- .../Models/ContainerPathStatParameters.Generated.cs | 3 +++ tools/specgen/modeldefs.go | 1 + 2 files changed, 4 insertions(+) diff --git a/src/Docker.DotNet/Models/ContainerPathStatParameters.Generated.cs b/src/Docker.DotNet/Models/ContainerPathStatParameters.Generated.cs index ba367a3b6..0a9bc6480 100644 --- a/src/Docker.DotNet/Models/ContainerPathStatParameters.Generated.cs +++ b/src/Docker.DotNet/Models/ContainerPathStatParameters.Generated.cs @@ -10,5 +10,8 @@ public class ContainerPathStatParameters // (main.ContainerPathStatParameters) [QueryStringParameter("noOverwriteDirNonDir", false, typeof(BoolQueryStringConverter))] public bool? AllowOverwriteDirWithFile { get; set; } + + [QueryStringParameter("copyUIDGID", false, typeof(BoolQueryStringConverter))] + public bool? CopyUidAndGid { get; set; } } } diff --git a/tools/specgen/modeldefs.go b/tools/specgen/modeldefs.go index 0149003f9..9bf64fbfa 100644 --- a/tools/specgen/modeldefs.go +++ b/tools/specgen/modeldefs.go @@ -86,6 +86,7 @@ type ContainerRemoveParameters struct { type ContainerPathStatParameters struct { Path string `rest:"query,path,required"` AllowOverwriteDirWithFile bool `rest:"query,noOverwriteDirNonDir"` + CopyUidAndGid bool `rest:"query,copyUIDGID"` } // ContainerAttachParameters for POST /containers/(id)/attach