Skip to content
Closed

test #111

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Docker.DotNet/Models/Actor.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Docker.DotNet.Models
public class Actor // (events.Actor)
{
[JsonPropertyName("ID")]
public string ID { get; set; } = default!;
public string ID { get; set; } = string.Empty;

[JsonPropertyName("Attributes")]
public IDictionary<string, string> Attributes { get; set; } = default!;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ public class AttestationProperties // (image.AttestationProperties)
/// For is the digest of the image manifest that this attestation is for.
/// </summary>
[JsonPropertyName("For")]
public string For { get; set; } = default!;
public string For { get; set; } = string.Empty;
}
}
2 changes: 1 addition & 1 deletion src/Docker.DotNet/Models/AuthResponse.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ public class AuthResponse // (registry.AuthResponse)
/// Required: true
/// </summary>
[JsonPropertyName("Status")]
public string Status { get; set; } = default!;
public string Status { get; set; } = string.Empty;
}
}
2 changes: 1 addition & 1 deletion src/Docker.DotNet/Models/BlkioStatEntry.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class BlkioStatEntry // (container.BlkioStatEntry)
public ulong Minor { get; set; } = default!;

[JsonPropertyName("op")]
public string Op { get; set; } = default!;
public string Op { get; set; } = string.Empty;

[JsonPropertyName("value")]
public ulong Value { get; set; } = default!;
Expand Down
6 changes: 3 additions & 3 deletions src/Docker.DotNet/Models/CacheRecord.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class CacheRecord // (build.CacheRecord)
/// ID is the unique ID of the build cache record.
/// </summary>
[JsonPropertyName("ID")]
public string ID { get; set; } = default!;
public string ID { get; set; } = string.Empty;

/// <summary>
/// Parents is the list of parent build cache record IDs.
Expand All @@ -22,13 +22,13 @@ public class CacheRecord // (build.CacheRecord)
/// Type is the cache record type.
/// </summary>
[JsonPropertyName("Type")]
public string Type { get; set; } = default!;
public string Type { get; set; } = string.Empty;

/// <summary>
/// Description is a description of the build-step that produced the build cache.
/// </summary>
[JsonPropertyName("Description")]
public string Description { get; set; } = default!;
public string Description { get; set; } = string.Empty;

/// <summary>
/// InUse indicates if the build cache is in use.
Expand Down
2 changes: 1 addition & 1 deletion src/Docker.DotNet/Models/ClusterInfo.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public ClusterInfo(Meta Meta)
}

[JsonPropertyName("ID")]
public string ID { get; set; } = default!;
public string ID { get; set; } = string.Empty;

[JsonPropertyName("Version")]
public Version? Version { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Docker.DotNet/Models/ClusterVolume.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public ClusterVolume(Meta Meta)
/// Name. This ID can be used to refer to the cluster volume.
/// </summary>
[JsonPropertyName("ID")]
public string ID { get; set; } = default!;
public string ID { get; set; } = string.Empty;

[JsonPropertyName("Version")]
public Version? Version { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Docker.DotNet/Models/Commit.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ public class Commit // (system.Commit)
/// ID is the actual commit ID or version of external tool.
/// </summary>
[JsonPropertyName("ID")]
public string ID { get; set; } = default!;
public string ID { get; set; } = string.Empty;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public CommitContainerChangesParameters(ContainerConfig Config)
}

[QueryStringParameter("container", true)]
public string ContainerID { get; set; } = default!;
public string ContainerID { get; set; } = string.Empty;

[QueryStringParameter("repo", false)]
public string? RepositoryName { get; set; }
Expand All @@ -63,19 +63,19 @@ public CommitContainerChangesParameters(ContainerConfig Config)
/// Hostname
/// </summary>
[JsonPropertyName("Hostname")]
public string Hostname { get; set; } = default!;
public string Hostname { get; set; } = string.Empty;

/// <summary>
/// Domainname
/// </summary>
[JsonPropertyName("Domainname")]
public string Domainname { get; set; } = default!;
public string Domainname { get; set; } = string.Empty;

/// <summary>
/// User that will run the command(s) inside the container, also support user:group
/// </summary>
[JsonPropertyName("User")]
public string User { get; set; } = default!;
public string User { get; set; } = string.Empty;

/// <summary>
/// Attach the standard input, makes possible user interaction
Expand Down Expand Up @@ -147,7 +147,7 @@ public CommitContainerChangesParameters(ContainerConfig Config)
/// Name of the image as it was passed by the operator (e.g. could be symbolic)
/// </summary>
[JsonPropertyName("Image")]
public string Image { get; set; } = default!;
public string Image { get; set; } = string.Empty;

/// <summary>
/// List of volumes (mounts) used for the container
Expand All @@ -159,7 +159,7 @@ public CommitContainerChangesParameters(ContainerConfig Config)
/// Current directory (PWD) in the command will be launched
/// </summary>
[JsonPropertyName("WorkingDir")]
public string WorkingDir { get; set; } = default!;
public string WorkingDir { get; set; } = string.Empty;

/// <summary>
/// Entrypoint to run when starting the container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ namespace Docker.DotNet.Models
public class CommitContainerChangesResponse // (main.CommitContainerChangesResponse)
{
[JsonPropertyName("Id")]
public string ID { get; set; } = default!;
public string ID { get; set; } = string.Empty;
}
}
4 changes: 2 additions & 2 deletions src/Docker.DotNet/Models/ComponentVersion.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ namespace Docker.DotNet.Models
public class ComponentVersion // (system.ComponentVersion)
{
[JsonPropertyName("Name")]
public string Name { get; set; } = default!;
public string Name { get; set; } = string.Empty;

[JsonPropertyName("Version")]
public string Version { get; set; } = default!;
public string Version { get; set; } = string.Empty;

/// <summary>
/// Details contains Key/value pairs of strings with additional information
Expand Down
2 changes: 1 addition & 1 deletion src/Docker.DotNet/Models/ConfigReference.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ public class ConfigReference // (network.ConfigReference)
/// Example: config_only_network_01
/// </summary>
[JsonPropertyName("Network")]
public string Network { get; set; } = default!;
public string Network { get; set; } = string.Empty;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ namespace Docker.DotNet.Models
public class ConfigReferenceFileTarget // (swarm.ConfigReferenceFileTarget)
{
[JsonPropertyName("Name")]
public string Name { get; set; } = default!;
public string Name { get; set; } = string.Empty;

[JsonPropertyName("UID")]
public string UID { get; set; } = default!;
public string UID { get; set; } = string.Empty;

[JsonPropertyName("GID")]
public string GID { get; set; } = default!;
public string GID { get; set; } = string.Empty;

[JsonPropertyName("Mode")]
public uint Mode { get; set; } = default!;
Expand Down
10 changes: 5 additions & 5 deletions src/Docker.DotNet/Models/ContainerConfig.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ public class ContainerConfig // (container.Config)
/// Hostname
/// </summary>
[JsonPropertyName("Hostname")]
public string Hostname { get; set; } = default!;
public string Hostname { get; set; } = string.Empty;

/// <summary>
/// Domainname
/// </summary>
[JsonPropertyName("Domainname")]
public string Domainname { get; set; } = default!;
public string Domainname { get; set; } = string.Empty;

/// <summary>
/// User that will run the command(s) inside the container, also support user:group
/// </summary>
[JsonPropertyName("User")]
public string User { get; set; } = default!;
public string User { get; set; } = string.Empty;

/// <summary>
/// Attach the standard input, makes possible user interaction
Expand Down Expand Up @@ -99,7 +99,7 @@ public class ContainerConfig // (container.Config)
/// Name of the image as it was passed by the operator (e.g. could be symbolic)
/// </summary>
[JsonPropertyName("Image")]
public string Image { get; set; } = default!;
public string Image { get; set; } = string.Empty;

/// <summary>
/// List of volumes (mounts) used for the container
Expand All @@ -111,7 +111,7 @@ public class ContainerConfig // (container.Config)
/// Current directory (PWD) in the command will be launched
/// </summary>
[JsonPropertyName("WorkingDir")]
public string WorkingDir { get; set; } = default!;
public string WorkingDir { get; set; } = string.Empty;

/// <summary>
/// Entrypoint to run when starting the container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace Docker.DotNet.Models
public class ContainerExecCreateParameters // (main.ContainerExecCreateParameters)
{
[JsonPropertyName("User")]
public string User { get; set; } = default!;
public string User { get; set; } = string.Empty;

[JsonPropertyName("Privileged")]
public bool Privileged { get; set; } = default!;
Expand All @@ -26,13 +26,13 @@ public class ContainerExecCreateParameters // (main.ContainerExecCreateParameter
public bool AttachStdout { get; set; } = default!;

[JsonPropertyName("DetachKeys")]
public string DetachKeys { get; set; } = default!;
public string DetachKeys { get; set; } = string.Empty;

[JsonPropertyName("Env")]
public IList<string> Env { get; set; } = default!;

[JsonPropertyName("WorkingDir")]
public string WorkingDir { get; set; } = default!;
public string WorkingDir { get; set; } = string.Empty;

[JsonPropertyName("Cmd")]
public IList<string> Cmd { get; set; } = default!;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ namespace Docker.DotNet.Models
public class ContainerExecCreateResponse // (main.ContainerExecCreateResponse)
{
[JsonPropertyName("Id")]
public string ID { get; set; } = default!;
public string ID { get; set; } = string.Empty;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Docker.DotNet.Models
public class ContainerExecInspectResponse // (container.ExecInspectResponse)
{
[JsonPropertyName("ID")]
public string ID { get; set; } = default!;
public string ID { get; set; } = string.Empty;

[JsonPropertyName("Running")]
public bool Running { get; set; } = default!;
Expand All @@ -32,10 +32,10 @@ public class ContainerExecInspectResponse // (container.ExecInspectResponse)
public bool CanRemove { get; set; } = default!;

[JsonPropertyName("ContainerID")]
public string ContainerID { get; set; } = default!;
public string ContainerID { get; set; } = string.Empty;

[JsonPropertyName("DetachKeys")]
public string DetachKeys { get; set; } = default!;
public string DetachKeys { get; set; } = string.Empty;

[JsonPropertyName("Pid")]
public long Pid { get; set; } = default!;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ public class ContainerFileSystemChangeResponse // (container.FilesystemChange)
/// Required: true
/// </summary>
[JsonPropertyName("Path")]
public string Path { get; set; } = default!;
public string Path { get; set; } = string.Empty;
}
}
26 changes: 13 additions & 13 deletions src/Docker.DotNet/Models/ContainerInspectResponse.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ namespace Docker.DotNet.Models
public class ContainerInspectResponse // (container.InspectResponse)
{
[JsonPropertyName("Id")]
public string ID { get; set; } = default!;
public string ID { get; set; } = string.Empty;

[JsonPropertyName("Created")]
public DateTime Created { get; set; } = default!;

[JsonPropertyName("Path")]
public string Path { get; set; } = default!;
public string Path { get; set; } = string.Empty;

[JsonPropertyName("Args")]
public IList<string> Args { get; set; } = default!;
Expand All @@ -23,40 +23,40 @@ public class ContainerInspectResponse // (container.InspectResponse)
public State? State { get; set; }

[JsonPropertyName("Image")]
public string Image { get; set; } = default!;
public string Image { get; set; } = string.Empty;

[JsonPropertyName("ResolvConfPath")]
public string ResolvConfPath { get; set; } = default!;
public string ResolvConfPath { get; set; } = string.Empty;

[JsonPropertyName("HostnamePath")]
public string HostnamePath { get; set; } = default!;
public string HostnamePath { get; set; } = string.Empty;

[JsonPropertyName("HostsPath")]
public string HostsPath { get; set; } = default!;
public string HostsPath { get; set; } = string.Empty;

[JsonPropertyName("LogPath")]
public string LogPath { get; set; } = default!;
public string LogPath { get; set; } = string.Empty;

[JsonPropertyName("Name")]
public string Name { get; set; } = default!;
public string Name { get; set; } = string.Empty;

[JsonPropertyName("RestartCount")]
public long RestartCount { get; set; } = default!;

[JsonPropertyName("Driver")]
public string Driver { get; set; } = default!;
public string Driver { get; set; } = string.Empty;

[JsonPropertyName("Platform")]
public string Platform { get; set; } = default!;
public string Platform { get; set; } = string.Empty;

[JsonPropertyName("MountLabel")]
public string MountLabel { get; set; } = default!;
public string MountLabel { get; set; } = string.Empty;

[JsonPropertyName("ProcessLabel")]
public string ProcessLabel { get; set; } = default!;
public string ProcessLabel { get; set; } = string.Empty;

[JsonPropertyName("AppArmorProfile")]
public string AppArmorProfile { get; set; } = default!;
public string AppArmorProfile { get; set; } = string.Empty;

[JsonPropertyName("ExecIDs")]
public IList<string> ExecIDs { get; set; } = default!;
Expand Down
12 changes: 6 additions & 6 deletions src/Docker.DotNet/Models/ContainerListResponse.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ namespace Docker.DotNet.Models
public class ContainerListResponse // (container.Summary)
{
[JsonPropertyName("Id")]
public string ID { get; set; } = default!;
public string ID { get; set; } = string.Empty;

[JsonPropertyName("Names")]
public IList<string> Names { get; set; } = default!;

[JsonPropertyName("Image")]
public string Image { get; set; } = default!;
public string Image { get; set; } = string.Empty;

[JsonPropertyName("ImageID")]
public string ImageID { get; set; } = default!;
public string ImageID { get; set; } = string.Empty;

[JsonPropertyName("ImageManifestDescriptor")]
public Descriptor? ImageManifestDescriptor { get; set; }

[JsonPropertyName("Command")]
public string Command { get; set; } = default!;
public string Command { get; set; } = string.Empty;

[JsonPropertyName("Created")]
public DateTime Created { get; set; } = default!;
Expand All @@ -41,10 +41,10 @@ public class ContainerListResponse // (container.Summary)
public IDictionary<string, string> Labels { get; set; } = default!;

[JsonPropertyName("State")]
public string State { get; set; } = default!;
public string State { get; set; } = string.Empty;

[JsonPropertyName("Status")]
public string Status { get; set; } = default!;
public string Status { get; set; } = string.Empty;

[JsonPropertyName("HostConfig")]
public SummaryHostConfig HostConfig { get; set; } = default!;
Expand Down
Loading